Danielle Adams
d5987f811f
2021-08-17, Version 16.7.0 (Current)
...
Notable changes:
* fs:
* experimental: add recursive cp method (Benjamin Coe) https://github.com/nodejs/node/pull/39372
PR-URL: https://github.com/nodejs/node/pull/39782
2021-08-16 21:01:17 -04:00
James M Snell
03be967cad
src: fix TextDecoder final flush size calculation
...
Flushing a TextDecoder with a zero-sized input and pending
incomplete characters was failing when fatal: false.
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/39737
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2021-08-16 16:35:25 -04:00
Anna Henningsen
9046e78943
src: fix crash in AfterGetAddrInfo
...
Remove invalid usage of `Check()`. This addresses:
FATAL ERROR: v8::FromJust Maybe value is Nothing.
1: 0x101311bf5 node::Abort() (.cold.1) [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
2: 0x1000ade29 node::Abort() [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
3: 0x1000adf8f node::OnFatalError(char const*, char const*) [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
4: 0x1001f42d0 v8::V8::FromJustIsNothing() [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
5: 0x1000268e2 node::cares_wrap::(anonymous namespace)::AfterGetAddrInfo(uv_getaddrinfo_s*, int, addrinfo*)::$_2::operator()(bool, bool) const [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
6: 0x10002657c node::cares_wrap::(anonymous namespace)::AfterGetAddrInfo(uv_getaddrinfo_s*, int, addrinfo*) [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
7: 0x1009fb388 uv__work_done [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
8: 0x100a00453 uv__async_io [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
9: 0x100a140cc uv__io_poll [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
10: 0x100a009c1 uv_run [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
11: 0x10014aca0 node::worker::Worker::Run() [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
12: 0x10014e56f node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::$_3::__invoke(void*) [/Users/xxx/.nvm/versions/node/v14.17.4/bin/node]
13: 0x7fff703d42eb _pthread_body [/usr/lib/system/libsystem_pthread.dylib]
14: 0x7fff703d7249 _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
15: 0x7fff703d340d thread_start [/usr/lib/system/libsystem_pthread.dylib]
PR-URL: https://github.com/nodejs/node/pull/39735
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-08-16 16:35:24 -04:00
James M Snell
37dda19461
url,buffer: implement URL.createObjectURL
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/39693
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2021-08-16 16:35:22 -04:00
Luan and James M Snell
2a00ef5ede
src: fix align in cares_wrap.h
...
Co-authored-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/39610
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-08-16 16:34:56 -04:00
Luan Devecchi
c7e918b06a
dns: add "tries" option to Resolve options
...
PR-URL: https://github.com/nodejs/node/pull/39610
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-08-16 16:34:56 -04:00
Michael Dawson
b5858589d0
node-api: handle pending exception in cb wrapper
...
fixes: https://github.com/nodejs/node-addon-api/issues/1025
The functionreference test from the node-api tests
was reporting a failed v8 check when Node.js was compiled
as debug. The failure was because an exception was
pending but the C++ wrappers were returning
a return value that was invalid.
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/39476
Fixes: https://github.com/nodejs/node-addon-api/issues/1025
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2021-08-16 16:34:54 -04:00
Juan José Arboleda
60a2b31c68
src: add cosmetic space character to async_wrap.h file
...
PR-URL: https://github.com/nodejs/node/pull/39459
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-08-16 16:34:16 -04:00
Darshan Sen
a80c989306
async_hooks: merge resource_symbol with owner_symbol
...
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
PR-URL: https://github.com/nodejs/node/pull/38468
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2021-08-16 16:34:15 -04:00
Beth Griggs
8f11b163b7
Working on v16.6.3
...
PR-URL: https://github.com/nodejs-private/node-private/pull/280
2021-08-11 16:18:58 +01:00
Beth Griggs
bfe80913e8
2021-08-11, Version 16.6.2 (Current)
...
This is a security release.
Notable Changes:
- CVE-2021-3672/CVE-2021-22931:
Improper handling of untypical characters in domain names (High)
- CVE-2021-22930:
Use after free on close http2 on stream canceling (High)
- CVE-2021-22939:
Incomplete validation of rejectUnauthorized parameter (Low)
PR-URL: https://github.com/nodejs-private/node-private/pull/280
2021-08-11 02:13:20 +01:00
Beth Griggs
054537cdc2
deps: update c-ares to 1.17.2
...
Refs: https://github.com/c-ares/c-ares/releases/tag/cares-1_17_2
CVE-ID: CVE-2021-3672, CVE-2021-22931
Refs: https://nvd.nist.gov/vuln/detail/CVE-2021-3672
Refs: https://nvd.nist.gov/vuln/detail/CVE-2021-22931
PR-URL: https://github.com/nodejs/node/pull/39724
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2021-08-10 23:21:09 +01:00
Akshay K
a3c33d4ce7
http2: update handling of rst_stream with error code NGHTTP2_CANCEL
...
The PR updates the handling of rst_stream frames and adds all streams
to the pending list on receiving rst frames with the error code
NGHTTP2_CANCEL.
The changes will remove dependency on the stream state that may allow
bypassing the checks in certain cases. I think a better solution is to
delay streams in all cases if rst_stream is received for the cancel
events.
The rst_stream frames can be received for protocol/connection error as
well it should be handled immediately. Adding streams to the pending
list in such cases may cause errors.
CVE-ID: CVE-2021-22930
Refs: https://nvd.nist.gov/vuln/detail/CVE-2021-22930
PR-URL: https://github.com/nodejs/node/pull/39622
Refs: https://github.com/nodejs/node/pull/39423
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
2021-08-09 12:30:10 +01:00
Michaël Zasso
2a9954964c
Working on v16.6.2
...
PR-URL: https://github.com/nodejs/node/pull/39631
2021-08-03 09:57:56 +02:00
Michaël Zasso
3d53ff8ff0
2021-08-03, Version 16.6.1 (Current)
...
Notable changes:
* Updated npm to 7.20.3 (npm team)
https://github.com/nodejs/node/pull/39579
* Reverted an ABI-breaking change from V8 9.2 that could impact some
native modules (Michaël Zasso)
https://github.com/nodejs/node/pull/39624
* Fixed a bug in error handling known to affect at least Webpack and
Jest (Guy Bedford) https://github.com/nodejs/node/pull/39593
PR-URL: https://github.com/nodejs/node/pull/39631
2021-08-02 19:52:02 +02:00
himself65
cbf6a01c17
crypto: fix generateKeyPair with encoding 'jwk'
...
Fixes: https://github.com/nodejs/node/issues/39205
PR-URL: https://github.com/nodejs/node/pull/39319
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-08-02 09:14:53 +02:00
Beth Griggs
e53ec687ad
Working on v16.6.1
...
PR-URL: https://github.com/nodejs/node/pull/39534
2021-07-29 23:44:22 +01:00
Beth Griggs
8d2e66cae3
2021-07-29, Version 16.6.0 (Current)
...
This is a security release.
Notable Changes:
- CVE-2021-22930: Use after free on close http2 on stream canceling
(High) [#39423 ](https://github.com/nodejs/node/pull/39423 )
- (SEMVER-MINOR) deps: update V8 to 9.2.230.21 (Michaël Zasso)
[#39470 ](https://github.com/nodejs/node/pull/39470 )
- inspector: mark as stable (Gireesh Punathil)
[#37748 ](https://github.com/nodejs/node/pull/37748 )
- punycode: add pending deprecation (Antoine du Hamel)
[#38444 ](https://github.com/nodejs/node/pull/38444 )
- (SEMVER-MINOR) repl: enable --experimental-repl-await /w opt-out
(hemanth.hm) [#34733 ](https://github.com/nodejs/node/pull/34733 )
PR-URL: https://github.com/nodejs/node/pull/39534
2021-07-29 20:06:37 +01:00
Michaël Zasso
b230ac12d9
src: stop using deprecated v8::ApiObject
...
Backport-PR-URL: https://github.com/nodejs/node/pull/39470
PR-URL: https://github.com/nodejs/node/pull/38990
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-07-29 17:14:28 +01:00
Michaël Zasso
929205e6b9
src: use non-deprecated Symbol::Description
...
Backport-PR-URL: https://github.com/nodejs/node/pull/39470
PR-URL: https://github.com/nodejs/node/pull/38990
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-07-29 17:14:28 +01:00
legendecas
42ff6d952a
src: print native module id on native module not found
...
To help core contributors identify which file is missing from the build.
PR-URL: https://github.com/nodejs/node/pull/39460
Refs: https://github.com/nodejs/node/issues/39408
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-07-29 11:56:54 +01:00
Stephen Belanger
e18778d409
async_hooks: eliminate native PromiseHook
...
PR-URL: https://github.com/nodejs/node/pull/39135
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2021-07-29 11:56:54 +01:00
Anna Henningsen
f0287e52aa
src: close HandleWraps instead of deleting them in OnGCCollect()
...
When all strong `BaseObjectPtr`s to a `HandleWrap` are gone, we
should not delete the `HandleWrap` outright, but instead close
it and then delete it only once the libuv close callback has been
called.
Based on the valgrind output from the issue below, this has a
good chance of fixing it.
Fixes: https://github.com/nodejs/node/issues/39036
PR-URL: https://github.com/nodejs/node/pull/39441
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-07-29 11:56:53 +01:00
James M Snell
72ad6d3f27
fs: check closing_ in FileHandle::Close
...
Fix possible flaky failure. Keep uv_fs_close from being called twice
on the same fd.
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/39472
Refs: https://github.com/nodejs/node/issues/39464
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-07-29 11:56:53 +01:00
Akshay K
9d950a0956
http2: on receiving rst_stream with cancel code add it to pending list
...
PR-URL: https://github.com/nodejs/node/pull/39423
Fixes: https://github.com/nodejs/node/issues/38964
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2021-07-29 11:56:51 +01:00
Chris Opperwall
95db54482a
debugger: validate sec-websocket-accept response header
...
This addresses a TODO to validate that the sec-websocket-accept header
in the WebSocket handshake response is valid. To do this we need to
append the WebSocket GUID to the original key sent in sec-websocket-key,
sha1 hash it, and then compare the base64 encoding with the value sent
in the sec-websocket-accept response header.
If they don't match, an error is thrown.
PR-URL: https://github.com/nodejs/node/pull/39357
Refs: https://github.com/nodejs/node-inspect/pull/93
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-07-29 11:56:48 +01:00
Darshan Sen
68fd6d5282
url: prevent pathname setter from erasing path of path-only URLs
...
This change prevents the pathname setter from erasing the path of
path-only URLs as that would make them cannot-be-a-base URLs.
The changes in all files except `src/node_url.cc` have been done by
running:
```console
git node wpt url
```
Fixes: https://github.com/nodejs/node/issues/39059
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
PR-URL: https://github.com/nodejs/node/pull/39060
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
2021-07-29 11:56:47 +01:00
hemanth.hm
a082a705b3
repl: enable --experimental-repl-await /w opt-out
...
Unflags top-level await for the REPL by enabling
--experimental-repl-await by default. Opt-out is
supported via --no-experimental-repl-await.
PR-URL: https://github.com/nodejs/node/pull/34733
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2021-07-29 11:56:47 +01:00
legendecas
626eb07fda
deps: extract gtest source files to deps/googletest
...
PR-URL: https://github.com/nodejs/node/pull/39386
Refs: https://github.com/nodejs/node/pull/39361
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-07-29 11:56:46 +01:00
Daniel Bevenius
2cf52f8db1
src: set SSL_OP_ALLOW_CLIENT_RENEGOTIATION
...
This commit sets SSL_OP_ALLOW_CLIENT_RENEGOTIATION for OpenSSL 3.0 as
this option is not set by default as it was in previous versions.
Without this option set there are a few tests that fail when linked
against OpenSSl 3.0.0-alpha-17, for example
test-https-client-renegotiation-limit.js.
I'm not sure we should be setting this for OpenSSL 3.0 or not, but
I'll take a closer look at the implications but if nothing else this
would allow for us to update to alpha-17 in the mean time.
PR-URL: https://github.com/nodejs/node/pull/38753
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-07-29 11:56:46 +01:00
James M Snell
8b58e574ba
fs: fix FileHandle::ClosePromise to return persisted Promise
...
Makes the FileHandle::ClosePromise() idempotent, always returning
the same Promise after it has already been successfully called
once. Avoids the possibility of accidental double close events.
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/39331
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2021-07-29 11:56:45 +01:00
Guy Bedford
93eff3f5a6
esm: refine ERR_REQUIRE_ESM errors
...
PR-URL: https://github.com/nodejs/node/pull/39175
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-07-29 11:56:44 +01:00
legendecas
cdf7251370
process: add api to enable source-maps programmatically
...
Add `process.setSourceMapsEnabled` to enable
source-maps programmatically.
PR-URL: https://github.com/nodejs/node/pull/39085
Reviewed-By: Ben Coe <bencoe@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-07-29 11:56:44 +01:00
legendecas
fc138376aa
src: remove unused guards around node-api reference
...
PR-URL: https://github.com/nodejs/node/pull/38334
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-07-29 11:56:43 +01:00
Michaël Zasso
257d626a2c
Working on v16.5.1
...
PR-URL: https://github.com/nodejs/node/pull/39373
2021-07-14 11:06:35 +02:00
Michaël Zasso
eaca13ddc9
2021-07-14, Version 16.5.0 (Current)
...
Notable changes:
deps:
* upgrade npm to 7.19.1 (npm team) https://github.com/nodejs/node/pull/39225
fs:
* (SEMVER-MINOR) allow empty string for temp directory prefix (Voltrex) https://github.com/nodejs/node/pull/39028
stream:
* (SEMVER-MINOR) implement Web Streams API (James M Snell) https://github.com/nodejs/node/pull/39062
PR-URL: https://github.com/nodejs/node/pull/39373
2021-07-14 08:30:09 +02:00
Rich Trott
630266cba2
debugger: indicate server is ending
...
Currently, we say "listening" when we are ending the server. Change it
to "ending".
Fixes: https://github.com/nodejs/node/issues/39272
PR-URL: https://github.com/nodejs/node/pull/39334
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Yash Ladha <yash@yashladha.in >
2021-07-13 08:11:51 +02:00
Robert Nagy
dfe99d2aac
tls: move legacy code into own file
...
PR-URL: https://github.com/nodejs/node/pull/39333
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-07-13 08:11:48 +02:00
legendecas
63f87027e3
node-api: cctest on v8impl::Reference
...
PR-URL: https://github.com/nodejs/node/pull/38970
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com >
2021-07-11 09:46:22 +02:00
Joyee Cheung
29194d4f88
inspector: move inspector async hooks to environment
...
Since async hooks are per-environment and putting them in
the environment allows us to serialize them for the
snapshot automatically.
PR-URL: https://github.com/nodejs/node/pull/39112
Refs: https://github.com/nodejs/node/pull/38905
Refs: https://github.com/nodejs/node/issues/35711
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2021-07-11 09:46:18 +02:00
James M Snell
9af62a1357
stream: implement WHATWG streams
...
Experimental implementation of the WHATWG streams standard.
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/39062
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-07-11 09:43:56 +02:00
Shelley Vohr
4202274851
crypto: move OPENSSL_IS_BORINGSSL guard
...
PR-URL: https://github.com/nodejs/node/pull/39136
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-07-11 09:43:56 +02:00
Shelley Vohr
89f5a73ba5
crypto: use compatible ecdh function
...
PR-URL: https://github.com/nodejs/node/pull/39054
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-07-11 09:43:56 +02:00
XadillaX
683c995001
src,zlib: tighten up Z_*_WINDOWBITS macros
...
PR-URL: https://github.com/nodejs/node/pull/39115
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2021-07-11 09:43:56 +02:00
Shelley Vohr
30e878b603
crypto: add OPENSSL_IS_BORINGSSL guard
...
PR-URL: https://github.com/nodejs/node/pull/39138
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-07-11 09:43:55 +02:00
Joyee Cheung
6e46eb186c
bootstrap: support perf hooks in snapshot
...
PR-URL: https://github.com/nodejs/node/pull/38971
Refs: https://github.com/nodejs/node/issues/35711
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-07-11 09:43:54 +02:00
Joyee Cheung
7ea98fbccd
perf_hooks: refactor perf_hooks for snapshot building
...
- Move Performance and InternalPerformance to a new
lib/internal/perf/performance.js
- Move now() getMilestoneTimestamp() into
lib/internal/perf/utils.js
- Rename lib/internal/perf/perf.js to
lib/internal/perf/performance_entry.js
- Refresh time origin at startup (this means the
time origins could differ between snapshot building
time and snapshot creation time)
PR-URL: https://github.com/nodejs/node/pull/38971
Refs: https://github.com/nodejs/node/issues/35711
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-07-11 09:43:53 +02:00
Antoine du Hamel
a669a191a1
doc: use ASCII order for md refs
...
PR-URL: https://github.com/nodejs/node/pull/39170
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/188
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2021-07-11 09:43:53 +02:00
Momtchil Momtchev
65b56b3774
build: fix building with external builtins
...
PR-URL: https://github.com/nodejs/node/pull/39091
Fixes: https://github.com/nodejs/node/issues/39090
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-07-11 09:43:52 +02:00
XadillaX
ea8d83bf59
src,crypto: fix 0-length output crash in webcrypto
...
Fixes: https://github.com/nodejs/node/issues/38883
PR-URL: https://github.com/nodejs/node/pull/38913
Refs: https://github.com/nodejs/node/issues/38883
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-07-11 09:43:51 +02:00