Antoine du Hamel
ea8886f7d5
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-19 11:14:01 +01:00
Anna Henningsen
938841e1cd
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-19 11:14:01 +01:00
dependabot[bot]
9db82ba786
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-19 11:14:01 +01:00
dependabot[bot]
c8e58c56b9
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-19 11:14:01 +01:00
Mike McCready
848050d38f
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-19 11:14:01 +01:00
Nikita Skovoroda
4484e14a31
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-19 11:14:01 +01:00
Juan José
b4a826b11c
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-19 11:14:01 +01:00
Juan José
4cecbe1f53
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-19 11:14:00 +01:00
Rafael Magrin
7d63a2df93
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-19 11:13:47 +01:00
René
608736e19e
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-19 11:13:47 +01:00
Antoine du Hamel
7d9cc5dc54
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-19 11:13:46 +01:00
Lu Yahan
aa0362c26a
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-19 11:13:46 +01:00
Jeff
9b0101b65b
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-19 11:13:46 +01:00
Antoine du Hamel
2518ec77e8
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-19 11:13:46 +01:00
Aviv Keller
df2c65b3e4
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-19 11:13:46 +01:00
Node.js GitHub Bot
241a6b7088
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-19 11:13:46 +01:00
Node.js GitHub Bot
d2fef4a31a
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-19 11:13:45 +01:00
Node.js GitHub Bot
d7a87f14da
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-19 11:13:45 +01:00
Alex Schwartz
62b0758c47
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-19 11:13:45 +01:00
Joyee Cheung
bb82b44de0
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-19 11:13:45 +01:00
Antoine du Hamel
c5ad2beba3
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-19 11:13:45 +01:00
Anna Henningsen
b5724921b1
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-19 11:13:45 +01:00
Anna Henningsen
3d1d1523a5
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-19 11:13:45 +01:00
Anna Henningsen
b2915cda77
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-19 11:13:44 +01:00
Anna Henningsen
3032a7e3c6
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-19 11:13:44 +01:00
Luca Raveri
01018559f5
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-19 11:13:44 +01:00
Joyee Cheung
bc2287db74
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-19 11:13:44 +01:00
YuSheng Chen
49443583af
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-19 11:13:44 +01:00
Joyee Cheung
5daf282e33
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-19 11:13:44 +01:00
Joyee Cheung
fb2db5f947
src: support import() and import.meta in embedder-run modules
...
This adds a embedder_module_hdo for identifying embedder-run
modules in the dynamic import handler and import.meta initializer,
and a SourceTextModuleTypes for customizing source text module
compilation in the JS land via compileSourceTextModule().
Also, refactors the existing embedder module compilation code
to reuse the builtin resolution logic.
PR-URL: https://github.com/nodejs/node/pull/61654
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Aditi Singh <aditisingh1400@gmail.com >
2026-02-19 11:13:44 +01:00
sangwook
4f2f8006bd
repl: fix FileHandle leak in history initialization
...
Ensure that the history file handle is closed if initialization fails or
flushing throws an error. This prevents ERR_INVALID_STATE errors where
a FileHandle object is closed during garbage collection.
PR-URL: https://github.com/nodejs/node/pull/61706
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-02-19 11:13:43 +01:00
Karan Mangtani
221648a687
esm: update outdated FIXME comment in translators.js
...
PR-URL: https://github.com/nodejs/node/pull/61715
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-02-19 11:13:43 +01:00
sangwook
c589b6b23c
http2: fix FileHandle leak in respondWithFile
...
Ensure that the file handle is closed if header validation fails in
respondWithFile. This prevents ERR_INVALID_STATE errors where a
FileHandle object is closed during garbage collection.
PR-URL: https://github.com/nodejs/node/pull/61707
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-02-19 11:13:43 +01:00
Chengzhong Wu
e7173a093a
build: show cc outputs when version detection failed
...
PR-URL: https://github.com/nodejs/node/pull/61700
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-19 11:13:43 +01:00
Antoine du Hamel
a9f90bee0a
tools: use ubuntu-latest runner in notify-on-push workflow
...
PR-URL: https://github.com/nodejs/node/pull/61742
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-02-19 11:13:43 +01:00
Vivian Wang and kxxt
eec896c0e0
deps: V8: backport 6a0a25abaed3
...
Original commit message:
[riscv] Fix sp handling in MacroAssembler::LeaveFrame
Keep sp <= fp to ensure that data right above fp doesn't get clobbered
by an inopportune signal and its handler.
Such clobbering can happen in e.g. Node.js when JIT-compiled code is
interrupted by a SIGCHLD handler.
Bug: None
Change-Id: Ief0836032ada7942e89f081f7605f61632c4d414
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7540554
Reviewed-by: Ji Qiu <qiuji@iscas.ac.cn >
Commit-Queue: Yahan Lu (LuYahan) <yahan@iscas.ac.cn >
Reviewed-by: Rezvan Mahdavi Hezaveh <rezvan@chromium.org >
Cr-Commit-Position: refs/heads/main@{#105069}
Refs: https://github.com/v8/v8/commit/6a0a25abaed397f83eb0d92e4b33a5e18204f8bc
Co-authored-by: kxxt <rsworktech@outlook.com >
PR-URL: https://github.com/nodejs/node/pull/61666
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-19 11:13:42 +01:00
Joyee Cheung
b6ae1fc4b8
test: split test-embedding.js and run tests in parallel
...
Split the tests so that it's easier to isolate and debug issues,
and we can run the test cases in parallel to speed up. Also
add more comments about what they are testing.
PR-URL: https://github.com/nodejs/node/pull/61571
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-19 11:13:22 +01:00
reillylm
af7c927a2a
doc: clean up Windows code snippet in child_process.md
...
PR-URL: https://github.com/nodejs/node/pull/61422
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-02-19 11:13:16 +01:00
Antoine du Hamel
79bd3acbea
Working on v25.6.2
...
PR-URL: https://github.com/nodejs/node/pull/61739
2026-02-10 14:11:24 +01:00
Antoine du Hamel
43133f2d70
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
v25.6.1
2026-02-09 14:56:38 +01:00
Chengzhong Wu
e90cec2f69
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 14:54:52 +01:00
npm CLI robot
a727054503
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 14:54:47 +01:00
Node.js GitHub Bot
c78c49ed6b
deps: update amaro to 1.1.7
...
PR-URL: https://github.com/nodejs/node/pull/61730
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-02-08 16:47:10 +01:00
Node.js GitHub Bot
4790816d9b
deps: update minimatch to 10.1.2
...
PR-URL: https://github.com/nodejs/node/pull/61732
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-02-08 12:35:00 +01:00
Anna Henningsen
9c8ad7e881
src: elide heap allocation in structured clone implementation
...
Small perf improvement:
$ node benchmark/compare.js --runs 100 \
> --old ./node-0da120f879 --new ./node \
> --filter structured-clone misc > comparison.csv && \
> npx node-benchmark-compare comparison.csv
[00:02:15|% 100| 1/1 files | 200/200 runs | 3/3 configs]: Done
confidence improvement accuracy (*) (**) (***)
misc/structured-clone.js n=10000 type='arraybuffer' ** 1.81 % ±1.28% ±1.68% ±2.16%
misc/structured-clone.js n=10000 type='object' * 0.62 % ±0.55% ±0.73% ±0.93%
misc/structured-clone.js n=10000 type='string' *** 8.30 % ±1.46% ±1.92% ±2.47%
Be aware that when doing many comparisons the risk of a false-positive result increases.
In this case, there are 3 comparisons, you can thus expect the following amount of false-positive results:
0.15 false positives, when considering a 5% risk acceptance (*, **, ***),
0.03 false positives, when considering a 1% risk acceptance (**, ***),
0.00 false positives, when considering a 0.1% risk acceptance (***)
PR-URL: https://github.com/nodejs/node/pull/61703
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-02-08 10:10:46 +01:00
Matteo Collina
439b816bc7
doc: clarify EventEmitter error handling in threat model
...
Add documentation explaining that applications are expected to attach
'error' event handlers to EventEmitters that can emit errors, including
HTTP streams. Crashes resulting from missing error handlers are not
considered denial-of-service vulnerabilities in Node.js.
PR-URL: https://github.com/nodejs/node/pull/61701
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2026-02-08 10:10:46 +01:00
Chengzhong Wu
adce20c0a1
test: print stack immediately avoiding GC interleaving
...
`require(mod)` does not keep the mod in require cache if
mod throws synchronously. This fixes the tests to print
the stack immediately in case that source map cache could
be cleaned up when the CJS module is reclaimed by GC in
the next event loop tick.
PR-URL: https://github.com/nodejs/node/pull/61699
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-08 10:10:46 +01:00
Steven
c1c6641f23
doc: mention default option for test runner env
...
PR-URL: https://github.com/nodejs/node/pull/61659
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-08 10:10:46 +01:00
Mert Can Altin
c4ecfef93d
src: use simdutf for one-byte string UTF-8 write in stringBytes
...
PR-URL: https://github.com/nodejs/node/pull/61696
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-02-08 10:10:45 +01:00
Ali Hassan
d4c9b5cf5b
sqlite: avoid extra copy for large text binds
...
When binding UTF-8 strings to prepared statements, transfer ownership of
malloc-backed Utf8Value buffers to SQLite to avoid an extra copy for
large strings. Use sqlite3_bind_blob64() when binding BLOB parameters.
PR-URL: https://github.com/nodejs/node/pull/61580
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2026-02-08 10:10:45 +01:00