Node.js GitHub Bot
2e1a565a55
deps: update ada to 3.4.4
...
PR-URL: https://github.com/nodejs/node/pull/62414
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-10 14:52:29 +02:00
Node.js GitHub Bot
d0418bad10
deps: update timezone to 2026a
...
PR-URL: https://github.com/nodejs/node/pull/62164
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:29 +02:00
dependabot[bot]
a1c3c901c0
tools: bump picomatch from 4.0.3 to 4.0.4 in /tools/eslint
...
Bumps [picomatch](https://github.com/micromatch/picomatch ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62439
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-04-10 14:52:29 +02:00
Kohei
0c8f802ec2
inspector: add Target.getTargets and extract TargetManager
...
PR-URL: https://github.com/nodejs/node/pull/62487
Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 14:52:29 +02:00
Node.js GitHub Bot
53aad66415
deps: update googletest to 2461743991f9aa53e9a3625eafcbacd81a3c74cd
...
PR-URL: https://github.com/nodejs/node/pull/62484
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:29 +02:00
René
56741a1303
doc: move sqlite type conversion section to correct level
...
PR-URL: https://github.com/nodejs/node/pull/62482
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:29 +02:00
Node.js GitHub Bot
19a52a1abe
test: update WPT for url to fc3e651593
...
PR-URL: https://github.com/nodejs/node/pull/62379
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:29 +02:00
Antoine du Hamel
1c6f5ed7c2
tools: adopt the --check-for-duplicates NCU flag
...
PR-URL: https://github.com/nodejs/node/pull/62478
Refs: https://github.com/nodejs/node-core-utils/pull/1035
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:29 +02:00
Antoine du Hamel
ed2d0cb1bf
build: support empty libname flags in configure.py
...
PR-URL: https://github.com/nodejs/node/pull/62477
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-10 14:52:28 +02:00
Node.js GitHub Bot
90fab71a84
deps: update simdjson to 4.5.0
...
PR-URL: https://github.com/nodejs/node/pull/62382
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 14:52:28 +02:00
Yuya Inoue
111ba9bd5b
test: wait for reattach before initial break on restart
...
PR-URL: https://github.com/nodejs/node/pull/62471
Refs: https://github.com/nodejs/node/issues/61762
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
2026-04-10 14:52:28 +02:00
James M Snell
0897c6cc08
test: disable flaky WPT Blob test on AIX
...
The test Blob-array-buffer.any.js can be flaky on
AIX due to a recognized race condition in v8.
The failed assert is in deps/v8/src/base/platform/platform-aix.cc
on line 199, preceeded by the comment:
> If this check fails it's most likely due to a racing condition
> where another thread has mapped the same address right before we
> do. Since this could cause hard-to-debug issues, potentially with
> security impact, and we can't recover from this, the best we can do
> is abort the process.
Disabling the test on AIX until the underlying issue can
be resolved (if it can be resolved at all) is really the
only option currently.
Reliability Report: https://github.com/nodejs/reliability/blob/main/reports/2026-03-28.md
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode/Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62470
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-10 14:52:28 +02:00
Filip Skokan
1dbf3bedbe
src: improve EC JWK import performance
...
PR-URL: https://github.com/nodejs/node/pull/62396
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-10 14:52:28 +02:00
Mert Can Altin
cd84af747b
src: handle null backing store in ArrayBufferViewContents::Read
...
Fixes: https://github.com/nodejs/node/issues/62342
src: handle null backing store in ArrayBufferViewContents::Read
PR-URL: https://github.com/nodejs/node/pull/62343
Fixes: https://github.com/nodejs/node/issues/62342
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-04-10 14:52:28 +02:00
Richard Lau
a416ddf6d9
deps: V8: cherry-pick cf1bce40a5ef
...
Original commit message:
[wasm] Fix S128Const on big endian
Since http://crrev.com/c/2944437 globals are no longer little endian
enforced.
S128Const handling in the initializer needs to take this into account
and byte reverse values which are hard coded in little endian order.
This is currently causing failures on Node.js upstream:
https://github.com/nodejs/node/pull/59034#issuecomment-4129144461
Change-Id: Ifcc9ade93ee51565ab19b16e9dadf0ff5752f7a6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7704213
Commit-Queue: Milad Farazmand <mfarazma@ibm.com >
Reviewed-by: Manos Koukoutos <manoskouk@chromium.org >
Cr-Commit-Position: refs/heads/main@{#106082}
Refs: https://github.com/v8/v8/commit/cf1bce40a5ef4c7c1da351754f5bf526c0c96463
PR-URL: https://github.com/nodejs/node/pull/62449
Refs: https://github.com/v8/v8/commit/cf1bce40a5ef4c7c1da351754f5bf526c0c96463
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:28 +02:00
npm CLI robot
4d9123e57d
deps: upgrade npm to 11.12.1
...
PR-URL: https://github.com/nodejs/node/pull/62448
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 14:52:28 +02:00
jakecastelli
deb0b78460
esm: fix typo in worker loader hook comment
...
PR-URL: https://github.com/nodejs/node/pull/62475
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:27 +02:00
Filip Skokan
4c206ecb31
quic: remove CryptoKey support from session keys option
...
PR-URL: https://github.com/nodejs/node/pull/62335
Refs: https://github.com/nodejs/node/issues/55293
Refs: https://github.com/nodejs/node/pull/62321
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-04-10 14:52:27 +02:00
Ali Hassan
a6ced7d272
buffer: improve performance of multiple Buffer operations
...
- copyBytesFrom: calculate byte offsets directly instead of
slicing into an intermediate typed array
- toString('hex'): use V8 Uint8Array.prototype.toHex() builtin
- fill: add single-char ASCII fast path
- indexOf: use indexOfString directly for ASCII encoding
- swap16/32/64: add V8 Fast API functions
PR-URL: https://github.com/nodejs/node/pull/61871
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-10 14:52:27 +02:00
sangwook
f5f21d36a6
test_runner: add exports option for module mocks
...
Add options.exports support in mock.module() and normalize option
shapes through a shared exports path.
Keep defaultExport and namedExports as aliases, emit runtime
deprecation warnings for legacy options, and update docs and tests,
including output fixtures and coverage snapshots.
Refs: https://github.com/nodejs/node/issues/58443
PR-URL: https://github.com/nodejs/node/pull/61727
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-04-10 14:52:27 +02:00
Matteo Collina
b15ea64ed9
zlib: fix use-after-free when reset() is called during write
...
The Reset() method did not check the write_in_progress_ flag before
resetting the compression stream. This allowed reset() to free the
compression library's internal state while a worker thread was still
using it during an async write, causing a use-after-free.
Add a write_in_progress_ guard to Reset() that throws an error if a
write is in progress, matching the existing pattern used by Close()
and Write().
PR-URL: TODO
Refs: https://hackerone.com/reports/3609132
PR-URL: https://github.com/nodejs/node/pull/62325
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:27 +02:00
Guy Bedford
b93bf7dbfc
esm: fix source phase identity bug in loadCache eviction
...
PR-URL: https://github.com/nodejs/node/pull/62415
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2026-04-10 14:52:27 +02:00
Rafael Gonzaga
12b04d17d5
doc: add Rafael to last security release steward
...
PR-URL: https://github.com/nodejs/node/pull/62423
Refs: https://github.com/nodejs-private/security-release/pull/71
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-10 14:52:27 +02:00
Filip Skokan
4f553cdc01
src: enable compilation/linking with OpenSSL 4.0
...
PR-URL: https://github.com/nodejs/node/pull/62410
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:27 +02:00
Yuya Inoue
1c3d93bfab
test: avoid flaky run wait in debugger restart test
...
PR-URL: https://github.com/nodejs/node/pull/62112
Refs: https://github.com/nodejs/node/issues/61762
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:27 +02:00
dependabot[bot]
b53377e8fe
tools: bump flatted from 3.4.1 to 3.4.2 in /tools/eslint
...
Bumps [flatted](https://github.com/WebReflection/flatted ) from 3.4.1 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.4.1...v3.4.2 )
---
updated-dependencies:
- dependency-name: flatted
dependency-version: 3.4.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62375
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:26 +02:00
Huáng Jùnliàng
f102e79b80
tools: bump eslint deps
...
PR-URL: https://github.com/nodejs/node/pull/62356
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 14:52:26 +02:00
Kit Dallege and Claude Opus 4.6
c4567e4a8d
doc: fix overstated Date header requirement in response.sendDate
...
The docs stated "HTTP requires the Date header in responses" which
oversimplifies the actual requirement. Per RFC 9110 Section 6.6.1,
the Date header is required only in most responses (2xx/3xx/4xx from
servers with a clock), not all. Reference the specific RFC section.
Fixes: https://github.com/nodejs/node/issues/42619
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62206
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:26 +02:00
Tim Perry
b0cbfe38a4
crypto: add crypto::GetSSLCtx API for addon access to OpenSSL contexts
...
This intended to replace usage of the unsupported _external field,
offering an official API for native addons to access OpenSSL directly
while reducing the JS API and internal field exposure.
PR-URL: https://github.com/nodejs/node/pull/62254
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:26 +02:00
Filip Skokan
dc034a4ac9
crypto: reject ML-KEM/ML-DSA PKCS#8 import without seed in SubtleCrypto
...
Reject importing ML-KEM and ML-DSA PKCS#8 private keys that do not
include a seed, throwing NotSupportedError.
Also add tests for importing PKCS#8 keys with a mismatched expanded key.
Refs: https://redirect.github.com/WICG/webcrypto-modern-algos/pull/34
PR-URL: https://github.com/nodejs/node/pull/62218
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-04-10 14:52:26 +02:00
Mowafak Almahaini
384a41047f
doc: enhance clarification about the main field
...
removed "this" to enhance sentence flow.
PR-URL: https://github.com/nodejs/node/pull/62302
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:26 +02:00
Jeff Matson
93d19b1a1c
doc: minor typo fix
...
PR-URL: https://github.com/nodejs/node/pull/62358
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-04-10 14:52:26 +02:00
Rafael Gonzaga
3db35d2c59
doc: add path to vulnerabilities.json mention
...
Refs: https://github.com/nodejs/node-core-utils/commit/89df0538426b32826db9f8e39a3d1f687d42abaa
PR-URL: https://github.com/nodejs/node/pull/62355
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-04-10 14:52:26 +02:00
Matteo Collina
bfc8a12977
test_runner: make it compatible with fake timers
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/59272
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2026-04-10 14:52:26 +02:00
Filip Skokan
57b105c9d5
doc: deprecate CryptoKey use in node:crypto
...
Refs: https://github.com/nodejs/node/issues/55293
PR-URL: https://github.com/nodejs/node/pull/62321
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:26 +02:00
Filip Skokan
59ac10a4fd
lib: make SubtleCrypto.supports enumerable
...
PR-URL: https://github.com/nodejs/node/pull/62307
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-10 14:52:25 +02:00
Edy Silva
e0cde40e1d
test_runner: set non-zero exit code when suite errors occur
...
PR-URL: https://github.com/nodejs/node/pull/62282
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2026-04-10 14:52:25 +02:00
Edy Silva
2cb3573735
src,sqlite: fix filterFunc dangling reference
...
PR-URL: https://github.com/nodejs/node/pull/62281
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:25 +02:00
Chengzhong Wu
09f7920267
build: fix timezone-update path references
...
PR-URL: https://github.com/nodejs/node/pull/62280
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:25 +02:00
chris
490168c993
doc: fix small environment_variables typo
...
PR-URL: https://github.com/nodejs/node/pull/62279
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:25 +02:00
Huáng Jùnliàng
f5d74f8216
tools: add eslint-plugin-regexp
...
PR-URL: https://github.com/nodejs/node/pull/62093
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-10 14:52:25 +02:00
Marco
c44f53b544
stream: preserve error over AbortError in pipeline
...
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62113
Fixes: https://github.com/nodejs/node/issues/62089
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-04-10 14:52:25 +02:00
Xavier Stouder
0291be584b
doc: test and test-only targets do not run linter
...
`make test` and `make test-only` targets no longer runs linters.
This commit updates the inline comments and building doc to reflect
reality.
Fixes: https://github.com/nodejs/node/issues/58606
PR-URL: https://github.com/nodejs/node/pull/62120
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-04-10 14:52:25 +02:00
Mert Can Altin
70f8057258
src: use stack allocation in indexOf latin1 path
...
PR-URL: https://github.com/nodejs/node/pull/62268
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
2026-04-10 14:52:25 +02:00
Stewart X Addison
83416a640a
test: skip test-cluster-dgram-reuse on AIX 7.3
...
Signed-off-by: Stewart X Addison <sxa@ibm.com >
PR-URL: https://github.com/nodejs/node/pull/62238
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:24 +02:00
Kit Dallege and Claude Opus 4.6
ba0a82a1e1
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
...
Add explicit wording that fs.ReadStream and fs.WriteStream should not
be constructed directly, matching the existing pattern used by fs.Stats
("not to be created directly using the new keyword"). The factory
functions fs.createReadStream() and fs.createWriteStream() are the
supported API.
Fixes: https://github.com/nodejs/node/issues/40546
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62208
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:24 +02:00
Marco
78ac17f426
module: fix coverage of mocked CJS modules imported from ESM
...
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62133
Fixes: https://github.com/nodejs/node/issues/61709
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-10 14:52:24 +02:00
kovan and jorge guerrero
a035bd5235
doc,test: clarify --eval syntax for leading '-' scripts
...
If the script passed to --eval starts with a hyphen, the CLI parser
treats it as another option flag. Document the --eval=<script> form
as the workaround and add tests for --eval=-42, --eval=-0, and the
-e -p missing-argument error.
Co-authored-by: jorge guerrero <grrr.jrg@gmail.com >
Refs: https://github.com/nodejs/node/issues/43397
Refs: https://github.com/nodejs/node/pull/61962
PR-URL: https://github.com/nodejs/node/pull/62244
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:24 +02:00
sangwook
7b28fb9812
util: allow color aliases in styleText
...
Fixes an issue where `util.styleText()` would throw an error for
valid color aliases like 'grey' in Node.js >= 25.7.0. It now uses
`ObjectGetOwnPropertyNames` instead of `ObjectKeys` to fetch both
keys and aliases.
Fixes: https://github.com/nodejs/node/issues/62177
PR-URL: https://github.com/nodejs/node/pull/62180
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2026-04-10 14:52:24 +02:00
Node.js GitHub Bot
952d715028
deps: update sqlite to 3.51.3
...
PR-URL: https://github.com/nodejs/node/pull/62256
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2026-04-10 14:52:24 +02:00