Antoine du Hamel
8255cdefcf
build: add --shared-nbytes configure flag
...
PR-URL: https://github.com/nodejs/node/pull/61341
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-23 23:11:18 +01:00
Ilyas Shabi
c75ad3d87d
v8: add GCProfiler support for erm
...
PR-URL: https://github.com/nodejs/node/pull/61191
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-01-22 14:46:34 +01:00
Antoine du Hamel
ade4fc2338
tools: copyedit Nix files
...
PR-URL: https://github.com/nodejs/node/pull/61447
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-01-22 14:46:33 +01:00
Nikita Skovoroda and Gürgün Dayıoğlu
df02d00d61
src: improve StringBytes::Encode perf on UTF8
...
Co-authored-by: Gürgün Dayıoğlu <hey@gurgun.day >
PR-URL: https://github.com/nodejs/node/pull/61131
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-01-22 14:46:33 +01:00
Ilyas Shabi
29399501c1
test: add implicit test for fs dispose handling with using
...
PR-URL: https://github.com/nodejs/node/pull/61140
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-22 14:46:33 +01:00
Matteo Collina
4bbbe75ba1
quic: move quic behind compile time flag
...
Move node:quic behind a compile-time flag, disabled by default.
Use --experimental-quic at configure time to enable.
- Add --experimental-quic flag to configure.py
- Add node_use_quic variable and HAVE_QUIC define
- Make QUIC sources conditional in node.gyp
- Move ngtcp2/nghttp3 deps under QUIC condition in node.gypi
- Update C++ guards to check HAVE_QUIC
- Update process.features.quic to check node_use_quic
PR-URL: https://github.com/nodejs/node/pull/61444
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-22 14:46:33 +01:00
Antoine du Hamel
7c2242beb9
tools: validate release commit diff as part of lint-release-proposal
...
PR-URL: https://github.com/nodejs/node/pull/61440
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-01-22 14:46:33 +01:00
Tobias Nießen
e35814ba80
src: add missing override specifier to Clean()
...
The `CallbackInfo::Clean()` method overrides `Cleanable::Clean()` and
should be marked as `override`, both because it is good practice to do
so and for consistency with the rest of the code base.
PR-URL: https://github.com/nodejs/node/pull/61429
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-01-22 14:46:33 +01:00
Neal Beeken
e9a34263bb
buffer: make methods work on Uint8Array instances
...
Removes the reliance on prototype bound methods internally
so that Uint8Arrays can be set as the bound `this` value when calling
the various Buffer methods. Introduces some additional tamper protection
by removing internal reliance on writable properties.
Fixes: https://github.com/nodejs/node/issues/56577
PR-URL: https://github.com/nodejs/node/pull/56578
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-01-22 14:46:32 +01:00
Mo Luo
8dd379d110
build: update android-patches/trap-handler.h.patch
...
PR-URL: https://github.com/nodejs/node/pull/60369
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-01-22 14:46:32 +01:00
Jeevankumar S
3331bdca7c
doc: clarify process.argv[1] behavior for -e/--eval
...
Signed-off-by: Jeevankumar-S <jeevenkumar2003@email.com >
PR-URL: https://github.com/nodejs/node/pull/61366
Fixes: https://github.com/nodejs/node/issues/61363
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-01-22 14:46:32 +01:00
Mike McCready
94b34c38e2
doc: remove Windows Dev Home instructions from BUILDING
...
PR-URL: https://github.com/nodejs/node/pull/61434
Fixes: https://github.com/nodejs/node/issues/61424
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-22 14:46:32 +01:00
silverwind
a17016ee81
doc: clarify TypedArray properties on Buffer
...
"properties" is a more generic wording which also includes non-method
properties like `byteLength`.
Fixes: https://github.com/nodejs/node/issues/34946
PR-URL: https://github.com/nodejs/node/pull/61355
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/byteLength
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-01-22 14:46:32 +01:00
Mert Can Altin
803ff7d3de
src: cache context lookup in vectored io loops
...
PR-URL: https://github.com/nodejs/node/pull/61387
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-01-22 14:46:32 +01:00
Mert Can Altin
606184fae5
fs: remove duplicate getValidatedPath calls
...
PR-URL: https://github.com/nodejs/node/pull/61359
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-01-22 14:46:31 +01:00
Mike McCready
ef01f0c033
build,win: update WinGet configurations to Python 3.14
...
PR-URL: https://github.com/nodejs/node/pull/61431
Refs: https://github.com/nodejs/node/issues/61427
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-22 14:46:31 +01:00
Mike McCready
214fac9d7e
doc: update Python 3.14 manual install instructions (Windows)
...
PR-URL: https://github.com/nodejs/node/pull/61428
Refs: https://github.com/nodejs/node/issues/61427
Refs: https://github.com/nodejs/node-gyp/issues/3264
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-22 14:46:31 +01:00
Michael Smith
58abe99cbf
src: cache missing package.json files in the C++ package config cache
...
PR-URL: https://github.com/nodejs/node/pull/60425
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-01-22 14:46:24 +01:00
Tobias Nießen
2a542094e4
src: use starts_with instead of rfind/find
...
PR-URL: https://github.com/nodejs/node/pull/61426
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-20 15:21:07 +01:00
Node.js GitHub Bot
4bb00d7e3c
deps: update googletest to 85087857ad10bd407cd6ed2f52f7ea9752db621f
...
PR-URL: https://github.com/nodejs/node/pull/61417
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-20 15:21:07 +01:00
Bart Louwers
f289817ff8
sqlite: enable defensive mode by default
...
PR-URL: https://github.com/nodejs/node/pull/61266
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-01-20 15:21:06 +01:00
Taejin Kim
3d5e718e38
lib: fix typo in util.js comment
...
Fix typo: 'explictly' -> 'explicitly' in getCallSites function comment.
PR-URL: https://github.com/nodejs/node/pull/61365
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2026-01-20 15:21:06 +01:00
Node.js GitHub Bot
99a4e51f93
crypto: update root certificates to NSS 3.119
...
This is the `certdata.txt` from NSS 3.119.
This is the version of NSS that shipped in Firefox 147.0.1 on 2026-01-16.
Certificates removed:
- CommScope Public Trust ECC Root-01
- CommScope Public Trust ECC Root-02
- CommScope Public Trust RSA Root-01
- CommScope Public Trust RSA Root-02
Refs: https://raw.githubusercontent.com/nss-dev/nss/refs/tags/NSS_3_119_RTM/lib/ckfw/builtins/certdata.txt
PR-URL: https://github.com/nodejs/node/pull/61419
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-20 15:21:06 +01:00
Tobias Nießen
77cacf6d9d
src: use C++ nullptr in sqlite
...
Refs: https://github.com/nodejs/node/pull/61407
PR-URL: https://github.com/nodejs/node/pull/61416
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-01-20 15:21:06 +01:00
Guilherme Araújo
6442229880
sqlite: add some tests
...
PR-URL: https://github.com/nodejs/node/pull/61410
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-20 15:21:06 +01:00
Guilherme Araújo
069f3603e2
sqlite: add sqlite prepare options args
...
PR-URL: https://github.com/nodejs/node/pull/61311
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
2026-01-20 15:21:06 +01:00
Joyee Cheung
1b4b5eb0e4
build: update devcontainer.json to use paired nix env
...
Refs: https://github.com/nodejs/devcontainer/pull/22
PR-URL: https://github.com/nodejs/node/pull/61414
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
2026-01-20 15:21:05 +01:00
Chengzhong Wu
86e2a763ad
build: infer cargo mode with gyp var build_type directly
...
PR-URL: https://github.com/nodejs/node/pull/61354
Refs: https://github.com/nodejs/gyp-next/blob/main/docs/InputFormatReference.md#processing-order
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-20 15:21:05 +01:00
Chengzhong Wu
3bb481571a
test: reveal wpt evaluation errors in status files
...
PR-URL: https://github.com/nodejs/node/pull/61358
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-01-20 15:21:05 +01:00
Tobias Nießen
344cc629d4
src: use C++ nullptr in webstorage
...
Using the C-style constant `0` to represent a null pointer is less type
safe than the C++-style constant `nullptr`, so we should always be using
`nullptr` instead of `0`.
PR-URL: https://github.com/nodejs/node/pull/61407
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-01-20 15:21:05 +01:00
Stewart X Addison
6a32a685a6
doc: note resume build should not be done on node-test-commit
...
Signed-off-by: Stewart X Addison <sxa@ibm.com >
PR-URL: https://github.com/nodejs/node/pull/61373
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-01-20 15:21:05 +01:00
Filip Skokan
a132be7f71
test: check new WebCryptoAPI enum values
...
PR-URL: https://github.com/nodejs/node/pull/61406
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-01-20 15:21:05 +01:00
Antoine du Hamel
ca4ebed258
tools: use ad-hoc flag to lint Nix files
...
Here's what `treefmt --help` documents:
`--ci`: Runs `treefmt` in a CI mode, enabling `--no-cache`,
`--fail-on-change` and adjusting some other settings best suited
to a CI use case.
PR-URL: https://github.com/nodejs/node/pull/61405
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-01-20 15:21:05 +01:00
Gürgün Dayıoğlu
828feb2e6b
events: remove redundant todo
...
PR-URL: https://github.com/nodejs/node/pull/60595
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-01-20 15:21:04 +01:00
Matteo Collina
cf56327939
http2: validate initialWindowSize per HTTP/2 spec
...
The HTTP/2 spec (RFC 7540) defines SETTINGS_INITIAL_WINDOW_SIZE
maximum as 2^31-1. Values above this must be treated as a
FLOW_CONTROL_ERROR. Previously, Node.js allowed values up to
2^32-1 which caused nghttp2_submit_settings() to return
NGHTTP2_ERR_INVALID_ARGUMENT, triggering an uncatchable
assertion failure and crashing the process.
This change adds proper validation to reject values >= 2^31
with a catchable RangeError before they reach nghttp2.
PR-URL: https://github.com/nodejs/node/pull/61402
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-01-20 15:21:04 +01:00
Ryuhei Shima
d8a1cdeefe
child_process: treat ipc length header as unsigned uint32
...
Fixes: https://github.com/nodejs/node/issues/61312
PR-URL: https://github.com/nodejs/node/pull/61344
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-01-20 15:20:59 +01:00
sangwook and Marco Ippolito
2a8e8dfaf3
doc: refine WebAssembly error documentation
...
Co-authored-by: Marco Ippolito <marcoippolito54@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61382
Fixes: https://github.com/nodejs/node/issues/61353
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-01-20 14:36:02 +01:00
sangwook
f55a5fea00
lib: fix TypeScript support check in jitless mode
...
WebAssembly is disabled when Node.js is run with --jitless. The
internal TypeScript stripper relies on WebAssembly, and previously
failed obscurely with a ReferenceError in this mode.
This commit adds an explicit check for WebAssembly support when
loading the TypeScript parser. If WebAssembly is unavailable,
it now throws a descriptive ERR_WEBASSEMBLY_NOT_SUPPORTED error.
Fixes: https://github.com/nodejs/node/issues/61353
PR-URL: https://github.com/nodejs/node/pull/61382
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-01-20 14:36:02 +01:00
Abhishek Kv. Savani
ec1cbbe0b6
test_runner: fix memory leaks in runner
...
- Close readline interface after child process exits
Prevents accumulation of event listeners on stderr stream
- Extract watch mode event handler to named function
Allows proper cleanup when watch mode is aborted
These changes prevent unbounded memory growth in long-running
test suites and watch mode sessions.
PR-URL: https://github.com/nodejs/node/pull/60860
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-01-20 14:36:02 +01:00
Nicholas Paun
434fcd7f8f
fs: fix errorOnExist behavior for directory copy in fs.cp
...
PR-URL: https://github.com/nodejs/node/pull/60946
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-01-20 14:36:02 +01:00
Heath Dutton🕴️
399ac68427
test_runner: fix coverage report when a directory is named file
...
The coverage tree traversal checked `tree[key].file` to detect file
entries. When a directory named "file" contained a file also named
"file", this check incorrectly matched the child entry instead of
file metadata, causing a TypeError when accessing `.path`.
Check for `.file?.path` instead to correctly identify file metadata.
Fixes: https://github.com/nodejs/node/issues/61080
PR-URL: https://github.com/nodejs/node/pull/61169
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-01-20 14:36:02 +01:00
Xavier Stouder
6e1beda333
test_runner: print info when test restarts
...
When using spec reporter and running test in watch mode, print an info
message containing the current datetime when tests restart.
Fixes: https://github.com/nodejs/node/issues/57206
PR-URL: https://github.com/nodejs/node/pull/61160
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-01-20 14:36:01 +01:00
Moshe Atlow
f5803ccb86
test_runner: fix rerun ambiguous test failures
...
PR-URL: https://github.com/nodejs/node/pull/61392
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2026-01-20 14:36:01 +01:00
sangwook
bacba16f5e
fs: fix ENOTDIR in globSync when file is treated as dir
...
`fs.globSync` failed with `ENOTDIR` when a path component in a glob
pattern was a file but used as a directory (e.g., 'foo{,/bar}' when
'foo' is a file).
This change aligns `getDirentSync` with the asynchronous `getDirent`
by wrapping the `lstatSync` call in a `try-catch` block to safely
return `null` on such errors.
Fixes: https://github.com/nodejs/node/issues/61257
PR-URL: https://github.com/nodejs/node/pull/61259
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-01-20 14:36:01 +01:00
Daijiro Wachi
2423ecdaef
meta: fix typos in issue template config
...
PR-URL: https://github.com/nodejs/node/pull/61399
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2026-01-20 14:36:01 +01:00
Eng Zer Jun
f3caf27f8b
doc: add deprecation history for url.parse
...
url.parse should document its deprecation history, following DEP0169,
for consistency.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61389
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-01-20 14:36:01 +01:00
Ruben Bridgewater
778a56f3c9
assert,util: fix deep comparison for sets and maps with mixed types
...
When comparing a Set or a Map and they contain primitives as keys
as well as objects, the primitives would always be skipped. That
is not correct, since that may only be skipped in case all keys
are objects.
Fixes: https://github.com/nodejs/node/issues/61386
PR-URL: https://github.com/nodejs/node/pull/61388
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
2026-01-20 14:36:01 +01:00
Vladimir Morozov
05ce2c87f3
tools: fix vcbuild lint-js-build
...
PR-URL: https://github.com/nodejs/node/pull/61318
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-01-20 14:36:00 +01:00
Vas Sudanagunta
a5a4c3eb44
test_runner: nix dead reporter code
...
reporter/utils.js formatTestReport:
1. hasChildren and showErrorDetails are never both true in
existing calls.
2. Thus if hasChildren is true, showErrorDetails is false.
3. So `|| data.details?.error?.failureType === 'subtestsFailed'`
is irrelevant.
4. And `\n${error}` never occurs.
Even though all tests pass after this commit, what if future reporter
code might make calls where both hasChildren and showErrorDetails
are true? I will address this in the last commit of this PR.
Trust me for now.
PR-URL: https://github.com/nodejs/node/pull/59700
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-01-20 14:36:00 +01:00
Vladimir Morozov
4f30c21c59
node-api: use Node-API in comments
...
PR-URL: https://github.com/nodejs/node/pull/61320
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-01-20 14:36:00 +01:00