Update Node.js to v23.1.0 #522
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:
23.0.0-alpine3.20->23.1.0-alpine3.20Release Notes
nodejs/node (node)
v23.1.0: 2024-10-24, Version 23.1.0 (Current), @aduh95Compare Source
Notable Changes
Buffernow work with resizableArrayBufferWhen a
Bufferis created using a resizableArrayBuffer, theBufferlengthwill now correctly change as the underlying
ArrayBuffersize is changed.Contributed by James M Snell in #55377.
MockTimerstest runner API is now stableMockTimers, introduced in April 2023, has just reached stable status. ThisAPI provides comprehensive support for mocking
Dateand all major timers inNode.js, including
setTimeout,setInterval, andsetImmediate, both fromthe
node:timers,node:timers/promisesmodules and global objects. Aftermonths of refinement, developers can now fully rely on
MockTimersfor testingtime-based operations with confidence, ensuring better control over asynchronous
behavior in their Node.js applications.
Example usage with initial
Dateobject as time set:Contributed by Erick Wendel in #55398.
JSON modules and import attributes are now stable
The two proposals reached stage 4 of the TC39 process, at the October 2024
meeting. The Node.js implementation already matches exactly the semantics
required by the proposals.
Contributed by Nicolò Ribaudo by #55333.
Other Notable Changes
4ba31b7f20] - (SEMVER-MINOR) assert: makeassertion_erroruse Myers diff algorithm (Giovanni Bucci) #54862dcbc5fbe65] - (SEMVER-MINOR) lib: addUV_UDP_REUSEPORTfor udp (theanarkh) #55403ec867ac7ce] - (SEMVER-MINOR) net: addUV_TCP_REUSEPORTfor tcp (theanarkh) #55408Commits
4ba31b7f20] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862fe667bea28] - assert: fix deepEqual always return true on URL (Xuguang Mei) #50853aca03d9083] - benchmark: add --runs support to run.js (Rafael Gonzaga) #55158c5abf50692] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #55295d3618b2334] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254c05582da3d] - (SEMVER-MINOR) buffer: make Buffer work with resizable ArrayBuffer (James M Snell) #55377194bb0fca5] - build: fix GN build for cares/uv deps (Cheng) #554778eb5359592] - build: fix uninstall script for AIX 7.1 (Cloorc) #5543832f7d5ad1c] - build: conditionally compile bundled sqlite (Richard Lau) #554092147e496e7] - build: tidy up cares.gyp (Richard Lau) #554452beae50c77] - build: synchronize list of c-ares source files (Richard Lau) #55445f48d30eb9f] - build: fix path concatenation (Mohammed Keyvanzadeh) #55387d42522eec5] - build: fix make errors that occur in Makefile (minkyu_kim) #5528752da293471] - cli: add--heap-profflag available toNODE_OPTIONS(Juan José) #54259adead26815] - crypto: include openssl/rand.h explicitly (Shelley Vohr) #55425df2f1adf9e] - deps: V8: cherry-pickf915fa4(Chengzhong Wu) #55484bfc10a975f] - deps: update googletest todf1544b(Node.js GitHub Bot) #5546545ef1809bd] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #55463c2b5ebfeca] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679903863cafa] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379008fb5f7f4] - deps: patch V8 to 12.9.202.28 (Node.js GitHub Bot) #553718b282228ae] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #5536954d55f2337] - Revert "deps: disable io_uring support in libuv by default" (Santiago Gimeno) #55114bfb3c621c4] - deps: update libuv to 1.49.1 (Santiago Gimeno) #55114055d2b8919] - deps: update amaro to 0.1.9 (Node.js GitHub Bot) #55348c028d21b44] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116b4b6ddb777] - dns: honor the order option (Luigi Pinca) #5539237352cef7f] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #5542066bcf4c065] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #5544404b41bda03] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #55322689d3a3e41] - doc: addisBigIntObjectto documentation (leviscar) #55450784c825a27] - doc: remove outdated remarks abouthighWaterMarkin fs (Ian Kerins) #554621ec25e8573] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #553997d5bb097eb] - doc: move Bryan English key to old gpg keys (RafaelGSS) #553992967471f67] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #553990be3a7505f] - doc: add changelog for mocktimers (Erick Wendel) #55398e15f779794] - doc: spell out condition restrictions (Jan Martin) #55187c3f2216a7d] - doc: add instructions for WinGet build (Hüseyin Açacak) #55356bdc2c3bb94] - doc: add missing return values in buffer docs (Karl Horky) #5527341f68f59af] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361bbd5318729] - esm: add a fallback when importer in not a file (Antoine du Hamel) #5547122d77773fd] - esm: fix inconsistency withimportAssertioninresolvehook (Wei Zhu) #5536548bb87b059] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #553338ceefebaf2] - events: optimize EventTarget.addEventListener (Robert Nagy) #5531245f960cab6] - fs: pass correct path toDirentFromStatsduringglob(Aviv Keller) #55071d9494a7641] - fs: usewstringon Windows paths (jazelly) #551710f1d13e359] - lib: ensure FORCE_COLOR forces color output in non-TTY environments (Pietro Marchini) #55404dcbc5fbe65] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403714f272423] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #554074e5c90bb41] - lib: replacecreateDeferredPromiseutil withPromise.withResolvers(Yagiz Nizipli) #54836db18aca47a] - lib: add flag to drop connection when running in cluster mode (theanarkh) #54927dd848f2d1e] - lib: test_runner#mock:timers respeced timeout_max behaviour (BadKey) #55375a9473bb8e3] - lib: remove settled dependant signals when they are GCed (Edigleysson Silva (Edy)) #5535407ad987aa1] - lib: convert transfer sequence to array in js (Jason Zhang) #55317d54d3b24c3] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5538112d709bd27] - meta: assign CODEOWNERS for /deps/ncrypto/* (Filip Skokan) #554260130780eec] - meta: change color to blue notify review-wanted (Rafael Gonzaga) #55423335a507027] - meta: bump codecov/codecov-action from 4.5.0 to 4.6.0 (dependabot[bot]) #552225ffc721d09] - meta: bump github/codeql-action from 3.26.6 to 3.26.10 (dependabot[bot]) #55221d9fde2c45b] - meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (dependabot[bot]) #552202c960a212e] - module: include module information in require(esm) warning (Joyee Cheung) #55397a12dbf03d9] - module: simplify ts under node_modules check (Marco Ippolito) #55440ec867ac7ce] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #554089e320279a2] - Revert "path: fix bugs and inconsistencies" (Aviv Keller) #554141ce8928db3] - sqlite: cache column names in stmt.all() (Fedor Indutny) #55373cc775d314a] - src: switch fromGet/SetPrototypetoGet/SetPrototypeV2(Aviv Keller) #5545389c96ade53] - src: remove icu basedToASCIIandToUnicode(Yagiz Nizipli) #5515657dbbf8402] - src: fix winapi_strerror error string (Hüseyin Açacak) #55207a490bb8745] - src: remove uv__node_patch_is_using_io_uring (Santiago Gimeno) #551140da1632937] - src,lib: introduceutil.getSystemErrorMessage(err)(Juan José) #540756764273127] - stream: propagate AbortSignal reason (Marvin ROGER) #554734dc2791cdd] - test: add repl preview timeout test (Chengzhong Wu) #554848634e054d4] - test: make test-node-output-v8-warning more flexible (Shelley Vohr) #554016c8564b55d] - test: fix addons and node-api test assumptions (Antoine du Hamel) #5544194e863cdb7] - test: update wpt test for webmessaging/broadcastchannel (devstone) #55205c10c6715cd] - test: deflaketest-cluster-shared-handle-bind-privileged-port(Aviv Keller) #553786f7379a048] - test: fix invalidfile:URL intest-fs-path-dir(Antoine du Hamel) #55454dd5a08d022] - test: updateconsolewpt (Aviv Keller) #551929b7b4a6b25] - test: remove duplicate tests (Luigi Pinca) #55393eb2fab3da1] - test: update test_util.cc for coverage (minkyu_kim) #5529159923d137e] - test: updatecompressionwpt (Aviv Keller) #551911b63a822ac] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #5542797c6448f63] - test_runner: mark mockTimers as stable (Erick Wendel) #5539869ee56aacd] - test_runner: add support for scheduler.wait on mock timers (Erick Wendel) #55244d9f0407cf6] - test_runner: require--enable-source-mapsfor sourcemap coverage (Aviv Keller) #553592ac2c5a7e7] - tools: update lint-md-dependencies (Node.js GitHub Bot) #5547010f6b90f7d] - tools: update gyp-next to 0.18.3 (Node.js GitHub Bot) #5546465936a8bb6] - tools: add script to synch c-ares source lists (Richard Lau) #554451da4168486] - tools: addpolyfilledoption toprefer-primordialsrule (Antoine du Hamel) #553183b2b3a8df2] - tools: fix typos (Nathan Baulch) #55061736c085a5d] - typings: add missing type ofArrayBufferPrototypeGetByteLength(Wuli Zuo) #554397b3e38b855] - url: handle "unsafe" characters properly inpathToFileURL(Antoine du Hamel) #54545Configuration
📅 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 was generated by Mend Renovate. View the repository job log.