chore(deps): update node.js to v20 #369
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
12.22.12
->20.6.1
16
->20
Release Notes
nodejs/node (node)
v20.6.1
: 2023-09-08, Version 20.6.1 (Current), @ruyadorno and @RafaelGSSCompare Source
Commit
8acbe6d8e8
] - esm: fix loading of CJS modules from ESM (Antoine du Hamel) #49500v20.6.0
: 2023-09-04, Version 20.6.0 (Current), @juanarbol prepared by @UlisesGasconCompare Source
Notable changes
built-in
.env
file supportStarting from Node.js v20.6.0, Node.js supports
.env
files for configuring environment variables.Your configuration file should follow the INI file format, with each line containing a key-value pair for an environment variable.
To initialize your Node.js application with predefined configurations, use the following CLI command:
node --env-file=config.env index.js
.For example, you can access the following environment variable using
process.env.PASSWORD
when your application is initialized:In addition to environment variables, this change allows you to define your
NODE_OPTIONS
directly in the.env
file, eliminating the need to include it in yourpackage.json
.This feature was contributed by Yagiz Nizipli in #48890.
import.meta.resolve
unflaggedIn ES modules,
import.meta.resolve(specifier)
can be used to get an absolute URL string to whichspecifier
resolves, similar torequire.resolve
in CommonJS. This aligns Node.js with browsers and other server-side runtimes.This feature was contributed by Guy Bedford in #49028
New
node:module
APIregister
for module customization hooks; newinitialize
hookThere is a new API
register
available onnode:module
to specify a file that exports module customization hooks, and pass data to the hooks, and establish communication channels with them. The “define the file with the hooks” part was previously handled by a flag--experimental-loader
, but when the hooks moved into a dedicated thread in 20.0.0 there was a need to provide a way to communicate between the main (application) thread and the hooks thread. This can now be done by callingregister
from the main thread and passing data, includingMessageChannel
instances.We encourage users to migrate to an approach that uses
--import
withregister
, such as:Using
--import
ensures that the customization hooks are registered before any application code runs, even the entry point.This feature was contributed by Izaak Schroeder in #48842 and #48559
Module customization
load
hook can now support CommonJSAuthors of module customization hooks can how handle both ES module and CommonJS sources in the
load
hook. This works for CommonJS modules referenced via eitherimport
orrequire
, so long as the main entry point of the application is handled by the ES module loader (such as because the entry point is an ES module file, or if the--import
flag is passed). This should simplify the customization of the Node.js module loading process, as package authors can customize more of Node.js without relying on deprecated APIs such asrequire.extensions
.This feature was contributed by Antoine du Hamel in #47999
Node.js C++ addons now have experimental support for cppgc (Oilpan), a C++ garbage collection library in V8.
Now when Node.js starts up, it makes sure that there is a
v8::CppHeap
attached to the V8 isolate. This enables users to allocate in thev8::CppHeap
using<cppgc/*>
headers from V8, which are now also included into the Node.js headers available to addons. Note that since Node.js only bundles the cppgc library coming from V8, the ABI stability of cppgc is currently not guaranteed in semver-minor and -patch updates, but we do not expect the ABI to break often, as it has been stable and battle-tested in Chromium for years. We may consider including cppgc into the ABI stability guarantees when it gets enough adoption internally and externally.To help addon authors create JavaScript-to-C++ references of which V8's garbage collector can be aware, a helper function
node::SetCppgcReference(isolate, js_object, cppgc_object)
has been added tonode.h
. V8 may provide a native alternative in the future, which could then replace this Node.js-specific helper. In the mean time, users can use this API to avoid having to hard-code the layout of JavaScript wrapper objects. An example of how to create garbage-collected C++ objects in the unified heap and wrap it in a JavaScript object can be found in the Node.js addon tests.The existing
node::ObjectWrap
helper would continue to work, while cppgc-based object management serves as an alternative with some advantages mentioned in the V8 blog post about Oilpan.This feature was contributed by Daryl Haresign and Joyee Cheung in #48660 and #45704.
Other notable changes
d6862b085c
] - deps: V8: cherry-pick9327503
(Joyee Cheung) #4866000fc8bb8b3
] - doc: add rluvaton to collaborators (Raz Luvaton) #49215d649339abd
] - doc: add new TSC members (Michael Dawson) #4884167f9896247
] - (SEMVER-MINOR) inspector: open addSymbolDispose
(Chemi Atlow) #487655aef593db3
] - module: implementregister
utility (João Lenon) #46826Commits
771abcb5da
] - benchmark: add benchmarks for the test_runner (Raz Luvaton) #489316b27bb0dab
] - benchmark: add pm startup benchmark (Rafael Gonzaga) #489051f35c0ca55
] - child_process: harden against prototype pollution (Livia Medeiros) #48726d6862b085c
] - deps: V8: cherry-pick9327503
(Joyee Cheung) #48660f71e383948
] - deps: update simdutf to 3.2.17 (Node.js GitHub Bot) #49019e14f0456ae
] - deps: update googletest to7e33b6a
(Node.js GitHub Bot) #49034bfaa0fb500
] - deps: update zlib to 1.2.13.1-motley-526382e (Node.js GitHub Bot) #49033b79c652c85
] - deps: update undici to 5.23.0 (Node.js GitHub Bot) #490216ead86145c
] - deps: update googletest toc875c4e
(Node.js GitHub Bot) #489644b0e50501e
] - deps: update ada to 2.6.0 (Node.js GitHub Bot) #48896d960ee0ba3
] - deps: upgrade npm to 9.8.1 (npm team) #48838d92b0139ca
] - deps: update zlib to 1.2.13.1-motley-61dc0bd (Node.js GitHub Bot) #487882a7835c376
] - deps: V8: cherry-pick9f4b769
(Joyee Cheung) #48830c8e17829ac
] - deps: V8: cherry-pickc1a54d5
(Joyee Cheung) #48830318e075b6f
] - deps: update googletest tocc36671
(Node.js GitHub Bot) #48789114e088267
] - diagnostics_channel: fix last subscriber removal (Gabriel Schulhof) #4893300fc8bb8b3
] - doc: add rluvaton to collaborators (Raz Luvaton) #4921521949c45b6
] - doc: add print results for examples inWebStreams
(Jungku Lee) #49143032107a6fe
] - doc: fixType
notation in webstreams (Deokjin Kim) #4912191d41e7c5a
] - doc: fix name of the flag ininitialize()
docs (Antoine du Hamel) #49158aa4caf810e
] - doc: make the NODE_VERSION_IS_RELEASE revert clear (Rafael Gonzaga) #49114f888a1dbe3
] - doc: update process.binding deprecation text (Tobias Nießen) #4908689fa3faf92
] - doc: update with latest security release (Rafael Gonzaga) #490853d36e7a941
] - doc: add description for--port
flag ofnode inspect
(Michael Bianco) #48785e9d9ca12a3
] - doc: add missing period (Rich Trott) #490947e7b554de0
] - doc: add ESM examples in http.md (btea) #4776348f8ccfd54
] - doc: detailed description of keystrokes Ctrl-Y and Meta-Y (Ray) #43529195885c8f8
] - doc: add "type" to test runner event details (Phil Nash) #490146ce25f8415
] - doc: reserve 118 for Electron 27 (David Sanders) #490239c26c0f296
] - doc: clarify use of process.env in worker threads on Windows (Daeyeon Jeong) #490087186e02aa0
] - doc: remove v14 mention (Rafael Gonzaga) #490059641ac6c65
] - doc: drop github actions check in sec release process (Rafael Gonzaga) #48978f3d62abb19
] - doc: improved joinDuplicateHeaders definition (Matteo Bianchi) #488590db104a08b
] - doc: fix second parameter name ofevents.addAbortListener
(Deokjin Kim) #489225173c559b7
] - doc: add new reporter events to custom reporter examples (Chemi Atlow) #48903660da785e6
] - doc: run license-builder (github-actions[bot]) #48898092f9fe92a
] - doc: change duration to duration_ms on test documentation (Ardi_Nugraha) #488925e4730858d
] - doc: improve requireHostHeader (Guido Penta) #48860045e3c549a
] - doc: add ver of 18.x where Node-api 9 is supported (Michael Dawson) #48876c20d35df34
] - doc: include experimental features assessment (Rafael Gonzaga) #48824d649339abd
] - doc: add new TSC members (Michael Dawson) #48841aeac327f2b
] - doc: refactor node-api support matrix (Michael Dawson) #48774388c7d9232
] - doc: declarepath
on example ofasync_hooks.executionAsyncId()
(Deokjin Kim) #48556fe20528c8e
] - doc: remove the . in the end to reduce confusing (Jason) #48719e69c8e173f
] - doc: nodejs-social over nodejs/tweet (Rafael Gonzaga) #48769ea547849fd
] - doc: expand on squashing and rebasing to land a PR (Chengzhong Wu) #4875131442b96a5
] - esm: fixglobalPreload
warning (Antoine du Hamel) #49069eb1215878b
] - esm: unflag import.meta.resolve (Guy Bedford) #4902857b24a34e6
] - esm: import.meta.resolve exact module not found errors should return (Guy Bedford) #49038f23b2a3066
] - esm: protectERR_UNSUPPORTED_DIR_IMPORT
against prototype pollution (Antoine du Hamel) #49060386e826a56
] - esm: addinitialize
hook, integrate withregister
(Izaak Schroeder) #4884274a2e1e0ab
] - esm: fix typoparentUrl
->parentURL
(Antoine du Hamel) #489990a4f7c669a
] - esm: unflagModule.register
and allow nested loaderimport()
(Izaak Schroeder) #48559a5597470ce
] - esm: add backglobalPreload
tests and fix failing ones (Antoine du Hamel) #48779d568600b42
] - events: remove weak listener for event target (Raz Luvaton) #489523d942d9842
] - fs: fix readdir recursive sync & callback (Ethan Arrowood) #48698c14ff69d69
] - fs: mentionURL
in NUL character error message (LiviaMedeiros) #48828d634d781d7
] - fs: makemkdtemp
accept buffers and URL (LiviaMedeiros) #488284515a285a4
] - fs: remove redundantnullCheck
(Livia Medeiros) #48826742597b14a
] - http: start connections checking interval on listen (Paolo Insogna) #4861167f9896247
] - (SEMVER-MINOR) inspector: open addSymbolDispose
(Chemi Atlow) #48765b66a3c1c96
] - lib: fix MIME overmatch in data URLs (André Alves) #49104dca8678a22
] - lib: fix to add resolve() before return at Blob.stream()'s source.pull() (bellbind) #48935420b85c00f
] - lib: remove invalid parameter to toASCII (Yagiz Nizipli) #48878a12ce11b09
] - lib,permission: drop repl autocomplete when pm enabled (Rafael Gonzaga) #48920458eaf5e75
] - meta: bump github/codeql-action from 2.20.1 to 2.21.2 (dependabot[bot]) #489864f88cb10e0
] - meta: bump step-security/harden-runner from 2.4.1 to 2.5.0 (dependabot[bot]) #4898522fc2a6ec6
] - meta: bump actions/setup-node from 3.6.0 to 3.7.0 (dependabot[bot]) #4898440103adabd
] - meta: bump actions/setup-python from 4.6.1 to 4.7.0 (dependabot[bot]) #4898384c0c6848c
] - meta: add mailmap entry for atlowChemi (Chemi Atlow) #488101a6e9450b8
] - module: make CJS load from ESM loader (Antoine du Hamel) #47999a5322c4b4a
] - module: ensure successful import returns the same result (Antoine du Hamel) #466625aef593db3
] - module: implementregister
utility (João Lenon) #46826015c4f788d
] - node-api: avoid macro redefinition (Tobias Nießen) #4887953ee98566b
] - permission: move PrintTree into unnamed namespace (Tobias Nießen) #4887430ea480135
] - permission: fix data types in PrintTree (Tobias Nießen) #487708380800375
] - readline: add paste bracket mode (Jakub Jankiewicz) #47150bc009d0c10
] - sea: add support for V8 bytecode-only caching (Darshan Sen) #48191f2f4ce9e29
] - src: use effective cppgc wrapper id to deduce non-cppgc id (Joyee Cheung) #48660bf7ff369f6
] - src: add built-in.env
file support (Yagiz Nizipli) #488908d6948f8e2
] - src: remove duplicated code inGenerateSingleExecutableBlob()
(Jungku Lee) #49119b030004cee
] - src: refactor vector writing in snapshot builder (Joyee Cheung) #48851497df8288d
] - src: add ability to overload fast api functions (Yagiz Nizipli) #48993e5b0dfa359
] - src: remove redundant code for uv_handle_type (Jungku Lee) #49061f126b9e3d1
] - src: modernize use-equals-default (Jason) #48735db4370fc3e
] - src: avoid string copy in BuiltinLoader::GetBuiltinIds (Yagiz Nizipli) #487219d13503c4e
] - src: fix callback_queue.h missing header (Jason) #487336c389df3aa
] - src: cast v8::Object::GetInternalField() return value to v8::Value (Joyee Cheung) #489437b9adff0be
] - src: do not pass user input to format string (Antoine du Hamel) #48973e0fdb7b092
] - src: remove ContextEmbedderIndex::kBindingDataStoreIndex (Joyee Cheung) #48836578c3d1e14
] - src: use ARES_SUCCESS instead of 0 (Hyunjin Kim) #48834ed23426aac
] - src: save the performance milestone time origin in the AliasedArray (Joyee Cheung) #487085dec186663
] - src: support snapshot in single executable applications (Joyee Cheung) #46824d759d4f631
] - src: remove unnecessary temporary creation (Jason) #48734409cc692db
] - src: fix nullptr access on realm (Jan Olaf Krems) #4880207d0fd61b1
] - src: remove OnScopeLeaveImpl's move assignment overload (Jason) #4873241cc3efa23
] - src: use string_view for utf-8 string creation (Yagiz Nizipli) #4872262a46d9335
] - src,permission: restrict by default when pm enabled (Rafael Gonzaga) #48907099159ce04
] - src,tools: initialize cppgc (Daryl Haresign) #48660600c08d197
] - stream: improve WebStreams performance (Raz Luvaton) #49089609b25fa99
] - stream: implement ReadableStream.from (Debadree Chatterjee) #48395750cca2738
] - test: usetmpdir.resolve()
(Livia Medeiros) #491286595367649
] - test: usetmpdir.resolve()
(Livia Medeiros) #49127661b055e75
] - test: usetmpdir.resolve()
in fs tests (Livia Medeiros) #49126b3c56d206f
] - test: usetmpdir.resolve()
in fs tests (Livia Medeiros) #491253ddb155d16
] - test: fix assertion message in test_async.c (Tobias Nießen) #491461d17c1032d
] - test: refactortest-esm-loader-hooks
for easier debugging (Antoine du Hamel) #4913113bd7a0293
] - test: addtmpdir.resolve()
(Livia Medeiros) #4907989b1bce56d
] - test: documentfixtures.fileURL()
(Livia Medeiros) #490832fcb855c76
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #491057816e040df
] - test: stabilize the inspector-open-dispose test (Chemi Atlow) #49000e70e9747e4
] - test: print instruction for creating missing snapshot in assertSnapshot (Raz Luvaton) #48914669ac03520
] - test: addtmpdir.fileURL()
(Livia Medeiros) #49040b945d7be35
] - test: usespawn
andspawnPromisified
instead ofexec
(Antoine du Hamel) #48991b3a7427583
] - test: refactortest-node-output-errors
(Antoine du Hamel) #489926c3e5c4d69
] - test: usefixtures.fileURL
when appropriate (Antoine du Hamel) #489909138b78bcb
] - test: validate error code rather than message (Antoine du Hamel) #48972b4ca4a6f80
] - test: fix snapshot tests when cwd contains spaces or backslashes (Antoine du Hamel) #48959d4398d458c
] - test: ordercommon.mjs
in ASCII order (Antoine du Hamel) #48960b5991f5250
] - test: fix some assumptions in tests (Antoine du Hamel) #4895862e23f83f9
] - test: improve internal/worker/io.js coverage (Yoshiki Kurihara) #42387314bd6095c
] - test: fixes-module/test-esm-initialization
(Antoine du Hamel) #488803680a66df4
] - test: validate host with commas on url.parse (Yagiz Nizipli) #4887824c3742372
] - test: delete test-net-bytes-per-incoming-chunk-overhead (Michaël Zasso) #48811e01cce50f5
] - test: skip experimental test with pointer compression (Colin Ihrig) #48738d5e93b1074
] - test: fix flaky test-string-decode.js on x86 (Stefan Stojanovic) #487509136667d7d
] - test_runner: dont set exit code on todo tests (Moshe Atlow) #4892952c94908c0
] - test_runner: fix todo and only in spec reporter (Moshe Atlow) #489295ccfb8d515
] - test_runner: unwrap error message in TAP reporter (Colin Ihrig) #48942fa19b0ed05
] - test_runner: add__proto__
null (Raz Luvaton) #4866365d23940bf
] - test_runner: fix async callback in describe not awaited (Raz Luvaton) #488564bd5e55b43
] - test_runner: fix test_runnertest:fail
event type (Ethan Arrowood) #4885441058beed8
] - test_runner: call abort on test finish (Raz Luvaton) #48827821b11a59f
] - tls: fix bugs of double TLS (rogertyang) #489694439327e73
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #4912221dc844309
] - tools: use spec reporter in actions (Moshe Atlow) #491293471758696
] - tools: use @reporters/github when running in github actions (Moshe Atlow) #4912995a6e7661e
] - tools: add @reporters/github to tools (Moshe Atlow) #49129995cbf93eb
] - tools: update eslint to 8.47.0 (Node.js GitHub Bot) #49124ed065bc56e
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #49035a5f37178ad
] - tools: limit the number of auto start CIs (Antoine du Hamel) #49067c1bd680f89
] - tools: update eslint to 8.46.0 (Node.js GitHub Bot) #48966e09a6b4821
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #489650cd2393bd9
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #4888841929a2906
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@25.0.3 (Node.js GitHub Bot) #487911761bdfbd9
] - tools: update eslint to 8.45.0 (Node.js GitHub Bot) #48793b82f05cc4b
] - typings: update JSDoc forcwd
inchild_process
(LiviaMedeiros) #49029be7b511255
] - typings: sync JSDoc with the actual implementation (Hyunjin Kim) #4885345c860035d
] - url: overloadcanParse
V8 fast api method (Yagiz Nizipli) #4899360d614157b
] - url: fixisURL
detection by checkingpath
(Zhuo Zhang) #48928b12c3b5240
] - url: ensure getter access do not mutate observable symbols (Antoine du Hamel) #4889730fb7b7535
] - url: reducepathToFileURL
cpp calls (Yagiz Nizipli) #48709c3dbd0c1e4
] - util: useprimordials.ArrayPrototypeIndexOf
instead of mutable method (DaisyDogs07) #48586b79b2927ca
] - watch: decrease debounce rate (Moshe Atlow) #48926a12996298e
] - watch: use debounce instead of throttle (Moshe Atlow) #48926v20.5.1
: 2023-08-09, Version 20.5.1 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
More detailed information on each of the vulnerabilities can be found in August 2023 Security Releases blog post.
Commits
92300b51b4
] - deps: update archs files for openssl-3.0.10+quic1 (Node.js GitHub Bot) #49036559698abf2
] - deps: upgrade openssl sources to quictls/openssl-3.0.10+quic1 (Node.js GitHub Bot) #490361bf3429e8e
] - lib,permission: restrict process.binding when pm is enabled (RafaelGSS) nodejs-private/node-private#43898a83a67e6
] - permission: ensure to resolve path when calling mkdtemp (RafaelGSS) nodejs-private/node-private#4641f0cde466b
] - permission: handle buffer path on fs calls (RafaelGSS) nodejs-private/node-private#439bd094d60ea
] - permission: handle fstatfs and add pm supported list (RafaelGSS) nodejs-private/node-private#4417337d21484
] - policy: handle Module.constructor and main.extensions bypass (RafaelGSS) nodejs-private/node-private#417cf348ec640
] - policy: disable process.binding() when enabled (Tobias Nießen) nodejs-private/node-private#397v20.5.0
: 2023-07-18, Version 20.5.0 (Current), @juanarbolCompare Source
Notable Changes
45be29d89f
] - doc: add atlowChemi to collaborators (atlowChemi) #48757a316808136
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596986b46a567
] - fs: add a fast-path for readFileSync utf-8 (Yagiz Nizipli) #486580ef73ff6f0
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639Commits
eb0aba59b8
] - bootstrap: use correct descriptor for Symbol.{dispose,asyncDispose} (Jordan Harband) #48703e2d0195dcf
] - bootstrap: hide experimental web globals with flag kNoBrowserGlobals (Chengzhong Wu) #4854567a1018389
] - build: do not pass target toolchain flags to host toolchain (Ivan Trubach) #485977d843bb942
] - child_process: use addAbortListener (atlowChemi) #485504e08160f8c
] - child_process: supportSymbol.dispose
(Moshe Atlow) #48551ef7728bf36
] - deps: update nghttp2 to 1.55.1 (Node.js GitHub Bot) #487901454f02499
] - deps: update nghttp2 to 1.55.0 (Node.js GitHub Bot) #48746fa94debf46
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #48704c73cfcc144
] - deps: update acorn to 8.10.0 (Node.js GitHub Bot) #48713b7a076a052
] - deps: V8: cherry-pickcb00db4
(Keyhan Vakil) #48671150e15536b
] - deps: upgrade npm to 9.8.0 (npm team) #48665c47b2cbd35
] - dgram: socket addasyncDispose
(atlowChemi) #48717002ce31cca
] - dgram: use addAbortListener (atlowChemi) #4855045be29d89f
] - doc: add atlowChemi to collaborators (atlowChemi) #4875769b55d2261
] - doc: fix ambiguity in http.md and https.md (an5er) #48692caccb051c7
] - doc: clarify transform._transform() callback argument logic (Rafael Sofi-zada) #48680999ae0c8c3
] - doc: fix copy node executable in Windows (Yoav Vainrich) #486247daefaeb44
] - doc: drop <b> of v20 changelog (Rafael Gonzaga) #48649dd7ea3e1df
] - doc: mention git node release prepare (Rafael Gonzaga) #48644cc7809df21
] - esm: fix emit deprecation on legacy main resolve (Antoine du Hamel) #4866467b13d1dba
] - events: fix bug listenerCount don't compare wrapped listener (yuzheng14) #48592a316808136
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596986b46a567
] - fs: add a fast-path for readFileSync utf-8 (Yagiz Nizipli) #48658e4333ac41f
] - http2: use addAbortListener (atlowChemi) #485504a0b66e4f9
] - http2: send RST code 8 on AbortController signal (Devraj Mehta) #485731295c76fce
] - lib: use addAbortListener (atlowChemi) #48550dff6c25a36
] - meta: bump actions/checkout from 3.5.2 to 3.5.3 (dependabot[bot]) #48625b5cb69ceaa
] - meta: bump step-security/harden-runner from 2.4.0 to 2.4.1 (dependabot[bot]) #48626332e480b46
] - meta: bump ossf/scorecard-action from 2.1.3 to 2.2.0 (dependabot[bot]) #4862825c5a0aaee
] - meta: bump github/codeql-action from 2.3.6 to 2.20.1 (dependabot[bot]) #486276406f50ab1
] - module: add SourceMap.lineLengths (Isaac Z. Schlueter) #48461cfa69bd48c
] - net: server addasyncDispose
(atlowChemi) #48717ac11264cc5
] - net: use addAbortListener (atlowChemi) #4855082d6b13bf6
] - permission: add debug log when inserting fs nodes (Rafael Gonzaga) #48677f4333b1cdd
] - permission: v8.writeHeapSnapshot and process.report (Rafael Gonzaga) #48564f691dca6c9
] - readline: use addAbortListener (atlowChemi) #48550227e6bd898
] - src: pass syscall onfs.readFileSync
fail operation (Yagiz Nizipli) #48815a9a4b73653
] - src: make BaseObject iteration order deterministic (Joyee Cheung) #48702d99ea4845a
] - src: remove kEagerCompile for CompileFunction (Keyhan Vakil) #48671df363d0010
] - src: deduplicate X509 getter implementations (Tobias Nießen) #485639cf2e1f55b
] - src,lib: reducing C++ calls of esm legacy main resolve (Vinicius Lourenço) #48325daeb21dde9
] - stream: fix deadlock when pipeing to full sink (Robert Nagy) #486915a382d02d6
] - stream: use addAbortListener (atlowChemi) #485506e82077dd4
] - test: deflake test-net-throttle (Luigi Pinca) #48599d378b2c822
] - test: move test-net-throttle to parallel (Luigi Pinca) #48599dfa0aee5bf
] - Revert "test: remove test-crypto-keygen flaky designation" (Luigi Pinca) #486520ef73ff6f0
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639e2442bb7ef
] - timers: support Symbol.dispose (Moshe Atlow) #486334398ade426
] - tools: run fetch_deps.py with Python 3 (Richard Lau) #4872938ce95d054
] - tools: update doc to [email protected] [email protected] (Node.js GitHub Bot) #48714b25e78a998
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #48705a1f4ff7c59
] - tools: update eslint to 8.44.0 (Node.js GitHub Bot) #4863242dc6eb698
] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #4863107bfcc45ab
] - url: fixcanParse
false value when v8 optimizes (Yagiz Nizipli) #48817v20.4.0
: 2023-07-05, Version 20.4.0 (Current), @RafaelGSSCompare Source
Notable Changes
Mock Timers
The new feature allows developers to write more reliable and predictable tests for time-dependent functionality.
It includes
MockTimers
with the ability to mocksetTimeout
,setInterval
fromglobals
,node:timers
, andnode:timers/promises
.The feature provides a simple API to advance time, enable specific timers, and release all timers.
This feature was contributed by Erick Wendel in #47775.
Support to the explicit resource management proposal
Node is adding support to the explicit resource management
proposal to its resources allowing users of TypeScript/babel to use
using
/await using
withV8 support for everyone else on the way.
This feature was contributed by Moshe Atlow and Benjamin Gruenbaum in #48518.
Other notable changes
fe333d2584
] - crypto: update root certificates to NSS 3.90 (Node.js GitHub Bot) #4841660c2ea4e79
] - doc: add vmoroz to collaborators (Vladimir Morozov) #485275cacdf9e6b
] - doc: add kvakil to collaborators (Keyhan Vakil) #48449504d1d7bdc
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190Commits
8a611a387f
] - benchmark: add bar.R (Rafael Gonzaga) #4772912fa716cf9
] - benchmark: refactor crypto oneshot (Filip Skokan) #48267d6ecbde592
] - benchmark: add crypto.create*Key (Filip Skokan) #48284e60b6dedd8
] - bootstrap: unify snapshot builder and embedder entry points (Joyee Cheung) #4824240662957b1
] - bootstrap: simplify initialization of source map handlers (Joyee Cheung) #483046551538079
] - build: fixconfigure --link-module
(Richard Lau) #48522f7f32089e7
] - build: sync libuv header change (Jiawen Geng) [#48429](https://togConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.