chore(deps): update node.js to v18.20.0 (main) #961
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:
18.19-alpine3.19
->18.20-alpine3.19
Release Notes
nodejs/node (node)
v18.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) #49950Configuration
📅 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.