-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update dependency node to v18.20.4 #40
Open
plural-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.
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
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: yarn.lock
|
✅ Deploy Preview for plural-marketing ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
July 18, 2023 22:30
e04de53
to
98d6d22
Compare
plural-renovate
bot
changed the title
chore(deps): update node.js to v18.16.1
chore(deps): update node.js to v18.17.0
Jul 18, 2023
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
August 4, 2023 16:05
98d6d22
to
da97344
Compare
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
August 9, 2023 20:36
da97344
to
f48d7f0
Compare
plural-renovate
bot
changed the title
chore(deps): update node.js to v18.17.0
chore(deps): update node.js to v18.17.1
Aug 9, 2023
plural-renovate
bot
changed the title
chore(deps): update node.js to v18.17.1
chore(deps): update dependency node to v18.17.1
Aug 17, 2023
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
September 19, 2023 00:29
f48d7f0
to
4f36baa
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.17.1
chore(deps): update dependency node to v18.18.0
Sep 19, 2023
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
October 10, 2023 16:20
4f36baa
to
772676c
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.18.0
chore(deps): update dependency node to v18.18.1
Oct 10, 2023
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
October 13, 2023 22:37
772676c
to
11614ed
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.18.1
chore(deps): update dependency node to v18.18.2
Oct 13, 2023
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
November 12, 2023 22:50
11614ed
to
8d0147a
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.18.2
chore(deps): update dependency node to v18.18.1
Nov 12, 2023
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
November 13, 2023 21:27
8d0147a
to
112ae0c
Compare
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
November 29, 2023 22:25
112ae0c
to
6fa4137
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.18.1
chore(deps): update dependency node to v18.19.0
Nov 29, 2023
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
February 14, 2024 18:42
6fa4137
to
cef6ef1
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.19.0
chore(deps): update dependency node to v18.19.1
Feb 14, 2024
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
March 27, 2024 12:48
cef6ef1
to
02b2b3e
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.19.1
chore(deps): update dependency node to v18.20.0
Mar 27, 2024
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
April 3, 2024 18:00
02b2b3e
to
ad4d659
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.20.0
chore(deps): update dependency node to v18.20.1
Apr 3, 2024
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
April 11, 2024 02:11
ad4d659
to
0b4089a
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.20.1
chore(deps): update dependency node to v18.20.2
Apr 11, 2024
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
May 11, 2024 03:19
0b4089a
to
f143595
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.20.2
chore(deps): update dependency node to v18.20.0
May 11, 2024
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
May 21, 2024 15:02
f143595
to
70eee32
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.20.0
chore(deps): update dependency node to v18.20.3
May 21, 2024
plural-renovate
bot
force-pushed
the
renovate/node-18.x
branch
from
July 8, 2024 18:39
70eee32
to
6b3d6d4
Compare
plural-renovate
bot
changed the title
chore(deps): update dependency node to v18.20.3
chore(deps): update dependency node to v18.20.4
Jul 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.12.1
->18.20.4
18.18.2
->18.20.4
Release Notes
nodejs/node (node)
v18.20.4
Compare Source
v18.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
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #503386885fc9386
] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #4998476c5f4039f
] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #49340597ea77422
] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #493408e7dcba553
] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #493409f2037e8ee
] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #493404723976703
] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #493407ccb478664
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #5027488f9ebb770
] - diagnostics_channel: fix ref counting bug when reaching zero subscribers (Stephen Belanger) #47520284a869540
] - dns: callada::idna::to_ascii
directly from c++ (Yagiz Nizipli) #4792010968370b5
] - doc: drop github actions check in sec release process (Rafael Gonzaga) #4897807c3b88c74
] - doc: remove@anonrig
from performance initiative (Yagiz Nizipli) #49641e26b89e8be
] - doc: fix node-api call example (Chengzhong Wu) #493954c93905f6c
] - doc: add news issue for Diagnostics WG (Michael Dawson) #493063f1a237a8f
] - doc: add print results for examples inStringDecoder
(Jungku Lee) #4932645caad82bb
] - doc: update outdated reference to NIST SP 800-131A (Tobias Nießen) #4931662f823d5a2
] - doc: usecjs
as block code's type inMockTimers
(Deokjin Kim) #493090dda724d3f
] - doc: updateoptions.filter
description forfs.cp
(Shubham Pandey) #492894ba11e352b
] - doc: avoid "not currently recommended" (Tobias Nießen) #493009ca85b58b3
] - doc: modify param description for end(),write() inStringDecoder
(Jungku Lee) #492853f771cab67
] - doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc (Cheng Zhao) #49268f181c37e75
] - doc: fix typo instream.finished
documentation (Antoine du Hamel) #49271c70945ddc2
] - doc: update description forpercent_encode
sets inWHATWG API
(Jungku Lee) #49258f9c2a3fb3e
] - doc: clarify use of Uint8Array for n-api (Fedor Indutny) #48742bf22a5f66e
] - doc: use same name in the doc as in the code (Hyunjin Kim) #4921672bd527fb6
] - doc: add notable-change label mention to PR template (Rafael Gonzaga) #491882247e52fe0
] - doc: add h1 summary to security release process (Rafael Gonzaga) #491123b82e9aed1
] - doc: fix wording in napi_async_init (Tobias Nießen)Configuration
📅 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 Renovate Bot.