Kit Dallege and Claude Opus 4.6
eb54e709c7
doc: clarify diffieHellman.generateKeys recomputes same key
...
Clarify that calling generateKeys() after a private key has been
set recomputes the same public key deterministically, rather than
implying the public key changes. The public key is fully determined
by the private key, so the result is identical unless the private
key was changed via setPrivateKey().
Fixes: https://github.com/nodejs/node/issues/56990
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62205
Fixes: https://github.com/nodejs/node/issues/56990
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-21 05:57:22 +00:00
Gerhard Stöbich
53b8d3c938
src: use DCHECK in AsyncWrap::MakeCallback instead emiting a warning
...
Replace emitting of a process warning by a DCHECK because the use after
free in http parser is fixed now.
Refs: https://github.com/nodejs/node/pull/61995#issuecomment-3980534771
Refs: https://github.com/nodejs/node/pull/62095
PR-URL: https://github.com/nodejs/node/pull/62795
Refs: https://github.com/nodejs/node/pull/62095
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-21 05:11:01 +00:00
semimikoh
ecf3435daa
doc,src,test: fix dead inspector help URL
...
PR-URL: https://github.com/nodejs/node/pull/62745
Fixes: https://github.com/nodejs/node/issues/62743
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-20 19:57:17 +00:00
dependabot[bot]
dd6a0b5042
tools: bump @node-core/doc-kit in /tools/doc in the doc group
...
Bumps the doc group in /tools/doc with 1 update: [@node-core/doc-kit](https://github.com/nodejs/doc-kit ).
Updates `@node-core/doc-kit` from 1.0.2 to 1.2.0
- [Commits](https://github.com/nodejs/doc-kit/commits )
---
updated-dependencies:
- dependency-name: "@node-core/doc-kit"
dependency-version: 1.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: doc
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62512
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
2026-04-20 17:41:31 +00:00
om-ghante
e02087c9c3
src: fix MaybeStackBuffer char_traits deprecation warning
...
On newer libc++ (shipped with macOS Xcode 16+), std::char_traits<T> for
T not equal to char, wchar_t, char8_t, char16_t, or char32_t is
deprecated and will be removed in a future release. When
MaybeStackBuffer is instantiated with unsigned char or uint8_t (e.g. in
test/cctest/test_util.cc), the ToString() and ToStringView() methods
trigger this deprecation warning because their return types reference
std::basic_string<unsigned char> and std::basic_string_view<unsigned
char>, even though these methods are never actually called for those
types.
Convert ToString() and ToStringView() into member function templates
with a constrained default template parameter, so the return type is
only instantiated when the function is actually called. Extract the
type list into a reusable standard_char_type concept.
PR-URL: https://github.com/nodejs/node/pull/62507
Refs: https://github.com/nodejs/node/issues/62506
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-20 18:23:01 +02:00
Antoine du Hamel
cee146f4b0
doc: remove Ayase-252 and meixg from triagger team
...
PR-URL: https://github.com/nodejs/node/pull/62841
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
2026-04-20 14:49:41 +00:00
Filip Skokan
c3dd52a1aa
test: accept OpenSSL 4 generic internal error for DH key-type mismatches
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:44 +00:00
Filip Skokan
12750e1372
test: account for RFC 7919 FFDHE negotiation in OpenSSL 4.0
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:43 +00:00
Filip Skokan
fb1e373586
test: skip tls-deprecated secp256k1 on OpenSSL 4.0
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:42 +00:00
Filip Skokan
ba835bf3c3
test: use an always invalid cipher and cover OpenSSL 4.0 behaviours
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:42 +00:00
Filip Skokan
f974dbdded
test: use valid DER OCSP responses
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:41 +00:00
Filip Skokan
38aeed28c3
test: skip test-tls-error-stack when engines are unsupported
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:40 +00:00
Filip Skokan
b2403f2524
test: accept renamed OpenSSL 4.0 error code and reason
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:39 +00:00
Filip Skokan
e729c5f912
test: update test/addons/openssl-binding for OpenSSL 4.0
...
TLS_server_method() was added in OpenSSL 1.1.0.
All version-specific methods were deprecated in OpenSSL 1.1.0.
All version-specific methods were removed in OpenSSL 4.0.
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62805
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-20 14:04:38 +00:00
Chengzhong Wu
952c9e8494
node-api: update libuv ABI stability note
...
PR-URL: https://github.com/nodejs/node/pull/62789
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-04-20 14:04:25 +00:00
eungi and Claude Sonnet 4.6
5e0bcab754
doc: clarify dns.lookup() callback signature when all is true
...
Document the `addresses` argument returned by the callback when
`options.all` is true, and note that `address` and `family` are
not provided in that case. Fixes #57355
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62800
Fixes: https://github.com/nodejs/node/issues/57355
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-20 12:47:49 +00:00
Levi Zim
e0c9637afc
tools: exclude @node-core/doc-kit from dependabot cooldown
...
`@node-core/doc-kit` is an internal package maintained within the nodejs
organization, which is unlikely to be a direct source of supply-chain
attack. The cooldown only slow down the propagation of new improvements
from doc-kit to Node.js repo and causes surprises.
The cooldown should be configured in the `doc-kit` repository instead.
Currently there is a 3-day cooldown. Maybe we need to increase that to
match the 5-day cooldown used in this repository.
This patch excludes `@node-core/doc-kit` from the cooldown.
Note that `@node-core/doc-kit` is the only dependency in `tools/doc`.
But to be future proof, I did't remove the cooldown directly.
PR-URL: https://github.com/nodejs/node/pull/62775
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-20 10:07:57 +00:00
Paolo Insogna
75606703e8
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 >
2026-04-20 09:21:27 +00:00
Paolo Insogna
14e16db1bf
lib: add new methods and error codes
...
Signed-off-by: Paolo Insogna <paolo@cowtech.it >
PR-URL: https://github.com/nodejs/node/pull/62762
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
2026-04-19 18:39:01 +00:00
Joyee Cheung
a79e224eb2
debugger: add edit-free runtime expression probes to node inspect
...
Add a non-interactive probe mode to `node inspect` for inspecting
runtime values in a run-to-completion application. This allows
users to perform printf-style debugging without having to modify
the application code and clean up afterwards, it also supports
structured output to be consumed by tools.
Probe mode launches the application, sets one or more source
breakpoints, evaluates one expression at each hit, and prints a
single text or JSON report when execution ends.
Interface:
node inspect [--json] [--preview] [--timeout=<ms>] [--port=<port>]
--probe <file>:<line>[:<col>] --expr <expr> ...
[--] <script> [args...]
Example:
```js
// cli.js
let maxRSS = 0;
for (let i = 0; i < 2; i++) {
const { rss } = process.memoryUsage();
maxRSS = Math.max(maxRSS, rss);
}
```
```
$ node inspect --probe cli.js:5 --expr 'rss' cli.js
Hit 1 at cli.js:5
rss = 54935552
Hit 2 at cli.js:5
rss = 55083008
Completed
```
(Prettified JSON to fit in commit message restrictions).
```js
$ node inspect --json --probe cli.js:5 --expr 'rss' cli.js
{"v":1,"probes":[{"expr":"rss","target":["cli.js",5]}],
"results":[
{"probe":0,"event":"hit","hit":1,
"result":{"type":"number","value":55443456,
"description":"55443456"}},
{"probe":0,"event":"hit","hit":2,
"result":{"type":"number","value":55574528,
"description":"55574528"}},
{"event":"completed"}]}
```
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62713
Reviewed-By: Jan Martin <jan.krems@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-19 15:59:10 +00:00
Filip Skokan
58a8e1da5d
test: mark test-snapshot-reproducible flaky
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62808
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-19 01:05:38 +00:00
Antoine du Hamel
adeb14a3fd
esm: add ERR_REQUIRE_ESM_RACE_CONDITION
...
PR-URL: https://github.com/nodejs/node/pull/62462
Fixes: https://github.com/nodejs/node/issues/62432
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-18 21:24:31 +00:00
Filip Skokan
2f5cbec94d
tools: re-enable undici WPTs in daily wpt.fyi job
...
Refs: https://github.com/nodejs/node/pull/60444
Closes: https://github.com/nodejs/undici/issues/4644
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62677
Fixes: https://github.com/nodejs/undici/issues/4644
Refs: https://github.com/nodejs/node/pull/60444
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-04-18 21:09:38 +00:00
René
1bc6394601
lib: use js-only implementation of isDataView()
...
PR-URL: https://github.com/nodejs/node/pull/62780
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-18 20:04:06 +00:00
René
ad44dc429c
src: use context-free V8 message column getters
...
PR-URL: https://github.com/nodejs/node/pull/62778
Refs: https://issues.chromium.org/issues/42210793
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
2026-04-18 19:08:51 +00:00
Filip Skokan
978a8c405e
lib: fix lint in internal/webstreams/util.js
...
PR-URL: https://github.com/nodejs/node/pull/62806
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-04-18 20:03:12 +02:00
Aviv Keller
da92246ae9
meta: broaden stale bot
...
PR-URL: https://github.com/nodejs/node/pull/62658
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-18 14:28:03 +00:00
Antoine du Hamel
1266013d19
stream: simplify readableStreamFromIterable
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62651
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-04-18 14:27:54 +00:00
Ms2ger
df5a92517b
lib: fix sequence argument handling in Blob constructor
...
This uses the existing WebIDL infrastructure to handle the iteration
over the argument correctly according to the specification.
Note that we can't avoid looping over the input twice: we only know the
value of the 'endings' option after converting the blob parts into an
array.
PR-URL: https://github.com/nodejs/node/pull/62179
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
2026-04-18 14:27:45 +00:00
Moshe Atlow
31b9e60979
test_runner: add testId to test events
...
Signed-off-by: Moshe Atlow <moshe@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/62772
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2026-04-18 10:10:56 +00:00
Paolo Insogna
0fe3949390
doc: add experimental modules lifetime policy
...
Signed-off-by: Paolo Insogna <paolo@cowtech.it >
PR-URL: https://github.com/nodejs/node/pull/62753
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-18 10:10:46 +00:00
Antoine du Hamel
aacf7501ce
tools: use upstream version of OpenSSL in test-shared
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62679
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-18 09:10:01 +00:00
René
64b3e83568
test: check contextify contextual store behavior in strict mode
...
Previously, this behavior was tested indirectly by the REPL tests.
However, REPL now uses DONT_CONTEXTIFY for its VM context.
PR-URL: https://github.com/nodejs/node/pull/62571
Refs: https://github.com/nodejs/node/pull/62371
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-18 08:27:24 +00:00
Tobias Nießen
320b450cd1
crypto: strengthen argument CHECKs in TurboSHAKE
...
Instead of first discarding the top 24 bits of the argument and then
checking that the low 8 bits are within the expected range, first check
that the original 32-bit integer is within the expected range and then
discard the top 24 bits.
PR-URL: https://github.com/nodejs/node/pull/62763
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-17 21:45:35 +00:00
Richard Lau and Abdirahim Musse
5f02bdb7de
src: workaround AIX libc++ std::filesystem bug
...
On AIX libc++ is returning `EEXIST` instead of `EACCES` when using
`std::filesystem::remove_all()` without appropriate permissions to
recursively remove the directory.
Co-authored-by: Abdirahim Musse <abdirahim.musse@ibm.com >
Signed-off-by: Richard Lau <richard.lau@ibm.com >
PR-URL: https://github.com/nodejs/node/pull/62788
Refs: https://github.com/nodejs/node/issues/62790
Reviewed-By: Abdirahim Musse <abdirahim.musse@ibm.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
2026-04-17 16:31:18 +00:00
Antoine du Hamel
59072b8a95
src: clean up experimental flag variables
...
- `fetch` is no longer disable by a CLI flag
- `node:sqlite` requires SQLite, obviously
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62759
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-04-17 15:37:44 +00:00
Ben Noordhuis
c1d7150e56
node-api: add napi_create_external_sharedarraybuffer
...
Creates a SharedArrayBuffer from externally managed memory.
Fixes: https://github.com/nodejs/node/issues/62259
PR-URL: https://github.com/nodejs/node/pull/62623
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
2026-04-17 15:10:36 +00:00
Kevin Eady
2503408b08
node-api: execute tsfn finalizer after queue drains when aborted
...
A threadsafe function may utilize its context in its `call_js` callback.
The context should be valid during draining of the queue when the
threadsafe function is aborted.
Fixes: https://github.com/nodejs/node/issues/60026
PR-URL: https://github.com/nodejs/node/pull/61956
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-17 15:10:21 +00:00
Filip Skokan
4e612c0865
url: align default argument handling for URLPattern with webidl
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62719
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-17 12:38:50 +00:00
Antoine du Hamel
afb8bcd70d
test: skip test-temporal-with-zoneinfo on system-icu builds
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62754
Refs: https://github.com/nodejs/node/issues/62676
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
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 >
2026-04-17 11:29:42 +00:00
Filip Skokan
4cb1f28413
lib: improve Web Cryptography key validation ordering
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62749
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-04-17 07:47:49 +00:00
flakey5
b178842482
meta: pass release version to release worker
...
Re https://github.com/nodejs/release-cloudflare-worker/issues/159 https://github.com/nodejs/release-cloudflare-worker/pull/756
Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/62777
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2026-04-17 02:44:50 +00:00
Matteo Collina
9a7e7b889b
stream: fix nested compose error propagation
...
PR-URL: https://github.com/nodejs/node/pull/62556
Fixes: https://github.com/nodejs/node/issues/60083
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-17 01:46:10 +00:00
Ali Hassan
bee1087258
lib: reject SharedArrayBuffer in web APIs per spec
...
Signed-off-by: Ali Hassan <ali-hassan27@outlook.com >
PR-URL: https://github.com/nodejs/node/pull/62632
Refs: https://github.com/nodejs/node/issues/59688
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-16 19:53:24 +00:00
Antoine du Hamel
6909ea6db9
tools: pass the Temporal disable flag when disabled in shell.nix
...
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62733
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-16 14:29:38 +00:00
Abdirahim Musse
db9da5d184
build: add weak symbol detection to export script
...
AIX export files support the `weak` keyword to mark weak symbols.
This helps preserve C++ weak symbol semantics and preventing potential
linker conflicts.
PR-URL: https://github.com/nodejs/node/pull/62656
Refs: https://www.ibm.com/docs/en/aix/7.2.0?topic=l-ld-command#ld__a3119106d
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-16 13:24:44 +00:00
Abdirahim Musse
263ebf0e35
build: filter hidden visibility symbols on AIX
...
Without these changes we are getting back linker errors
AIX with clang builds:
```text
ld: 0711-407 ERROR: Symbol [SYMBOL_NAME]
Visibility is not allowed on a reference to an imported symbol.
```
Not including hidden symbols in the export files matches the
recomendation by XLC documentation:
> When using export lists, it is not recommended to put symbols with
> hidden visibility in the lists.
PR-URL: https://github.com/nodejs/node/pull/62656
Refs: https://www.ibm.com/docs/en/openxl-c-and-cpp-aix/17.1.4?topic=libraries-symbol-exports-visibilities
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-16 13:24:43 +00:00
Abdirahim Musse
142b593485
deps: V8: cherry-pick 7107287
...
Original commit message:
aix: add required changes to build with clang
Change-Id: Icc78c58831306aa2f227843b0b4ec2321585fa64
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7107287
Reviewed-by: Toon Verwaest <verwaest@chromium.org >
Commit-Queue: Clemens Backes <clemensb@chromium.org >
Reviewed-by: Leszek Swirski <leszeks@chromium.org >
Cr-Commit-Position: refs/heads/main@{#104364}
PR-URL: https://github.com/nodejs/node/pull/62656
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-16 13:24:41 +00:00
Abdirahim Musse
aba7a48e44
deps: fix aix implicit declaration in OpenSSL
...
This seems like a bug in AIX header files because the examples
show including the headers but upon inspecting these files there
are no declarations for sendmmsg and others:
https://www.ibm.com/docs/en/aix/7.2.0?topic=s-sendmmsg-subroutine
For now we can claim to not have these functions.
Alternatively we can declare these ourselves if we are AIX 7.2 or newer.
The actual functions look to be available in libc.
GCC also has the same implicit function declaration but
it happily moves forward.
Clang started making this an explict error in clang 16:
https://www.redhat.com/en/blog/new-warnings-and-errors-clang-16
PR-URL: https://github.com/nodejs/node/pull/62656
Refs: https://www.ibm.com/docs/en/aix/7.2.0?topic=s-sendmmsg-subroutine
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-16 13:24:39 +00:00
Abdirahim Musse
48a442be08
build: aix add conditonal flags for clang builds
...
Some gcc flags dont work on clang:
-mfprnd
-mno-popcntb
-fno-extern-tls-init
So now we conditionally add them when clang is not enabled
Also for clang builds we need to pass some additonal flags:
-fno-integrated-as
-fno-xl-pragma-pack
These flags are discuessed in:
https://chromium-review.googlesource.com/c/chromium/src/+/7120638
PR-URL: https://github.com/nodejs/node/pull/62656
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-16 13:24:37 +00:00