Tim Perry
03f27fef16
http: add writeInformation to send arbitrary 1xx status codes
...
Signed-off-by: Tim Perry <pimterry@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63155
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-05-15 16:16:41 +00:00
Node.js GitHub Bot
c8206c8080
deps: update simdjson to 4.6.4
...
PR-URL: https://github.com/nodejs/node/pull/62811
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-05-15 16:16:28 +00:00
Tim Perry
f190a048c3
quic: send correct OpenSSL alert for ALPN mismatches
...
Signed-off-by: Tim Perry <pimterry@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63193
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-05-15 14:37:45 +00:00
Matteo Collina
274d799ad1
http2: validate non-link headers in writeEarlyHints
...
Validate header names and values for non-link hints passed to
writeEarlyHints() in the HTTP/2 compat layer using assertValidHeader()
and checkIsHttpToken(), consistent with the HTTP/1.1 validation added
in https://github.com/nodejs/node/pull/61897 .
Previously, hints were forwarded into the headers object without any
validation, allowing invalid characters in header names/values to
surface as opaque errors deeper in the HTTP/2 stack.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/62017
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-05-15 14:37:31 +00:00
James M Snell
e9c49ea46f
quic: fixup quic stream variable chunk len
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63230
Fixes: https://github.com/nodejs/node/issues/63216
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-05-15 06:39:30 -07:00
Moshe Atlow
57508024c3
test_runner: fix hooks test context
...
Signed-off-by: Moshe Atlow <moshe@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/63285
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-05-15 10:46:21 +00:00
Moshe Atlow
fa1e1f4fd4
test_runner: fix diagnostics channel context tracking
...
Signed-off-by: Moshe Atlow <moshe@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/63283
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-05-15 10:46:09 +00:00
Daijiro Wachi
676e9da784
repl: fix dedup comparing normalized line against raw history
...
Signed-off-by: Daijiro Wachi <daijiro.wachi@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62886
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-15 18:02:14 +09:00
Trivikram Kamat
6482073897
stream: preserve toReadableSync batch after backpressure
...
Keep the current batch and index across _read() calls so chunks that
remain after push() returns false are emitted on later reads.
Fixes: https://github.com/nodejs/node/issues/63275
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/63276
Fixes: https://github.com/nodejs/node/issues/63275
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-05-15 07:00:15 +00:00
Antoine du Hamel
841fc901f1
tools: fix test426 updater
...
The previous version produces a commit that does pass the linter
because of a too-long commit title.
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63271
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-14 23:14:29 +00:00
Robin Malfait
a73fafb5cb
doc: reference correct function in Module docs
...
Signed-off-by: Robin Malfait <malfait.robin@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63247
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-14 22:20:00 +00:00
Trivikram Kamat
2edd842e2a
stream: cache minimum cursor count in share
...
Track the number of consumers at the cached minimum cursor in share()
so the minimum is only recomputed when the last consumer at that cursor
advances or detaches.
This avoids scanning every consumer on each trim attempt when multiple
consumers advance through a shared buffer.
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/63262
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-05-14 20:51:54 +00:00
Antoine du Hamel
f56c4c5a9d
test: move FFI tests to NATIVE_SUITES
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63165
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-14 20:51:41 +00:00
Mike McCready
843dc5f0d5
doc: replace Visual Studio 2022 Evergreen version reference with 17.14
...
Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/63211
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-05-14 16:54:51 +00:00
Mike McCready
da860f9e36
doc: recommend explicitly Tier 1 or 2 for production applications
...
Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/63187
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-14 16:54:38 +00:00
Marco Ippolito
bf7e79c264
2026-05-13, Version 22.22.3 'Jod' (LTS)
...
PR-URL: https://github.com/nodejs/node/pull/63250
2026-05-13 20:37:10 +02:00
ChrisJr404
a192f19ee7
doc: document Temporal configure flags in BUILDING.md
...
Note the default-on status of Temporal support in Node.js 26 and
document the --v8-enable-temporal-support and
--v8-disable-temporal-support options along with the cargo and rustc
auto-detection behavior introduced in nodejs/node#61806 .
Refs: https://github.com/nodejs/node/issues/63225
Signed-off-by: ChrisJr404 <chris@hacknow.com >
PR-URL: https://github.com/nodejs/node/pull/63248
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-05-13 14:55:20 +00:00
Node.js GitHub Bot
d2ce815dc5
meta: move one or more collaborators to emeritus
...
PR-URL: https://github.com/nodejs/node/pull/63235
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-05-13 14:55:06 +00:00
Yilong Li
c24e552cc9
node-api: support SharedArrayBuffer in napi_create_typedarray
...
Signed-off-by: umuoy1 <burningdian@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62710
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com >
2026-05-13 14:54:54 +00:00
Daijiro Wachi
a159b57078
lib: fix typo idenity => identity
...
PR-URL: https://github.com/nodejs/node/pull/63112
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-05-13 14:22:55 +02:00
Daijiro Wachi
6916e6453f
lib: fixes validator message
...
PR-URL: https://github.com/nodejs/node/pull/62823
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-13 19:14:02 +09:00
github-actions[bot]
131fd844f9
doc: run license-builder
...
PR-URL: https://github.com/nodejs/node/pull/63232
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-05-13 01:15:24 +00:00
Richard Lau
d5beddb735
tools: filter V8 scripts for build toolchain
...
Patch the build scripts for V8 when running the V8 CI for Linux on
ppc64le and s390x to workaround inconsistencies between the nightly
build toolchain used by V8 and the released versions that we use from
the Linux distribution.
Signed-off-by: Richard Lau <richard.lau@ibm.com >
PR-URL: https://github.com/nodejs/node/pull/63069
Refs: https://github.com/ibmruntimes/v8-build/blob/49b55c036da148bd18b546f19b731a0fe92b6a33/bin/v8.sh#L62-L71
Refs: https://github.com/nodejs/build/issues/4265
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-05-13 01:15:13 +00:00
Robo
c363bec2f0
crypto: improve system certificate enumeration logic on macOS
...
1) Fixed macOS default for missing kSecTrustSettingsResult
When kSecTrustSettingsResult is absent from a trust settings dictionary,
Apple specifies kSecTrustSettingsResultTrustRoot as the default value.
Previously, the trust result evaluation (deny check, self-issued check,
TrustAsRoot check) was inside the block that only executed when
kSecTrustSettingsResult was explicitly present. When the key was absent,
the function fell through to return UNSPECIFIED, incorrectly rejecting
self-signed certificates that should have been trusted via the default.
Move the trust result evaluation outside the conditional block so the
default value of kSecTrustSettingsResultTrustRoot flows through the
same code path as explicit values. This aligns with Chromium's
trust_store_mac.cc implementation.
2) Fix CFRelease leak in IsTrustDictionaryTrustedForPolicy: the
CFDictionaryRef returned by SecPolicyCopyProperties(policy_ref)
was not released when the policy OID matched kSecPolicyAppleSSL.
3) Deduplicate certificates: SecItemCopyMatching can return the same
certificate from multiple keychains.
4) Filter expired certificates.
Signed-off-by: deepak1556 <hop2deep@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62576
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-05-12 16:37:28 +00:00
Node.js GitHub Bot
6eaa60c4c6
test: update WPT for wasm/jsapi to 288c467d35
...
PR-URL: https://github.com/nodejs/node/pull/63136
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-12 15:48:19 +00:00
Matthias Liedtke
678b46a181
deps: V8: cherry-pick 435a2cdf664c
...
Original commit message:
[wasm] Update WebAssembly.Exception JS API
WebIDL specifies the existence of a
`WebAssembly.Exception.prototype.stack` getter.
WebIDL also expects the constructor to have 2 parameters (plus an
optional one).
https://webassembly.github.io/spec/js-api/#exceptions
Bug: 336347912, 42204334
Change-Id: I128e976a84f942dcf9b93a157534b15fad0f9215
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7697976
Commit-Queue: Matthias Liedtke <mliedtke@chromium.org >
Auto-Submit: Matthias Liedtke <mliedtke@chromium.org >
Commit-Queue: Clemens Backes <clemensb@chromium.org >
Reviewed-by: Clemens Backes <clemensb@chromium.org >
Cr-Commit-Position: refs/heads/main@{#106215}
Refs: https://github.com/v8/v8/commit/435a2cdf664ce02e0c6ea9401fbae600663e47cb
PR-URL: https://github.com/nodejs/node/pull/63136
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-05-12 15:48:18 +00:00
Edy Silva
6009d937f5
src,sqlite: remove dead code
...
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63204
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-05-12 13:06:54 +00:00
Ali Hassan
349d226257
deps: cherry-pick libuv/libuv@a43e543
...
Original commit message:
unix: fix pedantic compiler warnings (#5052 )
Fixes: https://github.com/libuv/libuv/issues/5051
Fixes: https://github.com/nodejs/node/issues/63196
Refs: https://github.com/libuv/libuv/pull/5052
Refs: https://github.com/libuv/libuv/commit/a43e543dbffba93f014fe8360a5edbe8d6ce8500
PR-URL: https://github.com/nodejs/node/pull/63222
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-05-12 08:53:48 +00:00
inoway46
1dc50f951e
test: relax test-memory-usage arrayBuffers check
...
Signed-off-by: inoway46 <inoueyuya416@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63244
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-05-12 10:09:13 +02:00
Antoine du Hamel
a05b47fbad
test: reduce flakiness of different-registry-per-thread
...
There was an assumption that the `WeakRef` would be kept alive but
it seems to not always be true on Windows. This commit makes sure
it's kept alive.
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63244
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-05-12 10:09:13 +02:00
Antoine du Hamel
2cc4c81e10
Revert "test: reduce flakiness of different-registry-per-thread"
...
This reverts commit 130398ab05 .
PR-URL: https://github.com/nodejs/node/pull/63244
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-05-12 10:09:12 +02:00
Chemi Atlow
b06aee06d3
test_runner: add tags option and tag-name filter
...
Adds a `tags` option to test(), it(), suite(), and describe() that
accepts an array of string labels. Tags are canonicalized to lowercase
and inherited from suites to nested tests by union. Reporter events
expose the tag set on every test, and TestContext exposes the test's
tags via `context.tags`.
Filtering is done by literal tag name through the new
`--experimental-test-tag-filter=<tag>` flag (or `testTagFilters` on
run()). The flag may be specified more than once; tests must contain
every filter to run. Untagged tests are excluded under any positive
filter.
The tagging mechanism is gated behind a one-shot ExperimentalWarning.
Signed-off-by: atlowChemi <chemi@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/63221
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-05-12 06:51:19 +00:00
Node.js GitHub Bot
a37c61d1c2
tools: update nixpkgs-unstable to b3da656039dc7a6240f27b2ef8cc6a3ef3b
...
PR-URL: https://github.com/nodejs/node/pull/63218
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-05-12 01:19:14 +00:00
Joyee Cheung
78bbee385b
debugger: add --help to node inspect and improve docs
...
- Add `--help` / `-h` to `node inspect` covering both interactive and
non-interactive probe modes. The help text is printed when
`--help`/`-h` appears before any positional argument to avoid
hijacking `--help` passed to a child script.
- Improve the documentation of probe mode and add examples, explain
same-location probe coalescing, TDZ caveat for let/const bindings,
basename matching and exit code behavior. Also move it to a
section parallel to interactive mode. Remove recommendation of
evaluating structured expressions as that is prone to missing
info in JSON mode.
Drive-by: When probe mode exits due to invalid arguments, exit with
`kInvalidCommandLineArgument` (9) instead of `kGenericUserError` (1).
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63201
Reviewed-By: Jan Martin <jan.krems@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-05-11 21:54:19 +00:00
Paolo Insogna
a2aeb72bff
deps: add missing static linking targets for libffi
...
Signed-off-by: Paolo Insogna <paolo@cowtech.it >
PR-URL: https://github.com/nodejs/node/pull/63168
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-05-11 17:30:23 +00:00
James M Snell
58cd0b8df2
quic: support --allow-net permissions
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/63184
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2026-05-11 09:08:10 -07:00
Filip Skokan
1a02250a16
tools: add boringssl to tools/nix/openssl-matrix.nix
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63206
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-05-11 15:36:56 +00:00
Filip Skokan
e107f3c3c0
src: add BoringSSL EVP enumeration fallback
...
BoringSSL declares EVP_CIPHER_do_all_sorted and
EVP_MD_do_all_sorted, but stock no-decrepit builds do not provide
those symbols. Add a Node build flag that keeps ncrypto and its
dependents on a local BoringSSL fallback list when libdecrepit is
absent.
Keep embedders that provide the EVP enumeration symbols on the normal
OpenSSL-compatible path, matching Electron's patched BoringSSL build.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63206
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-05-11 15:36:55 +00:00
Antoine du Hamel
a349018c94
tools: use different branch for tool updates on staging branches
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63110
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-05-11 15:36:41 +00:00
Matteo Collina
20e6a54b55
doc: add large pull requests contributing guide
...
- Exclude routine dependency/WPT/bot PRs from the policy
- Replace design document requirement with detailed PR description
- Clarify dependency commit ordering for squash landing
- Remove splitting strategies that contradict self-contained PRs
- Add links from CONTRIBUTING.md, pull-requests.md,
collaborator-guide.md
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/62829
Fixes: https://github.com/nodejs/node/issues/62752
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
2026-05-11 08:45:18 +00:00
RoomWithOutRoof
0a60e9013b
lib: narrow ReadableStreamBYOBRequest.view return type to Uint8Array
...
Follow WHATWG streams spec update: https://github.com/whatwg/streams/pull/1367
ReadableStreamBYOBRequest.view is always constructed as a Uint8Array.
This changes the documented return type from ArrayBufferView to
Uint8Array per the updated spec.
Fixes: https://github.com/nodejs/node/issues/62952
Signed-off-by: Jah-yee <166608075+Jah-yee@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/63017
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
2026-05-11 07:36:19 +00:00
Matteo Collina
6f81dc3680
meta: ignore AI assistants files
...
Ignore CLAUDE.md and AGENTS.md in .gitignore, and exclude
them from markdown and ESLint linting.
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/62612
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-05-11 07:36:07 +00:00
Antoine du Hamel
130398ab05
test: reduce flakiness of different-registry-per-thread
...
There was an assumption that the `WeakRef` would be kept alive but
it seems to not always be true on Windows. This commit makes sure
it's kept alive.
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63209
Fixes: https://github.com/nodejs/node/issues/63056
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
2026-05-11 04:47:51 +00:00
Antoine du Hamel
49aef0d3f5
doc: remove unnecessary <!-- eslint- magic comments
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63200
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-05-10 15:06:35 +00:00
Antoine du Hamel
ccab9ac506
doc: fix inconsistencies in CJS code snippets
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63199
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-05-10 14:16:15 +00:00
MJSHANG
e15f90559b
doc: clarify SEA platform support excludes darwin-x64
...
The Platform support section of the single-executable-applications doc
listed `macOS` without qualifying which architecture is supported.
SEA on x64 macOS is not supported and is skipped in CI; only arm64
macOS is exercised.
Refs: https://github.com/nodejs/node/issues/62893
Signed-off-by: mokashang <64570909+mokashang@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/63181
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-05-10 07:38:57 +00:00
James M Snell
facd71e685
quic: remove unused env_ variable in session_manager.h/cc
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63177
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-05-09 10:30:06 -07:00
James M Snell
187b4d3fcd
quic: remove unused binding variable in session.cc
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63177
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-05-09 10:30:05 -07:00
Filip Skokan
bbf51ad24c
test: update tls/crypto behaviour expectations when using BoringSSL
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63161
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-05-08 19:27:18 +00:00
Filip Skokan
34e62e967a
tls: add unsupported renegotiation error
...
Map BoringSSL's native renegotiation failure to
ERR_TLS_RENEGOTIATION_UNSUPPORTED when TLSSocket#renegotiate() is
called. This avoids exposing an implementation-specific OpenSSL error
when the TLS backend does not support caller-initiated renegotiation.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/63161
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-05-08 19:27:17 +00:00