The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / lib @ cc08106d

Name Size
_debugger.js 39.5 KB
_linklist.js 2.1 KB
_stream_duplex.js 2.41 KB
_stream_passthrough.js 1.6 KB
_stream_readable.js 25.9 KB
_stream_transform.js 7.14 KB
_stream_writable.js 10.5 KB
assert.js 10.6 KB
buffer.js 20.7 KB
child_process.js 27 KB
cluster.js 16.4 KB
console.js 3.16 KB
constants.js 1.15 KB
crypto.js 16.2 KB
dgram.js 11.5 KB
dns.js 6.34 KB
domain.js 6.47 KB
events.js 8.38 KB
freelist.js 1.71 KB
fs.js 44.6 KB
http.js 60.4 KB
https.js 3.57 KB
module.js 14.5 KB
net.js 33.4 KB
os.js 2.12 KB
path.js 13.9 KB
punycode.js 13.8 KB
querystring.js 5.56 KB
readline.js 29.7 KB
repl.js 27.9 KB
stream.js 3.49 KB
string_decoder.js 7.24 KB
sys.js 1.23 KB
timers.js 12 KB
tls.js 40 KB
tty.js 3.71 KB
url.js 21.8 KB
util.js 14.9 KB
vm.js 2.07 KB
zlib.js 12.7 KB

Latest revisions

# Date Author Comment
cc08106d 08/07/2014 02:27 PM Jackson Tian

fs: fix fs.readFileSync fd leak when get RangeError

2fd7ee12 08/02/2014 03:41 AM Sam Roberts

cluster: disconnect should not be synchronous

Callbacks in node are usually asynchronous, and should never be
sometimes synchronous, and sometimes asynchronous.

Reviewed-by: Trevor Norris <>

8e2cc69e 08/01/2014 04:01 PM James Halliday

stream: fix Readable.wrap objectMode falsy values

A streams1 stream will have its falsy values such as 0, false, or ""
eaten by the upgrade to streams2, even when objectMode is enabled.

Include test for said cases.

Reviewed-by: isaacs <>
Reviewed-by: Trevor Norris <>

4f1ae11a 07/31/2014 11:59 AM Maciej MaƂecki

module: eliminate double `getenv()`

`process.env` access results in a synchronous `getenv` call. Cache the
first result instead and save one syscall.

9d281934 07/31/2014 11:58 AM Rod Vagg

streams: remove unused require('assert')

befbbad0 07/31/2014 11:53 AM Julien Gilli

timers: backport f8193ab

Original commit message:

timers: use uv_now instead of Date.now
This saves a few calls to gettimeofday which can be expensive, and
potentially subject to clock drift. Instead use the loop time which
uses hrtime internally.
...
38f6fcd8 07/29/2014 04:34 AM Fedor Indutny

buffer: fix sign overflow in `readUIn32BE`

`|` operation takes precendence on `+`, which will result in
`new Buffer('ffffffff', 16).readUInt32BE(0)` returning `-1` instead of
`ffffffff`.

9d9fc3fa 07/15/2014 04:43 AM Fedor Indutny

lib: jslint string_decoder.js

a96d6603 07/15/2014 04:38 AM Chris Dickinson

stream2: flush extant data on read of ended stream

A ReadableStream with a base64 StringDecoder backed by only
one or two bytes would fail to output its partial data before
ending. This fix adds a check to see if the `read` was triggered
by an internal `flow`, and if so, empties any remaining data....

7f86baf5 07/12/2014 05:35 AM Fedor Indutny

child_process: handle writeUtf8String error

When handling `writeUtf8String` error, return after emitting it.
Otherwise a runtime failure can occur.

fix #7923

View revisions

Also available in: Atom