RafaelGSS
610c6e49ed
2026-03-24, Version 25.8.2 (Current)
...
This is a security release.
Notable changes:
build,deps,test:
* (CVE-2026-21717) test array index hash collision
crypto:
* (CVE-2026-21713) use timing-safe comparison in Web Cryptography HMAC and KMAC
http:
* (CVE-2026-21710) use null prototype for headersDistinct/trailersDistinct
permission:
* (CVE-2026-21711) include permission check to pipe_wrap.cc
* (CVE-2026-21716) include permission check on lib/fs/promises
* (CVE-2026-21715) add permission check to realpath.native
src:
* (CVE-2026-21714) handle NGHTTP2_ERR_FLOW_CONTROL error code
* (CVE-2026-21712) handle url crash on different url formats
tls:
* (CVE-2026-21637) wrap SNICallback invocation in try/catch
PR-URL: https://github.com/nodejs-private/node-private/pull/843
2026-03-23 13:43:05 -03:00
Node.js GitHub Bot
2b6937ddb2
deps: update undici to 7.24.4
...
PR-URL: https://github.com/nodejs/node/pull/62271
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-03-23 12:06:46 -03:00
Node.js GitHub Bot
bfb8ad5787
deps: update undici to 7.24.3
...
PR-URL: https://github.com/nodejs/node/pull/62233
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-03-23 12:06:46 -03:00
RafaelGSS
d9c9b628cf
src: handle NGHTTP2_ERR_FLOW_CONTROL error code
...
Refs: https://hackerone.com/reports/3531737
PR-URL: https://github.com/nodejs-private/node-private/pull/832
CVE-ID: CVE-2026-21714
2026-03-20 15:07:19 -03:00
Filip Skokan
0f9332a40a
crypto: use timing-safe comparison in Web Cryptography HMAC and KMAC
...
Use `CRYPTO_memcmp` instead of `memcmp` in `HMAC` and `KMAC`
Web Cryptography algorithm implementations.
Ref: https://hackerone.com/reports/3533945
PR-URL: https://github.com/nodejs-private/node-private/pull/822
Refs: https://hackerone.com/reports/3533945
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
CVE-ID: CVE-2026-21713
2026-03-20 15:07:18 -03:00
RafaelGSS
5197a56a34
permission: include permission check to pipe_wrap.cc
...
PR-URL: https://github.com/nodejs-private/node-private/pull/820
Refs: https://hackerone.com/reports/3559715
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
CVE-ID: CVE-2026-21711
2026-03-20 15:07:18 -03:00
RafaelGSS
45b55dc786
src: handle url crash on different url formats
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs-private/node-private/pull/816
Refs: https://hackerone.com/reports/3546390
CVE-ID: CVE-2026-21712
2026-03-20 14:26:10 -03:00
RafaelGSS
9a7f80f2b0
permission: add permission check to realpath.native
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs-private/node-private/pull/794
Refs: https://hackerone.com/reports/3480841
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
CVE-ID: CVE-2026-21715
2026-03-20 14:18:22 -03:00
Antoine du Hamel
ca2d6eac88
Working on v25.8.2
...
PR-URL: https://github.com/nodejs/node/pull/62184
2026-03-11 09:58:02 +01:00
Node.js GitHub Bot
2ea7a7b67c
2026-03-11, Version 25.8.1 (Current)
...
PR-URL: https://github.com/nodejs/node/pull/62184
2026-03-10 20:21:48 +01:00
Node.js GitHub Bot
3beaf9c5fc
deps: update amaro to 1.1.8
...
PR-URL: https://github.com/nodejs/node/pull/62151
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-03-10 20:20:08 +01:00
Node.js GitHub Bot
a13ed052a1
deps: update merve to 1.2.0
...
PR-URL: https://github.com/nodejs/node/pull/62149
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-03-10 20:20:08 +01:00
Anna Henningsen
19efe60548
src: expose async context frame debugging helper to JS
...
This was invaluable for debugging the previous change,
so I'm suggesting we add it regardless of it being a
debugging-only API.
PR-URL: https://github.com/nodejs/node/pull/62103
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-03-10 20:20:00 +01:00
Anna Henningsen
0257e8072f
src: make AsyncWrap subclass internal field counts explicit
...
This helps ensure that we already set the correct number of
internal fields when creating objects, even if the number of
internal fields of e.g. AsyncWrap changes over time.
PR-URL: https://github.com/nodejs/node/pull/62103
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-03-10 14:48:54 +01:00
Aditi
b26d1c7fcb
crypto: make --use-system-ca per-env rather than per-process
...
PR-URL: https://github.com/nodejs/node/pull/60678
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-03-10 14:48:53 +01:00
Gerhard Stöbich
5198573bee
http: fix use-after-free when freeParser is called during llhttp_execute
...
When pipelined requests arrive in one TCP segment, llhttp_execute()
parses them all in a single call. If a synchronous 'close' event
handler invokes freeParser() mid-execution, cleanParser() nulls out
parser state while llhttp_execute() is still on the stack, crashing on
the next callback.
Add an is_being_freed_ flag that freeParser() sets via
parser.markFreed() before cleaning state. Proxy::Raw checks the flag
before every callback and returns HPE_USER to abort execution early if
set.
PR-URL: https://github.com/nodejs/node/pull/62095
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-03-10 14:48:53 +01:00
Gerhard Stöbich
975dafbe3b
src: release context frame in AsyncWrap::EmitDestroy
...
Release the async context frame in AsyncWrap::EmitDestroy to allow
gc to collect it.
This is in special relevant for reused resources like HTTPParser
otherwise they might keep ALS stores alive.
PR-URL: https://github.com/nodejs/node/pull/61995
Fixes: https://github.com/nodejs/node/issues/61882
Refs: https://github.com/nodejs/node/pull/48528
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-03-10 14:48:51 +01:00
Guilherme Araújo
851228cd60
sqlite: handle stmt invalidation
...
PR-URL: https://github.com/nodejs/node/pull/61877
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-03-10 14:48:50 +01:00
Nikita Skovoroda
f2c08c7888
src: use validate_ascii_with_errors instead of validate_ascii
...
It has better performance
PR-URL: https://github.com/nodejs/node/pull/61122
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-03-10 14:48:44 +01:00
Richard Lau
f91cf7f548
Working on v25.8.1
...
PR-URL: https://github.com/nodejs/node/pull/62073
2026-03-03 15:40:55 +00:00
Node.js GitHub Bot
ae94abf85a
2026-03-03, Version 25.8.0 (Current)
...
Notable changes:
build, doc:
* use new api doc tooling (flakey5) https://github.com/nodejs/node/pull/57343
sqlite:
* (SEMVER-MINOR) add limits property to DatabaseSync (Mert Can Altin) https://github.com/nodejs/node/pull/61298
src:
* (SEMVER-MINOR) add C++ support for diagnostics channels (RafaelGSS) https://github.com/nodejs/node/pull/61869
src,permission:
* (SEMVER-MINOR) add --permission-audit (RafaelGSS) https://github.com/nodejs/node/pull/61869
test_runner:
* (SEMVER-MINOR) expose worker ID for concurrent test execution (Ali Hassan) https://github.com/nodejs/node/pull/61394
PR-URL: https://github.com/nodejs/node/pull/62073
2026-03-02 20:26:25 +00:00
Weixie Cui
aee2a18257
src: fix flags argument offset in JSUdpWrap
...
Signed-off-by: Weixie Cui <cuiweixie@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61948
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-03-02 14:41:01 +00:00
Node.js GitHub Bot
51ded81139
deps: update undici to 7.22.0
...
PR-URL: https://github.com/nodejs/node/pull/62035
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2026-03-02 14:40:56 +00:00
Mert Can Altin
4c181e2277
sqlite: add limits property to DatabaseSync
...
PR-URL: https://github.com/nodejs/node/pull/61298
Fixes: https://github.com/nodejs/node/issues/61268
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-02-28 12:07:22 +01:00
ndossche
a32a598748
crypto: fix missing nullptr check on RSA_new()
...
Not checking this can cause a null deref. Since there is already a
null check at the bottom of the function with `NewRSA()`.
PR-URL: https://github.com/nodejs/node/pull/61888
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-02-28 12:07:01 +01:00
RafaelGSS
9ddd1a9c27
src,permission: add --permission-audit
...
Add --permission-audit flag that enables the permission model in
warning-only mode. Instead of throwing ERR_ACCESS_DENIED, it emits
a message via diagnostics channel and allows the operation to
continue.
Publish permission check results to per-scope diagnostics channels
(e.g., node:permission-model:fs) so users can observe permission
decisions at runtime via diagnostics_channel.
Refs: https://github.com/nodejs/node/issues/59935
PR-URL: https://github.com/nodejs/node/pull/61869
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-02-28 12:07:00 +01:00
RafaelGSS
46ee1eddd7
src: add C++ support for diagnostics channels
...
Add a C++ API for diagnostics channels that allows native code to check
for subscribers and publish messages without unnecessary JS boundary
crossings. Uses a shared AliasedUint32Array buffer between C++ and JS
to track subscriber counts per channel, enabling a fast inline check
(HasSubscribers) that reads the buffer directly.
PR-URL: https://github.com/nodejs/node/pull/61869
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-02-28 12:07:00 +01:00
Nora Dossche
dc384f95b3
crypto: fix handling of null BUF_MEM* in ToV8Value()
...
The assignment to `bptr` calls `BIO_get_mem_ptr` which can fail and
leave the `bptr` as nullptr. This then later causes a null pointer
deref.
This is inconsistent with uses of the similar function
`BIO_get_mem_data` that do check its return value, e.g.
`node::crypto::X509sToArrayOfStrings()`.
Solve it by checking for a null pointer and handling the `Nothing`
return value at the call sites.
PR-URL: https://github.com/nodejs/node/pull/61885
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-02-28 12:07:00 +01:00
Node.js GitHub Bot
f53a32ab84
deps: update acorn to 8.16.0
...
PR-URL: https://github.com/nodejs/node/pull/61925
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-02-28 12:06:59 +01:00
Nora Dossche
3337b095db
crypto: fix potential null pointer dereference when BIO_meth_new() fails
...
This function can return null, which will make the calls to
BIO_meth_set_* trigger a null deref.
Even after fixing this, there is an issue with the
`BIOPointer::New(GetMethod())` call in `NodeBIO::New` because the
`New` method cannot handle a null pointer despite other code already
guarding for this
(e.g. the `NodeBIO::New` function already checks `bio`).
This patch solves the issues by adding more null checks.
PR-URL: https://github.com/nodejs/node/pull/61788
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-02-28 12:06:58 +01:00
Ruy Adorno
6a2c8d8daa
Working on v25.7.1
...
PR-URL: https://github.com/nodejs/node/pull/61922
2026-02-24 10:15:42 -05:00
Antoine du Hamel
e7f5e71f3b
2026-02-24, Version 25.7.0 (Current)
...
Notable changes:
http2:
* (SEMVER-MINOR) add http1Options for HTTP/1 fallback configuration (Amol Yadav) https://github.com/nodejs/node/pull/61713
sea:
* (SEMVER-MINOR) support ESM entry point in SEA (Joyee Cheung) https://github.com/nodejs/node/pull/61813
sqlite:
* mark as release candidate (Matteo Collina) https://github.com/nodejs/node/pull/61262
stream:
* (SEMVER-MINOR) rename `Duplex.toWeb()` type option to `readableType` (René) https://github.com/nodejs/node/pull/61632
test_runner:
* (SEMVER-MINOR) show interrupted test on SIGINT (Matteo Collina) https://github.com/nodejs/node/pull/61676
PR-URL: https://github.com/nodejs/node/pull/61922
2026-02-23 20:31:15 +01:00
Joyee Cheung
2d874dfb8e
sea: support ESM entry point in SEA
...
This uses the new StartExecutionCallbackWithModule embedder
API to support ESM entrypoint in SEA via a new configuration
field `"mainFormat"`. The behavior currently aligns with the
embedder API and is mostly in sync with the CommonJS entry
point behavior, except that support for code caching and
snapshot is left for follow-ups.
PR-URL: https://github.com/nodejs/node/pull/61813
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-02-19 11:14:05 +01:00
Anna Henningsen
f14ff14473
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-19 11:14:03 +01:00
Andy Weiss
dfac82a235
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-19 11:14:02 +01:00
Tobias Nießen
26a09e541d
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-19 11:14:02 +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
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
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
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
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
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
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
2026-02-09 14:56:38 +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
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