Luigi Pinca
bcdb38447f
test: use the skipIfNoWatch() utility function
...
Use the `skipIfNoWatch()` utility function in
`test/parallel/test-fs-promises-watch-iterator.js`.
PR-URL: https://github.com/nodejs/node/pull/61531
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2026-02-03 09:12:13 +00:00
YuSheng Chen
9ee3566f3b
doc: update server.dropMaxConnection link
...
PR-URL: https://github.com/nodejs/node/pull/61584
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-02-03 08:38:19 +00:00
Node.js GitHub Bot
7de56bdee2
tools: update nixpkgs-unstable to 6308c3b21396534d8aaeac46179c14c439a
...
PR-URL: https://github.com/nodejs/node/pull/61606
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-03 01:24:00 +00:00
Node.js GitHub Bot
9c69b7a1d7
deps: update googletest to 56efe3983185e3f37e43415d1afa97e3860f187f
...
PR-URL: https://github.com/nodejs/node/pull/61605
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-03 01:23:52 +00:00
Node.js GitHub Bot
3fc542e1a9
deps: update amaro to 1.1.6
...
PR-URL: https://github.com/nodejs/node/pull/61603
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-02-03 01:23:43 +00:00
Chengzhong Wu
bdceaa2117
test: unify assertSnapshot common patterns
...
Unifes assertSnapshot common patterns like platform specific path
separators, line ending, line trailing spaces, Node.js version strings,
and pids in warning messages.
PR-URL: https://github.com/nodejs/node/pull/61590
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-02-02 23:04:33 +00:00
Joyee Cheung
f4646a7f4b
module: do not invoke resolve hooks twice for imported cjs
...
Previously the resolve hook can be invoked twice from the
synthetic module evaluation step of imported CJS in the extra
module._load() call that's invoked on the resolved full path.
Add an option to avoid it, since the resolution and loading
has already been done before.
PR-URL: https://github.com/nodejs/node/pull/61529
Fixes: https://github.com/nodejs/node/issues/57125
Refs: https://github.com/nodejs/node/issues/55808
Refs: https://github.com/nodejs/node/issues/56241
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-02-02 23:04:23 +00:00
Edy Silva
61a4a30e0e
test_runner: fix test enqueue when test file has syntax error
...
PR-URL: https://github.com/nodejs/node/pull/61573
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
2026-02-02 16:57:37 +00:00
Joyee Cheung
8e41b8d0c2
sea: print error information when fs operations fail
...
PR-URL: https://github.com/nodejs/node/pull/61581
Refs: https://github.com/nodejs/node/issues/61579
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-02-02 12:43:45 +00:00
Joyee Cheung
baba7483fc
src: add initial support for ESM in embedder API
...
This patch extends `LoadEnvironment` to support loading ES modules,
and adds the following new types:
```cpp
enum class ModuleFormat : uint8_t {
kCommonJS,
kModule,
};
// Data for specifying an entry point script for LoadEnvironment().
// This class uses an opaque layout to allow future additions without
// breaking ABI. Use the setter methods to configure the entry point.
class ModuleData {
void set_source(std::string_view source);
void set_format(ModuleFormat format);
void set_resource_name(std::string_view name);
std::string_view source() const;
ModuleFormat format() const;
std::string_view resource_name() const;
};
class StartExecutionCallbackInfoWithModule {
void set_env(Environment* env);
void set_process_object(v8::Local<v8::Object> process_object);
void set_native_require(v8::Local<v8::Function> native_require);
void set_run_module(v8::Local<v8::Function> run_module);
void set_data(void* data);
Environment* env();
v8::Local<v8::Object> process();
v8::Local<v8::Function> native_require();
v8::Local<v8::Function> run_module();
void* data();
};
```
And two new `LoadEnvironment()` overloads:
```cpp
// Run entry point with ModuleData configuration
MaybeLocal<Value> LoadEnvironment(
Environment* env,
const ModuleData* entry_point,
EmbedderPreloadCallback preload = nullptr);
// Callback-based with new StartExecutionCallbackInfoWithModule
MaybeLocal<Value> LoadEnvironment(
Environment* env,
StartExecutionCallbackWithModule cb,
EmbedderPreloadCallback preload = nullptr,
void* callback_data = nullptr);
```
PR-URL: https://github.com/nodejs/node/pull/61548
Refs: https://github.com/nodejs/node/issues/53565
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Aditi Singh <aditisingh1400@gmail.com >
2026-02-02 12:24:51 +00:00
Amol Yadav
5212c07147
net: add setTOS and getTOS to Socket
...
PR-URL: https://github.com/nodejs/node/pull/61503
Fixes: https://github.com/nodejs/node/issues/61489
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-02-02 12:23:31 +01:00
Gürgün Dayıoğlu and Сковорода Никита Андреевич
c9673b8393
doc: align Buffer.concat documentation with behavior
...
Co-authored-by: Сковорода Никита Андреевич <chalkerx@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/60405
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-02-02 11:09:20 +00:00
Nikita Skovoroda
8c57908c73
benchmark: add streaming TextDecoder benchmark
...
PR-URL: https://github.com/nodejs/node/pull/61549
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-02 04:10:14 +00:00
Nikita Skovoroda
e43ac89fb7
lib: use utf8 fast path for streaming TextDecoder
...
PR-URL: https://github.com/nodejs/node/pull/61549
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-02 04:10:14 +00:00
Nikita Skovoroda
6c44d31e25
doc: fix node-config-schema
...
PR-URL: https://github.com/nodejs/node/pull/61596
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-01 21:50:55 +00:00
Yagiz Nizipli
356e4aef59
url: update ada to v3.4.2 and support unicode 17
...
PR-URL: https://github.com/nodejs/node/pull/61593
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-02-01 18:54:46 +00:00
Beth Griggs
c5136c4a53
doc: update IBM/Red Hat volunteers with dedicated project time
...
Update the README to reflect current IBM and Red Hat volunteers
who have dedicated time allocated to the project.
Signed-off-by: Beth Griggs <bethanyngriggs@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61588
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-01 13:23:17 +00:00
Ruben Bridgewater
27a7bbc624
assert: fix loose deepEqual arrays with undefined and null failing
...
The comparison has to accept these as identical.
Fixes: https://github.com/nodejs/node/issues/61583
PR-URL: https://github.com/nodejs/node/pull/61587
Reviewed-By: Jithil P Ponnan <jithil@outlook.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-02-01 13:00:17 +00:00
Bart Louwers
f6464c57f6
sqlite: change approach to fix segfault SQLTagStore
...
PR-URL: https://github.com/nodejs/node/pull/60462
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2026-01-31 06:35:30 +00:00
Mert Can Altin
f200685d99
src: improve textEncoder encode performance with simdutf
...
PR-URL: https://github.com/nodejs/node/pull/61496
Refs: https://github.com/cloudflare/workerd/pull/5448
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
2026-01-30 23:50:48 +00:00
Pietro Marchini
9d85244105
test_runner: update node-config-schema
...
PR-URL: https://github.com/nodejs/node/pull/58680
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-01-30 21:59:07 +00:00
Pietro Marchini
1e5e03dfea
src: expose help texts into node-config-schema.json
...
PR-URL: https://github.com/nodejs/node/pull/58680
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-01-30 21:59:06 +00:00
Luigi Pinca
e67848a8ae
test: split test-fs-watch-ignore-*
...
Split and simplify the tests into individual files.
Refs: https://github.com/nodejs/node/pull/61433
PR-URL: https://github.com/nodejs/node/pull/61494
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-01-30 19:57:40 +00:00
Robert Nagy
7407164a56
lib: recycle queues
...
Avoid creating unnecessary garbage in the old space.
PR-URL: https://github.com/nodejs/node/pull/61461
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-01-30 19:46:49 +00:00
Moshe Atlow
ea83d326f7
test_runner: fix passing expectFailure
...
PR-URL: https://github.com/nodejs/node/pull/61568
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-01-30 17:41:45 +00:00
Stewart X Addison
3fbb8b7efc
build: aix: deoptimize implementation-visitor.cc with --shared
...
PR-URL: https://github.com/nodejs/node/pull/61550
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-30 16:38:19 +00:00
Node.js GitHub Bot
a83765935e
deps: update undici to 7.19.2
...
PR-URL: https://github.com/nodejs/node/pull/61566
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-30 16:19:55 +00:00
Stewart X Addison
7c537a384b
test: aix: unflake test_threadsafe_function/test flaky on AIX
...
This reverts commit 7698480bd2 .
PR-URL: https://github.com/nodejs/node/pull/61560
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-01-30 16:03:55 +00:00
Moshe Atlow
db036286af
test_runner: differentiate todo and failure styles
...
PR-URL: https://github.com/nodejs/node/pull/61564
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-01-30 15:51:08 +00:00
Taejin Kim
784ca7b1c2
lib: use StringPrototypeStartsWith from primordials in locks
...
Use StringPrototypeStartsWith from primordials instead of
String.prototype.startsWith to prevent prototype pollution.
Refs: https://github.com/nodejs/node/issues/59699
PR-URL: https://github.com/nodejs/node/pull/61492
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-01-29 22:27:49 +00:00
Aviv Keller
5d494effc1
doc: regenerate node.1 using doc-kit
...
PR-URL: https://github.com/nodejs/node/pull/61535
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-29 18:25:45 +00:00
Node.js GitHub Bot
44f00ca689
deps: update archs files for openssl-3.5.5
...
PR-URL: https://github.com/nodejs/node/pull/61547
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-01-29 17:32:57 +00:00
Node.js GitHub Bot
31ad344ebc
deps: upgrade openssl sources to openssl-3.5.5
...
PR-URL: https://github.com/nodejs/node/pull/61547
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-01-29 17:32:56 +00:00
wantaek
938f175dbe
stream: add bytes() method to stream/consumers
...
- Add bytes() method to get Uint8Array from streams
- Add tests for bytes() method in PassThrough and ObjectMode scenarios
- Update documentation
Fixes: https://github.com/nodejs/node/issues/59542
PR-URL: https://github.com/nodejs/node/pull/60426
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-01-29 13:24:39 +00:00
Ethan Arrowood
ec15c3b7b1
test_runner: add env option to run function
...
Support an `env` option that is passed to the underlying child_process.
Fixes: https://github.com/nodejs/node/issues/60709
PR-URL: https://github.com/nodejs/node/pull/61367
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-01-29 08:18:11 +00:00
Guilherme Araújo
68d7b6f870
sqlite: reserve vectors space
...
PR-URL: https://github.com/nodejs/node/pull/61540
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-01-29 02:22:05 +00:00
Antoine du Hamel
ca3d4e0cd3
build: add --shared-lief configure flag
...
PR-URL: https://github.com/nodejs/node/pull/61536
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-01-28 22:29:05 +01:00
Node.js GitHub Bot
032e56d2b1
deps: update corepack to 0.34.6
...
PR-URL: https://github.com/nodejs/node/pull/61510
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
2026-01-28 17:52:25 +00:00
Chengzhong Wu
6cc2ed56da
buffer: disallow ArrayBuffer transfer on pooled buffer
...
PR-URL: https://github.com/nodejs/node/pull/61372
Fixes: https://github.com/nodejs/node/issues/61362
Refs: https://github.com/v8/v8/commit/c5ff7c4d6cdea06d0319609875c41eaa77b70db0
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-01-28 16:32:55 +00:00
Chengzhong Wu
859332bf76
deps: V8: cherry-pick c5ff7c4d6cde
...
Original commit message:
[builtins] disallow ArrayBuffer transfer with a detach key
This allows embedder to disallow `ArrayBuffer.prototype.transfer()` on
an arraybuffer that is not detachable. This also fix the check on
`ArrayBufferCopyAndDetach` step 8 of `ArrayBuffer.prototype.transfer`.
Refs: https://github.com/nodejs/node/issues/61362
Refs: https://tc39.es/ecma262/#sec-arraybuffercopyanddetach
Change-Id: I3c6e156a8fad007fd100218d8b16aed5c4e1db68
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7454288
Commit-Queue: Chengzhong Wu <cwu631@bloomberg.net >
Reviewed-by: Olivier Flückiger <olivf@chromium.org >
Cr-Commit-Position: refs/heads/main@{#104697}
Refs: https://github.com/v8/v8/commit/c5ff7c4d6cdea06d0319609875c41eaa77b70db0
PR-URL: https://github.com/nodejs/node/pull/61372
Fixes: https://github.com/nodejs/node/issues/61362
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-01-28 16:32:54 +00:00
Luigi Pinca
a9dd48f64b
test: delay writing the files only on macOS
...
Refs: https://github.com/nodejs/node/pull/60060
PR-URL: https://github.com/nodejs/node/pull/61532
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-01-28 16:18:25 +00:00
Joyee Cheung
983fd3fcf7
build,test: add tests for binary linked with shared libnode
...
This adds tests to ensure the V8 parts (v8, libplatform, cppgc)
in shared libnode works correctly.
PR-URL: https://github.com/nodejs/node/pull/61463
Refs: https://github.com/nodejs/node/pull/61144
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-01-28 15:02:55 +00:00
Stefan Stojanovic
5a8864de93
build,win: fix vs2022 compilation
...
PR-URL: https://github.com/nodejs/node/pull/61530
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-01-28 14:52:43 +00:00
Node.js GitHub Bot
8033ab23e5
tools: update gyp-next to 0.21.1
...
PR-URL: https://github.com/nodejs/node/pull/61528
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-28 14:20:05 +00:00
Joyee Cheung
8c380ded46
async_hooks: add trackPromises option to createHook()
...
This adds a trackPromises option that allows users to completely opt
out of the promise hooks that are installed whenever an async hook is
added. For those who do not need to track promises, this avoids
the excessive hook invocation and the heavy overhead from it.
This option was previously already implemented internally to skip the
noise from promise hooks when debugging async operations via the
V8 inspector. This patch just exposes it.
PR-URL: https://github.com/nodejs/node/pull/61415
Refs: https://github.com/nodejs/node/pull/57148
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2026-01-28 11:25:24 +00:00
Yagiz Nizipli
37e40040a7
build,deps: replace cjs-module-lexer with merve
...
PR-URL: https://github.com/nodejs/node/pull/61456
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-01-28 07:29:58 +00:00
Ryuhei Shima
74c3658465
build: enable -DV8_ENABLE_CHECKS flag
...
Fixes: https://github.com/nodejs/node/issues/61301
PR-URL: https://github.com/nodejs/node/pull/61327
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-01-28 04:17:08 +00:00
Antoine du Hamel
150d154bf1
tools: move Quic dependencies behind ad-hoc flag
...
Quic is now behind `--experimental-quic` build flag, its dependencies
should be included only if the user opts-in.
PR-URL: https://github.com/nodejs/node/pull/61446
Refs: https://github.com/nodejs/node/commit/853277a9e22a88307ca7b9fde0025635e368253c
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-01-27 22:20:16 +00:00
Nikita Skovoroda
c585e696bf
doc: restore @ChALkeR to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/61553
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-01-27 21:10:15 +00:00
sangwook
8fd5f6be79
test: ensure removeListener event fires for once() listeners
...
Adds test coverage for the removeListener event being emitted
when a once() listener is automatically removed after execution.
This verifies that streams and other EventEmitters correctly
emit removeListener events when once() wrappers clean up.
PR-URL: https://github.com/nodejs/node/pull/60137
Fixes: https://github.com/nodejs/node/issues/59977
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-01-27 19:37:53 +00:00