Filip Skokan
407cf91656
crypto: guard against size_t overflow on experimental 32-bit arch
...
Refs: https://hackerone.com/reports/3655230
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62626
Backport-PR-URL: https://github.com/nodejs/node/pull/63563
Refs: https://hackerone.com/reports/3655230
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-06-23 01:06:36 +01:00
Filip Skokan
bb2857b85a
crypto: align key argument names in docs and error messages
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62527
Backport-PR-URL: https://github.com/nodejs/node/pull/63563
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-06-23 01:06:35 +01:00
Filip Skokan
b9d5e87880
crypto: accept key data in crypto.diffieHellman() and cleanup DH jobs
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62527
Backport-PR-URL: https://github.com/nodejs/node/pull/63563
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-06-23 01:06:35 +01:00
Filip Skokan
b46d52b283
crypto: unify asymmetric key import through KeyObjectHandle::Init
...
Consolidate all asymmetric key import paths (DER/PEM, JWK, raw) into
a single KeyObjectHandle::Init() entry point with a uniform signature.
Remove the per-type C++ init methods (InitECRaw, InitEDRaw, InitPqcRaw,
InitJwk, InitECPrivateRaw) and their JS-side callers, replacing them
with shared C++ and JS helpers.
createPublicKey, createPrivateKey, sign, verify, and other operations
that accept key material now handle JWK and raw formats directly in
C++, removing redundant JS-to-C++ key handle round-trips.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62499
Backport-PR-URL: https://github.com/nodejs/node/pull/63563
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-06-23 01:06:34 +01:00
Filip Skokan
ccd756d61e
crypto: add TurboSHAKE and KangarooTwelve Web Cryptography algorithms
...
PR-URL: https://github.com/nodejs/node/pull/62183
Backport-PR-URL: https://github.com/nodejs/node/pull/63563
Refs: https://wicg.github.io/webcrypto-modern-algos/#kangarootwelve
Refs: https://wicg.github.io/webcrypto-modern-algos/#turboshake
Refs: https://www.rfc-editor.org/rfc/rfc9861.html
Refs: https://redirect.github.com/openssl/openssl/issues/30304
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-06-23 01:06:33 +01:00
Node.js GitHub Bot
a00297480b
test: update WPT resources, interfaces and WebCryptoAPI
...
PR-URL: https://github.com/nodejs/node/pull/62389
Backport-PR-URL: https://github.com/nodejs/node/pull/63563
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-23 01:06:30 +01:00
Chengzhong Wu
92d4f07dd2
src: remove license headers for new node_profiling files
...
Signed-off-by: Chengzhong Wu <legendecas@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63066
Refs: https://github.com/nodejs/node/pull/62273
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Signed-off-by: Stewart X Addison <sxa@ibm.com >
2026-06-18 21:12:37 +01:00
Ilyas Shabi
8ac5d771c8
src: split profiling helpers from util
...
Signed-off-by: ishabi <ilyasshabi94@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63008
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Signed-off-by: Stewart X Addison <sxa@ibm.com >
2026-06-18 21:12:37 +01:00
Stefan Stojanovic
2551abdb4a
build,win: enable x64 PGO
...
PR-URL: https://github.com/nodejs/node/pull/62761
Refs: https://github.com/nodejs/node/issues/61964
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Signed-off-by: Stewart X Addison <sxa@ibm.com >
2026-06-18 21:12:37 +01:00
Paolo Insogna
9ff36e40f0
build: add --enable-all-experimentals build flag
...
Signed-off-by: Paolo Insogna <paolo@cowtech.it >
PR-URL: https://github.com/nodejs/node/pull/62755
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Signed-off-by: Stewart X Addison <sxa@ibm.com >
2026-06-18 21:12:37 +01:00
Joyee Cheung
2390e3a5ac
doc: remove duplicated sentences in large-pull-requests.md
...
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63650
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-06-18 21:12:37 +01:00
Antoine du Hamel
85d1639495
src: remove TOCTOU race condition when encoding SAB-backed Buffers
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63517
Refs: https://hackerone.com/reports/3752489
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-06-18 21:12:37 +01:00
Matteo Collina
7cead61d21
meta: flip mcollina emails in .mailmap
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/63621
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:37 +01:00
Antoine du Hamel
c605df9e50
util: remove unused functions
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63612
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:37 +01:00
Antoine du Hamel
58fa2ee189
stream: switch to internal sleep binding
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63611
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-06-18 21:12:36 +01:00
Antoine du Hamel
02f35d6dce
lib: define kEnumerableProperty atomically
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63609
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:36 +01:00
npm CLI robot
b76bfcd4fa
deps: upgrade npm to 11.16.0
...
PR-URL: https://github.com/nodejs/node/pull/63602
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:36 +01:00
Guilherme Araújo
fe4540ebdb
util: create hex style cache and fast path
...
Signed-off-by: Guilherme Araújo <arauujogui@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62999
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-06-18 21:12:36 +01:00
Divyanshu Sharma
e4e5137cbd
errors: handle V8 warnings in DisallowJavascriptExecutionScope
...
Defer non-critical warnings to the next event loop iteration when
can_call_into_js() returns false. This prevents crashes when V8
emits warnings during REPL preview evaluation or other contexts
where JavaScript execution is temporarily forbidden.
When a warning is emitted inside DisallowJavascriptExecutionScope,
ProcessEmitWarningGeneric cannot be called immediately. Instead,
use env->SetImmediate() to queue the warning emission for after
the scope exits. This preserves full warning formatting, deprecation
codes, and --redirect-warnings routing.
Signed-off-by: Divyanshu Sharma <Divyanshu88999@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63491
Fixes: https://github.com/nodejs/node/issues/63473
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-06-18 21:12:36 +01:00
Matteo Collina
d3ef4122ee
buffer: increase Buffer.poolSize default to 64 KiB
...
The 8 KiB default has been unchanged since 2015. With the threshold
check `size < (Buffer.poolSize >>> 1)`, this means allocations of 4 KiB
or larger bypass the pool entirely — including 4 KiB itself, a common
page and HTTP-frame size.
Raising the default to 64 KiB extends pool coverage to ~32 KiB
allocations, capturing common sizes used by HTTP parsers, stream
chunks, and small file reads.
Throughput improvements on workers-k=8 fs.readFileSync benchmarks
(Linux/glibc) at the affected sizes, with no regressions elsewhere:
file size | 8 KiB pool | 64 KiB pool | delta
-----------+--------------+---------------+-------
4 KiB | 326k ops/s | 360k ops/s | +10%
8 KiB | 202k ops/s | 254k ops/s | +26%
16 KiB | 148k ops/s | 181k ops/s | +23%
64 KiB | 86k ops/s | 87k ops/s | ~
1 MiB | 12k ops/s | 13k ops/s | ~
Cost: +56 KiB RSS per realm at startup.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/63597
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-06-18 21:12:36 +01:00
Trivikram Kamat
f954ab3f1a
stream: use data listener for compose forwarding
...
Forward Node.js tail stream data through a pipe-style data listener
instead of manually draining readable events. This keeps compose closer
to the stream pipe hot path while preserving backpressure with pause
and resume.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: openai:gpt-5.5
PR-URL: https://github.com/nodejs/node/pull/63593
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-06-18 21:12:36 +01:00
Chengzhong Wu
a08cfcfd35
meta: label "source maps" PRs
...
Signed-off-by: Chengzhong Wu <legendecas@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63591
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:36 +01:00
Chengzhong Wu
7c22ee23aa
build: def NODE_USE_NODE_CODE_CACHE only used in node_mksnapshot
...
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net >
PR-URL: https://github.com/nodejs/node/pull/63588
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-06-18 21:12:36 +01:00
Antoine du Hamel
52a1c18374
doc: update git node land instructions for security releases
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63586
Refs: https://github.com/nodejs/node-core-utils/pull/1043
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-06-18 21:12:36 +01:00
Joyee Cheung
a53b51df38
module: load ESM helpers eagerly in the snapshot
...
Since the ESM loader is captured in the snapshot now, there's
no need to lazy load the helpers. Load them eagerly to capture
them into the snapshot. This also reduces the noise coming out
of --print-bytecode since we no longer compile the helper
functions at run time.
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63550
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2026-06-18 21:12:36 +01:00
Rafael Gonzaga
3e6b4da037
doc: drop --experimental from --permission
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/63583
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-06-18 21:12:36 +01:00
René
d56e8d2512
meta: add vfs subsystem label
...
PR-URL: https://github.com/nodejs/node/pull/62331
Refs: https://github.com/nodejs/node/pull/61478
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk >
2026-06-18 21:12:36 +01:00
Matteo Collina
39f61fb06c
http2: emit session close before stream close
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/63414
Fixes: https://github.com/nodejs/node/issues/63412
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-06-18 21:12:35 +01:00
Matteo Collina
5a95a2b055
test: shorten path in net pipe connect errors
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/63405
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2026-06-18 21:12:35 +01:00
Mert Can Altin
9473c5f05c
src: skip duplicate UTF-8 validation in TextDecoder fatal path
...
Signed-off-by: Mert Can Altin <mertgold60@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63231
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-06-18 21:12:35 +01:00
Jamie Magee
6201cfe488
meta: skip scheduled workflows on forks
...
Guards scheduled jobs in daily.yml, codeql.yml, and scorecard.yml so
they only run on nodejs/node, matching the pattern already used in
tools.yml, stale.yml, and others. This prevents wasted Actions minutes
and failed-run email notifications on forks.
Signed-off-by: Jamie Magee <jamie.magee@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63565
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-06-18 21:12:35 +01:00
Junsu Han
4ec142314c
deps: SQLite: cherry-pick b869ed6b067d623cb1383549f2a18aa35508385d
...
Original commit message:
Fix a bug causing the session module to dereference a NULL pointer when applying a corrupt changeset.
FossilOrigin-Name: e807d4e3798efd532b3d78d1dfe513ed4fbd3cb793dd0ae5c30cae6031422b10
Refs: https://sqlite.org/src/info/e807d4e3798efd53
Signed-off-by: junius-sec <sksch323@naver.com >
PR-URL: https://github.com/nodejs/node/pull/63525
Refs: https://hackerone.com/reports/3736889
Refs: https://github.com/sqlite/sqlite/commit/b869ed6b067d623cb1383549f2a18aa35508385d
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-06-18 21:12:35 +01:00
RonGamzu
12c51547ba
lib: fix typos in esm loader comments
...
Signed-off-by: RonGamzu <37371774+RonGamzu@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/63465
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:35 +01:00
Rafael Gonzaga
84d05163b9
doc: explicitly ask for reproducible in JS
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/63479
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-06-18 21:12:35 +01:00
Kit Dallege and Claude Opus 4.6
7da2a4450e
doc: fix URL postMessage example in worker_threads
...
The example claimed that posting a URL object via MessageChannel would
print an empty object, but since v21.0.0 (commit d920b7c94b ) it
throws a DataCloneError. Update the example and surrounding text to
reflect the current behavior.
Fixes: https://github.com/nodejs/node/issues/60504
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
Signed-off-by: Kit Dallege <xaum.io@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62203
Fixes: https://github.com/nodejs/node/issues/60504
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:35 +01:00
dependabot[bot]
2e4a0d0c91
tools: bump brace-expansion from 5.0.5 to 5.0.6 in /tools/eslint
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.6 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 5.0.6
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/63415
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-06-18 21:12:35 +01:00
Antoine du Hamel
3d79bd8b29
doc: clarify filter option of sqlite.database.applyChangeset
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63515
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2026-06-18 21:12:34 +01:00
Node.js GitHub Bot
e07e7a31e1
crypto: update root certificates to NSS 3.123.1
...
This is the [`certdata.txt`][0] from NSS 3.123.1.
This is the version of NSS that shipped in Firefox 151.0.1 on 2026-05-21
Certificates removed:
- QuoVadis Root CA 2
- QuoVadis Root CA 3
- DigiCert Assured ID Root CA
- DigiCert Global Root CA
- DigiCert High Assurance EV Root CA
- SwissSign Gold CA - G2
- SecureTrust CA
- Secure Global CA
- COMODO Certification Authority
- Certigna
- certSIGN ROOT CA
- Izenpe.com
- AffirmTrust Commercial
- AffirmTrust Networking
- AffirmTrust Premium
- AffirmTrust Premium ECC
- TeliaSonera Root CA v1
- Entrust Root Certification Authority - G2
- Entrust Root Certification Authority - EC1
- Trustwave Global Certification Authority
- Trustwave Global ECC P256 Certification Authority
- Trustwave Global ECC P384 Certification Authority
- GLOBALTRUST 2020
- GTS Root R2
- FIRMAPROFESIONAL CA ROOT-A WEB
[0]: https://raw.githubusercontent.com/nss-dev/nss/refs/tags/NSS_3_123_1_RTM/lib/ckfw/builtins/certdata.txt
PR-URL: https://github.com/nodejs/node/pull/63527
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-06-18 21:12:34 +01:00
Jordan Harband
61826df455
crypto: coerce -0 keylen to +0 in pbkdf2 and scrypt
...
`validateInt32(keylen, 'keylen', 0)` lets `-0` through: `typeof -0` is
`'number'`, `Number.isInteger(-0)` is `true`, and `-0 < 0` is `false`.
The value then reaches the PBKDF2Job binding, whose `IsInt32()` check
fails (V8 boxes `-0` as a HeapNumber rather than a tagged SMI) and
aborts the process with SIGABRT.
Coerce `keylen` to `+0`
after validation so the binding sees a true Int32.
Reachable from any caller that forwards a JSON-parsed value,
since `JSON.parse('{"keylen":-0}').keylen` preserves the sign.
Mirror of the prior pbkdf2 fix. `validateInt32(keylen, 'keylen', 0)`
lets `-0` through (since `-0 < 0` is `false`), and the ScryptJob
binding's `IsInt32()` check at `crypto_scrypt.cc` aborts the process
with SIGABRT because V8 boxes `-0` as a HeapNumber rather than a
tagged SMI. Coerce `keylen` to `+0` after validation.
Signed-off-by: Jordan Harband <ljharb@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63531
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:34 +01:00
Joyee Cheung
5e8ff22d8f
test: remove test-node-output-v8-warning
...
asm.js validation is deprecated and disabled by default in V8,
so there's no longer a stable user-reachable trigger for
`v8::Isolate::kMessageWarning`. Remove the test.
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63469
Fixes: https://github.com/nodejs/node-v8/issues/310
Refs: https://issues.chromium.org/issues/510487707
Refs: https://github.com/nodejs/node/pull/24365
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-06-18 21:12:34 +01:00
Antoine du Hamel
275cf909b6
src,sqlite: only pass xFilter when user provided a callback
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63516
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2026-06-18 21:12:34 +01:00
Node.js GitHub Bot
ee15380950
test: update test426-fixtures to 9b9e225b5a63139e9a95cdd1bf874a8f0b9d131
...
PR-URL: https://github.com/nodejs/node/pull/63373
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-06-18 21:12:34 +01:00
Daijiro Wachi
4f4174aace
doc: fix double spaces in ERR_TLS_INVALID_PROTOCOL_METHOD
...
Signed-off-by: Daijiro Wachi <daijiro.wachi@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63511
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-06-18 21:12:34 +01:00
Node.js GitHub Bot
9e063d9bea
test: update WPT for url to e4a4672e9e
...
PR-URL: https://github.com/nodejs/node/pull/63372
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-06-18 21:12:34 +01:00
James M Snell
f35c91ee68
src: improve token return value check
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63483
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-06-18 21:12:34 +01:00
Trivikram Kamat
503bee4b43
test: deflake async-hooks statwatcher test
...
Wait for the initial missing-file poll before writing watched files.
Otherwise uv_fs_poll can observe the created file as its baseline and
never emit the expected change event.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: openai:gpt-5.5
PR-URL: https://github.com/nodejs/node/pull/63396
Refs: https://github.com/nodejs/reliability/blob/main/reports/2026-05-15.md#jstest-failure
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-06-18 21:12:34 +01:00
Trivikram Kamat
cccc7c32d8
test: avoid test_runner watch restart in spec snapshot
...
Pass explicit test files to the watch-mode spec reporter fixture.
This prevents setup writes from triggering a watch restart.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: openai:gpt-5.5
PR-URL: https://github.com/nodejs/node/pull/63392
Refs: https://github.com/nodejs/node/actions/runs/25983032903/job/76375266688
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-06-18 21:12:34 +01:00
Trivikram Kamat
c89489258c
test: reduce watch mode restart flakiness
...
Start waiting for each watch restart before writing the file, then wait
for a platform-scaled settling period before mutating it again.
This gives watch mode time to process filesystem events and dependency
reporting from the child process on slower CI machines.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com >
Assisted-by: openai:gpt-5.5
PR-URL: https://github.com/nodejs/node/pull/63390
Refs: https://github.com/nodejs/reliability/blob/main/reports/2026-05-16.md#jstest-failure
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-06-18 21:12:34 +01:00
Marco
4c9666b366
tools: skip commit-lint on backport pull requests
...
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63378
Fixes: https://github.com/nodejs/node/issues/63192
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-06-18 21:12:34 +01:00
Moshe Atlow
7dee66cd94
test_runner: dont buffer unordered events in process isolation mode
...
Signed-off-by: Moshe Atlow <moshe@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/63432
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2026-06-18 21:12:33 +01:00