Ben Noordhuis
dc61e09feb
v8: fix load elimination liveness checks
...
This commit back-ports the implementations of IsRename() and MayAlias()
from the upstream 8.0 branch wholesale. Fixes several bugs where V8's
load elimination pass considered values to be alive when they weren't.
Fixes: https://github.com/nodejs/node/issues/31484
PR-URL: https://github.com/nodejs/node/pull/31613
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2020-02-26 11:54:31 +00:00
Gabriel Schulhof
f29fb14cf6
n-api: add APIs for per-instance state management
...
Adds `napi_set_instance_data()` and `napi_get_instance_data()`, which
allow native addons to store their data on and retrieve their data from
`napi_env`. `napi_set_instance_data()` accepts a finalizer which is
called when the `node::Environment()` is destroyed.
This entails rendering the `napi_env` local to each add-on.
Fixes: https://github.com/nodejs/abi-stable-node/issues/378
PR-URL: https://github.com/nodejs/node/pull/28682
Backport-PR-URL: https://github.com/nodejs/node/pull/30537
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-02-25 19:20:38 +00:00
Anna Henningsen
20177b9946
n-api: turn NAPI_CALL_INTO_MODULE into a function
...
These do not need to be macros.
PR-URL: https://github.com/nodejs/node/pull/26128
Backport-PR-URL: https://github.com/nodejs/node/pull/30537
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-02-25 19:20:28 +00:00
Rich Trott
3f9cec3f51
test: add debugging output to test-net-listen-after-destroy-stdin
...
The test failed in CI once with a timeout but there is insufficient
information to further debug. Add additional debugging information.
Refactored callbacks to be arrow functions, since that seems to be the
direction we're moving.
PR-URL: https://github.com/nodejs/node/pull/31698
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-25 19:01:28 +00:00
garygsc
64744a282e
buffer: add {read|write}Big[U]Int64{BE|LE} methods
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30361
PR-URL: https://github.com/nodejs/node/pull/19691
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2020-02-25 00:17:56 +00:00
Sam Roberts
1cfb45732a
tls: support TLS min/max protocol defaults in CLI
...
Backport CLI switches for default TLS versions:
- `--tls-max-v1.2`
- `--tls-min-v1.0`
- `--tls-min-v1.1`
- `--tls-min-v1.2`
PR-URL: https://github.com/nodejs/node/pull/27946
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
2020-02-24 21:58:48 +00:00
cjihrig
f1a8791316
test: allow EAI_FAIL in test-http-dns-error.js
...
EAI_FAIL is expected on OpenBSD, and has been observed on
platforms such as FreeBSD and Windows. This commit makes
EAI_FAIL an acceptable error code on all platforms.
PR-URL: https://github.com/nodejs/node/pull/27500
Fixes: https://github.com/nodejs/node/issues/27487
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-24 21:45:51 +00:00
João Reis
4b9a77909b
test: mark tests as flaky
...
PR-URL: https://github.com/nodejs/node/pull/30848
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-24 20:13:14 +00:00
AshCripps
a8fd8a1a61
test: mark http2 tests as flaky on 10.x
...
These tests are already marked as flaky on 12.x and master.
PR-URL: https://github.com/nodejs/node/pull/31887
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2020-02-24 18:26:39 +00:00
Refael Ackermann
2315270cb6
test: try to stabalize test-child-process-fork-exec-path.js
...
PR-URL: https://github.com/nodejs/node/pull/27277
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2020-02-20 16:07:15 +00:00
Michael Perrotte
7eac95981e
deps: upgrade npm to 6.13.7
...
PR-URL: https://github.com/nodejs/node/pull/31558
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-14 00:13:39 -08:00
Ruy Adorno
db24641fbe
deps: upgrade npm to 6.13.6
...
PR-URL: https://github.com/nodejs/node/pull/31304
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-14 00:13:28 -08:00
Beth Griggs
c6c6665e1c
Working on v10.19.1
...
PR-URL: https://github.com/nodejs-private/node-private/pull/198
2020-02-06 03:00:46 +00:00
Beth Griggs
5ba7df3c4b
2020-02-06, Version 10.19.0 'Dubnium' (LTS)
...
This is a security release.
Vulnerabilities fixed:
* **CVE-2019-15606**:
HTTP header values do not have trailing OWS trimmed.
* **CVE-2019-15605**:
HTTP request smuggling using malformed Transfer-Encoding header.
* **CVE-2019-15604**:
Remotely trigger an assertion on a TLS server with a malformed
certificate string.
Also, HTTP parsing is more strict to be more secure. Since this may
cause problems in interoperability with some non-conformant HTTP
implementations, it is possible to disable the strict checks with the
`--insecure-http-parser` command line flag, or the `insecureHTTPParser`
http option. Using the insecure HTTP parser should be avoided.
PR-URL: https://github.com/nodejs-private/node-private/pull/198
v10.19.0
2020-02-05 23:22:07 +00:00
Sam Roberts
e2c8f89b75
test: using TE to smuggle reqs is not possible
...
See: https://hackerone.com/reports/735748
PR-URL: https://github.com/nodejs-private/node-private/pull/192
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2020-02-04 14:05:40 -08:00
Sam Roberts
49f4220ce5
deps: upgrade http-parser to v2.9.3
...
PR-URL: https://github.com/nodejs-private/http-parser-private/pull/4
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
2020-02-04 14:05:39 -08:00
Anna Henningsen
0082f62d9c
http: make --insecure-http-parser configurable per-stream or per-server
...
From the issue:
> Some servers deviate from HTTP spec enougth that Node.js can't
> communicate with them, but "work" when `--insecure-http-parser`
> is enabled globally. It would be useful to be able to use this
> mode, as a client, only when connecting to known bad servers.
This is largely equivalent to https://github.com/nodejs/node/pull/31446
in terms of code changes.
Fixes: https://github.com/nodejs/node/issues/31440
Refs: https://github.com/nodejs/node/pull/31446
Backport-PR-URL: https://github.com/nodejs/node/pull/30471
PR-URL: https://github.com/nodejs/node/pull/31448
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-04 14:05:39 -08:00
Sam Roberts
d616722f65
test: check that --insecure-http-parser works
...
Test that using --insecure-http-parser will disable validation of
invalid characters in HTTP headers.
See:
- https://github.com/nodejs/node/pull/30567
Backport-PR-URL: https://github.com/nodejs/node/pull/30471
PR-URL: https://github.com/nodejs/node/pull/31253
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-04 14:05:39 -08:00
Sam Roberts
a9849c0ff6
http: opt-in insecure HTTP header parsing
...
Allow insecure HTTP header parsing. Make clear it is insecure.
See:
- https://github.com/nodejs/node/pull/30553
- https://github.com/nodejs/node/issues/27711#issuecomment-556265881
- https://github.com/nodejs/node/issues/30515
Backport-PR-URL: https://github.com/nodejs/node/pull/30471
PR-URL: https://github.com/nodejs/node/pull/30567
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-02-04 14:05:39 -08:00
Sam Roberts
a28e5cc1ed
deps: upgrade http-parser to v2.9.1
...
PR-URL: https://github.com/nodejs/node/pull/30471
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2020-02-03 17:04:46 +00:00
Fedor Indutny
f940bee3b7
crypto: fix assertion caused by unsupported ext
...
`X509V3_EXT_print` can return value different from `1` if the X509
extension does not support printing to a buffer. Instead of failing with
an unrecoverable assertion - replace the relevant value in the hashmap
with a JS null value.
Fixes: https://hackerone.com/reports/746733
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/193
PR-URL: https://github.com/nodejs-private/node-private/pull/175
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2020-02-03 14:35:34 +00:00
Sam Roberts
2eee90e959
http: strip trailing OWS from header values
...
HTTP header values can have trailing OWS, but it should be stripped. It
is not semantically part of the header's value, and if treated as part
of the value, it can cause spurious inequality between expected and
actual header values.
Note that a single SPC of leading OWS is common before the field-value,
and it is already handled by the HTTP parser by stripping all leading
OWS. It is only the trailing OWS that must be stripped by the parser
user.
header-field = field-name ":" OWS field-value OWS
; https://tools.ietf.org/html/rfc7230#section-3.2
OWS = *( SP / HTAB )
; https://tools.ietf.org/html/rfc7230#section-3.2.3
Fixes: https://hackerone.com/reports/730779
PR-URL: https://github.com/nodejs-private/node-private/pull/191
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2020-02-01 01:38:25 +00:00
Beth Griggs
84eec80f84
Working on v10.18.2
...
PR-URL: https://github.com/nodejs/node/pull/31248
2020-01-09 21:41:14 +00:00
Beth Griggs
8d5e286872
2020-01-09, Version 10.18.1 'Dubnium' (LTS)
...
- http2: fix session memory accounting after pausing (Michael Lehenbauer)
[#30684 ](https://github.com/nodejs/node/pull/30684 )
- n-api: correct bug in napi_get_last_error (Octavian Soldea)
[#28702 ](https://github.com/nodejs/node/pull/28702 )
- tools: update tzdata to 2019c (Myles Borins)
[#30479 ](https://github.com/nodejs/node/pull/30479 )
PR-URL: https://github.com/nodejs/node/pull/31248
v10.18.1
2020-01-09 11:05:21 +00:00
Robert Nagy
77e0318849
stream: increase MAX_HWM
...
MAX_HWM was added in 9208c89 where the highwatermark was changed to
always increase in steps of highest power of 2 to prevent increasing
hwm excessivly in tiny amounts.
Why a limit was added on the highwatermark is unclear but breaks
existing usage where a larger read size is used. The invariant for
read(n) is that a buffer of size n is always returned. Considering
a maximum ceiling on the buffer size breaks this invariant.
This PR significantly increases the limit to make it less likely to
break the previous invariant and also documents the limit.
Fixes: https://github.com/nodejs/node/issues/29933
PR-URL: https://github.com/nodejs/node/pull/29938
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2020-01-07 13:57:28 +00:00
Rich Trott
a1b095dd46
doc,dns: use code markup/markdown in headers
...
This will allow us to lint for use of `hostname` in prose without
flagging `hostname` in code within headers. This also allows us to
remove backslash escaping for `[` and `]` inside of header code, which
makes the bare markdown more readable.
Backport-PR-URL: https://github.com/nodejs/node/pull/31109
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-31 13:02:16 +00:00
Rich Trott
25b8fbda35
doc: allow <code> in header elements
...
Allow use of <code> in header elements without styling side effects. We
can add styling later if desired. The goal here is to allow code to be
set off in markdown without needing to escape characters and do lint
exceptions for terms. This is probably a win in terms of accessibility
too although it would be moreso if we had some visual differentiation
for <code> inside of headers. As mentioned above, that can always be
added at a later time.
Backport-PR-URL: https://github.com/nodejs/node/pull/31109
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-31 13:01:40 +00:00
Michael Lehenbauer
8f3b8ca515
http2: fix session memory accounting after pausing
...
The ability to pause input processing was added in 8a4a193 but
introduced a session memory accounting mismatch leading to potential
NGHTTP2_ENHANCE_YOUR_CALM errors.
After pausing
(https://github.com/nodejs/node/blob/f36331c1bfa4c4c202346b05dc3bd672f653e4df/src/node_http2.cc#L871 ),
the early return on line 873 skips the
DecrementCurrentSessionMemory(stream_buf_.len) call below (line 878).
When we later finished processing the input chunk
(https://github.com/nodejs/node/blob/f36331c1bfa4c4c202346b05dc3bd672f653e4df/src/node_http2.cc#L1858 ),
we were calling DecrementCurrentSessionMemory(stream_buf_offset_) [line
1875] which was a no-op since we just set stream_buf_offset_ to 0 [line
1873].
The correct amount to decrement by is still stream_buf_.len, since
that's the amount we skipped previously (line 878).
Fixes: https://github.com/nodejs/node/issues/29223
Refs: https://github.com/nodejs/node/commit/164ac5b241b96089e6bad5bb83ea416966b3245f
PR-URL: https://github.com/nodejs/node/pull/30684
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
2019-12-17 17:08:17 -05:00
Matteo Collina
894aaa2040
stream: extract Readable.from in its own file
...
See: https://github.com/nodejs/readable-stream/pull/420
PR-URL: https://github.com/nodejs/node/pull/30140
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2019-12-17 17:08:17 -05:00
ZYSzys
20f64a96de
http2: use the latest settings
...
Fixes: https://github.com/nodejs/node/issues/29764
PR-URL: https://github.com/nodejs/node/pull/29780
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-12-17 17:08:17 -05:00
Yang Guo
7e941eb17d
test: do not fail SLOW tests if they are not slow
...
PR-URL: https://github.com/nodejs/node/pull/25868
Refs: https://github.com/nodejs/node/issues/25867
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
2019-12-17 17:08:17 -05:00
João Reis
68b2b5cc51
build,win: propagate error codes in vcbuild
...
Don't exit vcbuild with error code 0 when cctest fails.
Backport-PR-URL: https://github.com/nodejs/node/pull/30726
PR-URL: https://github.com/nodejs/node/pull/30724
Refs: https://github.com/nodejs/build/issues/1996
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 17:08:17 -05:00
Octavian Soldea
88e8b7cf83
n-api: correct bug in napi_get_last_error
...
napi_get_last_error returns incorrect napi_status.
Backport-PR-URL: https://github.com/nodejs/node/pull/30532
PR-URL: https://github.com/nodejs/node/pull/28702
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-12-17 17:08:17 -05:00
Michaël Zasso
3e0709cf5e
deps: V8: backport fb63e5cf55e9
...
Original commit message:
[Intl] Fix output of hour:'2-digit', hour12: true
Bug: chromium:527926
Change-Id: I783ba59c6e4b117163e058032fb04283e1f43c46
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1529260
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org >
Commit-Queue: Frank Tang <ftang@chromium.org >
Cr-Commit-Position: refs/heads/master@{#60379}
Refs: https://github.com/v8/v8/commit/fb63e5cf55e93d7b4df51d3f382a6c84d25a5e86
Fixes: https://github.com/nodejs/node/issues/30369
Backport-PR-URL: https://github.com/nodejs/node/pull/30372
2019-12-17 17:08:17 -05:00
Myles Borins
0f3ae77aaf
tools: update tzdata to 2019c
...
Refs: https://github.com/nodejs/node/issues/30211
Refs: https://github.com/nodejs/node/pull/30356
PR-URL: https://github.com/nodejs/node/pull/30479
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2019-12-17 17:08:17 -05:00
Vse Mozhet Byt
81c31005fd
lib: fix comment nits in bootstrap\loaders.js
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30338
PR-URL: https://github.com/nodejs/node/pull/24641
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2019-12-17 17:08:16 -05:00
Sam Roberts
4ae8d204cb
tools: move python code out of jenkins shell
...
https://ci.nodejs.org/job/node-test-commit-v8-linux/configure echoes
python code into tools and runs it. Move these scripts into tools for
better maintainability.
Once this lands and is back-ported into LTS branches a bunch of shell
code can be deleted from the job.
PR-URL: https://github.com/nodejs/node/pull/28458
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 17:08:16 -05:00
Sam Roberts
4879b80d87
tools: fix v8 testing with devtoolset on ppcle
...
The devtoolset doesn't use or set the CXX, etc, env vars, so ignore them
if not present.
PR-URL: https://github.com/nodejs/node/pull/28458
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-17 17:08:16 -05:00
Saagar Jha
a80c59130e
build: fix configure script to work with Apple Clang 11
...
PR-URL: https://github.com/nodejs/node/pull/28071
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com >
2019-12-17 17:08:16 -05:00
Myles Borins
3c49b8d75d
Working on v10.18.1
...
PR-URL: https://github.com/nodejs/node/pull/30940
2019-12-17 17:04:13 -05:00
Myles Borins
94365f0c19
2019-12-17, Version 10.18.0 'Dubnium' (LTS)
...
This is a security release.
For more details about the vulnerability please consult the npm blog:
https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
Notable Changes:
* deps: update npm to 6.13.4
https://github.com/nodejs/node/pull/30904
PR-URL: https://github.com/nodejs/node/pull/30940
v10.18.0
2019-12-16 14:58:22 -05:00
João Reis
54a466a865
build,win: add test-ci-native and test-ci-js
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30726
PR-URL: https://github.com/nodejs/node/pull/30724
Refs: https://github.com/nodejs/build/issues/1996
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-12-16 11:17:26 -05:00
isaacs
f9b31edb25
deps: update npm to 6.13.4
...
PR-URL: https://github.com/nodejs/node/pull/30904
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2019-12-13 11:51:53 -05:00
Beth Griggs
0621e25f90
Working on v10.17.1
...
PR-URL: https://github.com/nodejs/node/pull/29875
2019-10-22 20:01:11 +01:00
Beth Griggs
5dae3ef88b
2019-10-22, Version 10.17.0 'Dubnium' (LTS)
...
Notable changes:
* crypto:
* add support for chacha20-poly1305 for AEAD (chux0519)
https://github.com/nodejs/node/pull/24081
* increase maxmem range from 32 to 53 bits (Tobias Nießen)
https://github.com/nodejs/node/pull/28799
* deps:
* update npm to 6.11.3 (claudiahdz)
https://github.com/nodejs/node/pull/29430
* upgrade openssl sources to 1.1.1d (Sam Roberts)
https://github.com/nodejs/node/pull/29921
* dns:
* remove dns.promises experimental warning (cjihrig)
https://github.com/nodejs/node/pull/26592
* fs:
* remove experimental warning for fs.promises (Anna Henningsen)
https://github.com/nodejs/node/pull/26581
* http:
* makes response.writeHead return the response (Mark S. Everitt)
https://github.com/nodejs/node/pull/25974
* http2:
* makes response.writeHead return the response (Mark S. Everitt)
https://github.com/nodejs/node/pull/25974
* n-api:
* make func argument of napi\_create\_threadsafe\_function optional
(legendecas)
https://github.com/nodejs/node/pull/27791
* mark version 5 N-APIs as stable (Gabriel Schulhof)
https://github.com/nodejs/node/pull/29401
* implement date object (Jarrod Connolly)
https://github.com/nodejs/node/pull/25917
* process:
* add --unhandled-rejections flag (Ruben Bridgewater)
https://github.com/nodejs/node/pull/26599
* stream:
* implement Readable.from async iterator utility (Guy Bedford)
https://github.com/nodejs/node/pull/27660
* make Symbol.asyncIterator support stable (Matteo Collina)
https://github.com/nodejs/node/pull/26989
PR-URL: https://github.com/nodejs/node/pull/29875
v10.17.0
2019-10-22 14:50:49 +01:00
chux0519
63de2ade85
crypto: add support for chacha20-poly1305 for AEAD
...
openSSL supports AEAD_CHACHA20_POLY1305(rfc7539) since 1.1.
PR-URL: https://github.com/nodejs/node/pull/24081
Fixes: https://github.com/nodejs/node/issues/24080
Refs: https://tools.ietf.org/html/rfc7539
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2019-10-21 11:02:18 +01:00
claudiahdz
e53dbba6bc
deps: update npm to 6.11.3
...
PR-URL: https://github.com/nodejs/node/pull/29430
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2019-10-19 00:52:22 +01:00
isaacs
55cd01c5c3
deps: update npm to 6.10.3
...
BUGFIXES
* [`27cccfbda`](https://github.com/npm/cli/commit/27cccfbdac8526cc807b07f416355949b1372a9b )
[#223 ](https://github.com/npm/cli/pull/223 ) vulns → vulnerabilities in
npm audit output ([@sapegin](https://github.com/sapegin ))
* [`d5e865eb7`](https://github.com/npm/cli/commit/d5e865eb79329665a927cc2767b4395c03045dbb )
[#222 ](https://github.com/npm/cli/pull/222 )
[#226 ](https://github.com/npm/cli/pull/226 ) install, doctor: don't crash
if registry unset ([@dmitrydvorkin](https://github.com/dmitrydvorkin ),
[@isaacs](https://github.com/isaacs ))
* [`5b3890226`](https://github.com/npm/cli/commit/5b389022652abeb0e1c278a152550eb95bc6c452 )
[#227 ](https://github.com/npm/cli/pull/227 )
[npm.community#9167](https://npm.community/t/npm-err-cb-never-called-permission-denied/9167/5 )
Handle unhandledRejections, tell user what to do when encountering an
`EACCES` error in the cache. ([@isaacs](https://github.com/isaacs ))
DEPENDENCIES
* [`77516df6e`](https://github.com/npm/cli/commit/77516df6eac94a6d7acb5e9ca06feaa0868d779b )
`licensee@7.0.3` ([@isaacs](https://github.com/isaacs ))
* [`ceb993590`](https://github.com/npm/cli/commit/ceb993590e4e376a9a78264ce7bb4327fbbb37fe )
`query-string@6.8.2` ([@isaacs](https://github.com/isaacs ))
* [`4050b9189`](https://github.com/npm/cli/commit/4050b91898c60e9b22998cf82b70b9b822de592a )
`hosted-git-info@2.8.2`
* [#46 ](https://github.com/npm/hosted-git-info/issues/46 )
[#43 ](https://github.com/npm/hosted-git-info/issues/43 )
[#47 ](https://github.com/npm/hosted-git-info/pull/47 )
[#44 ](https://github.com/npm/hosted-git-info/pull/44 ) Add support for
GitLab subgroups ([@mterrel](https://github.com/mterrel ),
[@isaacs](https://github.com/isaacs ),
[@ybiquitous](https://github.com/ybiquitous ))
* [`3b1d629`](https://github.com/npm/hosted-git-info/commit/3b1d629 )
[#48 ](https://github.com/npm/hosted-git-info/issues/48 ) fix http
protocol using sshurl by default
([@fengmk2](https://github.com/fengmk2 ))
* [`5d4a8d7`](https://github.com/npm/hosted-git-info/commit/5d4a8d7 )
ignore noCommittish on tarball url generation
([@isaacs](https://github.com/isaacs ))
* [`1692435`](https://github.com/npm/hosted-git-info/commit/1692435 )
use gist tarball url that works for anonymous gists
([@isaacs](https://github.com/isaacs ))
* [`d5cf830`](https://github.com/npm/hosted-git-info/commit/d5cf8309be7af884032616c63ea302ce49dd321c )
Do not allow invalid gist urls ([@isaacs](https://github.com/isaacs ))
* [`e518222`](https://github.com/npm/hosted-git-info/commit/e5182224351183ce619dd5ef00019ae700ed37b7 )
Use LRU cache to prevent unbounded memory consumption
([@iarna](https://github.com/iarna ))
PR-URL: https://github.com/nodejs/node/pull/29023
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2019-10-19 00:51:57 +01:00
isaacs
e2291cf805
deps: upgrade npm to 6.10.2
...
PR-URL: https://github.com/nodejs/node/pull/28853
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
2019-10-19 00:51:29 +01:00
isaacs
03b69660f9
deps: upgrade npm to 6.10.0
...
PR-URL: https://github.com/nodejs/node/pull/28525
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2019-10-19 00:49:37 +01:00