Update dependency node to v22 #105
Open
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
16.x
->22.x
21.7-alpine3.19
->22.12-alpine3.19
^20.11.30
->^22.0.0
Release Notes
actions/node-versions (node)
v22.20.0
: 22.20.0Compare Source
Node.js 22.20.0
v22.19.0
: 22.19.0Compare Source
Node.js 22.19.0
v22.18.0
: 22.18.0Compare Source
Node.js 22.18.0
v22.17.1
: 22.17.1Compare Source
Node.js 22.17.1
v22.17.0
: 22.17.0Compare Source
Node.js 22.17.0
v22.16.0
: 22.16.0Compare Source
Node.js 22.16.0
v22.15.1
: 22.15.1Compare Source
Node.js 22.15.1
v22.15.0
: 22.15.0Compare Source
Node.js 22.15.0
v22.14.0
: 22.14.0Compare Source
Node.js 22.14.0
v22.13.1
: 22.13.1Compare Source
Node.js 22.13.1
v22.13.0
: 22.13.0Compare Source
Node.js 22.13.0
v22.12.0
: 22.12.0Compare Source
Node.js 22.12.0
v22.11.0
: 22.11.0Compare Source
Node.js 22.11.0
v22.10.0
: 22.10.0Compare Source
Node.js 22.10.0
v22.9.0
: 22.9.0Compare Source
Node.js 22.9.0
v22.8.0
: 22.8.0Compare Source
Node.js 22.8.0
v22.7.0
: 22.7.0Compare Source
Node.js 22.7.0
v22.6.0
: 22.6.0Compare Source
Node.js 22.6.0
v22.5.1
: 22.5.1Compare Source
Node.js 22.5.1
v22.5.0
: 22.5.0Compare Source
Node.js 22.5.0
v22.4.1
: 22.4.1Compare Source
Node.js 22.4.1
v22.4.0
: 22.4.0Compare Source
Node.js 22.4.0
v22.3.0
: 22.3.0Compare Source
Node.js 22.3.0
v22.2.0
: 22.2.0Compare Source
Node.js 22.2.0
v22.1.0
: 22.1.0Compare Source
Node.js 22.1.0
v22.0.0
: 22.0.0Compare Source
Node.js 22.0.0
v20.19.5
: 20.19.5Compare Source
Node.js 20.19.5
v20.19.4
: 20.19.4Compare Source
Node.js 20.19.4
v20.19.3
: 20.19.3Compare Source
Node.js 20.19.3
v20.19.2
: 20.19.2Compare Source
Node.js 20.19.2
v20.19.1
: 20.19.1Compare Source
Node.js 20.19.1
v20.19.0
: 20.19.0Compare Source
Node.js 20.19.0
v20.18.3
: 20.18.3Compare Source
Node.js 20.18.3
v20.18.2
: 20.18.2Compare Source
Node.js 20.18.2
v20.18.1
: 20.18.1Compare Source
Node.js 20.18.1
v20.18.0
: 20.18.0Compare Source
Node.js 20.18.0
v20.17.0
: 20.17.0Compare Source
Node.js 20.17.0
v20.16.0
: 20.16.0Compare Source
Node.js 20.16.0
v20.15.1
: 20.15.1Compare Source
Node.js 20.15.1
v20.15.0
: 20.15.0Compare Source
Node.js 20.15.0
v20.14.0
: 20.14.0Compare Source
Node.js 20.14.0
v20.13.1
: 20.13.1Compare Source
Node.js 20.13.1
v20.13.0
: 20.13.0Compare Source
Node.js 20.13.0
v20.12.2
: 20.12.2Compare Source
Node.js 20.12.2
v20.12.1
: 20.12.1Compare Source
Node.js 20.12.1
v20.12.0
: 20.12.0Compare Source
Node.js 20.12.0
v20.11.1
: 20.11.1Compare Source
Node.js 20.11.1
v20.11.0
: 20.11.0Compare Source
Node.js 20.11.0
v20.10.0
: 20.10.0Compare Source
Node.js 20.10.0
v20.9.0
: 20.9.0Compare Source
Node.js 20.9.0
v20.8.1
: 20.8.1Compare Source
Node.js 20.8.1
v20.8.0
: 20.8.0Compare Source
Node.js 20.8.0
v20.7.0
: 20.7.0Compare Source
Node.js 20.7.0
v20.6.1
: 20.6.1Compare Source
Node.js 20.6.1
v20.6.0
: 20.6.0Compare Source
Node.js 20.6.0
v20.5.1
: 20.5.1Compare Source
Node.js 20.5.1
v20.5.0
: 20.5.0Compare Source
Node.js 20.5.0
v20.4.0
: 20.4.0Compare Source
Node.js 20.4.0
v20.3.1
: 20.3.1Compare Source
Node.js 20.3.1
v20.3.0
: 20.3.0Compare Source
Node.js 20.3.0
v20.2.0
: 20.2.0Compare Source
Node.js 20.2.0
v20.1.0
: 20.1.0Compare Source
Node.js 20.1.0
v20.0.0
: 20.0.0Compare Source
Node.js 20.0.0
v18.20.8
: 18.20.8Compare Source
Node.js 18.20.8
v18.20.7
: 18.20.7Compare Source
Node.js 18.20.7
v18.20.6
: 18.20.6Compare Source
Node.js 18.20.6
v18.20.5
: 18.20.5Compare Source
Node.js 18.20.5
v18.20.4
: 18.20.4Compare Source
Node.js 18.20.4
v18.20.3
: 18.20.3Compare Source
Node.js 18.20.3
v18.20.2
: 18.20.2Compare Source
Node.js 18.20.2
v18.20.1
: 18.20.1Compare Source
Node.js 18.20.1
v18.20.0
: 18.20.0Compare Source
Node.js 18.20.0
v18.19.1
: 18.19.1Compare Source
Node.js 18.19.1
v18.19.0
: 18.19.0Compare Source
Node.js 18.19.0
v18.18.2
: 18.18.2Compare Source
Node.js 18.18.2
v18.18.1
: 18.18.1Compare Source
Node.js 18.18.1
v18.18.0
: 18.18.0Compare Source
Node.js 18.18.0
v18.17.1
: 18.17.1Compare Source
Node.js 18.17.1
v18.17.0
: 18.17.0Compare Source
Node.js 18.17.0
v18.16.1
: 18.16.1Compare Source
Node.js 18.16.1
v18.16.0
: 18.16.0Compare Source
Node.js 18.16.0
v18.15.0
: 18.15.0Compare Source
Node.js 18.15.0
v18.14.2
: 18.14.2Compare Source
Node.js 18.14.2
v18.14.1
: 18.14.1Compare Source
Node.js 18.14.1
v18.14.0
: 18.14.0Compare Source
Node.js 18.14.0
v18.13.0
: 18.13.0Compare Source
Node.js 18.13.0
v18.12.1
: 18.12.1Compare Source
Node.js 18.12.1
v18.12.0
: 18.12.0Compare Source
Node.js 18.12.0
v18.11.0
: 18.11.0Compare Source
Node.js 18.11.0
v18.10.0
: 18.10.0Compare Source
Node.js 18.10.0
v18.9.1
: 18.9.1Compare Source
Node.js 18.9.1
v18.9.0
: 18.9.0Compare Source
Node.js 18.9.0
v18.8.0
: 18.8.0Compare Source
Node.js 18.8.0
v18.7.0
: 18.7.0Compare Source
Node.js 18.7.0
v18.6.0
: 18.6.0Compare Source
Node.js 18.6.0
v18.5.0
: 18.5.0Compare Source
Node.js 18.5.0
v18.4.0
: 18.4.0Compare Source
Node.js 18.4.0
v18.3.0
: 18.3.0Compare Source
Node.js 18.3.0
v18.2.0
: 18.2.0Compare Source
Node.js 18.2.0
v18.1.0
: 18.1.0Compare Source
Node.js 18.1.0
v18.0.0
: 18.0.0Compare Source
Node.js 18.0.0
nodejs/node (node)
v22.12.0
: 2024-12-03, Version 22.12.0 'Jod' (LTS), @ruyadornoCompare Source
Notable Changes
require(esm) is now enabled by default
Support for loading native ES modules using require() had been available on v20.x and v22.x under the command line flag --experimental-require-module, and available by default on v23.x. In this release, it is now no longer behind a flag on v22.x.
This feature is still experimental, and we are looking for user feedback to make more final tweaks before fully stabilizing it. For this reason, on v22.x, when the Node.js instance encounters a native ES module in require() for the first time, it will emit an experimental warning unless
require()
comes from a path that containsnode_modules
. If there happens to be any regressions caused by this feature, users can report it to the Node.js issue tracker. Meanwhile this feature can also be disabled using--no-experimental-require-module
as a workaround.With this feature enabled, Node.js will no longer throw
ERR_REQUIRE_ESM
ifrequire()
is used to load a ES module. It can, however, throwERR_REQUIRE_ASYNC_MODULE
if the ES module being loaded or its dependencies contain top-levelawait
. When the ES module is loaded successfully byrequire()
, the returned object will either be a ES module namespace object similar to what's returned byimport()
, or what gets exported as"module.exports"
in the ES module.Users can check
process.features.require_module
to see whetherrequire(esm)
is enabled in the current Node.js instance. For packages, the"module-sync"
exports condition can be used as a way to detectrequire(esm)
support in the current Node.js instance and allow bothrequire()
andimport
to load the same native ES module. See the documentation for more details about this feature.Contributed by Joyee Cheung in #55085
Added resizable
ArrayBuffer
support inBuffer
When a
Buffer
is created using a resizableArrayBuffer
, theBuffer
length will now correctly change as the underlyingArrayBuffer
size is changed.Contributed by James Snell in #55377
Update root certificates to NSS 3.104
This is the version of NSS that shipped in Firefox 131.0 on 2024-10-01.
Certificates added:
Contributed by Richard Lau in #55681
Other Notable Changes
4920869935
] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862ccffd3b819
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732acc6806900
] - doc: add jazelly to collaborators (Jason Zhang) #5553188d91e8bc2
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #5533398bfc7dce5
] - (SEMVER-MINOR) http: add diagnostic channelhttp.client.request.created
(Marco Ippolito) #55586337f61fb25
] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #554031628c48ad6
] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408457e73f4c9
] - (SEMVER-MINOR) sqlite: add support for SQLite Session Extension (Bart Louwers) #54181Commits
f6885e1c68
] - assert: fix the string length check for printing the simple diff (Giovanni Bucci) #55474907484f04d
] - assert: fix deepEqual always return true on URL (Xuguang Mei) #50853301844e249
] - assert: differentiate cases wherecause
isundefined
or missing (Antoine du Hamel) #5573889ccd3e3f4
] - assert: fixdeepStrictEqual
on errors whencause
is not undefined (Edigleysson Silva (Edy)) #554064920869935
] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862c67aec368e
] - benchmark: addtest-reporters
(Aviv Keller) #5575749774cc2c0
] - benchmark: addtest_runner/mock-fn
(Aviv Keller) #557714caaeb47b2
] - benchmark: add nodeTiming.uvmetricsinfo bench (RafaelGSS) #55614cac58564a1
] - benchmark: add --runs support to run.js (Rafael Gonzaga) #551585c3ee886fc
] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #552956023e1bdb2
] - (SEMVER-MINOR) buffer: make Buffer work with resizable ArrayBuffer (James M Snell) #55377a6c00c2204
] - build: add create release proposal action (Rafael Gonzaga) #55690b4e413933b
] - build: implement node_use_amaro flag in GN build (Cheng) #55798d1db202d4a
] - build: apply cpp linting and formatting to ncrypto (Aviv Keller) #553628c670496da
] - build: use rclone instead of aws CLI (Michaël Zasso) #55617827e2065bd
] - build: stop pre-compilinglint-md
(Aviv Keller) #55266c3ca978d9c
] - build: fix building with system icu 76 (Michael Cho) #5556323e3287bbe
] - build: fix GN arg used in generate_config_gypi.py (Shelley Vohr) #555302b561abb0d
] - build: fix GN build for sqlite and nghttp2 (Shelley Vohr) #555297008f29d79
] - build: fix GN build for cares/uv deps (Cheng) #554776ee94a394f
] - build: fix uninstall script for AIX 7.1 (Cloorc) #55438edbbd4a374
] - build: conditionally compile bundled sqlite (Richard Lau) #554093d8e3a657c
] - build: tidy up cares.gyp (Richard Lau) #55445f0c12e8fcb
] - build: synchronize list of c-ares source files (Richard Lau) #554458daa8a62f8
] - build: fix path concatenation (Mohammed Keyvanzadeh) #5538712faf0466e
] - build: fix make errors that occur in Makefile (minkyu_kim) #55287a21be0294d
] - build,win: enable pch for clang-cl (Stefan Stojanovic) #552497ed058cd00
] - cli: add--heap-prof
flag available toNODE_OPTIONS
(Juan José) #54259c26b1bfe6a
] - crypto: allow length=0 for HKDF and PBKDF2 in SubtleCrypto.deriveBits (Filip Skokan) #55866a1201d0392
] - crypto: update root certificates to NSS 3.104 (Richard Lau) #5568120483aab7a
] - crypto: fixRSA_PKCS1_PADDING
error message (Richard Lau) #55629d345662d50
] - crypto: include openssl/rand.h explicitly (Shelley Vohr) #55425166ab3209d
] - deps: update simdutf to 5.6.1 (Node.js GitHub Bot) #55850934979e12e
] - deps: update undici to 6.21.0 (Node.js GitHub Bot) #55851af77f66424
] - deps: update c-ares to v1.34.3 (Node.js GitHub Bot) #55803948a88d2f4
] - deps: update icu to 76.1 (Node.js GitHub Bot) #55551fa4c58a983
] - deps: update acorn to 8.14.0 (Node.js GitHub Bot) #55699c91155f22e
] - deps: update sqlite to 3.47.0 (Node.js GitHub Bot) #55557d1cb7af95c
] - deps: update amaro to 0.2.0 (Node.js GitHub Bot) #55601655e5600cb
] - deps: update nghttp2 to 1.64.0 (Node.js GitHub Bot) #55559992450c469
] - deps: update acorn to 8.13.0 (Node.js GitHub Bot) #55558abd2bd4f64
] - deps: update undici to 6.20.1 (Node.js GitHub Bot) #555037dc2c2edad
] - deps: update googletest todf1544b
(Node.js GitHub Bot) #55465fa9329c024
] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #5546341a2bcd335
] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679a3b793defd
] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379551b8f897d
] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #5536926861eaf4e
] - Revert "deps: disable io_uring support in libuv by default" (Santiago Gimeno) #5511441c50bc15e
] - deps: update libuv to 1.49.1 (Santiago Gimeno) #5511426fcc04084
] - deps: update amaro to 0.1.9 (Node.js GitHub Bot) #553480ee6715921
] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116bf68733e7f
] - dns: stop using deprecatedares_query
(Aviv Keller) #55430ef6707eb9b
] - dns: honor the order option (Luigi Pinca) #553920f3810f3e5
] - doc: add added tag and fix typo sqlite.md (Bart Louwers) #56012d1bd0ef1b7
] - doc: remove non-working example (Antoine du Hamel) #55856824ac650ed
] - doc: addnode:sqlite
to mandatorynode:
prefix list (翠 / green) #55846b3ea42d887
] - doc: add-S
flag release preparation example (Antoine du Hamel) #558360bd5d8b9d9
] - doc: clarify UV_THREADPOOL_SIZE env var usage (Preveen P) #5583227b0236a99
] - doc: add notable-change mention to sec release (Rafael Gonzaga) #55830476075bada
] - doc: fix history info forURL.prototype.toJSON
(Antoine du Hamel) #558182743b7b1d3
] - doc: correct max-semi-space-size statement (Joe Bowbeer) #558123013870093
] - doc: update unflag info ofimport.meta.resolve
(skyclouds2001) #5581027bcd103e7
] - doc: run license-builder (github-actions[bot]) #5581372d4b30ead
] - doc: clarify triager role (Gireesh Punathil) #55775a30defe9dd
] - doc: clarify removal of experimental API does not require a deprecation (Antoine du Hamel) #55746ccffd3b819
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732b6d2a4e816
] - doc: add path aliases typescript doc (Carlos Espa) #55766a435affa11
] - doc: add esm example inpath.md
(Aviv Keller) #5574591443c2711
] - doc: consistent use of word child process (Gireesh Punathil) #5565483fb0079d4
] - doc: clarity to available addon options (Preveen P) #557156ca851457a
] - doc: update--max-semi-space-size
description (Joe Bowbeer) #55495e17fffc0ff
] - doc: brokenPerformanceObserver
code sample (Dom Harrington) #542278bd5777f0f
] - doc: add write flag when open file as the demo code's intention (robberfree) #54626f1e0e0ba55
] - doc: remove mention of ECDH-ES in crypto.diffieHellman (Filip Skokan) #556111d60b7ec97
] - doc: improve c++ embedder API doc (Gireesh Punathil) #55597bbf51d7000
] - doc: capitalize "MIT License" (Aviv Keller) #555750e69f6d123
] - doc: add suggested tsconfig for type stripping (Marco Ippolito) #5553467beb37f50
] - doc: add esm examples to node:string_decoder (Alfredo González) #55507acc6806900
] - doc: add jazelly to collaborators (Jason Zhang) #55531a6b3ed54ae
] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #554200ad7ca4f1d
] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #55444e99a98ddfd
] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #5532220302851a9
] - doc: addisBigIntObject
to documentation (leviscar) #5545050d983e80b
] - doc: remove outdated remarks abouthighWaterMark
in fs (Ian Kerins) #5546207c2fb2045
] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #5539941b045170d
] - doc: move Bryan English key to old gpg keys (RafaelGSS) #5539913724dcc20
] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #553990230fb1ead
] - doc: spell out condition restrictions (Jan Martin) #5518766e41f044d
] - doc: add instructions for WinGet build (Hüseyin Açacak) #5535623d89da3f1
] - doc: add missing return values in buffer docs (Karl Horky) #552736e7b33a0ef
] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361d8c552a060
] - doc: edit onboarding guide to clarify when mailmap addition is needed (Antoine du Hamel) #55334c7f82ec978
] - doc: fix the return type of outgoingMessage.setHeaders() (Jimmy Leung) #55290f1b9791694
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #551999ffd2dd43b
] - doc: consolidate history table of CustomEvent (Edigleysson Silva (Edy)) #5575864fb9e6516
] - doc: add history entries for JSON modules stabilization (Antoine du Hamel) #55855ae2ae2fef1
] - esm: fix import.meta.resolve crash (Marco Ippolito) #5577715dd43dd6e
] - esm: add a fallback when importer in not a file (Antoine du Hamel) #55471aed758d270
] - esm: fix inconsistency withimportAssertion
inresolve
hook (Wei Zhu) #5536588d91e8bc2
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333a2c8de7fba
] - events: add hasEventListener util for validate (Sunghoon) #552304f84cdc8a2
] - events: optimize EventTarget.addEventListener (Robert Nagy) #55312c17601557b
] - fs: prevent unwanteddependencyOwners
removal (Carlos Espa) #555654dd609c685
] - fs: fix bufferSize option for opendir recursive (Ethan Arrowood) #55744d695bd4c4f
] - fs: pass correct path toDirentFromStats
duringglob
(Aviv Keller) #550715357338b8e
] - fs: usewstring
on Windows paths (jazelly) #551710a7f301a36
] - http: add diagnostic channelhttp.server.response.created
(Marco Ippolito) #5562298bfc7dce5
] - (SEMVER-MINOR) http: add diagnostic channelhttp.client.request.created
(Marco Ippolito) #55586d2430ee363
] - http2: fix client async storage persistence (Orgad Shaneh) #55460753cbede2a
] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #554076e3e99c81e
] - lib: prefer logical assignment (Aviv Keller) #5504403902ebb74
] - lib: replacecreateDeferredPromise
util withPromise.withResolvers
(Yagiz Nizipli) #54836ee17fcd6f3
] - lib: prefer symbol to number in webidltype
function (Antoine du Hamel) #5573718f0f07e92
] - lib: implement webidl dictionary converter and use it in structuredClone (Jason Zhang) #55489bcead24e24
] - lib: prefer number to string in webidltype
function (Jason Zhang) #55489d48c5da039
] - lib: convert transfer sequence to array in js (Jason Zhang) #55317cefce4cbb0
] - lib: remove unnecessary optional chaining (Gürgün Dayıoğlu) #55728f2561fdeec
] - lib: usePromise.withResolvers()
in timers (Yagiz Nizipli) #55720337f61fb25
] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #554034f89059f63
] - lib: add flag to drop connection when running in cluster mode (theanarkh) [#&Fix arch is undefined, update tests, and allow manual invocation of action #8Configuration
📅 Schedule: Branch creation - "after 6am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.