René
9cc7fcc26d
test: check stability block position in API markdown
...
PR-URL: https://github.com/nodejs/node/pull/58590
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-02-14 23:41:39 +00:00
Efe
65df9ad643
watch: get flags from execArgv
...
PR-URL: https://github.com/nodejs/node/pull/61779
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-02-14 19:06:30 +00:00
Matteo Collina
7215ea428c
test_runner: show interrupted test on SIGINT
...
When the test runner process is killed with SIGINT (Ctrl+C), display
which test was running at the time of interruption. This makes it
easier to identify tests that hang or take too long.
- Add `test:interrupted` event emitted when SIGINT is received
- Add `interrupted()` method to TestsStream
- Handle the event in both TAP and spec reporters
- TAP outputs: `# Interrupted while running: <test>`
- Spec outputs with yellow header and warning symbol
- Use setImmediate to allow reporter stream to flush before exit
With process isolation (default), shows the file path since the
parent runner only knows about file-level tests.
With --test-isolation=none, shows the actual test name.
PR-URL: https://github.com/nodejs/node/pull/61676
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-02-14 16:29:52 +00:00
Amol Yadav
8df6332f8a
http2: add http1Options for HTTP/1 fallback configuration
...
PR-URL: https://github.com/nodejs/node/pull/61713
Fixes: https://github.com/nodejs/node/issues/59783
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-02-14 15:11:22 +00:00
Anna Henningsen
ad945c599c
src: remove unnecessary c_str() conversions in diagnostic messages
...
PR-URL: https://github.com/nodejs/node/pull/61786
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-14 10:45:51 +00:00
Mike McCready
05b8953cee
doc: remove obsolete Boxstarter automated install
...
PR-URL: https://github.com/nodejs/node/pull/61785
Fixes: https://github.com/nodejs/node/issues/61690
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-14 08:38:35 +00:00
René
2de34822cc
meta: use SCCACHE_GHA_ENABLED for shared build workflows
...
PR-URL: https://github.com/nodejs/node/pull/61640
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-02-14 02:11:35 +00:00
Martin Slota
37ff1ea989
http: fix keep-alive socket reuse race in requestOnFinish
...
When the HTTP response ends before the request's 'finish' event fires,
responseOnEnd() and requestOnFinish() can both call responseKeepAlive(),
corrupting the socket that the agent may have already handed to another
request.
This commit adds a !req.destroyed guard to requestOnFinish() so the
second call is skipped when the socket has already been released.
Fixes: https://github.com/nodejs/node/issues/60001
PR-URL: https://github.com/nodejs/node/pull/61710
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-02-13 18:21:04 +01:00
b92c9b5ff5
worker: eliminate race condition in process.cwd()
...
Fixes a race condition in worker thread cwd caching where the counter
is incremented before the directory change completes, allowing workers
to cache stale directory values.
In lib/internal/worker.js, the main thread's process.chdir() wrapper
previously incremented the shared counter before calling the actual
chdir(), creating a race window where workers could read the old
directory but cache it with the new counter value. This caused
subsequent cwd() calls to return incorrect paths until the next chdir().
This fix reorders the operations to change the directory first, then
increment the counter, ensuring workers are only notified after the
directory change completes.
Before fix: 54.28% error rate (311/573 races)
After fix: 0% error rate (0/832 races)
Refs: https://hackerone.com/reports/3407207
Co-authored-by: Giulio Comi
Co-authored-by: Caleb Everett
Co-authored-by: Utku Yildirim
PR-URL: https://github.com/nodejs/node/pull/61664
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-02-13 16:30:09 +00:00
Shelley Vohr
f13d7bf69a
test: adapt buffer test for v8 sandbox
...
PR-URL: https://github.com/nodejs/node/pull/61772
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-13 16:10:31 +00:00
Andy Weiss
8f613eea13
zlib: add support for brotli compression dictionary
...
This change adds JS API support for custom compression dictionaries
with Brotli in the zlib library. The underlying Brotli dependency
already supports this and zstd exposes something similar.
This follows the zstd approach for using a custom dictionary but
for Brotli.
Fixes: https://github.com/nodejs/node/issues/52250
PR-URL: https://github.com/nodejs/node/pull/61763
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-02-13 16:10:17 +00:00
Ms2ger
3d30c302c3
test: update FileAPI tests from WPT
...
PR-URL: https://github.com/nodejs/node/pull/61750
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-13 15:51:31 +00:00
Moshe Atlow
e687680457
test_runner: fix suite rerun
...
PR-URL: https://github.com/nodejs/node/pull/61775
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
2026-02-13 14:31:09 +00:00
Tobias Nießen
813993b174
src: use bool literals in TraceEnvVarOptions
...
The bit fields are declared as `bool` fields, yet are assigned integer
values.
PR-URL: https://github.com/nodejs/node/pull/61425
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-02-13 00:52:59 +00:00
René
3b69757461
doc: clarify async caveats for events.once()
...
PR-URL: https://github.com/nodejs/node/pull/61572
Refs: https://github.com/nodejs/node/pull/34220
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-12 16:39:53 +00:00
Antoine du Hamel
27ec4315b1
tools: use ubuntu-slim runner in GHA
...
PR-URL: https://github.com/nodejs/node/pull/61759
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-12 10:59:34 +00:00
Anna Henningsen
4a13a62cf4
crypto: always return certificate serial numbers as uppercase
...
This hides a discrepancy between OpenSSL and BoringSSL, as
the latter returns lowercase hex values.
Refs: https://github.com/nodejs/node/pull/61459#discussion_r2713110952
PR-URL: https://github.com/nodejs/node/pull/61752
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-12 10:54:23 +01:00
dependabot[bot]
8e561a3d06
tools: bump unist-util-visit in /tools/doc in the doc group
...
Bumps the doc group in /tools/doc with 1 update: [unist-util-visit](https://github.com/syntax-tree/unist-util-visit ).
Updates `unist-util-visit` from 5.0.0 to 5.1.0
- [Release notes](https://github.com/syntax-tree/unist-util-visit/releases )
- [Commits](https://github.com/syntax-tree/unist-util-visit/compare/5.0.0...5.1.0 )
---
updated-dependencies:
- dependency-name: unist-util-visit
dependency-version: 5.1.0
dependency-type: direct:development
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/61646
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-11 21:02:25 +00:00
dependabot[bot]
9a237cdadd
tools: bump the eslint group in /tools/eslint with 6 updates
...
Bumps the eslint group in /tools/eslint with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) | `7.28.5` | `7.28.6` |
| [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) | `7.28.5` | `7.28.6` |
| [@babel/plugin-syntax-import-source](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-import-source ) | `7.27.1` | `7.28.6` |
| [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin ) | `5.6.1` | `5.7.1` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) | `61.5.0` | `62.4.1` |
| [globals](https://github.com/sindresorhus/globals ) | `16.5.0` | `17.2.0` |
Updates `@babel/core` from 7.28.5 to 7.28.6
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.28.6/packages/babel-core )
Updates `@babel/eslint-parser` from 7.28.5 to 7.28.6
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.28.6/eslint/babel-eslint-parser )
Updates `@babel/plugin-syntax-import-source` from 7.27.1 to 7.28.6
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.28.6/packages/babel-plugin-syntax-import-source )
Updates `@stylistic/eslint-plugin` from 5.6.1 to 5.7.1
- [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases )
- [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v5.7.1/packages/eslint-plugin )
Updates `eslint-plugin-jsdoc` from 61.5.0 to 62.4.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v61.5.0...v62.4.1 )
Updates `globals` from 16.5.0 to 17.2.0
- [Release notes](https://github.com/sindresorhus/globals/releases )
- [Commits](https://github.com/sindresorhus/globals/compare/v16.5.0...v17.2.0 )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-version: 7.28.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: "@babel/eslint-parser"
dependency-version: 7.28.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: "@babel/plugin-syntax-import-source"
dependency-version: 7.28.6
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: "@stylistic/eslint-plugin"
dependency-version: 5.7.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: eslint
- dependency-name: eslint-plugin-jsdoc
dependency-version: 62.4.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: eslint
- dependency-name: globals
dependency-version: 17.2.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/61628
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-02-11 19:04:03 +01:00
Mike McCready
fbb9b42541
build,win: add WinGet Visual Studio 2022 Build Tools Edition config
...
PR-URL: https://github.com/nodejs/node/pull/61652
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-02-11 17:40:35 +00:00
Nikita Skovoroda
dbe5d72c05
events: don't call resume after close
...
PR-URL: https://github.com/nodejs/node/pull/60548
Fixes: https://github.com/nodejs/node/issues/60507
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-02-11 17:15:39 +00:00
Juan José
379edcd792
doc: update Juan's security steward info
...
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61754
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-11 15:57:43 +00:00
Juan José
31bf4fb6e5
fs: add throwIfNoEntry option for fs.stat and fs.promises.stat
...
Fixes: https://github.com/nodejs/node/issues/61116
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61178
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-02-11 15:02:02 +00:00
Chengzhong Wu
cff8bfd865
test: unify assertSnapshot stacktrace transform
...
The snapshotted stack frames should hide node internal stack frames so
that general node core development does not need updating the snapshot.
For userland stack frames, they are highly fixture related and any
fixture change should reflect in a change of the snapshot. Additionally,
the line and column number are highly relevant to the correctness of the
snapshot, these should not be redacted. A change in node core that
affects userland stack frames should be alarming and be reflected in the
snapshots.
Features like test runner and source map support both should snapshot
userland stack frames to ensure that userland code locations are
computed correctly.
PR-URL: https://github.com/nodejs/node/pull/61665
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
2026-02-11 14:36:49 +00:00
Rafael Magrin
6682787d68
deps: V8: cherry-pick 64b36b441179
...
Original commit message:
optimize ascii fast path in WriteUtf8V2
Change-Id: If28168cb4395b953d0ec642ef4fc618ce963dbcd
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7124103
Reviewed-by: Toon Verwaest <verwaest@chromium.org >
Commit-Queue: Erik Corry <erikcorry@chromium.org >
Reviewed-by: Erik Corry <erikcorry@chromium.org >
Cr-Commit-Position: refs/heads/main@{#103542}
Refs: https://github.com/v8/v8/commit/64b36b44117949fe03df33d077117e7bd6257669
PR-URL: https://github.com/nodejs/node/pull/61712
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-11 09:56:14 +00:00
René
04946a7a8c
stream: rename Duplex.toWeb() type option to readableType
...
PR-URL: https://github.com/nodejs/node/pull/61632
Refs: https://github.com/nodejs/node/pull/58664
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-02-11 02:15:43 +00:00
Antoine du Hamel
42b261bbdc
doc: fix methods being documented as properties in process.md
...
PR-URL: https://github.com/nodejs/node/pull/61765
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-10 22:05:56 +00:00
Lu Yahan
4dc0d20b12
doc: add riscv64 info into platform list
...
PR-URL: https://github.com/nodejs/node/pull/42251
Reviewed-By: Stewart X Addison <sxa@redhat.com >
2026-02-10 14:50:13 +00:00
Antoine du Hamel
44289fdd0e
2026-02-10, Version 25.6.1 (Current)
...
Notable changes:
build,deps:
* replace `cjs-module-lexer` with `merve` (Yagiz Nizipli) https://github.com/nodejs/node/pull/61456
PR-URL: https://github.com/nodejs/node/pull/61739
2026-02-10 14:16:58 +01:00
Antoine du Hamel
beb7fd9d10
2026-02-10, Version 24.13.1 'Krypton' (LTS)
...
Notable changes:
build:
* add support for Python 3.14 (Christian Clauss) https://github.com/nodejs/node/pull/59983
cli:
* mark `--heapsnapshot-near-heap-limit` as stable (Joyee Cheung) https://github.com/nodejs/node/pull/60956
crypto:
* update root certificates to NSS 3.119 (Node.js GitHub Bot) https://github.com/nodejs/node/pull/61419
doc:
* mark `--build-snapshot` and `--build-snapshot-config` as stable (Joyee Cheung) https://github.com/nodejs/node/pull/60954
meta:
* add avivkeller to collaborators (Aviv Keller) https://github.com/nodejs/node/pull/61115
* add gurgunday to collaborators (Gürgün Dayıoğlu) https://github.com/nodejs/node/pull/61094
* add Renegade334 to collaborators (Renegade334) https://github.com/nodejs/node/pull/60714
url:
* update ada to v3.4.2 and support unicode 17 (Yagiz Nizipli) https://github.com/nodejs/node/pull/61593
v8:
* mark `v8.queryObjects()` as stable (Joyee Cheung) https://github.com/nodejs/node/pull/60957
PR-URL: https://github.com/nodejs/node/pull/61661
2026-02-10 14:16:51 +01:00
Jeff
4fca20c10b
doc: fix dropdown menu being obscured at <600px due to stacking context
...
PR-URL: https://github.com/nodejs/node/pull/61735
Fixes: https://github.com/nodejs/node/issues/59282
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-10 11:08:47 +00:00
Antoine du Hamel
9f6f3c1f0e
tools: use ubuntu-slim runner in GHA
...
PR-URL: https://github.com/nodejs/node/pull/61734
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-10 09:12:09 +00:00
Aviv Keller
617f8321f5
doc: fix spacing in process message event
...
PR-URL: https://github.com/nodejs/node/pull/61756
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-10 07:15:36 +00:00
Node.js GitHub Bot
ecd979c95a
tools: update nixpkgs-unstable to ae67888ff7ef9dff69b3cf0cc0fbfbcd3a7
...
PR-URL: https://github.com/nodejs/node/pull/61733
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-10 01:42:39 +00:00
Node.js GitHub Bot
f3b3bb8f24
deps: update googletest to 5a9c3f9e8d9b90bbbe8feb32902146cb8f7c1757
...
PR-URL: https://github.com/nodejs/node/pull/61731
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-10 01:42:28 +00:00
Node.js GitHub Bot
3819c7f6ae
test: update WPT for WebCryptoAPI to 7cbe7e8ed9
...
PR-URL: https://github.com/nodejs/node/pull/61729
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-10 01:01:10 +00:00
Node.js GitHub Bot
38eed48dee
test: update WPT for url to efb889eb4c
...
PR-URL: https://github.com/nodejs/node/pull/61728
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-10 01:00:58 +00:00
Alex Schwartz
30adc7c2f3
src: fix --build-sea default executable path
...
PR-URL: https://github.com/nodejs/node/pull/61708
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-02-09 23:27:02 +00:00
Joyee Cheung
551f605ffe
build: build with v8 gdbjit support on supported platform
...
Build it with gdbjit support on supported platforms by default
allows debugging JIT-compiled code in gdb when it's also enabled
at run time (via --gdbjit). Simply building it in should not
incur an overhead if it's not also enabled at run time.
PR-URL: https://github.com/nodejs/node/pull/61010
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-02-09 23:26:50 +00:00
Antoine du Hamel
f003f46019
tools: fix small inconsistencies in JSON doc output
...
PR-URL: https://github.com/nodejs/node/pull/61757
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-02-09 22:58:43 +00:00
Anna Henningsen
8ba4d727a8
src: track allocations made by zstd streams
...
This is both valuable as a diagnostic tool and as a way to inform
the JS runtime about external allocations.
Currently, this is a feature only enabled in the statically linked
builds of zstd, so with `--shared-zstd`, we fall back to the
non-tracking variant.
PR-URL: https://github.com/nodejs/node/pull/61717
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-09 20:42:56 +00:00
Anna Henningsen
e8b5fb6129
src: do not store compression methods on Brotli classes
...
This addresses a long-standing TODO comment, referencing the fact
that these values are either known at compile time or can be
inferred from the `this` value in the context class.
PR-URL: https://github.com/nodejs/node/pull/61717
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-09 20:42:55 +00:00
Anna Henningsen
fb4154902f
src: extract zlib allocation tracking into its own class
...
This makes it a bit easier to separate concerns, and results in
reduced code duplication when compiling since this code does not
depend on template parameters.
PR-URL: https://github.com/nodejs/node/pull/61717
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-09 20:42:53 +00:00
Anna Henningsen
6df454be70
src: release memory for zstd contexts in Close()
...
This aligns zstd streams with other compression libraries in this
regard, and enables releasing memory early when the stream ends in
JS instead of waiting for GC to clean up the wrapper object (which
is a problem that is exacerbated in the zstd context because we
do not track memory and report memory pressure to V8 yet).
PR-URL: https://github.com/nodejs/node/pull/61717
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-09 20:42:53 +00:00
Luca Raveri
5dfb1a2e31
doc: move describe/it aliases section before expectFailure
...
PR-URL: https://github.com/nodejs/node/pull/61567
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
2026-02-09 20:26:12 +00:00
Joyee Cheung
2c8517e3da
src: add more checks and clarify docs for external references
...
To help catch unregistered bindings.
PR-URL: https://github.com/nodejs/node/pull/61719
Refs: https://github.com/nodejs/node/pull/61718
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-02-09 16:16:23 +00:00
YuSheng Chen
d0e75fd65b
doc: fix broken links of net.md
...
PR-URL: https://github.com/nodejs/node/pull/61673
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-09 15:32:50 +00:00
Joyee Cheung
b864049f02
src: fix cjs_lexer external reference registration
...
It needs to be added to the list to actually get registered.
PR-URL: https://github.com/nodejs/node/pull/61718
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-02-09 14:21:34 +00:00
Chengzhong Wu
a8479a219d
test: restraint version replacement pattern in snapshots
...
PR-URL: https://github.com/nodejs/node/pull/61748
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-02-09 12:59:45 +00:00
npm CLI robot
287eb492a6
deps: upgrade npm to 11.9.0
...
PR-URL: https://github.com/nodejs/node/pull/61685
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 >
2026-02-09 12:59:32 +00:00