dependabot[bot]
bd34e53a8e
tools: bump the eslint group across 1 directory with 2 updates
...
Bumps the eslint group with 2 updates in the /tools/eslint directory: [eslint](https://github.com/eslint/eslint ) and [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ).
Updates `eslint` from 10.0.1 to 10.0.2
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v10.0.1...v10.0.2 )
Updates `eslint-plugin-jsdoc` from 62.7.0 to 62.7.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v62.7.0...v62.7.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-version: 10.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: eslint-plugin-jsdoc
dependency-version: 62.7.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62092
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:18 +02:00
Filip Skokan
54dc797644
tools: fix daily wpt workflow nighly release version lookup
...
PR-URL: https://github.com/nodejs/node/pull/62076
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:18 +02:00
Richard Lau
30476ddff7
tools: fix example in release proposal linter
...
`changelog-maker` writes 10 character length short form SHA's.
Explicitly set the `git log format` in the example to match.
PR-URL: https://github.com/nodejs/node/pull/62074
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-04-10 14:52:18 +02:00
Marco
531e62cd74
stream: fix TransformStream race on cancel with pending write
...
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62040
Fixes: https://github.com/nodejs/node/issues/62036
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-04-10 14:52:18 +02:00
Jacob Smith
db516eca3a
doc: fix markdown for expectFailure values
...
PR-URL: https://github.com/nodejs/node/pull/62100
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-04-10 14:52:18 +02:00
dependabot[bot]
5245900c05
tools: bump minimatch from 3.1.3 to 3.1.5 in /tools/clang-format
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.1.3 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.3...v3.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62013
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-04-10 14:52:18 +02:00
Chengzhong Wu
78a9aa8f32
lib: fix source map url parse in dynamic imports
...
PR-URL: https://github.com/nodejs/node/pull/61990
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-10 14:52:18 +02:00
dependabot[bot]
b067d74d94
meta: bump step-security/harden-runner from 2.14.2 to 2.15.0
...
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner ) from 2.14.2 to 2.15.0.
- [Release notes](https://github.com/step-security/harden-runner/releases )
- [Commits](https://github.com/step-security/harden-runner/compare/5ef0c079ce82195b2a36a210272d6b661572d83e...a90bcbc6539c36a85cdfeb73f7e2f433735f215b )
---
updated-dependencies:
- dependency-name: step-security/harden-runner
dependency-version: 2.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:17 +02:00
Huáng Jùnliàng
59ad1e4503
tools: bump eslint to v10, babel to v8.0.0-rc.2
...
PR-URL: https://github.com/nodejs/node/pull/61905
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 14:52:17 +02:00
Joyee Cheung
42057c84e2
doc,module: add missing doc for syncHooks.deregister()
...
PR-URL: https://github.com/nodejs/node/pull/61959
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-10 14:52:17 +02:00
Gerhard Stöbich
4213f893ec
src: release context frame in AsyncWrap::EmitDestroy
...
Release the async context frame in AsyncWrap::EmitDestroy to allow
gc to collect it.
This is in special relevant for reused resources like HTTPParser
otherwise they might keep ALS stores alive.
PR-URL: https://github.com/nodejs/node/pull/61995
Fixes: https://github.com/nodejs/node/issues/61882
Refs: https://github.com/nodejs/node/pull/48528
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-04-10 14:52:17 +02:00
Node.js GitHub Bot
7ab885b323
deps: update ada to 3.4.3
...
PR-URL: https://github.com/nodejs/node/pull/62049
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-10 14:52:17 +02:00
Node.js GitHub Bot
fb1c0bda0a
test: update WPT for WebCryptoAPI to 42e47329fd
...
PR-URL: https://github.com/nodejs/node/pull/62048
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:17 +02:00
Guilherme Araújo
2f9c085cf5
sqlite: handle stmt invalidation
...
PR-URL: https://github.com/nodejs/node/pull/61877
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:17 +02:00
조수민
a3751f2249
stream: accept ArrayBuffer in CompressionStream and DecompressionStream
...
PR-URL: https://github.com/nodejs/node/pull/61913
Fixes: https://github.com/nodejs/node/issues/43433
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:17 +02:00
Antoine du Hamel
d886f27485
test: fix skipping behavior for test-runner-run-files-undefined
...
PR-URL: https://github.com/nodejs/node/pull/62026
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:17 +02:00
Mike McCready
ad97045125
doc: include url.resolve() in DEP0169 application deprecation
...
Mark url.resolve() as deprecated
Update also DEP0116 with cross-reference to DEP0169
PR-URL: https://github.com/nodejs/node/pull/62002
Fixes: https://github.com/nodejs/node/issues/61816
Refs: https://github.com/nodejs/node/pull/61780
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-10 14:52:16 +02:00
Nikita Skovoroda
79fb8cbcf5
src: use validate_ascii_with_errors instead of validate_ascii
...
It has better performance
PR-URL: https://github.com/nodejs/node/pull/61122
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:16 +02:00
Antoine du Hamel
6f93c4b287
tools: fix parsing of commit trailers in lint-release-proposal GHA
...
PR-URL: https://github.com/nodejs/node/pull/62077
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
2026-04-10 14:52:16 +02:00
Matteo Collina
0a4ad85ab0
http: validate ClientRequest path on set
...
The `path` property on `ClientRequest` was only validated at
construction time. Add a getter/setter so that the same
`INVALID_PATH_REGEX` check runs whenever `req.path` is reassigned,
preventing invalid characters from reaching `_implicitHeader()`.
PR-URL: https://github.com/nodejs/node/pull/62030
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-10 14:52:16 +02:00
Joyee Cheung
46cfad4138
module: run require.resolve through module.registerHooks()
...
Previously, require.resolve() called Module._resolveFilename() directly,
bypassing any resolve hooks registered via module.registerHooks(). This
patch fixes that.
PR-URL: https://github.com/nodejs/node/pull/62028
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-04-10 14:52:16 +02:00
Rafael Gonzaga
309f37ba42
doc: expand SECURITY.md with non-vulnerability examples
...
PR-URL: https://github.com/nodejs/node/pull/61972
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-04-10 14:52:16 +02:00
Richard Clarke
f8178ac3e6
http: validate headers in writeEarlyHints
...
Add validateHeaderName/validateHeaderValue checks for non-link
headers and checkInvalidHeaderChar for the Link value in HTTP/1.1
writeEarlyHints, closing a CRLF injection gap where header names
and values were concatenated into the raw response without
validation.
Also tighten linkValueRegExp to reject CR/LF inside the <...>
URL portion of Link header values.
PR-URL: https://github.com/nodejs/node/pull/61897
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-10 14:52:16 +02:00
Weixie Cui
2df328d59e
src: fix flags argument offset in JSUdpWrap
...
Signed-off-by: Weixie Cui <cuiweixie@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61948
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:16 +02:00
René
dbb3551b7b
doc: separate in-types and out-types in SQLite conversion docs
...
PR-URL: https://github.com/nodejs/node/pull/62034
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-04-10 14:52:16 +02:00
Node.js GitHub Bot
671ddec2b9
deps: update minimatch to 10.2.4
...
PR-URL: https://github.com/nodejs/node/pull/62016
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-10 14:52:15 +02:00
dependabot[bot]
de1bcfd54c
tools: bump minimatch from 3.1.2 to 3.1.3 in /tools/clang-format
...
Bumps [minimatch](https://github.com/isaacs/minimatch )
from 3.1.2 to 3.1.3.
- [Changelog](http://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.3 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/61977
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:15 +02:00
René
191c433db8
doc: fix small logic error in DETECT_MODULE_SYNTAX
...
PR-URL: https://github.com/nodejs/node/pull/62025
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2026-04-10 14:52:15 +02:00
Richard Lau
492868a7aa
tools: fix permissions for merve update script
...
Add execute permission for `tools/dep_updaters/update-merve.sh` so that
the "Tools and deps update" workflow can run it.
PR-URL: https://github.com/nodejs/node/pull/62023
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:15 +02:00
Antoine du Hamel
f79df03e0b
test: remove unnecessary process.exit calls from test files
...
PR-URL: https://github.com/nodejs/node/pull/62020
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2026-04-10 14:52:15 +02:00
Antoine du Hamel
1319295467
test: skip test-url on --shared-ada builds
...
PR-URL: https://github.com/nodejs/node/pull/62019
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-10 14:52:15 +02:00
René
8511b1c784
doc: fix module.stripTypeScriptTypes indentation
...
PR-URL: https://github.com/nodejs/node/pull/61992
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:15 +02:00
Mike McCready
dd1139f52c
doc: update DEP0040 (punycode) to application type deprecation
...
PR-URL: https://github.com/nodejs/node/pull/61916
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:15 +02:00
Sergey Zelenov
9927335c11
tls: forward keepAlive, keepAliveInitialDelay, noDelay to socket
...
`tls.connect()` silently ignores `keepAlive`, `keepAliveInitialDelay`,
and `noDelay` options. The documentation states it accepts any
`socket.connect()` option, and `net.createConnection()` with the same
options works correctly.
Forward the options through both code paths so `net.Socket`'s
constructor stores them on the internal symbols (`kSetNoDelay`,
`kSetKeepAlive`, `kSetKeepAliveInitialDelay`), which `afterConnect()`
then applies to the handle.
Fixes: https://github.com/nodejs/node/issues/62003
PR-URL: https://github.com/nodejs/node/pull/62004
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:15 +02:00
Richard Lau
774d0be1b3
tools: revert tools GHA workflow to ubuntu-latest
...
The update script for undici requires Docker, which is not available
on `ubuntu-slim`.
PR-URL: https://github.com/nodejs/node/pull/62024
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:14 +02:00
Mert Can Altin
6ac4304c87
sqlite: add limits property to DatabaseSync
...
PR-URL: https://github.com/nodejs/node/pull/61298
Fixes: https://github.com/nodejs/node/issues/61268
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-10 14:52:14 +02:00
Mert Can Altin
a82003bf8b
buffer: optimize buffer.concat performance
...
PR-URL: https://github.com/nodejs/node/pull/61721
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-10 14:52:14 +02:00
Richard Lau
2ea06727c6
test: skip strace test with shared openssl
...
`parallel/test-strace-openat-openssl` was added to check explicitly
for a list of known files that would be opened for a set workload
(`require("crypto")`). This is not reliable when Node.js is linked
to an external/shared OpenSSL library (e.g. it might be configured
to load configuration files from a different default location and/or
load more than one configuration file) so skip this test when Node.js
is built in that way.
PR-URL: https://github.com/nodejs/node/pull/61987
Fixes: https://github.com/nodejs/node/issues/61966
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-04-10 14:52:14 +02:00
Ms2ger
16b8cc6643
lib: improve argument handling in Blob constructor
...
As specified in WebIDL (<https://webidl.spec.whatwg.org/#js-dictionary >),
the fields of a dictionary need to be read in lexicographical order.
PR-URL: https://github.com/nodejs/node/pull/61980
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-04-10 14:52:14 +02:00
Yuya Inoue
c0680d5df7
test: avoid flaky debugger restart waits
...
PR-URL: https://github.com/nodejs/node/pull/61773
Refs: https://github.com/nodejs/node/issues/61762
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:14 +02:00
dependabot[bot]
d91a689d6f
tools: bump minimatch from 3.1.2 to 3.1.3 in /tools/eslint
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.3 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/61976
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:14 +02:00
René
7de8a303c1
inspector: unwrap internal/debugger/inspect imports
...
PR-URL: https://github.com/nodejs/node/pull/61974
Refs: https://github.com/nodejs/node/pull/38161
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-10 14:52:14 +02:00
Igor Shevelenkov
d74efd6834
test_runner: run afterEach on runtime skip
...
Signed-off-by: Igor <igorshevelenkov4@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61525
Fixes: https://github.com/nodejs/node/issues/61462
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-10 14:52:14 +02:00
ndossche
bd5458db29
crypto: fix missing nullptr check on RSA_new()
...
Not checking this can cause a null deref. Since there is already a
null check at the bottom of the function with `NewRSA()`.
PR-URL: https://github.com/nodejs/node/pull/61888
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:13 +02:00
sangwook
8287ca749e
test_runner: expose expectFailure message
...
This change exposes the expectFailure message in the test runner and
adds edge cases for expectFailure ambiguity.
PR-URL: https://github.com/nodejs/node/pull/61563
Fixes: https://github.com/nodejs/node/issues/61570
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-10 14:52:13 +02:00
Matteo Collina
65aa8f68d0
stream: fix pipeTo to defer writes per WHATWG spec
...
The WHATWG Streams spec requires that pipeTo's chunk handling must
queue a microtask before calling the write algorithm. This ensures
that enqueue() does not synchronously trigger writes.
Previously, PipeToReadableStreamReadRequest[kChunk] would synchronously
call writableStreamDefaultWriterWrite(), which violated the spec and
caused the WPT test "enqueue() must not synchronously call write
algorithm" to fail.
Fix by wrapping the write operation in queueMicrotask(), which defers
it to the next microtask as required by the spec.
Refs: https://github.com/whatwg/streams/issues/1243
PR-URL: https://github.com/nodejs/node/pull/61800
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-04-10 14:52:13 +02:00
RafaelGSS
eb77a7a297
src: add C++ support for diagnostics channels
...
Add a C++ API for diagnostics channels that allows native code to check
for subscribers and publish messages without unnecessary JS boundary
crossings. Uses a shared AliasedUint32Array buffer between C++ and JS
to track subscriber counts per channel, enabling a fast inline check
(HasSubscribers) that reads the buffer directly.
PR-URL: https://github.com/nodejs/node/pull/61869
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-04-10 14:52:13 +02:00
Rafael Gonzaga
54009e9c62
doc: explicitly mention Slack handle
...
PR-URL: https://github.com/nodejs/node/pull/61986
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:13 +02:00
Nora Dossche
7302c7ed22
crypto: fix handling of null BUF_MEM* in ToV8Value()
...
The assignment to `bptr` calls `BIO_get_mem_ptr` which can fail and
leave the `bptr` as nullptr. This then later causes a null pointer
deref.
This is inconsistent with uses of the similar function
`BIO_get_mem_data` that do check its return value, e.g.
`node::crypto::X509sToArrayOfStrings()`.
Solve it by checking for a null pointer and handling the `Nothing`
return value at the call sites.
PR-URL: https://github.com/nodejs/node/pull/61885
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:13 +02:00
Node.js GitHub Bot
290fe37d4d
deps: update simdjson to 4.3.1
...
PR-URL: https://github.com/nodejs/node/pull/61930
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-04-10 14:52:13 +02:00