Myles Borins
9cf628eae3
2016-05-05, Version 4.4.4 'Argon' (LTS)
...
Notable changes
* deps:
* update openssl to 1.0.2h. (Shigeki Ohtsu)
[#6551 ](https://github.com/nodejs/node/pull/6551 )
- Please see our blog postfor more info on the security
contents of this release.
https://nodejs.org/en/blog/vulnerability/openssl-may-2016/
v4.4.4
2016-05-05 16:22:56 -07:00
Сковорода Никита Андреевич
f46952e727
buffer: safeguard against accidental kNoZeroFill
...
This makes sure that `kNoZeroFill` flag is not accidentally set by
moving the all the flag operations directly inside `createBuffer()`.
It safeguards against logical errors like
https://github.com/nodejs/node/issues/6006 .
This also ensures that `kNoZeroFill` flag is always restored to 0 using
a try-finally block, as it could be not restored to 0 in cases of failed
or zero-size `Uint8Array` allocation.
It safeguards against errors like
https://github.com/nodejs/node/issues/2930 .
It also makes the `size > 0` check not needed there.
PR-URL: https://github.com/nodejs/node-private/pull/30
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-05-04 10:34:19 -07:00
Matteo Collina
4f1c82f995
streams: support unlimited synchronous cork/uncork cycles
...
net streams can request multiple chunks to be written in a synchronous
fashion. If this is combined with cork/uncork, en error is currently
thrown because of a regression introduced in:
https://github.com/nodejs/node/commit/89aeab901ac9e34c79be3854f1aa41f2a4fb6888
(https://github.com/nodejs/node/pull/4354 ).
Fixes: https://github.com/nodejs/node/issues/6154
PR-URL: https://github.com/nodejs/node/pull/6164
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Mathias Buus <mathiasbuus@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-04 10:19:04 -07:00
Shigeki Ohtsu
1efd96c767
deps: update openssl asm and asm_obsolete files
...
Regenerate asm files with Makefile and CC=gcc and ASM=gcc where
gcc-4.8.4. Also asm files in asm_obsolete dir to support old compiler
and assembler are regenerated without CC and ASM envs.
PR-URL: https://github.com/nodejs/node/pull/6551
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-04 10:08:55 -07:00
Shigeki Ohtsu
c450f4a293
deps: add -no_rand_screen to openssl s_client
...
In openssl s_client on Windows, RAND_screen() is invoked to initialize
random state but it takes several seconds in each connection.
This added -no_rand_screen to openssl s_client on Windows to skip
RAND_screen() and gets a better performance in the unit test of
test-tls-server-verify.
Do not enable this except to use in the unit test.
Fixes: https://github.com/nodejs/io.js/issues/1461
PR-URL: https://github.com/nodejs/io.js/pull/1836
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-04 10:08:53 -07:00
Shigeki Ohtsu
baedfbae6a
openssl: fix keypress requirement in apps on win32
...
Reapply b910613792 .
Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-04 10:08:52 -07:00
Shigeki Ohtsu
ff3045e40b
deps: fix asm build error of openssl in x86_win32
...
See
https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html
iojs needs to stop using masm and move to nasm or yasm on Win32.
Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-04 10:08:50 -07:00
Fedor Indutny
dc8dc97db3
deps: fix openssl assembly error on ia32 win32
...
`x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
perhaps others) are requiring .686 .
Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp >
2016-05-04 10:08:48 -07:00
Shigeki Ohtsu
2dfeb01213
deps: copy all openssl header files to include dir
...
All symlink files in `deps/openssl/openssl/include/openssl/`
are removed and replaced with real header files to avoid
issues on Windows. Two files of opensslconf.h in crypto and
include dir are replaced to refer config/opensslconf.h.
PR-URL: https://github.com/nodejs/node/pull/6551
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-04 10:08:45 -07:00
Shigeki Ohtsu
72f9952516
deps: upgrade openssl sources to 1.0.2h
...
This replaces all sources of openssl-1.0.2h.tar.gz into
deps/openssl/openssl
PR-URL: https://github.com/nodejs/node/pull/6551
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-04 10:08:13 -07:00
Myles Borins
44fd83e196
Working on v4.4.4
2016-04-22 10:49:49 -07:00
Myles Borins
d7f2bc9a71
2016-04-12, Version 4.4.3 'Argon' (LTS)
...
Notable Changes:
deps:
- Fix `--gdbjit` for embedders. Backported from v8 upstream.
(Ben Noordhuis) https://github.com/nodejs/node/pull/5577
etw:
- Correctly display descriptors for ETW events 9 and 23 on the
windows platform.
(João Reis) https://github.com/nodejs/node/pull/5742
querystring:
- Restore throw when attempting to stringify bad surrogate pair.
(Brian White) https://github.com/nodejs/node/pull/5858
v4.4.3
2016-04-12 14:44:24 -04:00
Steven R. Loomis
9a33f43f73
doc: update openssl LICENSE using license-builder.sh
...
* due to: openssl bump in 1f434787fc
PR-URL: https://github.com/nodejs/node/pull/6065
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-11 13:34:47 -04:00
James M Snell
9679e2dc70
doc: clarify that __dirname is module local
...
Fixes: https://github.com/nodejs/node/issues/5525
PR-URL: https://github.com/nodejs/node/pull/6018
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-04-11 13:32:01 -04:00
Rich Trott
dfe9e157c1
governance: remove target size for CTC
...
PR-URL: https://github.com/nodejs/node/pull/5879
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-04-11 13:30:06 -04:00
Bogdan Lobor
f7eb48302c
win,build: build and test add-ons on test-ci
...
Added build-addons task, it allows to build and test native addons
during test-ci task. Basically it should work in same way like
Makefile "build-addons" task.
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: João Reis <reis@janeasystems.com >
PR-URL: https://github.com/nodejs/node/pull/5886
Fixes: https://github.com/nodejs/node/issues/2537
2016-04-11 13:03:36 -04:00
Brendon Pierson
86d2af58d6
doc: simple doc typo fix
...
decipher.setAuthPadding canged to decipher.setAutoPadding
PR-URL: https://github.com/nodejs/node/pull/6041
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-04-11 13:01:49 -04:00
Rich Trott
f16802f3ca
doc: note about Android support
...
PR-URL: https://github.com/nodejs/node/pull/6040
Refs: https://github.com/nodejs/node/issues/6035
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
2016-04-11 13:01:30 -04:00
Rich Trott
8c2befe176
doc: note assert.throws() pitfall
...
PR-URL: https://github.com/nodejs/node/pull/6029
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-11 13:00:55 -04:00
Rich Trott
ac40a4510d
test: explicitly set global in test-repl
...
The test intentionally assigns a global. Use `global` namespace to make
it clear that it is intentional and not an accidental leak.
PR-URL: https://github.com/nodejs/node/pull/6026
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-11 12:57:36 -04:00
Rich Trott
0870ac65f2
doc: use HTTPS for links where possible
...
Provide encrypted links to freenode IRC.
PR-URL: https://github.com/nodejs/node/pull/6019
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2016-04-11 12:56:31 -04:00
Rich Trott
a7b3a7533a
test: be explicit about polluting of global
...
There was a comment in `test-domain-crypto.js` indicating that the
pollution of the `global` object with a `domain` property was
intentional. Provide more information in the comment so someone may
easily determine why. Use `global.domain` rather than declaring `domain`
without the `var` keyword to more clearly signal that the pollution is
intentional.
PR-URL: https://github.com/nodejs/node/pull/6017
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-04-11 12:55:01 -04:00
James M Snell
56755de96e
doc: clarify stdout/stderr arguments to callback
...
Clarify that the arguments to child_process.execFile
and child_process.exec callback can be Buffer or strings.
Fixes: https://github.com/nodejs/node/issues/3389
PR-URL: https://github.com/nodejs/node/pull/6015
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-04-11 12:54:15 -04:00
Rich Trott
73e3b7b9a8
test: make use of globals explicit
...
Use `global` to be explicit that a global variable is intended.
PR-URL: https://github.com/nodejs/node/pull/6014
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-11 12:52:45 -04:00
firedfox
bb603b89a2
doc: add 'Command Line Options' to 'View on single page'
...
Includes cli.markdown in all.markdown
PR-URL: https://github.com/nodejs/node/pull/6011
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-04-11 12:52:00 -04:00
Rich Trott
e7877e61b6
test: fix flaky test-net-socket-timeout-unref
...
Throw immediately on socket timeout rather than checking boolean in exit
handler.
PR-URL: https://github.com/nodejs/node/pull/6003
Fixes: https://github.com/nodejs/node/issues/5128
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-04-11 12:45:19 -04:00
Myles Borins
c91f3d897a
doc: add copy about how to curl SHA256.txt
...
Currently we include instructions on how to check the sha of a
downloaded tar-ball, but do not include instruction on how to
get the `SHA256.txt` file. This has led to confusion with people
thinking that the SHA256.txt is included in that tarball.
This commit includes instructions on how to use curl to download the
`SHA256.txt` prior to the instructions on how to verify the sha.
Refs: https://github.com/nodejs/help/issues/113
Refs: https://github.com/nodejs/help/issues/137
PR-URL: https://github.com/nodejs/node/pull/6120
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-11 12:44:26 -04:00
Brad Hill
f9cf232284
doc: add example using algorithms not directly exposed
...
PR-URL: https://github.com/nodejs/node/pull/6108
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
2016-04-11 12:44:09 -04:00
Anna Henningsen
f949c273cd
assert: Check typed array view type in deepEqual
...
Do not convert typed arrays to `Buffer` for deepEqual since
their values may not be accurately represented by 8-bit ints.
Instead perform binary comparison of underlying `ArrayBuffer`s,
but only when the array types match.
Never apply any kind of optimization for floating-point typed
arrays since bit pattern equality is not the right kind of check
for them.
PR-URL: https://github.com/nodejs/node/pull/5910
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Fixes: https://github.com/nodejs/node/issues/5907
2016-04-11 12:38:56 -04:00
Santiago Gimeno
a39051f5b3
test: make arch available in status files
...
The value is retrieved from `process.arch` in node itself.
PR-URL: https://github.com/nodejs/node/pull/5997
Reviewed-By: João Reis <reis@janeasystems.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-04-11 12:35:59 -04:00
Rich Trott
ccf90b651a
test: fix test-dns.js flakiness
...
Use empty string instead of `www.google.com` for tests where we are just
doing parameter evaluation. This will avoid DNS lookups which appear to
be causing flakiness on Raspberry Pi devices in CI.
PR-URL: https://github.com/nodejs/node/pull/5996
Fixes: https://github.com/nodejs/node/issues/5554
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-04-11 12:34:23 -04:00
firedfox
6f0bd64122
tools,doc: fix incomplete json produced by doctool
...
Doc tool produces incomplete json when it meets unordered lists that
directly following a heading. Add a default case to processList function
to handle the lists.
PR-URL: https://github.com/nodejs/node/pull/5966
Fixes: https://github.com/nodejs/node/issues/1545
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-04-11 12:12:05 -04:00
Anna Henningsen
1994ac0912
test: add test for piping large input from stdin
...
Check that piping a large chunk of data from `process.stdin`
into `process.stdout` does not lose any data by verifying that
the output has the same size as the input.
This is a regression test for #5927 and fails for the commits
in the range [ace100945..89abe8680).
PR-URL: https://github.com/nodejs/node/pull/5949
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2016-04-11 12:10:59 -04:00
firedfox
c33a23fd1e
tools: fix json doc generation
...
Current processList function in tools/doc/json.js does not recognise
{"type":"loose_item_start"}. Fix it.
PR-URL: https://github.com/nodejs/node/pull/5943
Fixes: https://github.com/nodejs/node/issues/5942
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com >
2016-04-11 12:06:40 -04:00
Rich Trott
cc1aab9f6a
test: mitigate flaky test-https-agent
...
Reduce number of clients from 100 to 16 as Raspberry Pi in CI starts to
exhibit flakiness around 22 or so clients.
PR-URL: https://github.com/nodejs/node/pull/5939
Fixes: https://github.com/nodejs/node/issues/5938
Refs: https://github.com/nodejs/node/issues/5184
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-04-11 11:51:04 -04:00
Sakthipriyan Vairamani
10fe79b809
test: fix offending max-len linter error
...
Refer: https://github.com/nodejs/node/pull/5935
PR-URL: https://github.com/nodejs/node/pull/5980
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Phillip Johnsen <johphi@gmail.com >
2016-04-11 11:49:31 -04:00
Jeremiah Senkpiel
63d82960fd
test: stdin is not always a net.Socket
...
`<`-ing a file into stdin actually results in a `fs.ReadStream`, rather
than a `tty.ReadStream`, and as such does not inherit from net.Socket,
unlike the other possible stdin options.
Refs: https://github.com/nodejs/node/pull/5916
PR-URL: https://github.com/nodejs/node/pull/5935
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-04-11 11:49:08 -04:00
James M Snell
f60ce1078d
doc: document unspecified behavior for buf.write* methods
...
Per https://github.com/nodejs/node/issues/1161 , when the
buf.write*() methods are given anything other than what
they expect, indicate that the behavior is unspecified.
Fixes: https://github.com/nodejs/node/issues/1161
PR-URL: https://github.com/nodejs/node/pull/5925
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
2016-04-11 11:41:20 -04:00
Johan Bergström
132acea0d4
build: introduce ci targets for lint/benchmark
...
Introduce two new targets we will populate with actions
once merged into all branches we need to support through CI.
PR-URL: https://github.com/nodejs/node/pull/5921
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: João Reis <reis@janeasystems.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-11 11:40:49 -04:00
Rich Trott
fe0233b923
test: add known_issues test for GH-2148
...
PR-URL: https://github.com/nodejs/node/pull/5920
Refs: https://github.com/nodejs/node/issues/2148
Reviewed-By: Brian White <mscdex@mscdex.net >
2016-04-11 11:32:59 -04:00
Fedor Indutny
9a8f922dee
build: add missing openssl_fips% to common.gypi
...
See: atom/node@cba512d493
PR-URL: https://github.com/nodejs/node/pull/5919
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-04-11 11:22:45 -04:00
Rich Trott
d59be4d248
test: ensure _handle property existence
...
`test-stdtout-close-unref.js` will fail if `process.stdin._handle` does
not exist. On UNIX-like operating systems, you can see this failure this
way:
./node test/parallel/test-stdout-close-unref.js < /dev/null
This issue has been experienced by @bengl and @drewfish in a Docker
container. I'm not sure why they are experiencing it in their
environment, but since it is possible that the `_handle` property does
not exist, let's use `child_process.spawn()` to make sure it exists.
PR-URL: https://github.com/nodejs/node/pull/5916
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-04-11 11:17:25 -04:00
Luigi Pinca
02401a6cbd
doc: fix scrolling on iOS devices
...
Fixes an issue that prevented scrolling from going past large code
blocks on iOS devices. Also fixes a few minor styling issues that
came up in the discussion.
Fixes: https://github.com/nodejs/node/issues/5861
PR-URL: https://github.com/nodejs/node/pull/5878
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com >
2016-04-11 11:14:05 -04:00
Brian White
65fc4e36ce
querystring: don't stringify bad surrogate pair
...
Fixes: https://github.com/nodejs/node/issues/3702
PR-URL: https://github.com/nodejs/node/pull/5858
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-11 11:10:47 -04:00
John Eversole
aed22d0855
doc: path.format provide more examples
...
This change was to add upon the algorithm description of path.format
by adding examples for unix systems that clarified behavior in
various scenarios.
PR-URL: https://github.com/nodejs/node/pull/5838
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-04-11 11:05:08 -04:00
Brian White
9702153107
test: fix flaky test-repl
...
PR-URL: https://github.com/nodejs/node/pull/5914
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-04-08 17:41:21 -04:00
Ben Noordhuis
a0a2e69097
test: move dns test to test/internet
...
parallel/test-dns-cares-domains needs a working internet connection
to function (or a local DNS resolver that returns an answer quickly),
otherwise it times out. Move it to test/internet.
PR-URL: https://github.com/nodejs/node/pull/5905
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-08 17:39:39 -04:00
Brian White
8462d8f465
test: fix flaky test-net-socket-timeout
...
Fixes: https://github.com/nodejs/node/issues/5892
PR-URL: https://github.com/nodejs/node/pull/5902
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-04-08 17:39:15 -04:00
ghaiklor
6e2bfbe1fd
doc: fix doc for Buffer.readInt32LE()
...
Update example of readInt32LE method. buf.readInt32LE(1) is supposed to
throw an error as it has only four elements and it tries to read 32
bits from three bytes.
Fixes: https://github.com/nodejs/node/issues/5889
PR-URL: https://github.com/nodejs/node/pull/5890
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-04-08 17:38:57 -04:00
Benjamin Gruenbaum
d275cdf202
child_process: refactor self=this in socket_list
...
The socket list module (used by child_process) currently uses the
`var self = this;` pattern for context in several places, this PR
replaces this with arrow functions or passing a parameter in where
appropriate.
Note that the `var self = this` in the _request is intentioanlly
left in place since it is not trivial to refactor it and the current
pattern isn't bad given the use case.
PR-URL: https://github.com/nodejs/node/pull/5860
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
2016-04-08 17:34:18 -04:00