James M Snell
5556b154bd
quic: start re-enabling quic with openssl 3.5
...
Start working on re-enabling QUIC support with the availability
of OpenSSL 3.5. This will be a multi-step process.
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/59249
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-05-07 17:32:40 +02:00
David Thornton
233894a9ce
doc: fix the TypeScript Execute (tsx) project link
...
Signed-off-by: David Thornton <david.m.thornton@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63093
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-05-07 15:41:51 +02:00
Moshe Atlow
60c83f6199
test_runner: fix failing suite hooks when marked with todo
...
Signed-off-by: Moshe Atlow <moshe@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/63097
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-05-07 15:41:51 +02:00
Node.js GitHub Bot
8b3a4fc18f
deps: update amaro to 1.1.9
...
PR-URL: https://github.com/nodejs/node/pull/63090
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-05-07 15:41:51 +02:00
Nenad Spasenic
5b49178375
tools: use LTS Node.js in notify-on-push workflow
...
Without pinning Node.js, the runner defaults to Node 20 and npx falls
back to core-validate-commit@5.0.1 instead of 6.0.0 (requires
Node 22+). Version 5 does not recognise the ffi subsystem, causing
false invalid-commit alerts.
Signed-off-by: Nenad Spasenic <40522817+nsinfoPRO@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/63084
Fixes: https://github.com/nodejs/node/issues/63070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-05-07 15:41:51 +02:00
Robo
add94f4bc3
build: track PDL files as inputs in inspector GN build
...
The `node_protocol_generated_sources` action
was missing `gypi_values.node_pdl_files` from its inputs, causing Ninja
to skip regeneration when PDL domain files changed.
PR-URL: https://github.com/nodejs/node/pull/62888
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
2026-05-07 15:41:51 +02:00
Antoine du Hamel
7792f1ae47
stream: copyedit webstreams/adapter.js
...
- Simplify `ZLIB_FAILURES` creation.
- Cache `cause.code` in `handleKnownInternalErrors` in case of a getter.
- Replace `SafePromiseAll` with `SafePromiseAllReturnVoid` to reduce the
number of allocated promises.
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63034
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-05-07 15:41:50 +02:00
Robert Nagy
717476a24e
http: emit 'drain' on OutgoingMessage only after buffers drain
...
Previously, socketOnDrain could be invoked synchronously from
_flushOutput (via _onPendingData -> updateOutgoingData) while the bytes
just handed to the socket were still buffered and while outputSize had
not yet been reset on the OutgoingMessage. The 'drain' event fired even
though res.writableLength was non-zero, breaking the invariant a user
would reasonably expect after `while (!res.write(...));`.
Gate the emission in socketOnDrain on msg.writableLength === 0 (which
also covers outputSize + chunked buffer + socket.writableLength), and
apply the same check in OutgoingMessage._flush so that 'drain' is only
emitted when the response is genuinely drained. The socket's own
'drain' event will otherwise propagate through socketOnDrain when the
socket buffer actually empties.
Signed-off-by: Robert Nagy <ronagy@icloud.com >
Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62936
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-05-07 15:41:50 +02:00
Antoine du Hamel
1397d8ce5c
stream: remove duplicated utility
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63031
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-05-07 15:41:50 +02:00
Matteo Collina
d7188af5c9
http: harden ClientRequest options merge
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/63082
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-05-07 15:41:50 +02:00
Mike McCready
5a93bde5bb
tools: update gr2m/create-or-update-pull-request-action to v1.10.1
...
Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/63065
Fixes: https://github.com/nodejs/node/issues/62990
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-05-07 15:41:50 +02:00
Marco Ippolito
99bb02fd9e
src: swap dotenv and config file parsing order
...
Signed-off-by: Marco Ippolito <marcoippolito54@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63035
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-05-07 15:41:50 +02:00
dependabot[bot]
7cd20667b5
meta: bump github/codeql-action from 4.35.1 to 4.35.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.35.1 to 4.35.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/c10b8064de6f491fea524254123dbe5e09572f13...e46ed2cbd01164d986452f91f178727624ae40d7 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.35.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/63074
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-07 15:41:50 +02:00
dependabot[bot]
91a07cfe9f
meta: bump Mozilla-Actions/sccache-action from 0.0.9 to 0.0.10
...
Bumps [Mozilla-Actions/sccache-action](https://github.com/mozilla-actions/sccache-action ) from 0.0.9 to 0.0.10.
- [Release notes](https://github.com/mozilla-actions/sccache-action/releases )
- [Commits](https://github.com/mozilla-actions/sccache-action/compare/7d986dd989559c6ecdb630a3fd2557667be217ad...9e7fa8a12102821edf02ca5dbea1acd0f89a2696 )
---
updated-dependencies:
- dependency-name: Mozilla-Actions/sccache-action
dependency-version: 0.0.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/63073
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-07 15:41:50 +02:00
bugyaluwang
1718bc3b9b
inspector: fix absolute URLs in network http
...
Some HTTP clients send an absolute URL in request.path. The network
inspection code always prefixed request.protocol and host,
which produced duplicated URLs such as
http://hosthttp://host/path in Network.requestWillBeSent and
Network.responseReceived.
Handle absolute URL paths directly and keep the existing
relative-path behavior unchanged.
Extend the HTTP inspector test to cover both GET and POST
requests that use an absolute URL as options.path and verify
that getResponseBody still returns the expected payload.
Signed-off-by: GrinZero <774933704@qq.com >
PR-URL: https://github.com/nodejs/node/pull/62955
Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-05-07 15:41:50 +02:00
Node.js GitHub Bot
62fe0cfcd1
deps: update llhttp to 9.4.1
...
PR-URL: https://github.com/nodejs/node/pull/63045
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-07 15:41:49 +02:00
Antoine du Hamel
b133019d19
tools: simplify update-undici.sh
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63044
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-05-07 15:41:49 +02:00
Antoine du Hamel
ff86b1d64f
stream: simplify setPromiseHandled utility
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63032
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-05-07 15:41:49 +02:00
Antoine du Hamel
04d3538074
tools: do not run test-linux on unrelated tools changes
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63037
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-07 15:41:49 +02:00
Joyee Cheung
4bf85845da
debugger: move ProbeInspectorSession and helpers to separate files
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63013
Reviewed-By: Jan Martin <jan.krems@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Aditi Singh <aditisingh1400@gmail.com >
2026-05-07 15:41:49 +02:00
Nicola Del Gobbo
9a25fc8a4d
url: process crash via malformed UNC hostname in pathToFileURL()
...
Fixes: https://github.com/nodejs/node/issues/62546
PR-URL: https://github.com/nodejs/node/pull/62574
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
2026-05-07 15:41:49 +02:00
T
900dc758ff
http2: expose writable stream state on compat response
...
Signed-off-by: Terry Chen <terry@example.com >
PR-URL: https://github.com/nodejs/node/pull/63003
Fixes: https://github.com/nodejs/node/issues/63000
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-05-07 15:41:49 +02:00
Charles Kerr
ecb4d49b7b
src: add missing <cstdlib> for abort() declaration
...
builtin_info.cc calls `abort()` but didn't call `<cstdlib>` to pick up
its declaration.
This has been working because `abort()` got picked up by a transitive
declaration from another header, but it broke in Electron when we
rolled our LLVM libc++ snapshot from commit 8e870711923 to 9aaa9a2ee87.
Signed-off-by: Charles Kerr <charles@charleskerr.com >
PR-URL: https://github.com/nodejs/node/pull/63001
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-07 15:41:49 +02:00
Bryan English
5d97919f8f
doc: correct diagnostics_channel built-in channel names
...
The names listed under the Modules and Process built-in channel sections
did not match the channel names actually published by the runtime, so
subscribing with the documented names produced no events.
Signed-off-by: Bryan English <bryan@bryanenglish.com >
PR-URL: https://github.com/nodejs/node/pull/62995
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-05-07 15:41:49 +02:00
Daijiro Wachi
2a9ccc927e
doc: use mjs/cjs blocks for callbackify null reason example
...
PR-URL: https://github.com/nodejs/node/pull/62884
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-07 15:41:48 +02:00
dependabot[bot]
4d396ac4a5
tools: bump the eslint group in /tools/eslint with 4 updates
...
Bumps the eslint group in /tools/eslint with 4 updates: [@eslint/markdown](https://github.com/eslint/markdown ), [eslint](https://github.com/eslint/eslint ), [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) and [globals](https://github.com/sindresorhus/globals ).
Updates `@eslint/markdown` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/eslint/markdown/releases )
- [Changelog](https://github.com/eslint/markdown/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/markdown/compare/v8.0.0...v8.0.1 )
Updates `eslint` from 10.1.0 to 10.2.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v10.1.0...v10.2.0 )
Updates `eslint-plugin-jsdoc` from 62.8.1 to 62.9.0
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v62.8.1...v62.9.0 )
Updates `globals` from 17.4.0 to 17.5.0
- [Release notes](https://github.com/sindresorhus/globals/releases )
- [Commits](https://github.com/sindresorhus/globals/compare/v17.4.0...v17.5.0 )
---
updated-dependencies:
- dependency-name: "@eslint/markdown"
dependency-version: 8.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: eslint
dependency-version: 10.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-jsdoc
dependency-version: 62.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: globals
dependency-version: 17.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62848
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-05-07 15:41:48 +02:00
Node.js GitHub Bot
137e09c8e9
deps: update corepack to 0.34.7
...
PR-URL: https://github.com/nodejs/node/pull/62810
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-05-07 15:41:48 +02:00
Jamie Magee
a0f90000f4
test: export isRiscv64 from common module
...
isRiscv64 is defined and used internally for the timeout multiplier
but was not exported. Export it alongside the other platform booleans
(isLinux, isFreeBSD, isPi, etc.) so tests can use common.isRiscv64
instead of inlining process.arch checks.
Refs: https://github.com/nodejs/build/issues/4099
Signed-off-by: Jamie Magee <jamie.magee@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62609
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-05-07 15:41:48 +02:00
semimikoh
b6219b6362
src: fix crash in GetErrorSource() for invalid using syntax
...
Signed-off-by: semimikoh <ejffjeosms@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62770
Fixes: https://github.com/nodejs/node/issues/62767
Refs: https://github.com/tc39/test262
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-05-07 15:41:48 +02:00
SudhansuBandha
0e2adb3e45
watch: track worker entry files in watch mode
...
Currently, --watch mode only tracks dependencies from the main
module graph (require/import). Worker thread entry points created
via new Worker() are not included, so changes to worker files do
not trigger restarts.
This change hooks into Worker initialization and registers the
worker entry file with watch mode, ensuring restarts when worker
files change.
Fixes: https://github.com/nodejs/node/issues/62275
Signed-off-by: SudhansuBandha <sudhansu9.vssut@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62368
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-05-07 15:41:48 +02:00
Node.js GitHub Bot
14a4cb8fbc
deps: update timezone to 2026b
...
PR-URL: https://github.com/nodejs/node/pull/62962
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-05-07 15:41:48 +02:00
Node.js GitHub Bot
9354bf40e7
tools: update gyp-next to 0.22.1
...
PR-URL: https://github.com/nodejs/node/pull/62961
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-05-07 15:41:48 +02:00
Rich Trott
ef413b5358
doc: fix typo in test.md
...
Signed-off-by: Rich Trott <rtrott@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62960
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-05-07 15:41:47 +02:00
16e8c2b54d
crypto: fix unsigned conversion of 4-byte RSA publicExponent
...
`bigIntArrayToUnsignedInt` used the signed `<<` operator, so when the
most significant byte of a 4-byte input had its top bit set (e.g.
`[0x80, 0x00, 0x00, 0x01]`) the result was a negative Int32 instead of
the intended unsigned 32-bit value. This caused any RSA `publicExponent`
exactly 4 bytes long with the top bit set to be parsed incorrectly.
Coerce the final value with `>>> 0` and add a unit test.
Assisted-by: Claude <noreply@anthropic.com >
Co-Authored-By: Claude <noreply@anthropic.com >
Co-Authored-By: DeepView Autofix <276251120+deepview-autofix@users.noreply.github.com >
Co-Authored-By: Nikita Skovoroda <chalkerx@gmail.com >
Signed-off-by: Nikita Skovoroda <chalkerx@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62839
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-05-07 15:41:47 +02:00
Antoine du Hamel
c23db1ca85
tools: fix commit linter for semver-major release proposals
...
PR-URL: https://github.com/nodejs/node/pull/62993
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-05-07 15:41:47 +02:00
Daijiro Wachi
97e32c7a74
lib: avoid quadratic shift() in startup snapshot callback
...
PR-URL: https://github.com/nodejs/node/pull/62914
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-05-07 15:41:47 +02:00
npm CLI robot
3e1036583a
deps: upgrade npm to 11.13.0
...
PR-URL: https://github.com/nodejs/node/pull/62898
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2026-05-07 15:41:47 +02:00
Mike McCready
76f21c5070
doc: correct typo in PR contribution instructions
...
Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/62738
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-05-07 15:41:47 +02:00
Chengzhong Wu
09e17fe47c
meta: add automation policy
...
PR-URL: https://github.com/nodejs/node/pull/62871
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2026-05-07 15:41:47 +02:00
Anna Henningsen
b5ca5ad4c5
src: simplify TCPWrap::Connect signature
...
Just a little piece of cleanup -- this aligns `TCPWrap::Connect`
with its sibling `TCPWrap::Bind`, deduplicates code and removes
an unnecessary heap allocation.
Signed-off-by: Anna Henningsen <anna@addaleax.net >
PR-URL: https://github.com/nodejs/node/pull/62929
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-05-07 15:41:47 +02:00
Daijiro Wachi
ca02af1f7d
doc: fix duplicate word "of of" in postMessageToThread
...
PR-URL: https://github.com/nodejs/node/pull/62917
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-05-07 15:41:46 +02:00
Daijiro Wachi
46c99ed526
doc: fix duplicate word "for for" in compile cache
...
PR-URL: https://github.com/nodejs/node/pull/62917
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-05-07 15:41:46 +02:00
Daijiro Wachi
6e097ee3f1
tools: consolidate and simplify .editorconfig deps section
...
PR-URL: https://github.com/nodejs/node/pull/62887
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-07 15:41:46 +02:00
Gürgün Dayıoğlu
7bd08ff60a
url: optimize URLSearchParams set/delete duplicate handling
...
PR-URL: https://github.com/nodejs/node/pull/62266
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-05-07 15:41:46 +02:00
Gürgün Dayıoğlu
e95570c054
process: handle rejections only when needed
...
Signed-off-by: Gürgün Dayıoğlu <hey@gurgun.day >
PR-URL: https://github.com/nodejs/node/pull/62919
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com >
2026-05-07 15:41:46 +02:00
Daeyeon Jeong
24a078149a
stream: validate ReadableStream.from iterator objects
...
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62911
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-05-07 15:41:46 +02:00
skooch
01dfe5961c
deps: cherry-pick libuv/libuv@439a54b
...
Original commit message:
unix: treat futimens() as best-effort in copyfile
futimens() may fail with EPERM on CIFS/SMB shares that do not
support setting timestamps. Since preserving timestamps during
copyfile is best-effort, ignore the return value unconditionally.
Refs: https://github.com/libuv/libuv/pull/4396
Fixes: https://github.com/nodejs/node/issues/56248
PR-URL: https://github.com/nodejs/node/pull/62881
Refs: https://github.com/libuv/libuv/pull/5053
Refs: https://github.com/libuv/libuv/pull/4396
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2026-05-07 15:41:46 +02:00
Daijiro Wachi
1a60851734
doc: fix typo in dns.lookup options description
...
PR-URL: https://github.com/nodejs/node/pull/62882
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-05-07 15:41:46 +02:00
Tim Perry
64f15c274a
http: fix leaked error listener on sync HTTP req create + destroy
...
Previously, this resulted in an error listener being added but not
cleaned up when the socket was freed back to the agent pool.
This also updates the docs to clarify when req.destroy() kills the
underlying socket - only if it's called during request processing (more
specifically: after onSocketNT, at which point we may have started
reading & writing).
Signed-off-by: Tim Perry <pimterry@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62872
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-05-07 15:41:46 +02:00
sangwook
d142c584cd
test_runner: align mock timeout api
...
Expose Timeout.close() and Timeout[Symbol.dispose]() from MockTimers.
This keeps fake setTimeout() handles aligned with the public
Timeout API so disposal-based patterns do not throw.
Add targeted coverage for Timeout.close() and
Timeout[Symbol.dispose]().
Signed-off-by: sangwook <rewq5991@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62820
Fixes: https://github.com/nodejs/node/issues/62815
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-05-07 15:41:45 +02:00