mqtt-home / miele-to-mqtt-gw

Apache License 2.0
10 stars 2 forks source link

chore(deps): update node.js to v20.17.0 #117

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
node final minor 20.5-alpine -> 20.17-alpine age adoption passing confidence
@types/node (source) devDependencies minor 20.5.1 -> 20.16.5 age adoption passing confidence

Release Notes

nodejs/node (node) ### [`v20.17.0`](https://redirect.github.com/nodejs/node/compare/v20.16.0...v20.17.0) [Compare Source](https://redirect.github.com/nodejs/node/compare/v20.16.0...v20.17.0) ### [`v20.16.0`](https://redirect.github.com/nodejs/node/releases/tag/v20.16.0): 2024-07-24, Version 20.16.0 'Iron' (LTS), @​marco-ippolito [Compare Source](https://redirect.github.com/nodejs/node/compare/v20.15.1...v20.16.0) ##### process: add process.getBuiltinModule(id) `process.getBuiltinModule(id)` provides a way to load built-in modules in a globally available function. ES Modules that need to support other environments can use it to conditionally load a Node.js built-in when it is run in Node.js, without having to deal with the resolution error that can be thrown by `import` in a non-Node.js environment or having to use dynamic `import()` which either turns the module into an asynchronous module, or turns a synchronous API into an asynchronous one. ```mjs if (globalThis.process?.getBuiltinModule) { // Run in Node.js, use the Node.js fs module. const fs = globalThis.process.getBuiltinModule('fs'); // If `require()` is needed to load user-modules, use createRequire() const module = globalThis.process.getBuiltinModule('module'); const require = module.createRequire(import.meta.url); const foo = require('foo'); } ``` If `id` specifies a built-in module available in the current Node.js process, `process.getBuiltinModule(id)` method returns the corresponding built-in module. If `id` does not correspond to any built-in module, `undefined` is returned. `process.getBuiltinModule(id)` accepts built-in module IDs that are recognized by `module.isBuiltin(id)`. The references returned by `process.getBuiltinModule(id)` always point to the built-in module corresponding to `id` even if users modify `require.cache` so that `require(id)` returns something else. Contributed by Joyee Cheung in [#​52762](https://redirect.github.com/nodejs/node/pull/52762) ##### doc: doc-only deprecate OpenSSL engine-based APIs OpenSSL 3 deprecated support for custom engines with a recommendation to switch to its new provider model. The `clientCertEngine` option for `https.request()`, `tls.createSecureContext()`, and `tls.createServer()`; the `privateKeyEngine` and `privateKeyIdentifier` for `tls.createSecureContext();` and `crypto.setEngine()` all depend on this functionality from OpenSSL. Contributed by Richard Lau in [#​53329](https://redirect.github.com/nodejs/node/pull/53329) ##### inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth `Debugger.setAsyncCallStackDepth` was previously calling the enable function by mistake. As a result, when profiling using Chrome DevTools, the async hooks won't be turned off properly after receiving `Debugger.setAsyncCallStackDepth` with depth 0. Contributed by Joyee Cheung in [#​53473](https://redirect.github.com/nodejs/node/pull/53473) ##### Other Notable Changes - \[[`09e2191432`](https://redirect.github.com/nodejs/node/commit/09e2191432)] - **(SEMVER-MINOR)** **buffer**: add .bytes() method to Blob (Matthew Aitken) [#​53221](https://redirect.github.com/nodejs/node/pull/53221) - \[[`394e00f41c`](https://redirect.github.com/nodejs/node/commit/394e00f41c)] - **(SEMVER-MINOR)** **doc**: add context.assert docs (Colin Ihrig) [#​53169](https://redirect.github.com/nodejs/node/pull/53169) - \[[`a8601efa5e`](https://redirect.github.com/nodejs/node/commit/a8601efa5e)] - **(SEMVER-MINOR)** **doc**: improve explanation about built-in modules (Joyee Cheung) [#​52762](https://redirect.github.com/nodejs/node/pull/52762) - \[[`5e76c258f7`](https://redirect.github.com/nodejs/node/commit/5e76c258f7)] - **doc**: add StefanStojanovic to collaborators (StefanStojanovic) [#​53118](https://redirect.github.com/nodejs/node/pull/53118) - \[[`5e694026f1`](https://redirect.github.com/nodejs/node/commit/5e694026f1)] - **doc**: add Marco Ippolito to TSC (Rafael Gonzaga) [#​53008](https://redirect.github.com/nodejs/node/pull/53008) - \[[`f3ba1eb72f`](https://redirect.github.com/nodejs/node/commit/f3ba1eb72f)] - **(SEMVER-MINOR)** **net**: add new net.server.listen tracing channel (Paolo Insogna) [#​53136](https://redirect.github.com/nodejs/node/pull/53136) - \[[`2bcce3255b`](https://redirect.github.com/nodejs/node/commit/2bcce3255b)] - **(SEMVER-MINOR)** **src,permission**: --allow-wasi & prevent WASI exec (Rafael Gonzaga) [#​53124](https://redirect.github.com/nodejs/node/pull/53124) - \[[`a03a4c7bdd`](https://redirect.github.com/nodejs/node/commit/a03a4c7bdd)] - **(SEMVER-MINOR)** **test_runner**: add context.fullName (Colin Ihrig) [#​53169](https://redirect.github.com/nodejs/node/pull/53169) - \[[`69b828f5a5`](https://redirect.github.com/nodejs/node/commit/69b828f5a5)] - **(SEMVER-MINOR)** **util**: support `--no-` for argument with boolean type for parseArgs (Zhenwei Jin) [#​53107](https://redirect.github.com/nodejs/node/pull/53107) ##### Commits - \[[`76fd0ea92e`](https://redirect.github.com/nodejs/node/commit/76fd0ea92e)] - **assert,util**: correct comparison when both contain same reference (Daniel Lemire) [#​53431](https://redirect.github.com/nodejs/node/pull/53431) - \[[`65308b6692`](https://redirect.github.com/nodejs/node/commit/65308b6692)] - **benchmark**: fix api restriction for the permission category (Ryan Tsien) [#​51528](https://redirect.github.com/nodejs/node/pull/51528) - \[[`1e2bc2c2d0`](https://redirect.github.com/nodejs/node/commit/1e2bc2c2d0)] - **benchmark**: fix napi/ref addon (Michaël Zasso) [#​53233](https://redirect.github.com/nodejs/node/pull/53233) - \[[`09e2191432`](https://redirect.github.com/nodejs/node/commit/09e2191432)] - **(SEMVER-MINOR)** **buffer**: add .bytes() method to Blob (Matthew Aitken) [#​53221](https://redirect.github.com/nodejs/node/pull/53221) - \[[`e1951a4804`](https://redirect.github.com/nodejs/node/commit/e1951a4804)] - **build**: fix spacing before NINJA_ARGS (jakecastelli) [#​53181](https://redirect.github.com/nodejs/node/pull/53181) - \[[`76f3bb3460`](https://redirect.github.com/nodejs/node/commit/76f3bb3460)] - **build**: generate binlog in out directories (Chengzhong Wu) [#​53325](https://redirect.github.com/nodejs/node/pull/53325) - \[[`eded0c187b`](https://redirect.github.com/nodejs/node/commit/eded0c187b)] - **build**: support python 3.13 (Chengzhong Wu) [#​53190](https://redirect.github.com/nodejs/node/pull/53190) - \[[`1e57c67fdb`](https://redirect.github.com/nodejs/node/commit/1e57c67fdb)] - **build**: update ruff to v0.4.5 (Yagiz Nizipli) [#​53180](https://redirect.github.com/nodejs/node/pull/53180) - \[[`28e71ede63`](https://redirect.github.com/nodejs/node/commit/28e71ede63)] - **build**: add `--skip-tests` to `test-ci-js` target (Antoine du Hamel) [#​53105](https://redirect.github.com/nodejs/node/pull/53105) - \[[`bb06778a65`](https://redirect.github.com/nodejs/node/commit/bb06778a65)] - **build**: fix building embedtest in GN build (Cheng) [#​53145](https://redirect.github.com/nodejs/node/pull/53145) - \[[`117ff5f139`](https://redirect.github.com/nodejs/node/commit/117ff5f139)] - **build**: use broader detection for 'help' (Aviv Keller) [#​53045](https://redirect.github.com/nodejs/node/pull/53045) - \[[`9aa896e7f5`](https://redirect.github.com/nodejs/node/commit/9aa896e7f5)] - **build**: fix -j propagation to ninja (Tobias Nießen) [#​53088](https://redirect.github.com/nodejs/node/pull/53088) - \[[`acdbc78955`](https://redirect.github.com/nodejs/node/commit/acdbc78955)] - **build**: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) [#​52882](https://redirect.github.com/nodejs/node/pull/52882) - \[[`bf3d94478e`](https://redirect.github.com/nodejs/node/commit/bf3d94478e)] - **build**: fix `--enable-d8` builds (Richard Lau) [#​53106](https://redirect.github.com/nodejs/node/pull/53106) - \[[`99da7d7237`](https://redirect.github.com/nodejs/node/commit/99da7d7237)] - **build**: set "clang" in config.gypi in GN build (Cheng) [#​53004](https://redirect.github.com/nodejs/node/pull/53004) - \[[`9446278f03`](https://redirect.github.com/nodejs/node/commit/9446278f03)] - **crypto**: improve GetECGroupBits signature (Tobias Nießen) [#​53364](https://redirect.github.com/nodejs/node/pull/53364) - \[[`dc2a4af68d`](https://redirect.github.com/nodejs/node/commit/dc2a4af68d)] - **crypto**: fix propagation of "memory limit exceeded" (Tobias Nießen) [#​53300](https://redirect.github.com/nodejs/node/pull/53300) - \[[`c5174f5e60`](https://redirect.github.com/nodejs/node/commit/c5174f5e60)] - **deps**: update c-ares to v1.31.0 (Node.js GitHub Bot) [#​53554](https://redirect.github.com/nodejs/node/pull/53554) - \[[`28e932dc7a`](https://redirect.github.com/nodejs/node/commit/28e932dc7a)] - **deps**: update undici to 6.19.2 (Node.js GitHub Bot) [#​53468](https://redirect.github.com/nodejs/node/pull/53468) - \[[`e4f9c663c4`](https://redirect.github.com/nodejs/node/commit/e4f9c663c4)] - **deps**: update undici to 6.19.1 (Node.js GitHub Bot) [#​53468](https://redirect.github.com/nodejs/node/pull/53468) - \[[`171dc50fdc`](https://redirect.github.com/nodejs/node/commit/171dc50fdc)] - **deps**: update undici to 6.19.1 (Node.js GitHub Bot) [#​53468](https://redirect.github.com/nodejs/node/pull/53468) - \[[`6bb6a9100d`](https://redirect.github.com/nodejs/node/commit/6bb6a9100d)] - **deps**: update undici to 6.19.0 (Node.js GitHub Bot) [#​53468](https://redirect.github.com/nodejs/node/pull/53468) - \[[`815d71b4cd`](https://redirect.github.com/nodejs/node/commit/815d71b4cd)] - **deps**: update acorn-walk to 8.3.3 (Node.js GitHub Bot) [#​53466](https://redirect.github.com/nodejs/node/pull/53466) - \[[`8b5f1d765a`](https://redirect.github.com/nodejs/node/commit/8b5f1d765a)] - **deps**: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) [#​53156](https://redirect.github.com/nodejs/node/pull/53156) - \[[`fc73da6f50`](https://redirect.github.com/nodejs/node/commit/fc73da6f50)] - **deps**: update c-ares to v1.30.0 (Node.js GitHub Bot) [#​53416](https://redirect.github.com/nodejs/node/pull/53416) - \[[`a6b803abd6`](https://redirect.github.com/nodejs/node/commit/a6b803abd6)] - **deps**: update undici to 6.18.2 (Node.js GitHub Bot) [#​53255](https://redirect.github.com/nodejs/node/pull/53255) - \[[`0f235535bb`](https://redirect.github.com/nodejs/node/commit/0f235535bb)] - **deps**: update ada to 2.8.0 (Node.js GitHub Bot) [#​53254](https://redirect.github.com/nodejs/node/pull/53254) - \[[`63407269a8`](https://redirect.github.com/nodejs/node/commit/63407269a8)] - **deps**: update corepack to 0.28.2 (Node.js GitHub Bot) [#​53253](https://redirect.github.com/nodejs/node/pull/53253) - \[[`7a126e8773`](https://redirect.github.com/nodejs/node/commit/7a126e8773)] - **deps**: update c-ares to 1.29.0 (Node.js GitHub Bot) [#​53155](https://redirect.github.com/nodejs/node/pull/53155) - \[[`0c8fcceefa`](https://redirect.github.com/nodejs/node/commit/0c8fcceefa)] - **deps**: upgrade npm to 10.8.1 (npm team) [#​53207](https://redirect.github.com/nodejs/node/pull/53207) - \[[`23866979f2`](https://redirect.github.com/nodejs/node/commit/23866979f2)] - **deps**: update undici to 6.18.1 (Node.js GitHub Bot) [#​53073](https://redirect.github.com/nodejs/node/pull/53073) - \[[`4987a00142`](https://redirect.github.com/nodejs/node/commit/4987a00142)] - **deps**: update undici to 6.18.0 (Node.js GitHub Bot) [#​53073](https://redirect.github.com/nodejs/node/pull/53073) - \[[`af226d0d9c`](https://redirect.github.com/nodejs/node/commit/af226d0d9c)] - **deps**: update undici to 6.17.0 (Node.js GitHub Bot) [#​53034](https://redirect.github.com/nodejs/node/pull/53034) - \[[`c9c6bf8bfb`](https://redirect.github.com/nodejs/node/commit/c9c6bf8bfb)] - **deps**: update undici to 6.16.1 (Node.js GitHub Bot) [#​52948](https://redirect.github.com/nodejs/node/pull/52948) - \[[`b32b62d590`](https://redirect.github.com/nodejs/node/commit/b32b62d590)] - **deps**: update undici to 6.15.0 (Matthew Aitken) [#​52763](https://redirect.github.com/nodejs/node/pull/52763) - \[[`6e6641bea2`](https://redirect.github.com/nodejs/node/commit/6e6641bea2)] - **deps**: update googletest to [`33af80a`](https://redirect.github.com/nodejs/node/commit/33af80a) (Node.js GitHub Bot) [#​53053](https://redirect.github.com/nodejs/node/pull/53053) - \[[`aa96fbe03e`](https://redirect.github.com/nodejs/node/commit/aa96fbe03e)] - **deps**: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) [#​53052](https://redirect.github.com/nodejs/node/pull/53052) - \[[`ba3310ded5`](https://redirect.github.com/nodejs/node/commit/ba3310ded5)] - **deps**: upgrade npm to 10.8.0 (npm team) [#​53014](https://redirect.github.com/nodejs/node/pull/53014) - \[[`8537a2aecf`](https://redirect.github.com/nodejs/node/commit/8537a2aecf)] - **doc**: recommend not using libuv node-api function (Michael Dawson) [#​53521](https://redirect.github.com/nodejs/node/pull/53521) - \[[`c13600f0db`](https://redirect.github.com/nodejs/node/commit/c13600f0db)] - **doc**: add additional guidance for PRs to deps (Michael Dawson) [#​53499](https://redirect.github.com/nodejs/node/pull/53499) - \[[`7c3edd952e`](https://redirect.github.com/nodejs/node/commit/7c3edd952e)] - **doc**: only apply content-visibility on all.html (Filip Skokan) [#​53510](https://redirect.github.com/nodejs/node/pull/53510) - \[[`ac5be14ed8`](https://redirect.github.com/nodejs/node/commit/ac5be14ed8)] - **doc**: update the description of the return type for options.filter (Zhenwei Jin) [#​52742](https://redirect.github.com/nodejs/node/pull/52742) - \[[`cac300e351`](https://redirect.github.com/nodejs/node/commit/cac300e351)] - **doc**: remove first timer badge (Aviv Keller) [#​53338](https://redirect.github.com/nodejs/node/pull/53338) - \[[`feb61459fd`](https://redirect.github.com/nodejs/node/commit/feb61459fd)] - **doc**: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) [#​52801](https://redirect.github.com/nodejs/node/pull/52801) - \[[`9e0a6e938b`](https://redirect.github.com/nodejs/node/commit/9e0a6e938b)] - **doc**: add initial text for ambassadors program (Michael Dawson) [#​52857](https://redirect.github.com/nodejs/node/pull/52857) - \[[`55ac53cb0b`](https://redirect.github.com/nodejs/node/commit/55ac53cb0b)] - **doc**: define more cases for stream event emissions (Aviv Keller) [#​53317](https://redirect.github.com/nodejs/node/pull/53317) - \[[`7128e0f9c9`](https://redirect.github.com/nodejs/node/commit/7128e0f9c9)] - **doc**: remove mentions of policy model from security info (Aviv Keller) [#​53249](https://redirect.github.com/nodejs/node/pull/53249) - \[[`3e290433df`](https://redirect.github.com/nodejs/node/commit/3e290433df)] - **doc**: fix mistakes in the module `load` hook api (István Donkó) [#​53349](https://redirect.github.com/nodejs/node/pull/53349) - \[[`3445c08144`](https://redirect.github.com/nodejs/node/commit/3445c08144)] - **doc**: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) [#​53329](https://redirect.github.com/nodejs/node/pull/53329) - \[[`a3e8cda019`](https://redirect.github.com/nodejs/node/commit/a3e8cda019)] - **doc**: mark --heap-prof and related flags stable (Joyee Cheung) [#​53343](https://redirect.github.com/nodejs/node/pull/53343) - \[[`0b9daaae4d`](https://redirect.github.com/nodejs/node/commit/0b9daaae4d)] - **doc**: mark --cpu-prof and related flags stable (Joyee Cheung) [#​53343](https://redirect.github.com/nodejs/node/pull/53343) - \[[`daf91834f6`](https://redirect.github.com/nodejs/node/commit/daf91834f6)] - **doc**: remove IRC from man page (Tobias Nießen) [#​53344](https://redirect.github.com/nodejs/node/pull/53344) - \[[`4246c8fa31`](https://redirect.github.com/nodejs/node/commit/4246c8fa31)] - **doc**: fix broken link in `static-analysis.md` (Richard Lau) [#​53345](https://redirect.github.com/nodejs/node/pull/53345) - \[[`955b98a0e4`](https://redirect.github.com/nodejs/node/commit/955b98a0e4)] - **doc**: remove cases for keys not containing "\*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) [#​53215](https://redirect.github.com/nodejs/node/pull/53215) - \[[`7832b1815f`](https://redirect.github.com/nodejs/node/commit/7832b1815f)] - **doc**: add err param to fs.cp callback (Feng Yu) [#​53234](https://redirect.github.com/nodejs/node/pull/53234) - \[[`01533df87f`](https://redirect.github.com/nodejs/node/commit/01533df87f)] - **doc**: add `err` param to fs.copyFile callback (Feng Yu) [#​53234](https://redirect.github.com/nodejs/node/pull/53234) - \[[`b081bc7d5e`](https://redirect.github.com/nodejs/node/commit/b081bc7d5e)] - **doc**: reserve 128 for Electron 32 (Keeley Hammond) [#​53203](https://redirect.github.com/nodejs/node/pull/53203) - \[[`6b8460b560`](https://redirect.github.com/nodejs/node/commit/6b8460b560)] - **doc**: add note to ninjia build for macOS using -jn flag (jakecastelli) [#​53187](https://redirect.github.com/nodejs/node/pull/53187) - \[[`394e00f41c`](https://redirect.github.com/nodejs/node/commit/394e00f41c)] - **(SEMVER-MINOR)** **doc**: add context.assert docs (Colin Ihrig) [#​53169](https://redirect.github.com/nodejs/node/pull/53169) - \[[`c143d61d0e`](https://redirect.github.com/nodejs/node/commit/c143d61d0e)] - **doc**: include ESM import for HTTP (Aviv Keller) [#​53165](https://redirect.github.com/nodejs/node/pull/53165) - \[[`a8601efa5e`](https://redirect.github.com/nodejs/node/commit/a8601efa5e)] - **(SEMVER-MINOR)** **doc**: improve explanation about built-in modules (Joyee Cheung) [#​52762](https://redirect.github.com/nodejs/node/pull/52762) - \[[`560392de3d`](https://redirect.github.com/nodejs/node/commit/560392de3d)] - **doc**: fix minor grammar and style issues in SECURITY.md (Rich Trott) [#​53168](https://redirect.github.com/nodejs/node/pull/53168) - \[[`9f8e34323d`](https://redirect.github.com/nodejs/node/commit/9f8e34323d)] - **doc**: mention pm is not enforced when using fd (Rafael Gonzaga) [#​53125](https://redirect.github.com/nodejs/node/pull/53125) - \[[`3ac775b015`](https://redirect.github.com/nodejs/node/commit/3ac775b015)] - **doc**: fix format in `esm.md` (Pop Moore) [#​53170](https://redirect.github.com/nodejs/node/pull/53170) - \[[`41b08bdcf7`](https://redirect.github.com/nodejs/node/commit/41b08bdcf7)] - **doc**: fix wrong variable name in example of `timers.tick()` (Deokjin Kim) [#​53147](https://redirect.github.com/nodejs/node/pull/53147) - \[[`698ea7aa5a`](https://redirect.github.com/nodejs/node/commit/698ea7aa5a)] - **doc**: fix wrong function name in example of `context.plan()` (Deokjin Kim) [#​53140](https://redirect.github.com/nodejs/node/pull/53140) - \[[`a99359d79d`](https://redirect.github.com/nodejs/node/commit/a99359d79d)] - **doc**: add note for windows users and symlinks (Aviv Keller) [#​53117](https://redirect.github.com/nodejs/node/pull/53117) - \[[`61ec2af292`](https://redirect.github.com/nodejs/node/commit/61ec2af292)] - **doc**: move all TLS-PSK documentation to its section (Alba Mendez) [#​35717](https://redirect.github.com/nodejs/node/pull/35717) - \[[`5e76c258f7`](https://redirect.github.com/nodejs/node/commit/5e76c258f7)] - **doc**: add StefanStojanovic to collaborators (StefanStojanovic) [#​53118](https://redirect.github.com/nodejs/node/pull/53118) - \[[`1dc406ba62`](https://redirect.github.com/nodejs/node/commit/1dc406ba62)] - **doc**: improve ninja build for --built-in-modules-path (jakecastelli) [#​53007](https://redirect.github.com/nodejs/node/pull/53007) - \[[`2854585662`](https://redirect.github.com/nodejs/node/commit/2854585662)] - **doc**: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) [#​45131](https://redirect.github.com/nodejs/node/pull/45131) - \[[`3f432f829f`](https://redirect.github.com/nodejs/node/commit/3f432f829f)] - **doc**: remove unavailable youtube link in pull requests (Deokjin Kim) [#​52982](https://redirect.github.com/nodejs/node/pull/52982) - \[[`5e694026f1`](https://redirect.github.com/nodejs/node/commit/5e694026f1)] - **doc**: add Marco Ippolito to TSC (Rafael Gonzaga) [#​53008](https://redirect.github.com/nodejs/node/pull/53008) - \[[`231e44043e`](https://redirect.github.com/nodejs/node/commit/231e44043e)] - **doc**: add missing supported timer values in `timers.enable()` (Deokjin Kim) [#​52969](https://redirect.github.com/nodejs/node/pull/52969) - \[[`b8944f6938`](https://redirect.github.com/nodejs/node/commit/b8944f6938)] - **doc, http**: add `rejectNonStandardBodyWrites` option, clear its behaviour (jakecastelli) [#​53396](https://redirect.github.com/nodejs/node/pull/53396) - \[[`0354584738`](https://redirect.github.com/nodejs/node/commit/0354584738)] - **doc, meta**: organize contributing to Node-API guide (Aviv Keller) [#​53243](https://redirect.github.com/nodejs/node/pull/53243) - \[[`9ae3719c4e`](https://redirect.github.com/nodejs/node/commit/9ae3719c4e)] - **doc, meta**: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) [#​53235](https://redirect.github.com/nodejs/node/pull/53235) - \[[`621e073c96`](https://redirect.github.com/nodejs/node/commit/621e073c96)] - **fs**: do not crash if the watched file is removed while setting up watch (Matteo Collina) [#​53452](https://redirect.github.com/nodejs/node/pull/53452) - \[[`f00ee1c377`](https://redirect.github.com/nodejs/node/commit/f00ee1c377)] - **fs**: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) [#​53150](https://redirect.github.com/nodejs/node/pull/53150) - \[[`655b960418`](https://redirect.github.com/nodejs/node/commit/655b960418)] - **http2**: reject failed http2.connect when used with promisify (ehsankhfr) [#​53475](https://redirect.github.com/nodejs/node/pull/53475) - \[[`eb0b68bb29`](https://redirect.github.com/nodejs/node/commit/eb0b68bb29)] - **inspector**: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) [#​53473](https://redirect.github.com/nodejs/node/pull/53473) - \[[`1c0b89be4c`](https://redirect.github.com/nodejs/node/commit/1c0b89be4c)] - **lib**: fix typo in comment (codediverdev) [#​53543](https://redirect.github.com/nodejs/node/pull/53543) - \[[`55922d9cb0`](https://redirect.github.com/nodejs/node/commit/55922d9cb0)] - **lib**: remove the unused code (theanarkh) [#​53463](https://redirect.github.com/nodejs/node/pull/53463) - \[[`06374ef96b`](https://redirect.github.com/nodejs/node/commit/06374ef96b)] - **lib**: fix naming convention of `Symbol` (Deokjin Kim) [#​53387](https://redirect.github.com/nodejs/node/pull/53387) - \[[`d1a780039a`](https://redirect.github.com/nodejs/node/commit/d1a780039a)] - **lib**: fix timer leak (theanarkh) [#​53337](https://redirect.github.com/nodejs/node/pull/53337) - \[[`8689ce4b41`](https://redirect.github.com/nodejs/node/commit/8689ce4b41)] - **lib**: fix misleading argument of validateUint32 (Tobias Nießen) [#​53307](https://redirect.github.com/nodejs/node/pull/53307) - \[[`57d7bbf624`](https://redirect.github.com/nodejs/node/commit/57d7bbf624)] - **lib**: fix the name of the fetch global function (Gabriel Bota) [#​53227](https://redirect.github.com/nodejs/node/pull/53227) - \[[`23f086c363`](https://redirect.github.com/nodejs/node/commit/23f086c363)] - **lib**: do not call callback if socket is closed (theanarkh) [#​52829](https://redirect.github.com/nodejs/node/pull/52829) - \[[`f325c54c80`](https://redirect.github.com/nodejs/node/commit/f325c54c80)] - **meta**: use correct source for workflow in PR (Aviv Keller) [#​53490](https://redirect.github.com/nodejs/node/pull/53490) - \[[`8172412dbe`](https://redirect.github.com/nodejs/node/commit/8172412dbe)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#​53480](https://redirect.github.com/nodejs/node/pull/53480) - \[[`01b61d65d3`](https://redirect.github.com/nodejs/node/commit/01b61d65d3)] - **meta**: fix typo in dependency updates (Aviv Keller) [#​53471](https://redirect.github.com/nodejs/node/pull/53471) - \[[`12f5737cd3`](https://redirect.github.com/nodejs/node/commit/12f5737cd3)] - **meta**: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot\[bot]) [#​53245](https://redirect.github.com/nodejs/node/pull/53245) - \[[`102e4eee3c`](https://redirect.github.com/nodejs/node/commit/102e4eee3c)] - **meta**: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot\[bot]) [#​53248](https://redirect.github.com/nodejs/node/pull/53248) - \[[`5ba185580d`](https://redirect.github.com/nodejs/node/commit/5ba185580d)] - **meta**: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot\[bot]) [#​53247](https://redirect.github.com/nodejs/node/pull/53247) - \[[`9d186cce2b`](https://redirect.github.com/nodejs/node/commit/9d186cce2b)] - **meta**: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot\[bot]) [#​53246](https://redirect.github.com/nodejs/node/pull/53246) - \[[`29ab74009e`](https://redirect.github.com/nodejs/node/commit/29ab74009e)] - **meta**: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot\[bot]) [#​53244](https://redirect.github.com/nodejs/node/pull/53244) - \[[`bd4b593f30`](https://redirect.github.com/nodejs/node/commit/bd4b593f30)] - **meta**: remove `initializeCommand` from devcontainer (Aviv Keller) [#​53137](https://redirect.github.com/nodejs/node/pull/53137) - \[[`61b1f573cf`](https://redirect.github.com/nodejs/node/commit/61b1f573cf)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#​53065](https://redirect.github.com/nodejs/node/pull/53065) - \[[`f3ba1eb72f`](https://redirect.github.com/nodejs/node/commit/f3ba1eb72f)] - **(SEMVER-MINOR)** **net**: add new net.server.listen tracing channel (Paolo Insogna) [#​53136](https://redirect.github.com/nodejs/node/pull/53136) - \[[`67333a5796`](https://redirect.github.com/nodejs/node/commit/67333a5796)] - **(SEMVER-MINOR)** **process**: add process.getBuiltinModule(id) (Joyee Cheung) [#​52762](https://redirect.github.com/nodejs/node/pull/52762) - \[[`092aa09eb3`](https://redirect.github.com/nodejs/node/commit/092aa09eb3)] - **repl**: fix await object patterns without values (Luke Haas) [#​53331](https://redirect.github.com/nodejs/node/pull/53331) - \[[`554d25f526`](https://redirect.github.com/nodejs/node/commit/554d25f526)] - **src**: reset `process.versions` during pre-execution (Richard Lau) [#​53444](https://redirect.github.com/nodejs/node/pull/53444) - \[[`a0879ad628`](https://redirect.github.com/nodejs/node/commit/a0879ad628)] - **src**: fix dynamically linked OpenSSL version (Richard Lau) [#​53456](https://redirect.github.com/nodejs/node/pull/53456) - \[[`91c05f34de`](https://redirect.github.com/nodejs/node/commit/91c05f34de)] - **src**: remove `SetEncoding` from StringEncoder (Yagiz Nizipli) [#​53441](https://redirect.github.com/nodejs/node/pull/53441) - \[[`4f49384be5`](https://redirect.github.com/nodejs/node/commit/4f49384be5)] - **src**: fix typo in env.cc (EhsanKhaki) [#​53418](https://redirect.github.com/nodejs/node/pull/53418) - \[[`9730d1e186`](https://redirect.github.com/nodejs/node/commit/9730d1e186)] - **src**: avoid strcmp in favor of operator== (Tobias Nießen) [#​53439](https://redirect.github.com/nodejs/node/pull/53439) - \[[`436ad8ceb9`](https://redirect.github.com/nodejs/node/commit/436ad8ceb9)] - **src**: print v8::OOMDetails::detail when it's available (Joyee Cheung) [#​53360](https://redirect.github.com/nodejs/node/pull/53360) - \[[`f773b289eb`](https://redirect.github.com/nodejs/node/commit/f773b289eb)] - **src**: fix IsIPAddress for IPv6 (Hüseyin Açacak) [#​53400](https://redirect.github.com/nodejs/node/pull/53400) - \[[`7705efd860`](https://redirect.github.com/nodejs/node/commit/7705efd860)] - **src**: fix permission inspector crash (theanarkh) [#​53389](https://redirect.github.com/nodejs/node/pull/53389) - \[[`260d8d9ae1`](https://redirect.github.com/nodejs/node/commit/260d8d9ae1)] - **src**: use \__FUNCSIG\_\_ on Windows in backtrace (Joyee Cheung) [#​53135](https://redirect.github.com/nodejs/node/pull/53135) - \[[`3b79e9c24e`](https://redirect.github.com/nodejs/node/commit/3b79e9c24e)] - **src**: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) [#​52905](https://redirect.github.com/nodejs/node/pull/52905) - \[[`32839c63cb`](https://redirect.github.com/nodejs/node/commit/32839c63cb)] - **src**: reduce unnecessary `GetCwd` calls (Yagiz Nizipli) [#​53064](https://redirect.github.com/nodejs/node/pull/53064) - \[[`840dd092ce`](https://redirect.github.com/nodejs/node/commit/840dd092ce)] - **src**: improve node::Dotenv declarations (Tobias Nießen) [#​52973](https://redirect.github.com/nodejs/node/pull/52973) - \[[`2bcce3255b`](https://redirect.github.com/nodejs/node/commit/2bcce3255b)] - **(SEMVER-MINOR)** **src,permission**: --allow-wasi & prevent WASI exec (Rafael Gonzaga) [#​53124](https://redirect.github.com/nodejs/node/pull/53124) - \[[`e092c62a22`](https://redirect.github.com/nodejs/node/commit/e092c62a22)] - **stream**: update outdated highwatermark doc (Jay Kim) [#​53494](https://redirect.github.com/nodejs/node/pull/53494) - \[[`71af3e8172`](https://redirect.github.com/nodejs/node/commit/71af3e8172)] - **stream**: support dispose in writable (Benjamin Gruenbaum) [#​48547](https://redirect.github.com/nodejs/node/pull/48547) - \[[`33a15be32f`](https://redirect.github.com/nodejs/node/commit/33a15be32f)] - **stream**: callback should be called when pendingcb is 0 (jakecastelli) [#​53438](https://redirect.github.com/nodejs/node/pull/53438) - \[[`1b46ebbf69`](https://redirect.github.com/nodejs/node/commit/1b46ebbf69)] - **stream**: make sure \_destroy is called (jakecastelli) [#​53213](https://redirect.github.com/nodejs/node/pull/53213) - \[[`9f95d41947`](https://redirect.github.com/nodejs/node/commit/9f95d41947)] - **stream**: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) [#​53261](https://redirect.github.com/nodejs/node/pull/53261) - \[[`d02651c9d6`](https://redirect.github.com/nodejs/node/commit/d02651c9d6)] - **stream**: micro-optimize writable condition (Orgad Shaneh) [#​53189](https://redirect.github.com/nodejs/node/pull/53189) - \[[`324070c410`](https://redirect.github.com/nodejs/node/commit/324070c410)] - **stream**: fix memory usage regression in writable (Orgad Shaneh) [#​53188](https://redirect.github.com/nodejs/node/pull/53188) - \[[`48138afd35`](https://redirect.github.com/nodejs/node/commit/48138afd35)] - **stream**: fixes for webstreams (Mattias Buelens) [#​51168](https://redirect.github.com/nodejs/node/pull/51168) - \[[`24f078a22b`](https://redirect.github.com/nodejs/node/commit/24f078a22b)] - **test**: mark `test-benchmark-crypto` as flaky (Antoine du Hamel) [#​52955](https://redirect.github.com/nodejs/node/pull/52955) - \[[`0d69ce3474`](https://redirect.github.com/nodejs/node/commit/0d69ce3474)] - **test**: extend env for `test-node-output-errors` (Richard Lau) [#​53535](https://redirect.github.com/nodejs/node/pull/53535) - \[[`1aaaad8518`](https://redirect.github.com/nodejs/node/commit/1aaaad8518)] - **test**: update encoding web-platform tests (Yagiz Nizipli) [#​53477](https://redirect.github.com/nodejs/node/pull/53477) - \[[`54e0ba8771`](https://redirect.github.com/nodejs/node/commit/54e0ba8771)] - **test**: check against run-time OpenSSL version (Richard Lau) [#​53456](https://redirect.github.com/nodejs/node/pull/53456) - \[[`059e47c320`](https://redirect.github.com/nodejs/node/commit/059e47c320)] - **test**: update tests for OpenSSL 3.0.14 (Richard Lau) [#​53373](https://redirect.github.com/nodejs/node/pull/53373) - \[[`49e6f33021`](https://redirect.github.com/nodejs/node/commit/49e6f33021)] - **test**: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) [#​53292](https://redirect.github.com/nodejs/node/pull/53292) - \[[`292d13a289`](https://redirect.github.com/nodejs/node/commit/292d13a289)] - **test**: update TLS tests for OpenSSL 3.2 (Richard Lau) [#​53384](https://redirect.github.com/nodejs/node/pull/53384) - \[[`82017c90bb`](https://redirect.github.com/nodejs/node/commit/82017c90bb)] - **test**: fix test when compiled without engine support (Richard Lau) [#​53232](https://redirect.github.com/nodejs/node/pull/53232) - \[[`a54090b385`](https://redirect.github.com/nodejs/node/commit/a54090b385)] - **test**: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) [#​53229](https://redirect.github.com/nodejs/node/pull/53229) - \[[`3a1693421d`](https://redirect.github.com/nodejs/node/commit/3a1693421d)] - **test**: fix Windows native test suites (Stefan Stojanovic) [#​53173](https://redirect.github.com/nodejs/node/pull/53173) - \[[`2b07d01272`](https://redirect.github.com/nodejs/node/commit/2b07d01272)] - **test**: skip `test-setproctitle` when `ps` is not available (Antoine du Hamel) [#​53104](https://redirect.github.com/nodejs/node/pull/53104) - \[[`0051d1c83d`](https://redirect.github.com/nodejs/node/commit/0051d1c83d)] - **test**: increase allocation so it fails for the test (Adam Majer) [#​53099](https://redirect.github.com/nodejs/node/pull/53099) - \[[`048cbe3304`](https://redirect.github.com/nodejs/node/commit/048cbe3304)] - **test**: remove timers from test-tls-socket-close (Luigi Pinca) [#​53019](https://redirect.github.com/nodejs/node/pull/53019) - \[[`8653d9223e`](https://redirect.github.com/nodejs/node/commit/8653d9223e)] - **test**: replace `.substr` with `.slice` (Antoine du Hamel) [#​53070](https://redirect.github.com/nodejs/node/pull/53070) - \[[`d74bda4241`](https://redirect.github.com/nodejs/node/commit/d74bda4241)] - **test**: add AbortController to knownGlobals (Luigi Pinca) [#​53020](https://redirect.github.com/nodejs/node/pull/53020) - \[[`f29e1e9838`](https://redirect.github.com/nodejs/node/commit/f29e1e9838)] - **test**: skip unstable shadow realm gc tests (Chengzhong Wu) [#​52855](https://redirect.github.com/nodejs/node/pull/52855) - \[[`dfa498697e`](https://redirect.github.com/nodejs/node/commit/dfa498697e)] - **test,doc**: enable running embedtest for Windows (Vladimir Morozov) [#​52646](https://redirect.github.com/nodejs/node/pull/52646) - \[[`0381817f1d`](https://redirect.github.com/nodejs/node/commit/0381817f1d)] - **test_runner**: calculate executed lines using source map (Moshe Atlow) [#​53315](https://redirect.github.com/nodejs/node/pull/53315) - \[[`9d3699b5b0`](https://redirect.github.com/nodejs/node/commit/9d3699b5b0)] - **test_runner**: handle file rename and deletion under watch mode (jakecastelli) [#​53114](https://redirect.github.com/nodejs/node/pull/53114) - \[[`9a36258ca0`](https://redirect.github.com/nodejs/node/commit/9a36258ca0)] - **test_runner**: refactor to use min/max of `validateInteger` (Deokjin Kim) [#​53148](https://redirect.github.com/nodejs/node/pull/53148) - \[[`a03a4c7bdd`](https://redirect.github.com/nodejs/node/commit/a03a4c7bdd)] - **(SEMVER-MINOR)** **test_runner**: add context.fullName (Colin Ihrig) [#​53169](https://redirect.github.com/nodejs/node/pull/53169) - \[[`a72157077a`](https://redirect.github.com/nodejs/node/commit/a72157077a)] - **test_runner**: fix t.assert methods (Colin Ihrig) [#​53049](https://redirect.github.com/nodejs/node/pull/53049) - \[[`ba764db9ab`](https://redirect.github.com/nodejs/node/commit/ba764db9ab)] - **test_runner**: avoid error when coverage line not found (Moshe Atlow) [#​53000](https://redirect.github.com/nodejs/node/pull/53000) - \[[`3a4a0ebd06`](https://redirect.github.com/nodejs/node/commit/3a4a0ebd06)] - **test_runner,doc**: align documentation with actual stdout/stderr behavior (Moshe Atlow) [#​53131](https://redirect.github.com/nodejs/node/pull/53131) - \[[`6e6646bdd5`](https://redirect.github.com/nodejs/node/commit/6e6646bdd5)] - **tls**: check result of SSL_CTX_set_\*\_proto_version (Tobias Nießen) [#​53459](https://redirect.github.com/nodejs/node/pull/53459) - \[[`2aceed4297`](https://redirect.github.com/nodejs/node/commit/2aceed4297)] - **tls**: avoid taking ownership of OpenSSL objects (Tobias Nießen) [#​53436](https://redirect.github.com/nodejs/node/pull/53436) - \[[`faa5cac18c`](https://redirect.github.com/nodejs/node/commit/faa5cac18c)] - **tls**: use SSL_get_peer_tmp_key (Tobias Nießen) [#​53366](https://redirect.github.com/nodejs/node/pull/53366) - \[[`68fcbb635e`](https://redirect.github.com/nodejs/node/commit/68fcbb635e)] - **tls**: fix negative sessionTimeout handling (Tobias Nießen) [#​53002](https://redirect.github.com/nodejs/node/pull/53002) - \[[`61a1c43ef1`](https://redirect.github.com/nodejs/node/commit/61a1c43ef1)] - **tools**: fix skip detection of test runner output (Richard Lau) [#​53545](https://redirect.github.com/nodejs/node/pull/53545) - \[[`53a7b6e1c0`](https://redirect.github.com/nodejs/node/commit/53a7b6e1c0)] - **tools**: fix c-ares update script (Marco Ippolito) [#​53414](https://redirect.github.com/nodejs/node/pull/53414) - \[[`3bd5f46a15`](https://redirect.github.com/nodejs/node/commit/3bd5f46a15)] - **tools**: update lint-md-dependencies (Node.js GitHub Bot) [#​53158](https://redirect.github.com/nodejs/node/pull/53158) - \[[`daab9e170f`](https://redirect.github.com/nodejs/node/commit/daab9e170f)] - **tools**: do not run Corepack code before it's reviewed (Antoine du Hamel) [#​53405](https://redirect.github.com/nodejs/node/pull/53405) - \[[`d18a67f937`](https://redirect.github.com/nodejs/node/commit/d18a67f937)] - **tools**: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) [#​53212](https://redirect.github.com/nodejs/node/pull/53212) - \[[`e9b7a52848`](https://redirect.github.com/nodejs/node/commit/e9b7a52848)] - **tools**: add stream label on PR when related files being changed in lib (jakecastelli) [#​53269](https://redirect.github.com/nodejs/node/pull/53269) - \[[`04d78dd56d`](https://redirect.github.com/nodejs/node/commit/04d78dd56d)] - **tools**: remove no-goma arg from make-v8 script (Michaël Zasso) [#​53336](https://redirect.github.com/nodejs/node/pull/53336) - \[[`37e725a500`](https://redirect.github.com/nodejs/node/commit/37e725a500)] - **tools**: use sccache Github action (Moshe Atlow) [#​53316](https://redirect.github.com/nodejs/node/pull/53316) - \[[`2a1fde7e32`](https://redirect.github.com/nodejs/node/commit/2a1fde7e32)] - **tools**: update error message for Type Error (Aviv Keller) [#​53047](https://redirect.github.com/nodejs/node/pull/53047) - \[[`8f5fb4192d`](https://redirect.github.com/nodejs/node/commit/8f5fb4192d)] - ***Revert*** "**tools**: add --certify-safe to nci-ci" (Antoine du Hamel) [#​53098](https://redirect.github.com/nodejs/node/pull/53098) - \[[`69b828f5a5`](https://redirect.github.com/nodejs/node/commit/69b828f5a5)] - **(SEMVER-MINOR)** **util**: support `--no-` for argument with boolean type for parseArgs (Zhenwei Jin) [#​53107](https://redirect.github.com/nodejs/node/pull/53107) - \[[`1a2f3ab4f5`](https://redirect.github.com/nodejs/node/commit/1a2f3ab4f5)] - **watch**: fix variable naming (jakecastelli) [#​53101](https://redirect.github.com/nodejs/node/pull/53101) ### [`v20.15.1`](https://redirect.github.com/nodejs/node/releases/tag/v20.15.1): 2024-07-08, Version 20.15.1 'Iron' (LTS), @​RafaelGSS [Compare Source](https://redirect.github.com/nodejs/node/compare/v20.15.0...v20.15.1) This is a security release. ##### Notable Changes - CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High) - CVE-2024-22020 - Bypass network import restriction via data URL (Medium) - CVE-2024-22018 - fs.lstat bypasses permission model (Low) - CVE-2024-36137 - fs.fchown/fchmod bypasses permission model (Low) - CVE-2024-37372 - Permission model improperly processes UNC paths (Low) ##### Commits - \[[`60e184a6e4`](https://redirect.github.com/nodejs/node/commit/60e184a6e4)] - **lib,esm**: handle bypass network-import via data: (RafaelGSS) [nodejs-private/node-private#522](https://redirect.github.com/nodejs-private/node-private/pull/522) - \[[`025cbd6936`](https://redirect.github.com/nodejs/node/commit/025cbd6936)] - **lib,permission**: support fs.lstat (RafaelGSS) [nodejs-private/node-private#486](https://redirect.github.com/nodejs-private/node-private/pull/486) - \[[`d38ea17341`](https://redirect.github.com/nodejs/node/commit/d38ea17341)] - **lib,permission**: disable fchmod/fchown when pm enabled (RafaelGSS) [nodejs-private/node-private#584](https://redirect.github.com/nodejs-private/node-private/pull/584) - \[[`1ba624cd3b`](https://redirect.github.com/nodejs/node/commit/1ba624cd3b)] - **src**: handle permissive extension on cmd check (RafaelGSS) [nodejs-private/node-private#596](https://redirect.github.com/nodejs-private/node-private/pull/596) - \[[`2524d00c3d`](https://redirect.github.com/nodejs/node/commit/2524d00c3d)] - **src,permission**: fix UNC path resolution (RafaelGSS) [nodejs-private/node-private#581](https://redirect.github.com/nodejs-private/node-private/pull/581) - \[[`484cb0f13c`](https://redirect.github.com/nodejs/node/commit/484cb0f13c)] - **src,permission**: resolve path on fs_permission (Rafael Gonzaga) [#​52761](https://redirect.github.com/nodejs/node/pull/52761) ### [`v20.15.0`](https://redirect.github.com/nodejs/node/releases/tag/v20.15.0): 2024-06-20, Version 20.15.0 'Iron' (LTS), @​marco-ippolito [Compare Source](https://redirect.github.com/nodejs/node/compare/v20.14.0...v20.15.0) ##### test_runner: support test plans It is now possible to count the number of assertions and subtests that are expected to run within a test. If the number of assertions and subtests that run does not match the expected count, the test will fail. ```js test('top level test', (t) => { t.plan(2); t.assert.ok('some relevant assertion here'); t.subtest('subtest', () => {}); }); ``` Contributed by Colin Ihrig in [#​52860](https://redirect.github.com/nodejs/node/pull/52860) ##### inspector: introduce the `--inspect-wait` flag This release introduces the `--inspect-wait` flag, which allows debugger to wait for attachement. This flag is useful when you want to debug the code from the beginning. Unlike `--inspect-brk`, which breaks on the first line, this flag waits for debugger to be connected and then runs the code as soon as a session is established. Contributed by Kohei Ueno in [#​52734](https://redirect.github.com/nodejs/node/pull/52734) ##### zlib: expose zlib.crc32() This release exposes the crc32() function from zlib to user-land. It computes a 32-bit Cyclic Redundancy Check checksum of data. If value is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value. The CRC algorithm is designed to compute checksums and to detect error in data transmission. It's not suitable for cryptographic authentication. ```js const zlib = require('node:zlib'); const { Buffer } = require('node:buffer'); let crc = zlib.crc32('hello'); // 907060870 crc = zlib.crc32('world', crc); // 4192936109 crc = zlib.crc32(Buffer.from('hello', 'utf16le')); // 1427272415 crc = zlib.crc32(Buffer.from('world', 'utf16le'), crc); // 4150509955 ``` Contributed by Joyee Cheung in [#​52692](https://redirect.github.com/nodejs/node/pull/52692) ##### cli: allow running wasm in limited vmem with --disable-wasm-trap-handler By default, Node.js enables trap-handler-based WebAssembly bound checks. As a result, V8 does not need to insert inline bound checks int the code compiled from WebAssembly which may speedup WebAssembly execution significantly, but this optimization requires allocating a big virtual memory cage (currently 10GB). If the Node.js process does not have access to a large enough virtual memory address space due to system configurations or hardware limitations, users won't be able to run any WebAssembly that involves allocation in this virtual memory cage and will see an out-of-memory error. ```console $ ulimit -v 5000000 $ node -p "new WebAssembly.Memory({ initial: 10, maximum: 100 });" [eval]:1 new WebAssembly.Memory({ initial: 10, maximum: 100 }); ^ RangeError: WebAssembly.Memory(): could not allocate memory at [eval]:1:1 at runScriptInThisContext (node:internal/vm:209:10) at node:internal/process/execution:118:14 at [eval]-wrapper:6:24 at runScript (node:internal/process/execution:101:62) at evalScript (node:internal/process/execution:136:3) at node:internal/main/eval_string:49:3 ``` `--disable-wasm-trap-handler` disables this optimization so that users can at least run WebAssembly (with a less optimial performance) when the virtual memory address space available to their Node.js process is lower than what the V8 WebAssembly memory cage needs. Contributed by Joyee Cheung in [#​52766](https://redirect.github.com/nodejs/node/pull/52766) ##### Other Notable Changes - \[[`12512c3d0e`](https://redirect.github.com/nodejs/node/commit/12512c3d0e)] - **doc**: add pimterry to collaborators (Tim Perry) [#​52874](https://redirect.github.com/nodejs/node/pull/52874) - \[[`9d485b40bb`](https://redirect.github.com/nodejs/node/commit/9d485b40bb)] - **(SEMVER-MINOR)** **tools**: fix get_asan_state() in tools/test.py (Joyee Cheung) [#​52766](https://redirect.github.com/nodejs/node/pull/52766) - \[[`e98c305f52`](https://redirect.github.com/nodejs/node/commit/e98c305f52)] - **(SEMVER-MINOR)** **tools**: support max_virtual_memory test configuration (Joyee Cheung) [#​52766](https://redirect.github.com/nodejs/node/pull/52766) - \[[`dce0300896`](https://redirect.github.com/nodejs/node/commit/dce0300896)] - **(SEMVER-MINOR)** **tools**: support != in test status files (Joyee Cheung) [#​52766](https://redirect.github.com/nodejs/node/pull/52766) ##### Commits - \[[`227093bfec`](https://redirect.github.com/nodejs/node/commit/227093bfec)] - **assert**: add deep equal check for more Error type (Zhenwei Jin) [#​51805](https://redirect.github.com/nodejs/node/pull/51805) - \[[`184cfe5a71`](https://redirect.github.com/nodejs/node/commit/184cfe5a71)] - **benchmark**: filter non-present deps from `start-cli-version` (Adam Majer) [#​51746](https://redirect.github.com/nodejs/node/pull/51746) - \[[`8b3e83bb53`](https://redirect.github.com/nodejs/node/commit/8b3e83bb53)] - **buffer**: even faster atob (Daniel Lemire) [#​52443](https://redirect.github.com/nodejs/node/pull/52443) - \[[`8d628c3255`](https://redirect.github.com/nodejs/node/commit/8d628c3255)] - **buffer**: use size_t instead of uint32\_t to avoid segmentation fault (Xavier Stouder) [#​48033](https://redirect.github.com/nodejs/node/pull/48033) - \[[`16ae2b2933`](https://redirect.github.com/nodejs/node/commit/16ae2b2933)] - **buffer**: remove lines setting indexes to integer value (Zhenwei Jin) [#​52588](https://redirect.github.com/nodejs/node/pull/52588) - \[[`48c15d0dcd`](https://redirect.github.com/nodejs/node/commit/48c15d0dcd)] - **build**: remove deprecated calls for argument groups (Mohammed Keyvanzadeh) [#​52913](https://redirect.github.com/nodejs/node/pull/52913) - \[[`1be8232d17`](https://redirect.github.com/nodejs/node/commit/1be8232d17)] - **build**: drop base64 dep in GN build (Cheng) [#​52856](https://redirect.github.com/nodejs/node/pull/52856) - \[[`918962d6e7`](https://redirect.github.com/nodejs/node/commit/918962d6e7)] - **build**: make simdjson a public dep in GN build (Cheng) [#​52755](https://redirect.github.com/nodejs/node/pull/52755) - \[[`5215b6fd8e`](https://redirect.github.com/nodejs/node/commit/5215b6fd8e)] - **build, tools**: copy release assets to staging R2 bucket once built (flakey5) [#​51394](https://redirect.github.com/nodejs/node/pull/51394) - \[[`473fa73857`](https://redirect.github.com/nodejs/node/commit/473fa73857)] - **(SEMVER-MINOR)** **cli**: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) [#​52766](https://redirect.github.com/nodejs/node/pull/52766) - \[[`954d2aded4`](https://redirect.github.com/nodejs/node/commit/954d2aded4)] - **cluster**: replace `forEach` with `for-of` loop (Jérôme Benoit) [#​50317](https://redirect.github.com/nodejs/node/pull/50317) - \[[`794e450ea7`](https://redirect.github.com/nodejs/node/commit/794e450ea7)] - **console**: colorize console error and warn (Jithil P Ponnan) [#​51629](https://redirect.github.com/nodejs/node/pull/51629) - \[[`0fb7c18f10`](https://redirect.github.com/nodejs/node/commit/0fb7c18f10)] - **crypto**: fix duplicated switch-case return values (Mustafa Ateş UZUN) [#​49030](https://redirect.github.com/nodejs/node/pull/49030) - \[[`cd1415c8b2`](https://redirect.github.com/nodejs/node/commit/cd1415c8b2)] - ***Revert*** "**crypto**: make timingSafeEqual faster for Uint8Array" (Tobias Nießen) [#​53390](https://redirect.github.com/nodejs/node/pull/53390) - \[[`b774544bb1`](https://redirect.github.com/nodejs/node/commit/b774544bb1)] - **deps**: enable unbundling of simdjson, simdutf, ada (Daniel Lemire) [#​52924](https://redirect.github.com/nodejs/node/pull/52924) - \[[`da4dbfc5fd`](https://redirect.github.com/nodejs/node/commit/da4dbfc5fd)] - **doc**: remove reference to AUTHORS file (Marco Ippolito) [#​52960](https://redirect.github.com/nodejs/node/pull/52960) - \[[`2f3f2ff8af`](https://redirect.github.com/nodejs/node/commit/2f3f2ff8af)] - **doc**: update hljs with the latest styles (Aviv Keller) [#​52911](https://redirect.github.com/nodejs/node/pull/52911) - \[[`3a1d17a9b1`](https://redirect.github.com/nodejs/node/commit/3a1d17a9b1)] - **doc**: mention quicker way to build docs (Alex Crawford) [#​52937](https://redirect.github.com/nodejs/node/pull/52937) - \[[`be309bd19d`](https://redirect.github.com/nodejs/node/commit/be309bd19d)] - **doc**: mention push.followTags config (Rafael Gonzaga) [#​52906](https://redirect.github.com/nodejs/node/pull/52906) - \[[`e62c6e2684`](https://redirect.github.com/nodejs/node/commit/e62c6e2684)] - **doc**: document pipeline with `end` option (Alois Klink) [#​48970](https://redirect.github.com/nodejs/node/pull/48970) - \[[`af27225cf6`](https://redirect.github.com/nodejs/node/commit/af27225cf6)] - **doc**: add example for `execFileSync` method and ref to stdio (Evan Shortiss) [#​39412](https://redirect.github.com/nodejs/node/pull/39412) - \[[`086626f9b1`](https://redirect.github.com/nodejs/node/commit/086626f9b1)] - **doc**: add examples and notes to http server.close et al (mary marchini) [#​49091](https://redirect.github.com/nodejs/node/pull/49091) - \[[`3aa3337a00`](https://redirect.github.com/nodejs/node/commit/3aa3337a00)] - **doc**: fix `dns.lookup` family `0` and `all` descriptions (Adam Jones) [#​51653](https://redirect.github.com/nodejs/node/pull/51653) - \[[`585f2a2e7f`](https://redirect.github.com/nodejs/node/commit/585f2a2e7f)] - **doc**: update `fs.realpath` documentation (sinkhaha) [#​48170](https://redirect.github.com/nodejs/node/pull/48170) - \[[`4bf3d44e1d`](https://redirect.github.com/nodejs/node/commit/4bf3d44e1d)] - **doc**: update fs read documentation for clarity (Mert Can Altin) [#​52453](https://redirect.github.com/nodejs/node/pull/52453) - \[[`ae5d47dde3`](https://redirect.github.com/nodejs/node/commit/ae5d47dde3)] - **doc**: watermark string behavior (Benjamin Gruenbaum) [#​52842](https://redirect.github.com/nodejs/node/pull/52842) - \[[`1e429d10d3`](https://redirect.github.com/nodejs/node/commit/1e429d10d3)] - **doc**: exclude commits with baking-for-lts (Marco Ippolito) [#​52896](https://redirect.github.com/nodejs/node/pull/52896) - \[[`3df3e37cdb`](https://redirect.github.com/nodejs/node/commit/3df3e37cdb)] - **doc**: add names next to release key bash commands (Aviv Keller) [#​52878](https://redirect.github.com/nodejs/node/pull/52878) - \[[`12512c3d0e`](https://redirect.github.com/nodejs/node/commit/12512c3d0e)] - **doc**: add pimterry to collaborators (Tim Perry) [#​52874](https://redirect.github.com/nodejs/node/pull/52874) - \[[`97e0fef019`](https://redirect.github.com/nodejs/node/commit/97e0fef019)] - **doc**: add more definitions to GLOSSARY.md (Aviv Keller) [#​52798](https://redirect.github.com/nodejs/node/pull/52798) - \[[`91fadac162`](https://redirect.github.com/nodejs/node/commit/91fadac162)] - **doc**: make docs more welcoming and descriptive for newcomers (Serkan Özel) [#​38056](https://redirect.github.com/nodejs/node/pull/38056) - \[[`a3b20126fd`](https://redirect.github.com/nodejs/node/commit/a3b20126fd)] - **doc**: add OpenSSL errors to API docs (John Lamp) [#​34213](https://redirect.github.com/nodejs/node/pull/34213) - \[[`9587ae9b5b`](https://redirect.github.com/nodejs/node/commit/9587ae9b5b)] - **doc**: simplify copy-pasting of `branch-diff` commands (Antoine du Hamel) [#​52757](https://redirect.github.com/nodejs/node/pull/52757) - \[[`6ea72a53c3`](https://redirect.github.com/nodejs/node/commit/6ea72a53c3)] - **doc**: add test_runner to subsystem (Raz Luvaton) [#​52774](https://redirect.github.com/nodejs/node/pull/52774) - \[[`972eafd983`](https://redirect.github.com/nodejs/node/commit/972eafd983)] - **events**: update MaxListenersExceededWarning message log (sinkhaha) [#​51921](https://redirect.github.com/nodejs/node/pull/51921) - \[[`74753ed1fe`](https://redirect.github.com/nodejs/node/commit/74753ed1fe)] - **events**: add stop propagation flag to `Event.stopImmediatePropagation` (Mickael Meausoone) [#​39463](https://redirect.github.com/nodejs/node/pull/39463) - \[[`75dd009649`](https://redirect.github.com/nodejs/node/commit/75dd009649)] - **events**: replace NodeCustomEvent with CustomEvent (Feng Yu) [#​43876](https://redirect.github.com/nodejs/node/pull/43876) - \[[`7d38c2e012`](https://redirect.github.com/nodejs/node/commit/7d38c2e012)] - **fs**: keep fs.promises.readFile read until EOF is reached (Zhenwei Jin) [#​52178](https://redirect.github.com/nodejs/node/pull/52178) - \[[`8cb13120d3`](https://redirect.github.com/nodejs/node/commit/8cb13120d3)] - **(SEMVER-MINOR)** **inspector**: introduce the `--inspect-wait` flag (Kohei Ueno) [#​52734](https://redirect.github.com/nodejs/node/pull/52734) - \[[`d5ab1de1fd`](https://redirect.github.com/nodejs/node/commit/d5ab1de1fd)] - **meta**: move `@anonrig` to TSC regular member (Yagiz Nizipli) [#​52932](https://redirect.github.com/nodejs/node/pull/52932) - \[[`f82d086e90`](https://redirect.github.com/nodejs/node/commit/f82d086e90)] - **path**: fix toNamespacedPath on Windows (Hüseyin Açacak) [#​52915](https://redirect.github.com/nodejs/node/pull/52915) - \[[`121ea13b50`](https://redirect.github.com/nodejs/node/commit/121ea13b50)] - **process**: improve event-loop (Aras Abbasi) [#​52108](https://redirect.github.com/nodejs/node/pull/52108) - \[[`eceac784aa`](https://redirect.github.com/nodejs/node/commit/eceac784aa)] - **repl**: fix disruptive autocomplete without inspector (Nitzan Uziely) [#​40661](https://redirect.github.com/nodejs/node/pull/40661) - \[[`89a910be82`](https://redirect.github.com/nodejs/node/commit/89a910be82)] - **src**: fix Worker termination in `inspector.waitForDebugger` (Daeyeon Jeong) [#​52527](https://redirect.github.com/nodejs/node/pull/52527) - \[[`033f985e8a`](https://redirect.github.com/nodejs/node/commit/033f985e8a)] - **src**: use `S_ISDIR` to check if the file is a directory (theanarkh) [#​52164](https://redirect.github.com/nodejs/node/pull/52164) - \[[`95128399f8`](https://redirect.github.com/nodejs/node/commit/95128399f8)] - **src**: allow preventing debug signal handler start (Shelley Vohr) [#​46681](https://redirect.github.com/nodejs/node/pull/46681) - \[[`b162aeae9e`](https://redirect.github.com/nodejs/node/commit/b162aeae9e)] - **src**: fix typo Unabled -> Unable (Simon Siefke) [#​52820](https://redirect.github.com/nodejs/node/pull/52820) - \[[`2dcbf1894a`](https://redirect.github.com/nodejs/node/commit/2dcbf1894a)] - **src**: avoid unused variable 'error' warning (Michaël Zasso) [#​52886](https://redirect.github.com/nodejs/node/pull/52886) - \[[`978ee0a635`](https://redirect.github.com/nodejs/node/commit/978ee0a635)]

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 was generated by Mend Renovate. View the repository job log.