Commit Graph
46281 Commits
Author SHA1 Message Date
Marco 4d2d6de1b6 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-03-18 06:04:26 +00:00
Xavier Stouder 9fc6b64c12 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-03-17 23:19:31 +00:00
Mert Can Altin f08e2e06eb 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-03-17 20:27:43 +00:00
Antoine du Hamel 3db22062cf tools: fix timeout errors in lint-nix job
PR-URL: https://github.com/nodejs/node/pull/62265
Fixes: https://github.com/nodejs/node/issues/62219
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
2026-03-17 16:36:20 +00:00
Stewart X Addison 06a8240384 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-03-17 16:03:31 +00:00
Kit DallegeandClaude Opus 4.6 193c49505a 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-03-17 16:03:11 +00:00
Marco 6f7b948a49 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-03-17 16:02:55 +00:00
kovanandjorge guerrero 9e89867fe6 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-03-17 16:53:37 +01:00
René ac6375417a stream: promote DEP0201 to runtime deprecation
PR-URL: https://github.com/nodejs/node/pull/62173
Refs: https://github.com/nodejs/node/pull/61632
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2026-03-17 13:38:50 +00:00
René b4ea323833 diagnostics_channel: ensure tracePromise consistency with non-Promises
PR-URL: https://github.com/nodejs/node/pull/61766
Fixes: https://github.com/nodejs/node/issues/59936
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
2026-03-17 11:54:48 +00:00
sangwook a62f6411ae 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-03-17 07:57:07 +00:00
Node.js GitHub Bot f6d02af01f tools: update nixpkgs-unstable to f82ce7af0b79ac154b12e27ed800aeb9741
PR-URL: https://github.com/nodejs/node/pull/62258
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2026-03-17 00:59:39 +00:00
Node.js GitHub Bot 9580d58c34 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-03-17 00:59:29 +00:00
dependabot[bot] e86679de3e tools: bump flatted from 3.3.3 to 3.4.1 in /tools/eslint
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.1.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.1)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
PR-URL: https://github.com/nodejs/node/pull/62255
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-03-16 23:02:31 +00:00
npm CLI robot 1e595994eb deps: upgrade npm to 11.11.1
PR-URL: https://github.com/nodejs/node/pull/62216
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-16 21:59:47 +00:00
Node.js GitHub Bot eb92eac63c deps: update undici to 7.24.4
PR-URL: https://github.com/nodejs/node/pull/62271
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-16 21:42:43 +00:00
Filip Skokan ab8dc2b84c crypto: rename CShakeParams and KmacParams length to outputLength
PR-URL: https://github.com/nodejs/node/pull/61875
Refs: https://github.com/web-platform-tests/wpt/pull/57802
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2026-03-16 22:04:01 +01:00
Antoine du Hamel e0928d6cc4 esm: fix path normalization in finalizeResolution
PR-URL: https://github.com/nodejs/node/pull/62080
Refs: https://github.com/nodejs/node/pull/61478/changes/BASE..6cd90e1c0167f94c7dc671d10316e561c81f26af#r2871221559
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2026-03-16 18:39:56 +00:00
Ali Hassan 9c1c08e73a benchmark: fix destructuring in dgram/single-buffer
PR #59872 renamed the config key from `num` to `n` but did not update
the destructuring in main(), leaving `{ num: n }` which resolves to
undefined. This caused the benchmark to produce near-zero throughput
since the send-batching logic never fires when n is undefined.

Refs: https://github.com/nodejs/node/pull/59872
PR-URL: https://github.com/nodejs/node/pull/62084
Refs: https://github.com/nodejs/performance/issues/187
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-03-16 18:16:39 +00:00
dependabot[bot] 35fed19330 tools: bump undici from 6.23.0 to 6.24.1 in /tools/doc
Bumps [undici](https://github.com/nodejs/undici) from 6.23.0 to 6.24.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.23.0...v6.24.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.24.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
PR-URL: https://github.com/nodejs/node/pull/62250
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
2026-03-16 10:59:08 +00:00
Antoine du Hamel 69d3754e90 doc: clarify that any truthy value of shell is part of DEP0190
PR-URL: https://github.com/nodejs/node/pull/62249
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-03-16 10:35:48 +00:00
Node.js GitHub Bot 4579957ee9 deps: update undici to 7.24.3
PR-URL: https://github.com/nodejs/node/pull/62233
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-15 23:59:22 +00:00
Yagiz Nizipli 1bc0fdd922 url: enable simdutf for ada
PR-URL: https://github.com/nodejs/node/pull/61477
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
2026-03-15 23:59:11 +00:00
Node.js GitHub Bot 5bebd7eaea deps: update libuv to 1.52.1
PR-URL: https://github.com/nodejs/node/pull/61829
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
2026-03-15 23:46:53 +00:00
Antoine du Hamel 2e5731eeeb tools: validate all commits that are pushed to main
PR-URL: https://github.com/nodejs/node/pull/62246
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-15 18:23:34 +00:00
Ilyas Shabi 82409af5a2 worker: heap profile optimizations
PR-URL: https://github.com/nodejs/node/pull/62201
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: theanarkh <theratliter@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
2026-03-15 14:08:02 +00:00
Ilyas Shabi 1989f4d254 diagnostics_channel: add diagnostics channels for web locks
PR-URL: https://github.com/nodejs/node/pull/62123
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-03-14 22:43:11 +00:00
Node.js GitHub Bot 10655d6e68 deps: update googletest to 73a63ea05dc8ca29ec1d2c1d66481dd0de1950f1
PR-URL: https://github.com/nodejs/node/pull/61927
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2026-03-14 23:17:23 +01:00
Guy Bedford a936d8968f wasm: support js string constant esm import
Extends the Wasm ESM Integration for importing WebAssembly
modules in either the source phase or instance phase to support
importing static JS string constants from the special
import name `wasm:js/string-constants`.

PR-URL: https://github.com/nodejs/node/pull/62198
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-14 15:08:49 -04:00
Filip Skokan 65b521f253 test: add WebCrypto Promise.prototype.then pollution regression tests
PR-URL: https://github.com/nodejs/node/pull/62226
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jordan Harband <ljharb@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
2026-03-14 12:52:23 +00:00
Filip Skokan 3e5a2f0fa9 lib: prefer primordials in SubtleCrypto
PR-URL: https://github.com/nodejs/node/pull/62226
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jordan Harband <ljharb@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
2026-03-14 12:52:22 +00:00
Filip Skokan 8ccbe8e384 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-03-13 21:22:20 +00:00
Node.js GitHub Bot aac5b68211 deps: update merve to 1.2.2
PR-URL: https://github.com/nodejs/node/pull/62213
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-13 17:21:52 +00:00
Kit DallegeandClaude Opus 4.6 e42dbefea7 doc: remove outdated Chrome 66 and ndb references from debugger
Remove the Chrome 66.0.3345.0 version check (Chrome 66 shipped in
2018), the claim that Chrome DevTools doesn't support debugging worker
threads (which uses time-tied language), and the recommendation to use
ndb (which has been archived since July 2023).

Fixes: https://github.com/nodejs/node/issues/54078

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR-URL: https://github.com/nodejs/node/pull/62202
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2026-03-13 13:17:17 +00:00
kovanandClaude Opus 4.6 ee417909ac doc: add throwIfNoEntry version history to fs.stat
PR #61178 added the throwIfNoEntry option to fs.stat and
fsPromises.stat (shipped in v25.7.0) but did not add corresponding
YAML version history entries. The sync variants (fs.statSync,
fs.lstatSync) already had history entries from PR #33716.

Fixes: https://github.com/nodejs/node/issues/62185

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR-URL: https://github.com/nodejs/node/pull/62204
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-03-13 10:37:30 +00:00
Filip Skokan da5843b91d crypto: default ML-KEM and ML-DSA pkcs8 export to seed-only format
Configure OpenSSL provider parameters to prefer seed-only format
when exporting ML-KEM and ML-DSA private keys that contain a seed.
Keys without a seed continue to use the private-only format.

PR-URL: https://github.com/nodejs/node/pull/62178
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2026-03-13 07:36:40 +00:00
SRAVANI GUNDEPALLI 66a687f2be build: skip dockit on IBMi
PR-URL: https://github.com/nodejs/node/pull/62189
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Abdirahim Musse <abdirahim.musse@ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-12 17:27:03 +00:00
Anna Henningsen 5e3951e0ad repl: add customizable error handling
Whether or not an exception should be handled when it
was thrown in the REPL's context but the REPL is already
closed is something that will depend on the details of
the specific REPL instance's use case.

Adding this option lets the REPL's creator control the
details of this behavior.

This resolves a TODO recently added in bd3cba5633.

PR-URL: https://github.com/nodejs/node/pull/62188
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2026-03-12 16:35:31 +00:00
Node.js GitHub Bot f33e715dd4 test: update WPT for WebCryptoAPI to 6a1c545d77
PR-URL: https://github.com/nodejs/node/pull/62187
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2026-03-12 15:42:08 +00:00
René 5e417551e2 typings: rationalise TypedArray types
PR-URL: https://github.com/nodejs/node/pull/62174
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
2026-03-12 02:02:47 +00:00
Ali Hassan e47df44a78 stream: replace bind with arrow function for onwrite callback
PR-URL: https://github.com/nodejs/node/pull/62087
Reviewed-By: Mattias Buelens <mattias@buelens.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2026-03-11 22:16:16 +00:00
Jacob Smith e57d5bbb2a doc: add note (and caveat) for mock.module about customization hooks
PR-URL: https://github.com/nodejs/node/pull/62075
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
2026-03-11 20:20:16 +00:00
Filip Skokan aaa91515fc crypto: refactor WebCrypto AEAD algorithms auth tag handling
PR-URL: https://github.com/nodejs/node/pull/62169
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-11 18:43:14 +00:00
Filip Skokan e1ca754de0 crypto: read algorithm name property only once in normalizeAlgorithm
PR-URL: https://github.com/nodejs/node/pull/62170
Refs: https://redirect.github.com/web-platform-tests/wpt/pull/57614#pullrequestreview-3808145365
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-03-11 18:23:21 +00:00
Antoine du Hamel 2b74812c3c tools: keep GN files when updating Merve
PR-URL: https://github.com/nodejs/node/pull/62167
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-03-11 14:15:24 +00:00
Node.js GitHub Bot ce6e451c2a 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-03-11 13:19:12 +00:00
Node.js GitHub Bot 3bbed1634a 2026-03-11, Version 25.8.1 (Current)
PR-URL: https://github.com/nodejs/node/pull/62184
2026-03-11 09:58:25 +01:00
Joyee Cheung 9ff27fdb01 sea: support code cache for ESM entrypoint in SEA
The initial support for ESM entrypoint in SEA didn't support
code cache. This patch implements that by following a path
similar to how code cache in CJS SEA entrypoint is supported:
at build time we generate the code cache from C++ and put it
into the sea blob, and at runtime we consume it via a special
case in compilation routines - for CJS this was
CompileFunctionForCJSLoader, in the case of SourceTextModule,
it's in Module::New.

PR-URL: https://github.com/nodejs/node/pull/62158
Refs: https://github.com/nodejs/node/pull/61813
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2026-03-10 22:37:10 +00:00
Filip Skokan c96c3dad39 build: fix --node-builtin-modules-path
PR-URL: https://github.com/nodejs/node/pull/62115
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2026-03-10 18:03:00 +01:00
Stefan Stojanovic 95ee87da53 fs: fix cpSync to handle non-ASCII characters
Fixes: https://github.com/nodejs/node/issues/61878
PR-URL: https://github.com/nodejs/node/pull/61950
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-03-10 14:11:23 +00:00