Filip Skokan
be8237240c
crypto: handle DH operation failures
...
Report DH failures instead of aborting or returning an empty secret.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64851
Backport-PR-URL: https://github.com/nodejs/node/pull/65087
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-07 00:42:09 +02:00
Filip Skokan
b65a8f3875
crypto: preserve RSA-PSS legacy pubkey DER
...
Recreate the historical rsaEncryption AlgorithmIdentifier used by
X509Certificate legacy pubkey output for restricted and unrestricted
RSA-PSS keys without relying on deprecated RSA APIs.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64547
Backport-PR-URL: https://github.com/nodejs/node/pull/65087
Refs: https://github.com/nodejs/node/pull/64211
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-07 00:42:08 +02:00
Filip Skokan
49f2ae204b
crypto: cleanse provider private key copies
...
Clear provider-exported RSA, EC, and DH private BIGNUMs before freeing
them. Also cleanse OSSL_PARAM builder copies and the plaintext DER
intermediate used for encrypted traditional PEM output.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64547
Backport-PR-URL: https://github.com/nodejs/node/pull/65087
Refs: https://github.com/nodejs/node/pull/64211
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-07 00:42:06 +02:00
Filip Skokan
a5d4ac8208
crypto: handle incomplete RSA private keys
...
Treat missing private RSA parameters as an export failure instead of
passing null BIGNUM pointers to the JWK encoder. Also stop constructing
a usable RSA view when reading an optional parameter itself fails.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64547
Backport-PR-URL: https://github.com/nodejs/node/pull/65087
Refs: https://github.com/nodejs/node/pull/64211
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-07 00:42:05 +02:00
Filip Skokan
b72c0b9616
crypto: retain legacy DH validation
...
Limit the g >= p rejection needed by the provider backend to OpenSSL 3.
Preserve the legacy DiffieHellman object and expose the validation
result through verifyError as before.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64547
Backport-PR-URL: https://github.com/nodejs/node/pull/65087
Refs: https://github.com/nodejs/node/pull/64211
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-07 00:42:04 +02:00
Filip Skokan
24a1be5886
crypto: limit KangarooTwelveParams customization to 512 bytes
...
To align with a future OpenSSL-imposed limit.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64557
Backport-PR-URL: https://github.com/nodejs/node/pull/65087
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-07 00:42:03 +02:00
Filip Skokan
0290e0a61e
crypto: split OpenSSL 3, BoringSSL, and legacy backends
...
This separates the native crypto backend paths for OpenSSL >= 3,
BoringSSL, and legacy OpenSSL. The OpenSSL >= 3 path now builds with
`OPENSSL_API_COMPAT=30000` and `OPENSSL_NO_DEPRECATED`, moving normal
crypto/TLS code away from APIs that OpenSSL 3.0.0 marks deprecated.
BoringSSL remains on its own branch, and OpenSSL < 3 remains the legacy
fallback.
The exception is ENGINE support. ENGINE APIs are isolated into a
dedicated compatibility target so they can remain available while the
JS-facing engine APIs are runtime-deprecated in 27.x. That gives us a
clear removal point for 28.x, without letting ENGINE usage leak back
into the strict OpenSSL 3 path.
The split also makes the eventual OpenSSL 1.1.1 removal easier to reason
about. Once support for OpenSSL < 3 is dropped, the legacy branch can be
removed in a focused follow-up, possibly targeting 27.x, instead of
untangling mixed version guards throughout the crypto implementation.
No public crypto or TLS API behavior is intentionally changed.
Assisted-by: Codex:gpt-5
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64211
Backport-PR-URL: https://github.com/nodejs/node/pull/65087
Refs: https://github.com/nodejs/node/issues/56733
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-07 00:42:02 +02:00
Kamal Rawal
c7a04401cb
doc: fix grammar and punctuation in dgram documentation
...
Signed-off-by: Rawal27 <obviouslykamal@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64957
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2026-08-06 16:00:25 +02:00
npm CLI robot
c4e02f0fbc
deps: upgrade npm to 11.19.0
...
PR-URL: https://github.com/nodejs/node/pull/64883
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-08-06 16:00:25 +02:00
Node.js GitHub Bot
d5a57ed4dd
deps: update nghttp3 to 1.18.0
...
PR-URL: https://github.com/nodejs/node/pull/64943
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-06 16:00:25 +02:00
Kamal Rawal
331e5e8f62
doc: fix grammar and editorial issues in addons documentation
...
Signed-off-by: Rawal27 <obviouslykamal@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64952
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2026-08-06 16:00:25 +02:00
Tim Perry
0ad55e5618
http: fix writableFinished and 'finish' after write errors
...
Only emit 'finish' and set writableFinished once all data has actually
been flushed successfully. end() callbacks now report the outcome like
stream.Writable: called with null on finish, or with the error that
prevented the flush.
Signed-off-by: Tim Perry <pimterry@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64847
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-08-06 16:00:24 +02:00
Trivikram Kamat
2cfa96f5cb
stream: preserve push signal abort reason
...
Pass the stream-wide signal reason directly to writer.fail() so valid
non-Error abort reasons are not replaced with an AbortError.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: codex:gpt-5.6-sol
PR-URL: https://github.com/nodejs/node/pull/64798
Fixes: https://github.com/nodejs/node/issues/64797
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-08-06 16:00:24 +02:00
Christopher Hiller
232287fcc6
doc: formalize fn/name as part of TestOptions API
...
`TestOptions` as provided to `node:test`'s `test`/`it` supports both
`name` and `fn` as options per its implementation.
I'd like to formalize this as part of the public, documented API.
### Motivation
I have a use-case for consuming both fields. I'd like to be able to
return the result of a function to `test`/`it` without needing to spread
the parameters; e.g.:
```js
const testOptionsFactory = (opts = {}) => {
return {
fn: () => { /* .. */ },
name: opts.name
};
};
test(testOptionsFactory({name: 'foo'}));
```
If I cannot rely on this behavior, then I would need to instead return
an array of parameters and spread them:
```js
const testParamsFactory = (opts = {}) => {
return opts.name !== undefined
? [opts.name, () => { /* .. */ }] : [() => { /* .. */ }];
};
test(...testParamsFactory({name: 'foo'}));
```
I don't think it's too terribly controversial that the former is more
ergonomic than the latter.
### Next Steps
Once this lands, I plan to propose the addition of these fields to
`@types/node`. Since the fields are not currently publicly documented, I
can't justify such a change.
Signed-off-by: Christopher Hiller <boneskull@boneskull.com >
PR-URL: https://github.com/nodejs/node/pull/64946
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-08-06 16:00:24 +02:00
Node.js GitHub Bot
51d413150a
deps: update minimatch to 10.2.6
...
PR-URL: https://github.com/nodejs/node/pull/64945
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:24 +02:00
Node.js GitHub Bot
21f79ce140
deps: update simdjson to 4.6.6
...
PR-URL: https://github.com/nodejs/node/pull/64942
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:24 +02:00
Node.js GitHub Bot
7a4960d6a9
deps: update acorn to 8.18.0
...
PR-URL: https://github.com/nodejs/node/pull/64941
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:24 +02:00
Node.js GitHub Bot
5c423aa113
deps: update googletest to 1b6f64d659944658a4c685b7bd9f04c1c3b8a39b
...
PR-URL: https://github.com/nodejs/node/pull/64940
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-08-06 16:00:24 +02:00
Node.js GitHub Bot
40561e61b0
deps: update nghttp2 to 1.70.0
...
PR-URL: https://github.com/nodejs/node/pull/64939
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-08-06 16:00:24 +02:00
René
7f9efeb445
doc: remove references to ca/crl as per-context QuicSession options
...
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk >
PR-URL: https://github.com/nodejs/node/pull/64769
Refs: https://github.com/nodejs/node/pull/62876
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-08-06 16:00:23 +02:00
Trivikram Kamat
90a8b23db0
sqlite: invalidate sessions when closing database
...
DatabaseSync::DeleteSessions() deleted native sqlite3_session handles
without clearing the pointers held by their Session wrappers. Reopening
the database allowed stale session handles to be used, crashing the
process.
Track Session wrappers and delete sessions through Session::Delete() so
the wrappers are marked closed.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: codex:gpt-5.6-sol
PR-URL: https://github.com/nodejs/node/pull/64783
Fixes: https://github.com/nodejs/node/issues/64782
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-08-06 16:00:23 +02:00
dependabot[bot]
cf425ad935
meta: bump actions/stale from 10.3.0 to 11.0.0
...
Bumps [actions/stale](https://github.com/actions/stale ) from 10.3.0 to 11.0.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899...4391f3da665fdf50b6810c1a66712fb9ba21aa93 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: 11.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/64935
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:23 +02:00
dependabot[bot]
26fa9cc32b
meta: bump github/codeql-action/analyze from 4.36.2 to 4.37.3
...
Bumps [github/codeql-action/analyze](https://github.com/github/codeql-action ) from 4.36.2 to 4.37.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/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 )
---
updated-dependencies:
- dependency-name: github/codeql-action/analyze
dependency-version: 4.37.3
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/64934
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:23 +02:00
dependabot[bot]
c90fa82cd7
meta: bump github/codeql-action/autobuild from 4.36.2 to 4.37.3
...
Bumps [github/codeql-action/autobuild](https://github.com/github/codeql-action ) from 4.36.2 to 4.37.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/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 )
---
updated-dependencies:
- dependency-name: github/codeql-action/autobuild
dependency-version: 4.37.3
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/64933
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:23 +02:00
dependabot[bot]
314893253a
meta: bump actions/setup-python from 6.3.0 to 7.0.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 6.3.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/ece7cb06caefa5fff74198d8649806c4678c61a1...5fda3b95a4ea91299a34e894583c3862153e4b97 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/64932
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:23 +02:00
dependabot[bot]
6ab711278f
meta: bump github/codeql-action/init from 4.36.2 to 4.37.3
...
Bumps [github/codeql-action/init](https://github.com/github/codeql-action ) from 4.36.2 to 4.37.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/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 )
---
updated-dependencies:
- dependency-name: github/codeql-action/init
dependency-version: 4.37.3
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/64931
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:23 +02:00
dependabot[bot]
9138f5892a
meta: bump Mozilla-Actions/sccache-action from 0.0.10 to 0.0.11
...
Bumps [Mozilla-Actions/sccache-action](https://github.com/mozilla-actions/sccache-action ) from 0.0.10 to 0.0.11.
- [Release notes](https://github.com/mozilla-actions/sccache-action/releases )
- [Commits](https://github.com/mozilla-actions/sccache-action/compare/9e7fa8a12102821edf02ca5dbea1acd0f89a2696...fc920bf0ec8de6ee65d409111f7ec508035751ba )
---
updated-dependencies:
- dependency-name: Mozilla-Actions/sccache-action
dependency-version: 0.0.11
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/64930
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:23 +02:00
dependabot[bot]
b50139e89f
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.2 to 8.0.3
- [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.2...v8.0.3 )
Updates `eslint` from 10.5.0 to 10.8.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v10.5.0...v10.8.0 )
Updates `eslint-plugin-jsdoc` from 63.0.9 to 63.3.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v63.0.9...v63.3.1 )
Updates `globals` from 17.7.0 to 17.8.0
- [Release notes](https://github.com/sindresorhus/globals/releases )
- [Commits](https://github.com/sindresorhus/globals/compare/v17.7.0...v17.8.0 )
---
updated-dependencies:
- dependency-name: "@eslint/markdown"
dependency-version: 8.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: eslint
dependency-version: 10.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-jsdoc
dependency-version: 63.3.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: globals
dependency-version: 17.8.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/64928
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:23 +02:00
dependabot[bot]
3ef3f934d4
meta: bump github/codeql-action/upload-sarif from 4.36.2 to 4.37.3
...
Bumps [github/codeql-action/upload-sarif](https://github.com/github/codeql-action ) from 4.36.2 to 4.37.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/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 )
---
updated-dependencies:
- dependency-name: github/codeql-action/upload-sarif
dependency-version: 4.37.3
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/64927
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:22 +02:00
dependabot[bot]
a0a33127ae
meta: bump step-security/harden-runner from 2.19.4 to 2.20.0
...
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner ) from 2.19.4 to 2.20.0.
- [Release notes](https://github.com/step-security/harden-runner/releases )
- [Commits](https://github.com/step-security/harden-runner/compare/9af89fc71515a100421586dfdb3dc9c984fbf411...bf7454d06d71f1098171f2acdf0cd4708d7b5920 )
---
updated-dependencies:
- dependency-name: step-security/harden-runner
dependency-version: 2.20.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/64926
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:22 +02:00
dependabot[bot]
4ad2afbf33
meta: bump ossf/scorecard-action from 2.4.3 to 2.4.4
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.4.3 to 2.4.4.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](https://github.com/ossf/scorecard-action/compare/4eaacf0543bb3f2c246792bd56e8cdeffafb205a...2d1146689b8cda280b9bc96326124645441f03bc )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-version: 2.4.4
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/64925
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:22 +02:00
Matteo Collina
42a967d7ed
test: unflake debugger and REPL tests
...
Run the debugger function-formatting checks against an auto-resumed,
long-lived target so they do not depend on initial-break rendering.
Use a synchronous VM evaluator for the REPL handleError test. Submit the
throwing input separately and wait for clean REPL teardown.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/64718
Refs: https://github.com/nodejs/node/actions/runs/30080039199/job/89439279468?pr=64339
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-08-06 16:00:22 +02:00
Archkon
ee54d9d4d2
http: avoid aborting IncomingMessage signal on normal close
...
IncomingMessage 'close' is emitted when request handling completes, not
only when the underlying connection is closed. Using that event to abort
IncomingMessage.signal makes the signal abort after a request body is
read normally.
Track the underlying socket close instead, and detach the listener when
the request or response completes normally. This keeps the signal from
being aborted by normal stream completion or later keep-alive socket
closure, while still aborting it when the connection closes during the
active request lifecycle.
Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/64392
Fixes: https://github.com/nodejs/node/issues/64390
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-08-06 16:00:22 +02:00
greenhead
b54aa83cc6
doc: fix typo in maintaining-dependencies.md
...
Signed-off-by: greenhead <shren0812@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64896
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-08-06 16:00:22 +02:00
Rafael Gonzaga
f4e427803c
doc: add RafaelGSS as last security release stewards
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/64843
Refs: https://github.com/nodejs-private/security-release/pull/74
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-08-06 16:00:22 +02:00
Matteo Collina
e277bc4608
tls: fix SNICallback certificate selection
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/64700
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-08-06 16:00:22 +02:00
greenhead
f2cd6df3f3
doc: fix typos in documentation
...
Signed-off-by: greenhead <shren0812@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64900
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-08-06 16:00:22 +02:00
Filip Skokan
ba27e72ff8
crypto: fix Argon2 bypassing FIPS mode
...
The private OSSL_LIB_CTX used for OSSL_set_max_threads() inherits no
configuration, so Argon2 escaped FIPS mode and --openssl-config.
Check availability against the default context, and create the private
one only when lanes > 1.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64776
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-08-06 16:00:21 +02:00
dependabot[bot]
5460c464a0
tools: bump brace-expansion from 5.0.7 to 5.0.9 in /tools/eslint
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 5.0.7 to 5.0.9.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.7...v5.0.9 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 5.0.9
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/64904
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-06 16:00:21 +02:00
Kirill Saied
4a425b41d9
build,tools: fix shared library cross-compile
...
Fixes: https://github.com/nodejs/node/issues/52664
Signed-off-by: PickBas <sayed.kirill@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63963
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-08-06 16:00:21 +02:00
Kamal Rawal
d5627162bd
doc: improve TestContext hook descriptions
...
Signed-off-by: Rawal27 <obviouslykamal@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64899
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-08-06 16:00:21 +02:00
Trivikram Kamat
fc80ff5f7a
stream: skip zero-byte broadcast writes
...
Zero-byte writes append entries to the broadcast buffer without
increasing bufferedBytes. This allows write('') and writev([]) to
bypass backpressure and grow the buffer without bound.
Treat zero-byte batches as successful no-ops, matching push streams,
and add coverage for the synchronous and asynchronous writer methods.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: codex:gpt-5.6-sol
PR-URL: https://github.com/nodejs/node/pull/64772
Fixes: https://github.com/nodejs/node/issues/64771
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-08-06 16:00:21 +02:00
Node.js GitHub Bot
51090925b0
deps: update zlib to 1.3.2.1-motley-42c2f19
...
PR-URL: https://github.com/nodejs/node/pull/64744
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-08-06 16:00:21 +02:00
YspritanHyzygy and Claude Opus 5
72ee03bd2e
doc: document stream.isDestroyed()
...
`stream.isDestroyed()` has been exported since v19.9.0 but was never
documented, while its siblings `isErrored()`, `isReadable()` and
`isWritable()` all have entries in `doc/api/stream.md`.
Unlike those, `isDestroyed()` rejects Web streams: it returns `null`
for anything that is not a Node.js stream. The accepted types are
therefore documented as `Readable|Writable|Duplex` rather than also
listing `ReadableStream`/`WritableStream`.
Refs: https://github.com/nodejs/node/pull/45671
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Signed-off-by: YspritanHyzygy <yspritan@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64789
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-08-06 16:00:21 +02:00
Node.js GitHub Bot
1fefdda18e
crypto: update root certificates to NSS 3.125
...
This is the certdata.txt[0] from NSS 3.125.
This is the version of NSS that shipped in Firefox 153.0 on 2026-07-21.
Certificates removed:
- Entrust Root Certification Authority
- SecureSign Root CA12
[0] https://raw.githubusercontent.com/nss-dev/nss/refs/tags/NSS_3_125_RTM/lib/ckfw/builtins/certdata.txt
PR-URL: https://github.com/nodejs/node/pull/64746
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-08-06 16:00:21 +02:00
Mike McCready
995141eb81
doc: add contributing detail for git Signed-off-by trailer
...
Add -s option to examples using git commit
Add description for git commit -s
Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/64862
Fixes: https://github.com/nodejs/node/issues/64799
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-08-06 16:00:21 +02:00
Trivikram Kamat
486cff4c08
stream: honor AbortSignal in Writer.end()
...
Reject Writer.end() when its signal is already aborted without
closing the writer. For push writers, reject the pending operation
if the signal aborts while buffered data drains, while allowing the
graceful close to continue.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: codex:gpt-5.6-sol
PR-URL: https://github.com/nodejs/node/pull/64727
Fixes: https://github.com/nodejs/node/issues/64726
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-08-06 16:00:20 +02:00
Kamal Rawal
dc30379310
doc: fix duplicated word in test snapshot docs
...
Signed-off-by: Rawal27 <obviouslykamal@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64837
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-08-06 16:00:20 +02:00
Jungwon Sohn
7aab0c3183
quic: fix coverage comment typo
...
Correct the coverage typo in TODO comments for QUIC modules.
Signed-off-by: sjungwon03 <sjungwon03@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/64486
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-08-06 16:00:20 +02:00
Donghoon Kang
e88d5b78bc
typings: add heap_utils internalBinding types
...
Add typings for the heap_utils internal binding and register it in
InternalBindingMap.
Signed-off-by: HoonDongKang <d159123@naver.com >
PR-URL: https://github.com/nodejs/node/pull/64816
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
2026-08-06 16:00:20 +02:00