Beth Griggs
308b8b943a
2019-05-28, Version 10.16.0 'Dubnium' (LTS)
...
Notable changes:
- **deps**:
- update ICU to 64.2 (Ujjwal Sharma)
[#27361 ](https://github.com/nodejs/node/pull/27361 )
- upgrade npm to 6.9.0 (Kat Marchán)
[#26244 ](https://github.com/nodejs/node/pull/26244 )
- upgrade openssl sources to 1.1.1b (Sam Roberts)
[#26327 ](https://github.com/nodejs/node/pull/26327 )
- upgrade to libuv 1.28.0 (cjihrig)
[#27241 ](https://github.com/nodejs/node/pull/27241 )
- **events**:
- add once method to use promises with EventEmitter (Matteo Collina)
[#26078 ](https://github.com/nodejs/node/pull/26078 )
- **n-api**:
- mark thread-safe function as stable (Gabriel Schulhof)
[#25556 ](https://github.com/nodejs/node/pull/25556 )
- **repl**:
- support top-level for-await-of (Shelley Vohr)
[#23841 ](https://github.com/nodejs/node/pull/23841 )
- **zlib**:
- add brotli support (Anna Henningsen)
[#24938 ](https://github.com/nodejs/node/pull/24938 )
PR-URL: https://github.com/nodejs/node/pull/27514
v10.16.0
2019-05-28 22:12:02 +01:00
Richard Lau
99e969e5cc
doc,n-api: update matrix for N-API version 4
...
The N-API version was bumped to 4 for Node.js 10 in
https://github.com/nodejs/node/pull/25633
Refs: https://github.com/nodejs/node/pull/25633
PR-URL: https://github.com/nodejs/node/pull/27832
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-05-28 13:06:18 +01:00
cjihrig
cda0d16414
test: unskip copyfile permission test
...
This is no longer a flakey test, and should run everywhere.
Backport-PR-URL: https://github.com/nodejs/node/pull/27776
PR-URL: https://github.com/nodejs/node/pull/27241
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-20 00:54:51 -04:00
cjihrig
1fc2c5bed1
test: move known issue test to parallel
...
As of libuv 1.28.0, this bug is fixed, and the test can be
moved to parallel. This commit also updates an error code
check to work on Windows.
Backport-PR-URL: https://github.com/nodejs/node/pull/27776
PR-URL: https://github.com/nodejs/node/pull/27241
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-20 00:54:49 -04:00
cjihrig
4c87c1b1bc
deps: upgrade to libuv 1.28.0
...
Notable changes:
- uv_gettimeofday() has been added.
- Streaming readdir() via the uv_fs_{open,read,close}dir() methods.
- A macOS copyfile() permissions bug has been fixed.
- A bug in uv_interface_addresses() on machines with multiple
interfaces has been fixed.
Fixes: https://github.com/nodejs/node/issues/27273
Backport-PR-URL: https://github.com/nodejs/node/pull/27776
PR-URL: https://github.com/nodejs/node/pull/27241
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-20 00:54:43 -04:00
cjihrig
57eb6b2129
test: fix error code typo
...
Backport-PR-URL: https://github.com/nodejs/node/pull/27776
PR-URL: https://github.com/nodejs/node/pull/27024
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-05-20 00:54:33 -04:00
Anna Henningsen
25d73aa187
domain: avoid circular memory references
...
Avoid circular references that the JS engine cannot see through
because it involves an `async id` ⇒ `domain` link.
Using weak references is not a great solution, because it increases
the domain module’s dependency on internals and the added calls into
C++ may affect performance, but it seems like the least bad one.
Backport-PR-URL: https://github.com/nodejs/node/pull/27749
PR-URL: https://github.com/nodejs/node/pull/25993
Fixes: https://github.com/nodejs/node/issues/23862
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Refael Ackermann <refack@gmail.com >
2019-05-20 00:03:10 -04:00
Anna Henningsen
b9ea23c0ed
src: add WeakReference utility
...
Add a simple `WeakReference` utility that we can use until the
language provides something on its own.
Backport-PR-URL: https://github.com/nodejs/node/pull/27749
PR-URL: https://github.com/nodejs/node/pull/25993
Fixes: https://github.com/nodejs/node/issues/23862
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Refael Ackermann <refack@gmail.com >
2019-05-20 00:02:57 -04:00
Anna Henningsen
ec02117232
test: add fs.watchFile() + worker.terminate() test
...
Refs: https://github.com/nodejs/node/pull/21093#discussion_r193563156
PR-URL: https://github.com/nodejs/node/pull/21179
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Yuta Hiroto <hello@hiroppy.me >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:57:14 -04:00
cjihrig
eef2debcc7
os: implement os.release() using uv_os_uname()
...
For non-Windows platforms, the happy path behavior should be
identical. On Windows, uv_os_uname() attempts to use
RtlGetVersion() before falling back to the deprecated
GetVersionExW() that Node was previously using.
Backport-PR-URL: https://github.com/nodejs/node/pull/27728
PR-URL: https://github.com/nodejs/node/pull/25600
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-16 14:57:13 -04:00
cjihrig
7e5ef4a0e1
deps: upgrade to libuv 1.27.0
...
Notable changes:
- `statx()` is used to retrieve file birth times on
supported platforms.
- Improved support of running under Windows safe mode.
- Add support for UDP connected sockets. Several functions
can now return `UV_EBADF` instead of `UV_EINVAL`.
- SunOS support is improved.
Backport-PR-URL: https://github.com/nodejs/node/pull/27728
PR-URL: https://github.com/nodejs/node/pull/26707
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:57:13 -04:00
cjihrig
f76776b354
test: update test for libuv update
...
Starting in libuv 1.27.0, test-dgram-address.js should expect
EBADF instead of EINVAL.
Backport-PR-URL: https://github.com/nodejs/node/pull/27728
PR-URL: https://github.com/nodejs/node/pull/26707
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:57:12 -04:00
cjihrig
8ea22bbb88
deps: upgrade to libuv 1.26.0
...
Notable changes:
- A bug that could result in 100% CPU utilization in Node
has been fixed (https://github.com/libuv/libuv/issues/2162 )
- Node's report module will now include the entire Windows
product name (https://github.com/libuv/libuv/pull/2170 )
Backport-PR-URL: https://github.com/nodejs/node/pull/27728
PR-URL: https://github.com/nodejs/node/pull/26037
Fixes: https://github.com/nodejs/node/issues/26013
Fixes: https://github.com/nodejs/node/issues/25875
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2019-05-16 14:57:12 -04:00
cjihrig
e6275f939a
deps: upgrade to libuv 1.25.0
...
Backport-PR-URL: https://github.com/nodejs/node/pull/27728
PR-URL: https://github.com/nodejs/node/pull/25571
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2019-05-16 14:57:12 -04:00
Myles Borins
7b76acb6c8
test: fix expectation in test-bootstrap-modules
...
Refs: https://github.com/nodejs/node/pull/27124
Refs: https://github.com/nodejs/node/pull/25112
PR-URL: https://github.com/nodejs/node/pull/27727
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:57:11 -04:00
Rich Trott
583dc5f42c
test: add known_issues test for fs.copyFile()
...
On macOS, fs.copyFile() may not respect file permissions. There is a PR
for libuv that should fix this, but until it lands and we can either
float a patch or upgrade libuv, have a known_issues test.
Ref: https://github.com/nodejs/node/issues/26936
Ref: https://github.com/libuv/libuv/pull/2233
PR-URL: https://github.com/nodejs/node/pull/26939
Refs: https://github.com/nodejs/node/issues/26936
Refs: https://github.com/libuv/libuv/pull/2233
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2019-05-16 14:57:11 -04:00
Daiki Ihara
d22b9130a2
test: add test about unencrypted PKCS#8 private key for RSA
...
PR-URL: https://github.com/nodejs/node/pull/26898
Refs: https://github.com/nodejs/node/issues/24928
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2019-05-16 14:57:11 -04:00
Daniel Bevenius
57469e62d9
src: extract common sockaddr creation code
...
This commit extracts code to create sockaddr which is shared by both
UDPWrap::DoBind and UDPWrap::DoSend.
PR-URL: https://github.com/nodejs/node/pull/26070
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2019-05-16 14:57:10 -04:00
Anna Henningsen and Gireesh Punathil
bc5e04b5f7
src: fix race condition in ~NodeTraceBuffer
...
Libuv does not guarantee that handles have their close
callbacks called in the order in which they were added
(and in fact, currently calls them in reverse order).
This patch ensures that the `flush_signal_` handle
is no longer in use (i.e. its close callback has already
been run) when we signal to the main thread that
`~NodeTraceBuffer` may be destroyed.
The same applies for `~NodeTraceWriter`.
Credit for debugging goes to Gireesh Punathil.
Fixes: https://github.com/nodejs/node/issues/25512
Co-authored-by: Gireesh Punathil <gpunathi@in.ibm.com >
PR-URL: https://github.com/nodejs/node/pull/25896
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com >
2019-05-16 14:57:10 -04:00
Richard Lau
38d85623bd
test: use assert.rejects() and assert.throws()
...
Replace try-catch blocks in tests with `assert.rejects()` and
`assert.throws()`.
PR-URL: https://github.com/nodejs/node/pull/27207
Fixes: https://github.com/nodejs/node/issues/27198
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Ben Coe <bencoe@gmail.com >
2019-05-16 14:57:10 -04:00
Richard Lau
af301b2821
fs: fix infinite loop with async recursive mkdir on Windows
...
If `file` is a file then on Windows `mkdir` on `file/a` returns an
`ENOENT` error while on POSIX the equivalent returns `ENOTDIR`. On the
POSIX systems `ENOTDIR` would break out of the loop but on Windows the
`ENOENT` would strip off the `a` and attempt to make `file` as a
directory. This would return `EEXIST` but the code wasn't detecting
that the existing path was a file and attempted to make `file/a` again.
PR-URL: https://github.com/nodejs/node/pull/27207
Fixes: https://github.com/nodejs/node/issues/27198
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Ben Coe <bencoe@gmail.com >
2019-05-16 14:57:09 -04:00
XadillaX
aceac0581c
deps: patch to fix *.onion MX query on c-ares
...
c-ares rejects *.onion MX query but forgot to set `*bufp` to NULL. This
will occur SegmentFault when free `*bufp`.
I make this quick fix and then will make a PR for c-ares either.
Backport-PR-URL: https://github.com/nodejs/node/pull/27542
PR-URL: https://github.com/nodejs/node/pull/25840
Fixes: https://github.com/nodejs/node/issues/25839
Refs: https://github.com/c-ares/c-ares/blob/955df98/ares_create_query.c#L97-L103
Refs: https://github.com/c-ares/c-ares/blob/955df98/ares_query.c#L124
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:57:09 -04:00
Artur Hayrapetyan
2a98b9cf2f
doc: add "tick" function name and argument description
...
Backport-PR-URL: https://github.com/nodejs/node/pull/23780
PR-URL: https://github.com/nodejs/node/pull/23551
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-05-16 14:57:08 -04:00
Artur Hayrapetyan
4733a56caf
test: move tick.js from test/async-hooks to test/common
...
Backport-PR-URL: https://github.com/nodejs/node/pull/23780
PR-URL: https://github.com/nodejs/node/pull/23551
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-05-16 14:57:08 -04:00
Refael Ackermann
fe21dd39c3
test: mark some known flakes
...
PR-URL: https://github.com/nodejs/node/pull/27225
Refs: https://github.com/nodejs/node/issues/26910
Refs: https://github.com/nodejs/node/issues/27219
Refs: https://github.com/nodejs/node/issues/26938
Refs: https://github.com/nodejs/node/issues/23089
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
2019-05-16 14:57:08 -04:00
Richard Lau
98193d1d4d
doc,tools: updates for 6.x End-of-Life
...
PR-URL: https://github.com/nodejs/node/pull/27658
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2019-05-16 14:57:07 -04:00
Richard Lau
e01f3d362a
tools: add 12.x to alternative docs versions
...
PR-URL: https://github.com/nodejs/node/pull/27658
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2019-05-16 14:57:07 -04:00
Sam Roberts
be219bd559
deps: update archs files for OpenSSL-1.1.1b
...
`cd deps/openssl/config; make` updates all archs dependant files.
Backport-PR-URL: https://github.com/nodejs/node/pull/27419
PR-URL: https://github.com/nodejs/node/pull/26327
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-16 14:57:07 -04:00
Shigeki Ohtsu
6a6aa6f038
deps: add s390 asm rules for OpenSSL-1.1.1
...
This is a floating patch against OpenSSL-1.1.1 to generate asm files
with Makefile rules.
Backport-PR-URL: https://github.com/nodejs/node/pull/27419
PR-URL: https://github.com/nodejs/node/pull/25381
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org >
Backport-PR-URL: https://github.com/nodejs/node/pull/25688
2019-05-16 14:57:06 -04:00
Shigeki Ohtsu
5109c4f432
deps: add ARM64 Windows support in openssl
...
This adds ARM64 Windows support in the OpenSSL build system.
Since OpenSSL's ARM64 Windows support does not have support for ASM--
that is, VC-WIN64-ARM inherits from VC-noCE-common which has no ASM
files--`openssl_no_asm.gypi` is always used for building. This
essentially forces the 'no-asm' Configure flag.
Backport-PR-URL: https://github.com/nodejs/node/pull/27419
PR-URL: https://github.com/nodejs/node/pull/26001
Fixes: https://github.com/nodejs/node/issues/25998
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2019-05-16 14:57:05 -04:00
Sam Roberts
f270eeec52
deps: openssl-1.1.1b no longer packages .gitignore
...
Since its not packaged, we don't have to delete it, and the Makefile
and update can become a (tiny) bit simpler.
Backport-PR-URL: https://github.com/nodejs/node/pull/27419
PR-URL: https://github.com/nodejs/node/pull/26327
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-16 14:57:05 -04:00
Sam Roberts
ebe0b05a24
deps: upgrade openssl sources to 1.1.1b
...
This updates all sources in deps/openssl/openssl with openssl-1.1.1b.
Backport-PR-URL: https://github.com/nodejs/node/pull/27419
PR-URL: https://github.com/nodejs/node/pull/26327
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-16 14:57:05 -04:00
Sam Roberts
bbf5373041
deps: update OpenSSL upgrade process
...
Particularly, ensure that the commit messages are self-explanatory so
that reviewers can understand that the large commits are the result of a
simple repeatable process. This should make them easier to review.
See: https://github.com/nodejs/node/pull/26327#issuecomment-468745161
Backport-PR-URL: https://github.com/nodejs/node/pull/27419
PR-URL: https://github.com/nodejs/node/pull/26378
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2019-05-16 14:57:04 -04:00
Adam Majer
3ca5f23ea7
test: fix zlib-brotli output assumptions
...
On different architectures, it's possible for the compression algorithm
to produce slightly different outputs. So, don't assume we will
always get the same compressed output on all architectures. Instead,
verify that the decompressing pre-compressed string functions
correctly.
Fixes: https://github.com/nodejs/node/issues/25568
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/25697
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:57:04 -04:00
Anna Henningsen
93edf907ca
doc: add documentation for brotli support
...
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/24938
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-05-16 14:57:03 -04:00
Anna Henningsen and Hackzzila
c670358d7e
benchmark,test: add brotli
...
Co-authored-by: Hackzzila <admin@hackzzila.com >
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/24938
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-05-16 14:57:03 -04:00
Anna Henningsen and Hackzzila
53e9c8508c
zlib: add brotli support
...
Refs: https://github.com/nodejs/node/pull/20458
Co-authored-by: Hackzzila <admin@hackzzila.com >
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/24938
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-05-16 14:57:03 -04:00
Hackzzila
ce6fec53a4
deps,tools: update license-builder.sh and LICENSE
...
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/24938
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-05-16 14:57:02 -04:00
Hackzzila and Anna Henningsen
a9c68a05d9
deps: add brotli
...
Co-authored-by: Anna Henningsen <anna@addaleax.net >
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/24938
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-05-16 14:57:02 -04:00
Anna Henningsen
dd8d1dabd7
zlib: split JS code as prep for non-zlib-backed streams
...
Split the `Zlib` class into `ZlibBase` and `Zlib` classes,
to facilitate introduction of similar streams with minor
implementation differences.
Backport-PR-URL: https://github.com/nodejs/node/pull/25228
PR-URL: https://github.com/nodejs/node/pull/24939
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-16 14:57:01 -04:00
Kat Marchán and Myles Borins
281b52d6ec
deps: upgrade npm to 6.9.0
...
Co-authored-by: Myles Borins <mylesborins@google.com >
PR-URL: https://github.com/nodejs/node/pull/26244
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-05-16 14:57:01 -04:00
Kat Marchán
d2413d630c
deps: upgrade npm to 6.7.0
...
PR-URL: https://github.com/nodejs/node/pull/25804
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2019-05-16 14:57:00 -04:00
Jordan Harband
e880904d22
deps: upgrade npm to v6.5.0
...
PR-URL: https://github.com/nodejs/node/pull/25234
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Lance Ball <lball@redhat.com >
2019-05-16 14:57:00 -04:00
Steven R. Loomis
f91a818508
deps: backport ICU-20575 to fix err/crasher
...
- Floating patch for ICU 64.x
- includes test case
ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20575
Backport of: https://github.com/unicode-org/icu/pull/634
Fixes: https://github.com/nodejs/node/issues/27418
PR-URL: https://github.com/nodejs/node/pull/27435
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2019-05-16 14:56:59 -04:00
Steven R. Loomis
c7931e4438
deps: backport ICU-20558 to fix Intl crasher
...
- Floating patch for ICU 63.x and 64.x
- fixing crash in Intl when ICU data not found.
- Regression test from refack included.
Background:
- ICU-13778 (landed in ICU 63.1) fixed a bug but
added a regression.
- a recent v8 land in Node v12 (which one?) exposes
this bug to cause a crash when ICU data is not found.
ICU Bug: https://unicode-org.atlassian.net/browse/ICU-20558
Backport of: https://github.com/unicode-org/icu/pull/632
Fixes: https://github.com/nodejs/node/issues/27379
Co-authored-by: Refael Ackermann <refack@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/27415
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
2019-05-16 14:56:59 -04:00
Ujjwal Sharma
0fd4b35336
tools: update LICENSE and tools/icu/current_ver.dep
...
Update the LICENSE file and tools/icu/current_ver.dep file in order to
finalize the upgrade to ICU 64.2
PR-URL: https://github.com/nodejs/node/pull/27361
Fixes: https://github.com/nodejs/node/issues/26388
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-05-16 14:56:58 -04:00
Ujjwal Sharma
c9d0b6a9a0
deps: update ICU to 64.2
...
Update the version of the bundled ICU (deps/icu-small) to ICU version
64.2 (Unicode 12, CLDR 35)
Fixes: https://github.com/nodejs/node/issues/26388
PR-URL: https://github.com/nodejs/node/pull/27361
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-05-16 14:56:58 -04:00
Ujjwal Sharma
a49bd36a1a
module: revert module._compile to original state if module is patched
...
Backport-PR-URL: https://github.com/nodejs/node/pull/27124
PR-URL: https://github.com/nodejs/node/pull/21573
Fixes: https://github.com/nodejs/node/issues/17396
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:56:57 -04:00
Ujjwal Sharma
590e8d37e9
module: use compileFunction over Module.wrap
...
Use vm.compileFunction (which is a binding for
v8::CompileFunctionInContext) instead of Module.wrap internally in
Module._compile for the cjs loader.
Fixes: https://github.com/nodejs/node/issues/17396
Backport-PR-URL: https://github.com/nodejs/node/pull/27124
PR-URL: https://github.com/nodejs/node/pull/21573
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:56:57 -04:00
gengjiawen
51ec21cb17
src: remove unused field in node_http2.h
...
Signed-off-by: gengjiawen <technicalcute@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/25727
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:56:57 -04:00