Closed mazi-renovate[bot] closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.38%. Comparing base (
2fbfd1f
) to head (3dc87a0
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
20.16.0
->20.17.0
Release Notes
nodejs/node (node)
### [`v20.17.0`](https://togithub.com/nodejs/node/releases/tag/v20.17.0): 2024-08-21, Version 20.17.0 'Iron' (LTS), @marco-ippolito [Compare Source](https://togithub.com/nodejs/node/compare/v20.16.0...v20.17.0) ##### module: support require()ing synchronous ESM graphs This release adds `require()` support for synchronous ESM graphs under the flag `--experimental-require-module`. If `--experimental-require-module` is enabled, and the ECMAScript module being loaded by `require()` meets the following requirements: - Explicitly marked as an ES module with a "type": "module" field in the closest package.json or a .mjs extension. - Fully synchronous (contains no top-level await). `require()` will load the requested module as an ES Module, and return the module name space object. In this case it is similar to dynamic `import()` but is run synchronously and returns the name space object directly. Contributed by Joyee Cheung in [#51977](https://togithub.com/nodejs/node/pull/51977) ##### path: add `matchesGlob` method Glob patterns can now be tested against individual paths via the `path.matchesGlob(path, pattern)` method. Contributed by Aviv Keller in [#52881](https://togithub.com/nodejs/node/pull/52881) ##### stream: expose DuplexPair API The function `duplexPair` returns an array with two items, each being a `Duplex` stream connected to the other side: ```js const [ sideA, sideB ] = duplexPair(); ``` Whatever is written to one stream is made readable on the other. It provides behavior analogous to a network connection, where the data written by the client becomes readable by the server, and vice-versa. Contributed by Austin Wright in [#34111](https://togithub.com/nodejs/node/pull/34111) ##### Other Notable Changes - \[[`8e64c02b19`](https://togithub.com/nodejs/node/commit/8e64c02b19)] - **(SEMVER-MINOR)** **http**: add diagnostics channel `http.client.request.error` (Kohei Ueno) [#54054](https://togithub.com/nodejs/node/pull/54054) - \[[`ae30674991`](https://togithub.com/nodejs/node/commit/ae30674991)] - **meta**: add jake to collaborators (jakecastelli) [#54004](https://togithub.com/nodejs/node/pull/54004) - \[[`4a3ecbfc9b`](https://togithub.com/nodejs/node/commit/4a3ecbfc9b)] - **(SEMVER-MINOR)** **stream**: implement `min` option for `ReadableStreamBYOBReader.read` (Mattias Buelens) [#50888](https://togithub.com/nodejs/node/pull/50888) ##### Commits - \[[`b3a2726cbc`](https://togithub.com/nodejs/node/commit/b3a2726cbc)] - **assert**: use isError instead of instanceof in innerOk (Pietro Marchini) [#53980](https://togithub.com/nodejs/node/pull/53980) - \[[`c7e4c3daf4`](https://togithub.com/nodejs/node/commit/c7e4c3daf4)] - **benchmark**: add cpSync benchmark (Yagiz Nizipli) [#53612](https://togithub.com/nodejs/node/pull/53612) - \[[`a52de8c5ff`](https://togithub.com/nodejs/node/commit/a52de8c5ff)] - **bootstrap**: print `--help` message using `console.log` (Jacob Hummer) [#51463](https://togithub.com/nodejs/node/pull/51463) - \[[`61b90e7c5e`](https://togithub.com/nodejs/node/commit/61b90e7c5e)] - **build**: update gcovr to 7.2 and codecov config (Benjamin E. Coe) [#54019](https://togithub.com/nodejs/node/pull/54019) - \[[`a9c04eaa27`](https://togithub.com/nodejs/node/commit/a9c04eaa27)] - **build**: ensure v8\_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) [#53884](https://togithub.com/nodejs/node/pull/53884) - \[[`342a663d7a`](https://togithub.com/nodejs/node/commit/342a663d7a)] - **build**: trigger coverage ci when updating codecov (Yagiz Nizipli) [#53929](https://togithub.com/nodejs/node/pull/53929) - \[[`5727b4d129`](https://togithub.com/nodejs/node/commit/5727b4d129)] - **build**: update codecov coverage build count (Yagiz Nizipli) [#53929](https://togithub.com/nodejs/node/pull/53929) - \[[`977af25870`](https://togithub.com/nodejs/node/commit/977af25870)] - **build**: disable test-asan workflow (Michaël Zasso) [#53844](https://togithub.com/nodejs/node/pull/53844) - \[[`04798fb104`](https://togithub.com/nodejs/node/commit/04798fb104)] - **build**: fix build warning of c-ares under GN build (Cheng) [#53750](https://togithub.com/nodejs/node/pull/53750) - \[[`5ec5e78574`](https://togithub.com/nodejs/node/commit/5ec5e78574)] - **build**: fix mac build error of c-ares under GN (Cheng) [#53687](https://togithub.com/nodejs/node/pull/53687) - \[[`3d8721f0a4`](https://togithub.com/nodejs/node/commit/3d8721f0a4)] - **build**: add version-specific library path for AIX (Richard Lau) [#53585](https://togithub.com/nodejs/node/pull/53585) - \[[`ffb0bd344d`](https://togithub.com/nodejs/node/commit/ffb0bd344d)] - **build, tools**: drop leading `/` from `r2dir` (Richard Lau) [#53951](https://togithub.com/nodejs/node/pull/53951) - \[[`a2d74f4c31`](https://togithub.com/nodejs/node/commit/a2d74f4c31)] - **build,tools**: simplify upload of shasum signatures (Michaël Zasso) [#53892](https://togithub.com/nodejs/node/pull/53892) - \[[`993bb3b6e7`](https://togithub.com/nodejs/node/commit/993bb3b6e7)] - **child_process**: fix incomplete prototype pollution hardening (Liran Tal) [#53781](https://togithub.com/nodejs/node/pull/53781) - \[[`137a2e5766`](https://togithub.com/nodejs/node/commit/137a2e5766)] - **cli**: document `--inspect` port `0` behavior (Aviv Keller) [#53782](https://togithub.com/nodejs/node/pull/53782) - \[[`820e6e1737`](https://togithub.com/nodejs/node/commit/820e6e1737)] - **cli**: update `node.1` to reflect Atom's sunset (Aviv Keller) [#53734](https://togithub.com/nodejs/node/pull/53734) - \[[`fa0e8d7b3b`](https://togithub.com/nodejs/node/commit/fa0e8d7b3b)] - **crypto**: avoid std::function (Tobias Nießen) [#53683](https://togithub.com/nodejs/node/pull/53683) - \[[`460240c368`](https://togithub.com/nodejs/node/commit/460240c368)] - **crypto**: make deriveBits length parameter optional and nullable (Filip Skokan) [#53601](https://togithub.com/nodejs/node/pull/53601) - \[[`ceb1d5e00a`](https://togithub.com/nodejs/node/commit/ceb1d5e00a)] - **crypto**: avoid taking ownership of OpenSSL objects (Tobias Nießen) [#53460](https://togithub.com/nodejs/node/pull/53460) - \[[`44268c27eb`](https://togithub.com/nodejs/node/commit/44268c27eb)] - **deps**: update corepack to 0.29.3 (Node.js GitHub Bot) [#54072](https://togithub.com/nodejs/node/pull/54072) - \[[`496975ece0`](https://togithub.com/nodejs/node/commit/496975ece0)] - **deps**: update c-ares to v1.32.3 (Node.js GitHub Bot) [#54020](https://togithub.com/nodejs/node/pull/54020) - \[[`5eea419349`](https://togithub.com/nodejs/node/commit/5eea419349)] - **deps**: update c-ares to v1.32.2 (Node.js GitHub Bot) [#53865](https://togithub.com/nodejs/node/pull/53865) - \[[`8c8e3688c5`](https://togithub.com/nodejs/node/commit/8c8e3688c5)] - **deps**: update googletest to [`4b21f1a`](https://togithub.com/nodejs/node/commit/4b21f1a) (Node.js GitHub Bot) [#53842](https://togithub.com/nodejs/node/pull/53842) - \[[`78f6b34c77`](https://togithub.com/nodejs/node/commit/78f6b34c77)] - **deps**: update minimatch to 10.0.1 (Node.js GitHub Bot) [#53841](https://togithub.com/nodejs/node/pull/53841) - \[[`398f7acca3`](https://togithub.com/nodejs/node/commit/398f7acca3)] - **deps**: update corepack to 0.29.2 (Node.js GitHub Bot) [#53838](https://togithub.com/nodejs/node/pull/53838) - \[[`fa8f99d90b`](https://togithub.com/nodejs/node/commit/fa8f99d90b)] - **deps**: update simdutf to 5.3.0 (Node.js GitHub Bot) [#53837](https://togithub.com/nodejs/node/pull/53837) - \[[`a19b28336b`](https://togithub.com/nodejs/node/commit/a19b28336b)] - **deps**: update ada to 2.9.0 (Node.js GitHub Bot) [#53748](https://togithub.com/nodejs/node/pull/53748) - \[[`2f66c7e707`](https://togithub.com/nodejs/node/commit/2f66c7e707)] - **deps**: upgrade npm to 10.8.2 (npm team) [#53799](https://togithub.com/nodejs/node/pull/53799) - \[[`2a2620e7c0`](https://togithub.com/nodejs/node/commit/2a2620e7c0)] - **deps**: update googletest to [`34ad51b`](https://togithub.com/nodejs/node/commit/34ad51b) (Node.js GitHub Bot) [#53157](https://togithub.com/nodejs/node/pull/53157) - \[[`c01ce60ce7`](https://togithub.com/nodejs/node/commit/c01ce60ce7)] - **deps**: update googletest to [`305e5a2`](https://togithub.com/nodejs/node/commit/305e5a2) (Node.js GitHub Bot) [#53157](https://togithub.com/nodejs/node/pull/53157) - \[[`832328ea01`](https://togithub.com/nodejs/node/commit/832328ea01)] - **deps**: update c-ares to v1.32.1 (Node.js GitHub Bot) [#53753](https://togithub.com/nodejs/node/pull/53753) - \[[`878e9a4ae7`](https://togithub.com/nodejs/node/commit/878e9a4ae7)] - **deps**: update minimatch to 9.0.5 (Node.js GitHub Bot) [#53646](https://togithub.com/nodejs/node/pull/53646) - \[[`4647e6b5c5`](https://togithub.com/nodejs/node/commit/4647e6b5c5)] - **deps**: update c-ares to v1.32.0 (Node.js GitHub Bot) [#53722](https://togithub.com/nodejs/node/pull/53722) - \[[`30310bf887`](https://togithub.com/nodejs/node/commit/30310bf887)] - **doc**: move numCPUs require to top of file in cluster CJS example (Alfredo González) [#53932](https://togithub.com/nodejs/node/pull/53932) - \[[`36170eddca`](https://togithub.com/nodejs/node/commit/36170eddca)] - **doc**: update security-release process to automated one (Rafael Gonzaga) [#53877](https://togithub.com/nodejs/node/pull/53877) - \[[`55f5e76ba7`](https://togithub.com/nodejs/node/commit/55f5e76ba7)] - **doc**: fix typo in technical-priorities.md (YoonSoo_Shin) [#54094](https://togithub.com/nodejs/node/pull/54094) - \[[`1c0ccc0ca8`](https://togithub.com/nodejs/node/commit/1c0ccc0ca8)] - **doc**: fix typo in diagnostic tooling support tiers document (Taejin Kim) [#54058](https://togithub.com/nodejs/node/pull/54058) - \[[`6a5120ff0f`](https://togithub.com/nodejs/node/commit/6a5120ff0f)] - **doc**: move GeoffreyBooth to TSC regular member (Geoffrey Booth) [#54047](https://togithub.com/nodejs/node/pull/54047) - \[[`ead05aad2a`](https://togithub.com/nodejs/node/commit/ead05aad2a)] - **doc**: fix typo in recognizing-contributors (Marco Ippolito) [#53990](https://togithub.com/nodejs/node/pull/53990) - \[[`25e59aebac`](https://togithub.com/nodejs/node/commit/25e59aebac)] - **doc**: update boxstarter README (Aviv Keller) [#53785](https://togithub.com/nodejs/node/pull/53785) - \[[`a3183fb927`](https://togithub.com/nodejs/node/commit/a3183fb927)] - **doc**: add info about prefix-only modules to `module.builtinModules` (Grigory) [#53954](https://togithub.com/nodejs/node/pull/53954) - \[[`89599e025f`](https://togithub.com/nodejs/node/commit/89599e025f)] - **doc**: remove `scroll-behavior: smooth;` (Cloyd Lau) [#53942](https://togithub.com/nodejs/node/pull/53942) - \[[`139c62e40c`](https://togithub.com/nodejs/node/commit/139c62e40c)] - **doc**: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) [#53926](https://togithub.com/nodejs/node/pull/53926) - \[[`233aba90ea`](https://togithub.com/nodejs/node/commit/233aba90ea)] - **doc**: update `api_assets` README for new files (Aviv Keller) [#53676](https://togithub.com/nodejs/node/pull/53676) - \[[`44a1cbe98a`](https://togithub.com/nodejs/node/commit/44a1cbe98a)] - **doc**: add MattiasBuelens to collaborators (Mattias Buelens) [#53895](https://togithub.com/nodejs/node/pull/53895) - \[[`f5280ddbc5`](https://togithub.com/nodejs/node/commit/f5280ddbc5)] - **doc**: fix casing of GitHub handle for two collaborators (Antoine du Hamel) [#53857](https://togithub.com/nodejs/node/pull/53857) - \[[`9224e3eef1`](https://togithub.com/nodejs/node/commit/9224e3eef1)] - **doc**: update release-post nodejs.org script (Rafael Gonzaga) [#53762](https://togithub.com/nodejs/node/pull/53762) - \[[`f87eed8de4`](https://togithub.com/nodejs/node/commit/f87eed8de4)] - **doc**: move MylesBorins to emeritus (Myles Borins) [#53760](https://togithub.com/nodejs/node/pull/53760) - \[[`32ac80ae8d`](https://togithub.com/nodejs/node/commit/32ac80ae8d)] - **doc**: add Rafael to the last security release (Rafael Gonzaga) [#53769](https://togithub.com/nodejs/node/pull/53769) - \[[`e71aa7e98b`](https://togithub.com/nodejs/node/commit/e71aa7e98b)] - **doc**: use mock.callCount() in examples (Sébastien Règne) [#53754](https://togithub.com/nodejs/node/pull/53754) - \[[`f64db24312`](https://togithub.com/nodejs/node/commit/f64db24312)] - **doc**: clarify authenticity of plaintexts in update (Tobias Nießen) [#53784](https://togithub.com/nodejs/node/pull/53784) - \[[`51e736ac83`](https://togithub.com/nodejs/node/commit/51e736ac83)] - **doc**: add option to have support me link (Michael Dawson) [#53312](https://togithub.com/nodejs/node/pull/53312) - \[[`9804731d0f`](https://togithub.com/nodejs/node/commit/9804731d0f)] - **doc**: update `scroll-padding-top` to 4rem (Cloyd Lau) [#53662](https://togithub.com/nodejs/node/pull/53662) - \[[`229f7f8b8a`](https://togithub.com/nodejs/node/commit/229f7f8b8a)] - **doc**: mention v8.setFlagsFromString to pm (Rafael Gonzaga) [#53731](https://togithub.com/nodejs/node/pull/53731) - \[[`98d59aa929`](https://togithub.com/nodejs/node/commit/98d59aa929)] - **doc**: remove the last \Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 this update again.
This PR has been generated by Renovate Bot. - View logs