Trevor Norris
9460f2cd83
worker: add eventLoopUtilization()
...
Allow calling eventLoopUtilization() directly on a worker thread:
const worker = new Worker('./foo.js');
const elu = worker.performance.eventLoopUtilization();
setTimeout(() => {
worker.performance.eventLoopUtilization(elu);
}, 10);
Add a new performance object on the Worker instance that will hopefully
one day hold all the other performance metrics, such as nodeTiming.
Include benchmarks and tests.
PR-URL: https://github.com/nodejs/node/pull/35664
Backport-PR-URL: https://github.com/nodejs/node/pull/37163
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-04-06 15:53:38 -04:00
Santiago Gimeno
89046d7840
test: add cpu-profiler-crash test
...
This test is added as it usually crashes without applying the v8 patch:
https://github.com/v8/v8/commit/beebee4f80ff2eb91187ef1e8fa00b8ff82a20b3
PR-URL: https://github.com/nodejs/node/pull/37293
Refs: https://github.com/v8/v8/commit/beebee4f80ff2eb91187ef1e8fa00b8ff82a20b
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-04-06 15:53:38 -04:00
Peter Marshall
e446d82394
deps: V8: cherry-pick beebee4f80ff
...
Original commit message:
```
cpu-profiler: Use Handle version of SourcePositionTableIterator
The surrounding code can trigger an allocation through InliningStack
which can eventually end up allocating a line ends array.
This is fine as-is because the existing iterator code makes a copy
of the byte array. It just triggers the no_gc dcheck in debug mode.
Fixed: v8:10778
Change-Id: Ic8c502767ec6c3d3b1f5e84df60638bd2fc6be75
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2339102
Auto-Submit: Peter Marshall <petermarshall@chromium.org >
Commit-Queue: Tobias Tebbi <tebbi@chromium.org >
Reviewed-by: Tobias Tebbi <tebbi@chromium.org >
Cr-Commit-Position: refs/heads/master@{#69247}
```
Refs: https://github.com/v8/v8/commit/beebee4f80ff2eb91187ef1e8fa00b8ff82a20b3
PR-URL: https://github.com/nodejs/node/pull/37293
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-04-06 15:53:37 -04:00
Daniel Bevenius
6961be5ed1
test: add arm64 arch to test-worker-prof status
...
This commit adds arm64 to test-worker-prof status as this seems to be
flaky on arm64 in addition to arm.
PR-URL: https://github.com/nodejs/node/pull/37225
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-04-06 15:53:37 -04:00
Daniel Bevenius
ae1fa98496
deps: cherry-pick f4376ec801e1ded from V8 upstream
...
Original commit message:
[heap] Make maximum regular code object size a runtime value.
Executable V8 pages include 3 reserved OS pages: one for the writable
header and two as guards. On systems with 64k OS pages, the amount of
allocatable space left for objects can then be quite smaller than the
page size, only 64k for each 256k page.
This means regular code objects cannot be larger than 64k, while the
maximum regular object size is fixed to 128k, half of the page size. As
a result code object never reach this limit and we can end up filling
regular pages with few large code objects.
To fix this, we change the maximum code object size to be runtime value,
set to half of the allocatable space per page. On systems with 64k OS
pages, the limit will be 32k.
Alternatively, we could increase the V8 page size to 512k on Arm64 linux
so we wouldn't waste code space. However, systems with 4k OS pages are
more common, and those with 64k pages tend to have more memory available
so we should be able to live with it.
Bug: v8:10808
Change-Id: I5d807e7a3df89f1e9c648899e9ba2f8e2648264c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2460809
Reviewed-by: Igor Sheludko <ishell@chromium.org >
Reviewed-by: Georg Neis <neis@chromium.org >
Reviewed-by: Ulan Degenbaev <ulan@chromium.org >
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com >
Cr-Commit-Position: refs/heads/master@{#70569}
PR-URL: https://github.com/nodejs/node/pull/37225
Refs: https://github.com/nodejs/help/issues/3202
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-04-06 15:53:37 -04:00
Myles Borins
78680c1cbc
Working on v14.16.2
...
PR-URL: https://github.com/nodejs/node/pull/38082
2021-04-06 10:44:26 -04:00
Myles Borins
b34a9d7dd8
2021-04-06, Version 14.16.1 'Fermium' (LTS)
...
This is a security release.
Notable Changes:
Vulnerabilities fixed:
- **CVE-2021-3450**: OpenSSL - CA certificate check bypass with X509_V_FLAG_X509_STRICT (High)
- **CVE-2021-3449**: OpenSSL - NULL pointer deref in signature_algorithms processing (High)
- **CVE-2020-7774**: npm upgrade - Update y18n to fix Prototype-Pollution (High)
PR-URL: https://github.com/nodejs/node/pull/38082
v14.16.1
2021-04-06 09:28:12 -04:00
Ruy Adorno
467be7a950
deps: upgrade npm to 6.14.12
...
PR-URL: https://github.com/nodejs/node/pull/37918
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-04-04 15:32:11 -04:00
Tobias Nießen
6bc8f58182
deps: update archs files for OpenSSL-1.1.1k
...
After an OpenSSL source update, all the config files need to be
regenerated and committed by:
$ make -C deps/openssl/config
$ git add deps/openssl/config/archs
$ git add deps/openssl/openssl/include/crypto/bn_conf.h
$ git add deps/openssl/openssl/include/crypto/dso_conf.h
$ git add deps/openssl/openssl/include/openssl/opensslconf.h
$ git commit
PR-URL: https://github.com/nodejs/node/pull/37938
Refs: https://github.com/nodejs/node/issues/37913
Refs: https://github.com/nodejs/node/pull/37916
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2021-04-04 15:31:35 -04:00
Tobias Nießen
403a014ef6
deps: upgrade openssl sources to 1.1.1k
...
This updates all sources in deps/openssl/openssl by:
$ cd deps/openssl/
$ rm -rf openssl
$ tar zxf ~/tmp/openssl-1.1.1k.tar.gz
$ mv openssl-1.1.1k openssl
$ git add --all openssl
$ git commit openssl
PR-URL: https://github.com/nodejs/node/pull/37938
Refs: https://github.com/nodejs/node/issues/37913
Refs: https://github.com/nodejs/node/pull/37916
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2021-04-04 15:31:22 -04:00
Beth Griggs
6a9ec8d933
Working on v14.16.1
...
PR-URL: https://github.com/nodejs-private/node-private/pull/254
2021-02-23 12:03:59 +00:00
Beth Griggs
bd60e93357
2021-02-23, Version 14.16.0 'Fermium' (LTS)
...
This is a security release.
Notable changes:
Vulnerabilities fixed:
- **CVE-2021-22883**: HTTP2 'unknownProtocol' cause Denial of Service by
resource exhaustion
- **CVE-2021-22884**: DNS rebinding in --inspect
- **CVE-2021-23840**: OpenSSL - Integer overflow in CipherUpdate
PR-URL: https://github.com/nodejs-private/node-private/pull/254
v14.16.0
2021-02-22 18:33:12 +00:00
Daniel Bevenius
313d26800c
deps: update archs files for OpenSSL-1.1.1j
...
After an OpenSSL source update, all the config files need to be
regenerated and committed by:
$ make -C deps/openssl/config
$ git add deps/openssl/config/archs
$ git add deps/openssl/openssl/include/crypto/bn_conf.h
$ git add deps/openssl/openssl/include/crypto/dso_conf.h
$ git add deps/openssl/openssl/include/openssl/opensslconf.h
$ git commit
PR-URL: https://github.com/nodejs/node/pull/37412
Backport-PR-URL: https://github.com/nodejs/node/pull/37413
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
2021-02-22 18:25:16 +00:00
Daniel Bevenius
6098012b48
deps: upgrade openssl sources to 1.1.1j
...
This updates all sources in deps/openssl/openssl by:
$ cd deps/openssl/
$ rm -rf openssl
$ tar zxf ~/tmp/openssl-1.1.1j.tar.gz
$ mv openssl-1.1.1j openssl
$ git add --all openssl
$ git commit openssl
PR-URL: https://github.com/nodejs/node/pull/37412
Backport-PR-URL: https://github.com/nodejs/node/pull/37413
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
2021-02-22 18:25:15 +00:00
Daniel Bevenius
afea10b097
http2: add unknownProtocol timeout
...
This commit add a configuration options named unknownProtocolTimeout
which can be specified to set a value for the timeout in milliseconds
that a server should wait when an unknowProtocol is sent to it. When
this happens a timer will be started and the if the socket has not been
destroyed during that time the timer callback will destoy it.
Refs: https://hackerone.com/reports/1043360
CVE-ID: CVE-2021-22883
PR-URL: https://github.com/nodejs-private/node-private/pull/246
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/250
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-02-22 18:25:10 +00:00
Matteo Collina
1ca3f5abcb
src: drop localhost6 as allowed host for inspector
...
CVE-ID: CVE-2021-22884
Refs: https://hackerone.com/bugs?report_id=1069487
PR-URL: https://github.com/nodejs-private/node-private/pull/244
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Mary Marchini <oss@mmarchini.me >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-02-18 12:25:22 +00:00
Beth Griggs
93f7f9e805
Working on v14.15.6
...
PR-URL: https://github.com/nodejs/node/pull/37074
2021-02-09 16:00:25 +00:00
Beth Griggs
9fff0d35af
2021-02-09, Version 14.15.5 'Fermium' (LTS)
...
Notable changes:
- **deps**:
- upgrade npm to 6.14.11 (Ruy Adorno)
(https://github.com/nodejs/node/pull/37173 )
- V8: backport dfcf1e86fac0 (Michaël Zasso)
(https://github.com/nodejs/node/pull/37245 )
- Note: Node.js is not believed to be vulnerable to CVE-2021-21148.
- **stream,zlib**: do not use \_stream\_\* anymore (Matteo Collina)
(https://github.com/nodejs/node/pull/36618 )
PR-URL: https://github.com/nodejs/node/pull/37074
v14.15.5
2021-02-08 19:12:27 +00:00
Michaël Zasso
017eed665b
http: do not loop over prototype in Agent
...
Fixes: https://github.com/nodejs/node/issues/36364
PR-URL: https://github.com/nodejs/node/pull/36410
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2021-02-08 17:27:27 +00:00
Michaël Zasso
20b1e6c802
deps: V8: backport dfcf1e86fac0
...
Original commit message:
[wasm] PostMessage of Memory.buffer should throw
PostMessage of an ArrayBuffer that is not detachable should result
in a DataCloneError.
Bug: chromium:1170176, chromium:961059
Change-Id: Ib89bbc10d2b58918067fd1a90365cad10a0db9ec
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2653810
Reviewed-by: Adam Klein <adamk@chromium.org >
Reviewed-by: Andreas Haas <ahaas@chromium.org >
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org >
Cr-Commit-Position: refs/heads/master@{#72415}
Refs: https://github.com/v8/v8/commit/dfcf1e86fac0a7b067caf8fdfc13eaf3e3f445e4
PR-URL: https://github.com/nodejs/node/pull/37245
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-02-08 02:05:32 +00:00
Ruben Bridgewater
f206505e9d
util: fix instanceof checks with null prototypes during inspection
...
Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de >
Backport-PR-URL: https://github.com/nodejs/node/pull/37100
PR-URL: https://github.com/nodejs/node/pull/36178
Fixes: https://github.com/nodejs/node/issues/35730
Fixes: https://github.com/nodejs/node/issues/36151
Refs: https://github.com/nodejs/node/pull/35754
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-02-05 13:21:37 +00:00
Ruben Bridgewater
2f7944b18b
util: fix module prefixes during inspection
...
Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de >
Backport-PR-URL: https://github.com/nodejs/node/pull/37100
PR-URL: https://github.com/nodejs/node/pull/36178
Fixes: https://github.com/nodejs/node/issues/35730
Fixes: https://github.com/nodejs/node/issues/36151
Refs: https://github.com/nodejs/node/pull/35754
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-02-04 16:56:39 +00:00
Ruy Adorno
408c7a65f3
deps: upgrade npm to 6.14.11
...
PR-URL: https://github.com/nodejs/node/pull/37173
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
2021-02-04 11:47:31 +00:00
Matteo Collina
9ff73fcdbe
stream,zlib: do not use _stream_* anymore
...
PR-URL: https://github.com/nodejs/node/pull/36618
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-01-28 17:56:03 +00:00
Dimitris Halatsis
25a3204fe2
http: don't cork .end when not needed
...
PR-URL: https://github.com/nodejs/node/pull/36633
Backport-PR-URL: https://github.com/nodejs/node/pull/36940
Fixes: https://github.com/nodejs/node/issues/36620
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
2021-01-28 17:56:03 +00:00
Dimitris Halatsis
c03cddb46f
test: http complete response after socket double end
...
PR-URL: https://github.com/nodejs/node/pull/36633
Backport-PR-URL: https://github.com/nodejs/node/pull/36940
Fixes: https://github.com/nodejs/node/issues/36620
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
2021-01-28 17:56:03 +00:00
ZiJian Liu
2a1e4e9244
stream: accept iterable as a valid first argument
...
Fixes: https://github.com/nodejs/node/issues/36437
PR-URL: https://github.com/nodejs/node/pull/36479
Backport-PR-URL: https://github.com/nodejs/node/pull/36831
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-01-28 17:56:03 +00:00
Beth Griggs
9c438b5ae0
Working on v14.15.5
...
PR-URL: https://github.com/nodejs-private/node-private/pull/242
2021-01-04 17:42:23 +00:00
Beth Griggs
04509d6847
2021-01-04, Version 14.15.4 'Fermium' (LTS)
...
This is a security release.
Notable changes:
Vulnerabilities fixed:
- **CVE-2020-1971**: OpenSSL - EDIPARTYNAME NULL pointer de-reference
(High)
- This is a vulnerability in OpenSSL which may be exploited through
Node.js. You can read more about it in
https://www.openssl.org/news/secadv/20201208.txt
- **CVE-2020-8265**: use-after-free in TLSWrap (High)
- Affected Node.js versions are vulnerable to a use-after-free bug in
its TLS implementation. When writing to a TLS enabled socket,
node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly
allocated WriteWrap object as first argument. If the DoWrite method
does not return an error, this object is passed back to the caller as
part of a StreamWriteResult structure. This may be exploited to
corrupt memory leading to a Denial of Service or potentially other
exploits.
- **CVE-2020-8287**: HTTP Request Smuggling in nodejs (Low)
- Affected versions of Node.js allow two copies of a header field in
a http request. For example, two Transfer-Encoding header fields. In
this case Node.js identifies the first header field and ignores the
second. This can lead to HTTP Request Smuggling
(https://cwe.mitre.org/data/definitions/444.html ).
PR-URL: https://github.com/nodejs-private/node-private/pull/242
v14.15.4
2020-12-24 14:36:31 +00:00
James M Snell
4f8772f9b7
src: retain pointers to WriteWrap/ShutdownWrap
...
Avoids potential use-after-free when wrap req's are synchronously
destroyed.
CVE-ID: CVE-2020-8265
Fixes: https://github.com/nodejs-private/node-private/issues/227
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=988103
PR-URL: https://github.com/nodejs-private/node-private/pull/23
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-12-24 14:03:14 +00:00
Matteo Collina
7ecac8143f
http: add test for http transfer encoding smuggling
...
CVE-ID: CVE-2020-8287
Refs: https://github.com/nodejs-private/llhttp-private/pull/3
Refs: https://hackerone.com/bugs?report_id=1002188&subject=nodejs
PR-URL: https://github.com/nodejs-private/node-private/pull/228
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-12-24 14:02:58 +00:00
Matteo Collina
641f786bb1
http: unset F_CHUNKED on new Transfer-Encoding
...
Duplicate `Transfer-Encoding` header should be a treated as a single,
but with original header values concatenated with a comma separator. In
the light of this, even if the past `Transfer-Encoding` ended with
`chunked`, we should be not let the `F_CHUNKED` to leak into the next
header, because mere presence of another header indicates that `chunked`
is not the last transfer-encoding token.
CVE-ID: CVE-2020-8287
Refs: https://github.com/nodejs-private/llhttp-private/pull/3
Refs: https://hackerone.com/bugs?report_id=1002188&subject=nodejs
PR-URL: https://github.com/nodejs-private/node-private/pull/228
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-12-24 14:02:57 +00:00
Ruy Adorno
305c0f4977
deps: upgrade npm to 6.14.10
...
PR-URL: https://github.com/nodejs/node/pull/36571
Fixes: https://github.com/nodejs/node/issues/36445
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2020-12-23 10:23:47 +00:00
Myles Borins
d62c650f75
deps: update archs files for OpenSSL-1.1.1i
...
After an OpenSSL source update, all the config files need to be
regenerated and committed by:
$ make gen-openssl
$ git add deps/openssl/config/archs
$ git add deps/openssl/openssl/include/crypto/bn_conf.h
$ git add deps/openssl/openssl/include/crypto/dso_conf.h
$ git add deps/openssl/openssl/include/openssl/opensslconf.h
$ git commit
PR-URL: https://github.com/nodejs/node/pull/36521
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2020-12-17 23:14:04 +00:00
Myles Borins
2de2672eb5
deps: upgrade openssl sources to 1.1.1i
...
This updates all sources in deps/openssl/openssl by:
$ cd deps/openssl/
$ rm -rf openssl
$ tar zxf ~/tmp/openssl-1.1.1i.tar.gz
$ mv openssl-1.1.1i openssl
$ git add --all openssl
$ git commit openssl
PR-URL: https://github.com/nodejs/node/pull/36521
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2020-12-17 23:14:03 +00:00
Beth Griggs
dd8fb22ec0
Working on v14.15.4
...
PR-URL: https://github.com/nodejs/node/pull/36555
2020-12-17 22:09:24 +00:00
Beth Griggs
e725355e5c
2020-12-17, Version 14.15.3 'Fermium' (LTS)
...
Notable Changes:
Node.js v14.15.2 included a commit that has caused reported breakages
when cloning request objects. This release reverts the commit that
introduced the behaviour change.
See https://github.com/nodejs/node/issues/36550 for more details.
PR-URL: https://github.com/nodejs/node/pull/36555
v14.15.3
2020-12-17 19:03:38 +00:00
Beth Griggs
4264d9aa67
Revert "http: lazy create IncomingMessage.headers"
...
This reverts commit b58725c4c0 .
Fixes: https://github.com/nodejs/node/issues/36550
PR-URL: https://github.com/nodejs/node/pull/36553
Refs: https://github.com/nodejs/node/pull/35281
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2020-12-17 18:34:26 +00:00
Beth Griggs
f9f01b9a47
Working on v14.15.3
...
PR-URL: https://github.com/nodejs/node/pull/36476
2020-12-15 23:34:25 +00:00
Beth Griggs
a2f9a70900
2020-12-15, Version 14.15.2 'Fermium' (LTS)
...
Notable Changes:
- **deps**:
- upgrade npm to 6.14.9 (Myles Borins)
https://github.com/nodejs/node/pull/36450
- update acorn to v8.0.4 (Michaël Zasso)
https://github.com/nodejs/node/pull/35791
- **doc**: add release key for Danielle Adams (Danielle Adams)
https://github.com/nodejs/node/pull/35545
- **http2**: check write not scheduled in scope destructor (David Halls)
https://github.com/nodejs/node/pull/36241
- **stream**: fix regression on duplex end (Momtchil Momtchev)
https://github.com/nodejs/node/pull/35941
PR-URL: https://github.com/nodejs/node/pull/36476
v14.15.2
2020-12-15 21:23:01 +00:00
David Halls
71c3efe278
http2: check write not scheduled in scope destructor
...
Fixes: https://github.com/nodejs/node/issues/33156
PR-URL: https://github.com/nodejs/node/pull/36241
Backport-PR-URL: https://github.com/nodejs/node/pull/36372
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-12-15 20:15:27 +00:00
Myles Borins
6cea3152fe
deps: upgrade npm to 6.14.9
...
PR-URL: https://github.com/nodejs/node/pull/36450
Fixes: https://github.com/docs
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-12-15 20:15:27 +00:00
Rich Trott
47bd445e56
doc: remove stray comma in url.md
...
PR-URL: https://github.com/nodejs/node/pull/36175
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-12-15 20:15:27 +00:00
Hollow Man
45aee0d25e
http: fix typo in comment
...
alredy -> already
PR-URL: https://github.com/nodejs/node/pull/36193
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-12-15 20:15:26 +00:00
Rich Trott
2f76a75fc6
doc: revise agent.destroy() text
...
PR-URL: https://github.com/nodejs/node/pull/36163
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-12-15 20:15:26 +00:00
Rich Trott
40d59281f7
test: update comments in test-fs-read-offset-null
...
Update comment to refer to the correct ASCII code (120 rather than 66).
All other changes are cosmetic.
PR-URL: https://github.com/nodejs/node/pull/36152
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-12-15 20:15:26 +00:00
Gabriel Schulhof
81b0562c62
n-api: clean up binding creation
...
* Remove dead code for `GetterCallbackWrapper` and
`SetterCallbackWrapper`.
* Factor out creation of new `v8::Function`s.
* Factor out creation of new `v8::FunctionTemplate`s.
* Turn `CallbackBundle` into a class, internalizing creation of new
instances and garbage collection.
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com >
PR-URL: https://github.com/nodejs/node/pull/36170
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2020-12-15 20:15:26 +00:00
Gabriel Schulhof
7a01e241ee
n-api: fix test_async_context warnings
...
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com >
PR-URL: https://github.com/nodejs/node/pull/36171
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2020-12-15 20:15:25 +00:00
Antoine du Hamel
6d43c8dd69
async_hooks: refactor to use more primordials
...
PR-URL: https://github.com/nodejs/node/pull/36168
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-12-15 20:15:25 +00:00
Geoffrey Booth
72fb6f88ab
doc: add compatibility/interop technical value
...
PR-URL: https://github.com/nodejs/node/pull/35323
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-12-15 20:15:25 +00:00