-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Node.js to v18.20.4 #12
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/node-18.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
changed the title
Update dependency @types/node to v18.11.17
Update dependency @types/node to v18.11.18
Dec 26, 2022
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
December 26, 2022 20:32
32e2a1e
to
8046b7d
Compare
renovate
bot
changed the title
Update dependency @types/node to v18.11.18
Update dependency @types/node to v18.11.19
Feb 5, 2023
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
February 5, 2023 00:37
8046b7d
to
b147c43
Compare
renovate
bot
changed the title
Update dependency @types/node to v18.11.19
Update dependency @types/node to v18.13.0
Feb 7, 2023
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
February 7, 2023 13:41
b147c43
to
58f9644
Compare
renovate
bot
changed the title
Update dependency @types/node to v18.13.0
Update dependency @types/node to v18.14.0
Feb 17, 2023
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
February 17, 2023 23:49
58f9644
to
07085dd
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
March 9, 2023 06:22
07085dd
to
a74718f
Compare
renovate
bot
changed the title
Update dependency @types/node to v18.14.0
Update Node.js to v18.15.0
Mar 9, 2023
renovate
bot
force-pushed
the
renovate/node-18.x
branch
6 times, most recently
from
March 25, 2023 12:31
317683f
to
0436e79
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
2 times, most recently
from
March 29, 2023 03:22
f115a6c
to
96a13aa
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
April 13, 2023 20:33
96a13aa
to
e097311
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
4 times, most recently
from
April 26, 2023 00:18
faeabd1
to
19587e7
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
2 times, most recently
from
April 29, 2023 07:46
032980a
to
8cc857d
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
4 times, most recently
from
May 10, 2023 11:24
3cd7f4b
to
9025381
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
June 4, 2024 20:42
3c33cda
to
4e61e6d
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
3 times, most recently
from
June 22, 2024 11:52
30fe80d
to
fc756c0
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
July 10, 2024 20:57
fc756c0
to
e04941e
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
3 times, most recently
from
July 23, 2024 20:56
9534a29
to
31de210
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
August 2, 2024 11:50
31de210
to
3d36af4
Compare
renovate
bot
changed the title
Update Node.js to v18.20.4
Update node Docker tag to v18.20.4
Aug 8, 2024
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
August 11, 2024 02:40
3d36af4
to
1e935a3
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
2 times, most recently
from
August 26, 2024 23:35
39b040c
to
60bc88e
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
August 28, 2024 02:31
60bc88e
to
b500f17
Compare
renovate
bot
changed the title
Update node Docker tag to v18.20.4
Update Node.js to v18.20.4
Aug 29, 2024
renovate
bot
force-pushed
the
renovate/node-18.x
branch
3 times, most recently
from
September 5, 2024 02:53
404b1a7
to
1737d3e
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
2 times, most recently
from
September 28, 2024 05:41
d5763f3
to
47b6f45
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
October 8, 2024 02:31
47b6f45
to
6fdc968
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
4 times, most recently
from
October 23, 2024 05:52
2386bd7
to
7486d90
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
2 times, most recently
from
November 1, 2024 00:00
a7aafc6
to
e3c7f80
Compare
renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
November 3, 2024 14:42
e3c7f80
to
5453035
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
18.14.1-alpine
->18.20.4-alpine
18.0.0
->18.19.64
Release Notes
nodejs/node (node)
v18.20.4
: 2024-07-08, Version 18.20.4 'Hydrogen' (LTS), @RafaelGSSCompare Source
This is a security release.
Notable Changes
Commits
85abedf1ff
] - lib,esm: handle bypass network-import via data: (RafaelGSS) nodejs-private/node-private#522eccd63b865
] - src: handle permissive extension on cmd check (RafaelGSS) nodejs-private/node-private#596v18.20.3
: 2024-05-21, Version 18.20.3 'Hydrogen' (LTS), @richardlauCompare Source
Notable Changes
This release fixes a regression introduced in Node.js 18.19.0 where
http.server.close()
was incorrectly closing idle connections.A fix has also been included for compiling Node.js from source with newer versions of Clang.
The list of keys used to sign releases has been synchronized with the current list from the
main
branch.Updated dependencies
Commits
0c260e10e7
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #525161152d7f919
] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #52199755399db9d
] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #52123af3e32073b
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517e4ea2db58b
] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #5228514e857bea2
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #526167f5dd44ca6
] - deps: upgrade npm to 10.7.0 (npm team) #5276778f84ebb09
] - deps: update ngtcp2 to 1.3.0 (Node.js GitHub Bot) #517961f489a3753
] - deps: update ngtcp2 to 1.2.0 (Node.js GitHub Bot) #515843034968225
] - deps: update ngtcp2 to 1.1.0 (Node.js GitHub Bot) #513191aa9da467f
] - deps: add nghttp3/**/.deps to .gitignore (Luigi Pinca) #5140028c0c78c9a
] - deps: update ngtcp2 and nghttp3 (James M Snell) #512918fd5a35364
] - deps: upgrade npm to 10.5.2 (npm team) #524582c53ff31c9
] - deps: update acorn-walk to 8.3.2 (Node.js GitHub Bot) #5145712f28f33c2
] - deps: update acorn to 8.11.3 (Node.js GitHub Bot) #51317dddb7eb3e0
] - deps: update acorn-walk to 8.3.1 (Node.js GitHub Bot) #50457c86550e607
] - deps: update acorn-walk to 8.3.0 (Node.js GitHub Bot) #504579500817f66
] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #504607a8c7b6275
] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #52028b199889943
] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #52027052b0ba0c6
] - deps: upgrade npm to 10.5.1 (npm team) #52351209823d3af
] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #524735114cbe18a
] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #52381be30309ea0
] - deps: update simdutf to 5.0.0 (Daniel Lemire) #52138b56f66e250
] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #51655a9f3b9d9d1
] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #523951b6fa70620
] - deps: update nghttp2 to 1.60.0 (Node.js GitHub Bot) #519483c9dbbf4d4
] - deps: update nghttp2 to 1.59.0 (Node.js GitHub Bot) #51581e28316da54
] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #50441678641f470
] - deps: V8: cherry-pickd15d49b
(Bo Anderson) #523371147fee7d9
] - doc: remove ableist language from crypto (Jamie King) #520635e93eae972
] - doc: add release key for marco-ippolito (marco-ippolito) #522576689a98488
] - http: remove closeIdleConnections function while calling server close (Kumar Rishav) #5233671616e8a8a
] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #51801d9d9e62474
] - src: avoid draining platform tasks at FreeEnvironment (Chengzhong Wu) #51290e5fc8ec9fc
] - test: skip v8-updates/test-linux-perf (Michaël Zasso) #49639351ef189ca
] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #503525cec2efc31
] - test: reduce the number of requests and parsers (Luigi Pinca) #502405186e453d9
] - test: deflake test-http-regr-gh-2928 (Luigi Pinca) #49574c60cd67e1c
] - test: skip test for dynamically linked OpenSSL (Richard Lau) #52542v18.20.2
: 2024-04-10, Version 18.20.2 'Hydrogen' (LTS), @RafaelGSSCompare Source
This is a security release.
Notable Changes
child_process.spawn
without shell option enabled on WindowsCommits
6627222409
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#564v18.20.1
: 2024-04-03, Version 18.20.1 'Hydrogen' (LTS), @RafaelGSSCompare Source
This is a security release.
Notable Changes
Commits
60d24938de
] - deps: update undici to v5.28.4 (Matteo Collina) nodejs-private/node-private#5775d4d5848cf
] - http: do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#5580fb816dbcc
] - src: ensure to close stream when destroying session (Anna Henningsen) nodejs-private/node-private#561v18.20.0
: 2024-03-26, Version 18.20.0 'Hydrogen' (LTS), @richardlauCompare Source
Notable Changes
Added support for import attributes
Support has been added for import attributes, to replace the old import
assertions syntax. This will aid migration by making the new syntax available
across all currently supported Node.js release lines.
This adds the
with
keyword which should be used in place of the previousassert
keyword, which will be removed in a future semver-major Node.jsrelease.
For example,
import "foo" assert { ... }
should be replaced with
import "foo" with { ... }
For more details, see
Contributed by Nicolò Ribaudo in #51136
and Antoine du Hamel in #50140.
Doc deprecation for
dirent.path
Please use newly added
dirent.parentPath
instead.Contributed by Antoine du Hamel in #50976
and #51020.
Experimental node-api feature flags
Introduces an experimental feature to segregate finalizers that affect GC state.
A new type called
node_api_nogc_env
has been introduced as the const versionof
napi_env
andnode_api_nogc_finalize
as a variant ofnapi_finalize
thataccepts a
node_api_nogc_env
as its first argument.This feature can be turned off by defining
NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
.Contributed by Gabriel Schulhof in #50060.
Root certificates updated to NSS 3.98
Certificates added:
Certificates removed:
Updated dependencies
vm: fix V8 compilation cache support for vm.Script
Previously repeated compilation of the same source code using
vm.Script
stopped hitting the V8 compilation cache after v16.x when support for
importModuleDynamically
was added tovm.Script
, resulting in a performanceregression that blocked users (in particular Jest users) from upgrading from
v16.x.
The recent fixes allow the compilation cache to be hit again
for
vm.Script
when--experimental-vm-modules
is not used even in thepresence of the
importModuleDynamically
option, so that users affected by theperformance regression can now upgrade. Ongoing work is also being done to
enable compilation cache support for
vm.CompileFunction
.Contributed by Joyee Cheung in #49950
and #50137.
Commits
c70383b8d4
] - build: support Python 3.12 (Shi Pujin) #502094b960c3a4a
] - build: fix incorrect g++ warning message (Richard Lau) #516958fdea67694
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #51794812b126dd9
] - deps: V8: cherry-pickd90d453
(Michaël Zasso) #500779ab8c3db87
] - deps: update c-ares to 1.27.0 (Node.js GitHub Bot) #51846c688680387
] - deps: update c-ares to 1.26.0 (Node.js GitHub Bot) #515829498ac8a47
] - deps: compile c-ares with C11 support (Michaël Zasso) #514108fb743642f
] - deps: update c-ares to 1.25.0 (Node.js GitHub Bot) #513857bea2d7c12
] - deps: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot) #5127457a38c8f75
] - deps: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot) #51105b0ca084a6b
] - deps: update zlib to 1.3-22124f5 (Node.js GitHub Bot) #509104b43823f37
] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #50803f0da591812
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #5045616d28a883a
] - deps: update base64 to 0.5.2 (Node.js GitHub Bot) #5145513a9e81cb6
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #50629b4502d3ac5
] - deps: update simdutf to 4.0.8 (Node.js GitHub Bot) #51000183cf8a74a
] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #5077211ba8593ea
] - deps: update ada to 2.7.6 (Node.js GitHub Bot) #5154273a946d55c
] - deps: update ada to 2.7.5 (Node.js GitHub Bot) #51542cc434c1a39
] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #508153a3808a6ae
] - deps: upgrade npm to 10.5.0 (npm team) #51913c8876d765c
] - deps: upgrade npm to 10.3.0 (npm team) #514315aec3af460
] - deps: update corepack to 0.25.2 (Node.js GitHub Bot) #51810a593985326
] - deps: update corepack to 0.24.1 (Node.js GitHub Bot) #51459d1a9237bf5
] - deps: update corepack to 0.24.0 (Node.js GitHub Bot) #51318adac0c7a63
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #505634a6f83e32a
] - deps: escape Python strings correctly (Michaël Zasso) #50695c13969e52a
] - deps: V8: cherry-pickea996ad
(Nicolò Ribaudo) #511366fbf0ba5c3
] - deps: V8: cherry-picka0fd320
(Nicolò Ribaudo) #5113668fd7516e1
] - deps: update timezone to 2024a (Michaël Zasso) #51723f9b229ebe1
] - deps: update icu to 74.2 (Michaël Zasso) #5172390c73d2eb4
] - deps: update timezone to 2023d (Node.js GitHub Bot) #514612a2bf57028
] - deps: update icu to 74.1 (Node.js GitHub Bot) #50515425e011e52
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #4987458c70344a2
] - deps: V8: cherry-pick705e374
(Joyee Cheung) #51004b0e88899e1
] - deps: V8: cherry-pick1fada6b
(Joyee Cheung) #51004d87a810b81
] - deps: V8: cherry-pick3dd9576
(Joyee Cheung) #510046d50966876
] - deps: V8: cherry-pick94e8282
(Joyee Cheung) #51004fafbacdfec
] - deps: V8: cherry-pick9a98f96
(Joyee Cheung) #51004d4a530ed8d
] - deps: V8: cherry-pick7f5daed
(Joyee Cheung) #510041ce901b164
] - deps: V8: cherry-pickc400af4
(Joyee Cheung) #51004f232064f35
] - doc: fix historical experimental fetch flag (Kenrick) #51506194ff6a40f
] - (SEMVER-MINOR) doc: add deprecation notice todirent.path
(Antoine du Hamel) #509760f09267dc6
] - (SEMVER-MINOR) doc: deprecatedirent.path
(Antoine du Hamel) #509768bfb8f5b2f
] - doc,crypto: further clarify RSA_PKCS1_PADDING support (Tobias Nießen) #51799c7baf7b274
] - doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING (Filip Skokan) #51782a193be3dc2
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #5014026e8f7793e
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #509765b5e5192f7
] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #498557552de6806
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #485102e05cf1c60
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #48510a86a2e14a3
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #4851032906ddcac
] - node-api: segregate nogc APIs from rest via type system (Gabriel Schulhof) #500601aa71c26ff
] - node-api: factor out common code into macros (Gabriel Schulhof) #506643d0b233f52
] - node-api: introduce experimental feature flags (Gabriel Schulhof) #5099196514a8b9f
] - src: iterate on import attributes array correctly (Michaël Zasso) #507032c2892bf88
] - src: set ModuleWrap internal fields only once (Joyee Cheung) #49391ff334cb774
] - src: cast v8::Object::GetInternalField() return value to v8::Value (Joyee Cheung) #48943270b519971
] - stream: do not defer construction by one microtick (Matteo Collina) #5200595d7a75084
] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #50743cd613e5167
] - test: handle relative https redirect (Richard Lau) #5112140f10eafcf
] - test: fixinternet/test-inspector-help-page
(Richard Lau) #516935e426511b1
] - test: deflake test-vm-contextified-script-leak (Joyee Cheung) #497100b156c6d28
] - test: use checkIfCollectable in vm leak tests (Joyee Cheung) #496711586c11b3c
] - test: add checkIfCollectable to test/common/gc.js (Joyee Cheung) #49671902d8b3d4b
] - test: fix flaky http-chunk-extensions-limit test (Ethan Arrowood) #519431743d2bdc1
] - test: test surrogate pair filenames on windows (Mert Can Altın) #518001c1a7ec22d
] - test: increase platform timeout zlib-brotli-16gb (Rafael Gonzaga) #51792931d02fe3e
] - test, v8: fix wrong import attributes test (Nicolò Ribaudo) #52184d9ea6c1f8d
] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #501863184befa2e
] - tools: fix update-icu.sh (Michaël Zasso) #5172306646e11be
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141fe66e9d06e
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #50137052e095c6b
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #501379f7899ed0a
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #501376291c107d0
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950v18.19.1
: 2024-02-14, Version 18.19.1 'Hydrogen' (LTS), @RafaelGSS prepared by @marco-ippolitoCompare Source
Notable changes
This is a security release.
Notable changes
Commits
69e0a1dba8
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805d3d357ab09
] - crypto: disable PKCS#1 padding for privateDecrypt (Michael Dawson) nodejs-private/node-private#5253d27175c42
] - deps: fix GHSA-f74f-cvh7-c6q6/CVE-2024-24806 (Santiago Gimeno) #51614331558b8ab
] - deps: update archs files for openssl-3.0.13+quic1 (Node.js GitHub Bot) #5161499b77dfb9c
] - deps: upgrade openssl sources to quictls/openssl-3.0.13+quic1 (Node.js GitHub Bot) #516146cdc71bff1
] - deps: upgrade npm to 10.2.4 (npm team) #50751911cb33cda
] - http: add maximum chunk extension size (Paolo Insogna) nodejs-private/node-private#520f48b89689d
] - lib: update undici to v5.28.3 (Matteo Collina) nodejs-private/node-private#536e6b4c105e0
] - src: fix HasOnly(capability) in node::credentials (Tobias Nießen) nodejs-private/node-private#50597c49076cd
] - test: skip test-child-process-stdio-reuse-readable-stdio on Windows (Joyee Cheung) #4962160affdde8e
] - tools: add macOS notarization verification step (Ulises Gascón) #50833ccc676a327
] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #5071531f1ceb380
] - tools: remove unused file (Ulises Gascon) #50622bd5f6fb92a
] - tools: add macOS notarization stapler (Ulises Gascón) #506254168c4f71b
] - tools: improve macOS notarization process output readability (Ulises Gascón) #503894622f775aa
] - tools: remove unusedversion
function (Ulises Gascón) #50390b90804b1e7
] - win,tools: upgrade Windows signing to smctl (Stefan Stojanovic) #50956f31d47e135
] - zlib: pause stream if outgoing buffer is full (Matteo Collina) nodejs-private/node-private#542v18.19.0
: 2023-11-29, Version 18.19.0 'Hydrogen' (LTS), @targosCompare Source
Notable Changes
npm updated to v10
After two months of baking time in Node.js 20, npm 10 is backported, so that all
release lines include a supported version of npm. This release includes npm v10.2.3.
Refer to nodejs/Release#884 for the plan to land npm 10.
ESM and customization hook changes
Leverage loaders when resolving subsequent loaders
Loaders now apply to subsequent loaders, for example:
--experimental-loader ts-node --experimental-loader loader-written-in-typescript
.Contributed by Maël Nison in #43772.
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.Contributed by João Lenon and Jacob Smith in #46826, Izaak Schroeder and Jacob Smith in #48842 and #48559.
import.meta.resolve
unflaggedIn ES modules,
import.meta.resolve(specifier)
can be used to get an absolute URL string to which
specifier
resolves, similarto
require.resolve
in CommonJS. This aligns Node.js with browsers and other server-side runtimes.Contributed by Guy Bedford in #49028.
--experimental-default-type
flag to flip module defaultsThe new flag
--experimental-default-type
can be used to flip the defaultmodule system used by Node.js. Input that is already explicitly defined as ES
modules or CommonJS, such as by a
package.json
"type"
field or.mjs
/.cjs
file extension or the
--input-type
flag, is unaffected. What is currentlyimplicitly CommonJS would instead be interpreted as ES modules under
--experimental-default-type=module
:String input provided via
--eval
or STDIN, if--input-type
is unspecified.Files ending in
.js
or with no extension, if there is nopackage.json
filepresent in the same folder or any parent folder.
Files ending in
.js
or with no extension, if the nearest parentpackage.json
field lacks atype
field; unless the folder is inside anode_modules
folder.In addition, extensionless files are interpreted as Wasm if
--experimental-wasm-modules
is passed and the file contains the "magic bytes"Wasm header.
Contributed by Geoffrey Booth in #49869.
Other ESM-related changes
ed2d46f4cc
] - doc: move and rename loaders section (Geoffrey Booth) #4926192734d4480
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140e96f7ef881
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141Test runner changes
Many changes to the built-in test runner have been backported. This includes
the following additions:
b283ae4238
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #49753059b1945d8
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #49614d61a505546
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #48975b55eb2a8d1
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #4863905e7f28b40
] - (SEMVER-MINOR) test_runner: add initial draft for fakeTimers (Erick Wendel) #47775428301ad27
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996Other notable changes
0c4a84e8e9
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908fae60c5841
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #4974517246be158
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #463912e9f7284a1
] - (SEMVER-MINOR) lib: add tracing channel to diagnostics_channel (Stephen Belanger) #44943cc7bf1f641
] - (SEMVER-MINOR) src: add cjs_module_lexer_version base64_version (Jithil P Ponnan) #45629b5d16cd8f0
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190Commits
0d0eb47e2a
] - benchmark: add benchmarks for the test_runner (Raz Luvaton) #489318bb03d10f4
] - benchmark: differentiate whatwg and legacy url (Yagiz Nizipli) #473773d7734cbe3
] - benchmark: lower URL.canParse runs (Khafra) #4735124d3fcf415
] - benchmark: stablize encode benchmark (Joyee Cheung) #46658e08fd98bcc
] - bootstrap: use correct descriptor for Symbol.{dispose,asyncDispose} (Jordan Harband) #48703cf9ddcd6c8
] - bootstrap: simplify initialization of source map handlers (Joyee Cheung) #4830412d731e431
] - bootstrap: log isolate data info in mksnapshot debug logs (Joyee Cheung) #47768d66873871a
] - bootstrap: store internal loaders in C++ via a binding (Joyee Cheung) #472151a499c5082
] - bootstrap: optimize modules loaded in the built-in snapshot (Joyee Cheung) #45849e0e09caafe
] - bootstrap: make CJS loader snapshotable (Joyee Cheung) #458495f37decd56
] - bootstrap: include event_target into the built-in snapshot (Joyee Cheung) #45849c3f56a3dee
] - bootstrap: support module_wrap binding in snapshot (Joyee Cheung) #458496466acbc89
] - bootstrap: lazy load non-essential modules (Joyee Cheung) #45659a0d4b69df4
] - bootstrap: lazy-load Performance.prototype.timeOrigin (Joyee Cheung) #46425c1bc8118e3
] - bootstrap: generate bootstrapper arguments in BuiltinLoader (Joyee Cheung) #44488075c57e88b
] - build: add symlink tocompile_commands.json
file if needed (Juan José) #492609e1c531b8d
] - build: expand when we run internet tests (Michael Dawson) #49218a781d24624
] - build: fix typolibray
->library
(configure.py) (michalbiesek) #49106f2eccb7a04
] - build: fixconfigure --link-module
(Richard Lau) #48522a44d555494
] - build: fix IBM i build with Python 3.9 (Richard Lau) #480567f68e14ea2
] - child_process: improve spawn performance on Linux (Keyhan Vakil) #4852376e4d4117c
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #502347af54279b5
] - deps: V8: cherry-pick70caf33
(kxxt) #5050649c5495339
] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #50085e0fd52bf07
] - deps: update googletest to2dd1c13
(Node.js GitHub Bot) #500811b103cc567
] - deps: update googletest toe47544a
(Node.js GitHub Bot) #49982736c869eeb
] - deps: update googletest tod1467f5
(Node.js GitHub Bot) #49676cd99ee1f35
] - deps: update googletest to8a6feab
(Node.js GitHub Bot) #494635c338573ff
] - deps: update zlib to 1.2.13.1-motley-f5fd0ad (Node.js GitHub Bot) #49252374ec3d623
] - deps: update googletest to7e33b6a
(Node.js GitHub Bot) #49034c15dd6679b
] - deps: update zlib to 1.2.13.1-motley-526382e (Node.js GitHub Bot) #49033588bd5e524
] - deps: update googletest toc875c4e
(Node.js GitHub Bot) #489646059b59018
] - deps: update zlib to 1.2.13.1-motley-61dc0bd (Node.js GitHub Bot) #48788e455dd4003
] - deps: update googletest tocc36671
(Node.js GitHub Bot) #48789747fbb49ca
] - deps: V8: cherry-pick1a782f6
(Keyhan Vakil) #48523272e55c66f
] - deps: upgrade npm to 10.2.3 (npm team) #505313f6dcc62e5
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411da26cdbe84
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #5041123069c34b2
] - deps: V8: cherry-pickd69c793
(Michaël Zasso) #464255f852cc9fe
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #503440c4a84e8e9
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #499088682b90d02
] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #5009111ecd06aeb
] - deps: update simdutf to 3.2.17 (Node.js GitHub Bot) #4901943bfe5f020
] - deps: upgrade npm to 10.2.0 (npm team) #50027a140bc284b
] - deps: upgrade npm to 10.1.0 (npm team) #4957065ca41c276
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #49423df1ff8e3da
] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #49979f228dc7955
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #503254324ebab67
] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #500881cabb77659
] - deps: update corepack to 0.20.0 (Node.js GitHub Bot) #4946404227b287e
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #5008213e69ee11c
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082ac717df17e
](httConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.