Filip Skokan
3725bd2145
stream: fix brotli error handling in web compression streams
...
Convert brotli decompression errors to TypeError to match the
Compression Streams spec, by extending handleKnownInternalErrors()
in the adapters layer to recognize brotli error codes.
This replaces the manual error event handler on DecompressionStream
which was redundant with the adapter's built-in error propagation.
PR-URL: https://github.com/nodejs/node/pull/62107
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-03-06 22:08:57 +00:00
Filip Skokan
7991cd2a71
stream: improve Web Compression spec compliance
...
Pass rejectGarbageAfterEnd: true to createInflateRaw() and
createBrotliDecompress(), matching the behavior already in place
for deflate and gzip. The Compression Streams spec treats any
data following a valid compressed payload as an error.
When the underlying Node.js stream throws synchronously from
write() (e.g. zlib rejects an invalid chunk type), destroy the
stream so that the readable side is also errored. Without this,
the readable side hangs forever waiting for data that will never
arrive.
Introduce a kValidateChunk callback option in the webstreams
adapter layer. Compression streams use this to validate that
chunks are BufferSource instances not backed by SharedArrayBuffer,
replacing the previous monkey-patching of the underlying
handle's write method.
Unskip WPT compression bad-chunks tests which now run instead of
hang and mark the remaining expected failures.
PR-URL: https://github.com/nodejs/node/pull/62107
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-03-06 22:08:56 +00:00
Filip Skokan
165334a920
test: improve WPT report runner
...
Add incremental report writing after each spec completes and on
worker errors so that reports survive if the process is killed
before the exit handler runs.
Add bytes() method to readAsFetch() to match the Response API
used by newer WPT tests.
PR-URL: https://github.com/nodejs/node/pull/62107
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-03-06 22:08:56 +00:00
Filip Skokan
7feff3a715
test: update WPT compression to ae05f5cb53
...
PR-URL: https://github.com/nodejs/node/pull/62107
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-03-06 22:08:55 +00:00
Anna Henningsen
50fe010252
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-06 16:44:35 +00:00
Anna Henningsen
6ad5f7cb80
src: convert context_frame field in AsyncWrap to internal field
...
Using an internal field instead of a `v8::Global<>` removes
an unnecessary memory leak footgun.
This includes a test that demonstrates the issue, albeit
using internal APIs.
It's worth noting that if this PR is not accepted, we'd still
be missing memory tracking for the `context_frame_` field,
and we'd need to add it through our memory tracking 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-06 16:44:34 +00:00
Anna Henningsen
b872cc2fcf
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-06 16:44:32 +00:00
Efe
1947018997
doc: add efekrskl as triager
...
PR-URL: https://github.com/nodejs/node/pull/61876
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-03-06 16:24:46 +00:00
Matteo Collina
a9da9ffc04
repl: remove dependency on domain module
...
Replace the domain-based error handling with AsyncLocalStorage and
setUncaughtExceptionCaptureCallback. This removes the REPL's dependency
on the deprecated domain module while preserving all existing behavior:
- Synchronous errors during eval are caught and displayed
- Async errors (setTimeout, promises, etc.) are caught via the
uncaught exception capture callback
- Top-level await errors are caught and displayed
- The REPL continues operating after errors
- Multiple REPL instances can coexist with errors routed correctly
Changes:
- Use AsyncLocalStorage to track which REPL instance owns an async
context, replacing domain's automatic async tracking
- Add setupExceptionCapture() to install
setUncaughtExceptionCaptureCallback for catching async errors and
routing them to the correct REPL
- Extract error handling logic into REPLServer.prototype._handleError()
- Wrap eval execution in replContext.run() for async context tracking
- Update newListener protection to check AsyncLocalStorage context
- Throw ERR_INVALID_ARG_VALUE if options.domain is passed
PR-URL: https://github.com/nodejs/node/pull/61227
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2026-03-06 15:38:36 +00:00
Antoine du Hamel
798797aa89
tools: fix --node-builtin-modules-path value in shell.nix
...
PR-URL: https://github.com/nodejs/node/pull/62102
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2026-03-06 15:20:51 +00:00
Aditi
83f5cc74fc
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-06 14:41:39 +00:00
Filip Skokan
d9f22269c0
crypto: add missing AES dictionaries
...
PR-URL: https://github.com/nodejs/node/pull/62099
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-03-06 10:39:52 +00:00
Filip Skokan
856231e8c4
crypto: fix importKey required argument count check
...
PR-URL: https://github.com/nodejs/node/pull/62099
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-03-06 10:39:51 +00:00
Gerhard Stöbich
a06e789625
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-06 06:01:21 +00:00
Matteo Collina
8edeff9aa7
stream: fix UTF-8 character corruption in fast-utf8-stream
...
Fix releaseWritingBuf() to correctly handle partial writes that split
multi-byte UTF-8 characters. The previous implementation incorrectly
converted byte counts to character counts, causing:
- 3-byte characters (CJK) to be silently dropped
- 4-byte characters (emoji) to leave lone surrogates in the buffer
The fix backs up from the byte position to find a valid UTF-8 character
boundary by checking for continuation bytes (pattern 10xxxxxx), then
decodes the properly-aligned bytes to get the correct character count.
Also fixes a typo where this._asyncDrainScheduled was used instead of
the private field this.#asyncDrainScheduled.
Fixes: https://github.com/nodejs/node/issues/61744
PR-URL: https://github.com/nodejs/node/pull/61745
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2026-03-05 19:32:54 +00:00
dependabot[bot]
10cfcbeaf7
tools: bump the eslint group across 1 directory with 2 updates
...
Bumps the eslint group with 2 updates in the /tools/eslint directory: [eslint](https://github.com/eslint/eslint ) and [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ).
Updates `eslint` from 10.0.1 to 10.0.2
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v10.0.1...v10.0.2 )
Updates `eslint-plugin-jsdoc` from 62.7.0 to 62.7.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v62.7.0...v62.7.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-version: 10.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: eslint-plugin-jsdoc
dependency-version: 62.7.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62092
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-03-05 17:34:11 +00:00
Antoine du Hamel
4431abc01e
2026-03-05, Version 22.22.1 'Jod' (LTS)
...
build:
* test on 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
* update root certificates to NSS 3.117 (Node.js GitHub Bot) https://github.com/nodejs/node/pull/60741
doc:
* 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
meta:
* add Renegade334 to collaborators (Renegade334) https://github.com/nodejs/node/pull/60714
PR-URL: https://github.com/nodejs/node/pull/61947
2026-03-05 15:09:33 +01:00
Marco Ippolito
0c07822256
2026-03-05, Version 20.20.1 'Iron' (LTS)
...
Notable changes:
build:
* test on Python 3.14 (Christian Clauss) https://github.com/nodejs/node/pull/59983
crypto:
* update root certificates to NSS 3.119 (Node.js GitHub Bot) https://github.com/nodejs/node/pull/61419
* update root certificates to NSS 3.117 (Node.js GitHub Bot) https://github.com/nodejs/node/pull/60741
PR-URL: https://github.com/nodejs/node/pull/62088
2026-03-05 15:00:41 +01:00
Filip Skokan
55363254cc
tools: fix daily wpt workflow nighly release version lookup
...
PR-URL: https://github.com/nodejs/node/pull/62076
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-03-04 17:25:42 +00:00
Richard Lau
7c4dc34c28
tools: fix example in release proposal linter
...
`changelog-maker` writes 10 character length short form SHA's.
Explicitly set the `git log format` in the example to match.
PR-URL: https://github.com/nodejs/node/pull/62074
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-03-04 16:43:14 +00:00
Marco
16472884aa
stream: fix TransformStream race on cancel with pending write
...
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62040
Fixes: https://github.com/nodejs/node/issues/62036
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-03-04 16:02:27 +00:00
Mike McCready
ef0f0b0865
doc: update supported Windows SDK version to 11
...
PR-URL: https://github.com/nodejs/node/pull/61973
Refs: https://github.com/nodejs/node/pull/61864
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-03-04 14:44:55 +00:00
Jacob Smith
23ba2054f3
doc: fix markdown for expectFailure values
...
PR-URL: https://github.com/nodejs/node/pull/62100
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-03-04 14:26:01 +00:00
dependabot[bot]
330e3ee67e
tools: bump minimatch from 3.1.3 to 3.1.5 in /tools/clang-format
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.1.3 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.3...v3.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62013
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-03-03 23:14:24 +00:00
Chengzhong Wu
afc30b71a8
lib: fix source map url parse in dynamic imports
...
PR-URL: https://github.com/nodejs/node/pull/61990
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-03-03 20:35:35 +00:00
dependabot[bot]
a78cca6deb
meta: bump step-security/harden-runner from 2.14.2 to 2.15.0
...
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner ) from 2.14.2 to 2.15.0.
- [Release notes](https://github.com/step-security/harden-runner/releases )
- [Commits](https://github.com/step-security/harden-runner/compare/5ef0c079ce82195b2a36a210272d6b661572d83e...a90bcbc6539c36a85cdfeb73f7e2f433735f215b )
---
updated-dependencies:
- dependency-name: step-security/harden-runner
dependency-version: 2.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/62064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-03-03 19:18:30 +00:00
Huáng Jùnliàng
e5546618ea
tools: bump eslint to v10, babel to v8.0.0-rc.2
...
PR-URL: https://github.com/nodejs/node/pull/61905
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-03-03 17:14:32 +00:00
Antoine du Hamel
48c208fe66
build: do not depend on V8 deps on --without-bundled-v8 builds
...
PR-URL: https://github.com/nodejs/node/pull/62033
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-03-03 17:33:54 +01:00
Joyee Cheung
d0798d12ed
doc,module: add missing doc for syncHooks.deregister()
...
PR-URL: https://github.com/nodejs/node/pull/61959
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-03-03 16:33:28 +00:00
Node.js GitHub Bot
3b9fe896c3
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-03 15:50:38 +00:00
Gerhard Stöbich
4eac93779a
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-03 14:09:06 +00:00
沈鸿飞
2422ed8b5b
src: remove redundant experimental_transform_types from node_options.h
...
PR-URL: https://github.com/nodejs/node/pull/62058
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-03-03 08:25:34 +00:00
Node.js GitHub Bot
9cc7cee15e
deps: update ada to 3.4.3
...
PR-URL: https://github.com/nodejs/node/pull/62049
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-03-03 08:25:23 +00:00
Aviv Keller
6291ea76c2
doc: add title to index
...
PR-URL: https://github.com/nodejs/node/pull/62046
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-03-03 08:25:12 +00:00
Node.js GitHub Bot
2f5e9ccc53
test: update WPT for WebCryptoAPI to 42e47329fd
...
PR-URL: https://github.com/nodejs/node/pull/62048
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-03-03 00:53:12 +00:00
Guilherme Araújo
88be44db0e
sqlite: handle stmt invalidation
...
PR-URL: https://github.com/nodejs/node/pull/61877
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-03-02 23:29:14 +00:00
조수민
cb6ff03cc5
stream: accept ArrayBuffer in CompressionStream and DecompressionStream
...
PR-URL: https://github.com/nodejs/node/pull/61913
Fixes: https://github.com/nodejs/node/issues/43433
Reviewed-By: Mattias Buelens <mattias@buelens.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-03-02 23:15:09 +00:00
tannal
ddecee7447
cli: add --max-heap-size option
...
PR-URL: https://github.com/nodejs/node/pull/58708
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-03-02 23:14:47 +00:00
Antoine du Hamel
5554a288c6
test: fix skipping behavior for test-runner-run-files-undefined
...
PR-URL: https://github.com/nodejs/node/pull/62026
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-03-02 23:04:06 +00:00
Mike McCready
d198813a6b
doc: include url.resolve() in DEP0169 application deprecation
...
Mark url.resolve() as deprecated
Update also DEP0116 with cross-reference to DEP0169
PR-URL: https://github.com/nodejs/node/pull/62002
Fixes: https://github.com/nodejs/node/issues/61816
Refs: https://github.com/nodejs/node/pull/61780
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-03-02 23:03:53 +00:00
Nikita Skovoroda
097e763e02
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-02 23:03:43 +00:00
Antoine du Hamel
78e56face1
tools: fix parsing of commit trailers in lint-release-proposal GHA
...
PR-URL: https://github.com/nodejs/node/pull/62077
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
2026-03-02 19:29:52 +00:00
Matteo Collina
acb79bca7e
http: validate ClientRequest path on set
...
The `path` property on `ClientRequest` was only validated at
construction time. Add a getter/setter so that the same
`INVALID_PATH_REGEX` check runs whenever `req.path` is reassigned,
preventing invalid characters from reaching `_implicitHeader()`.
PR-URL: https://github.com/nodejs/node/pull/62030
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-03-02 19:10:56 +00:00
Joyee Cheung
dd400b9f12
module: run require.resolve through module.registerHooks()
...
Previously, require.resolve() called Module._resolveFilename() directly,
bypassing any resolve hooks registered via module.registerHooks(). This
patch fixes that.
PR-URL: https://github.com/nodejs/node/pull/62028
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-03-02 18:28:25 +00:00
Rafael Gonzaga
f8d5bad52f
doc: expand SECURITY.md with non-vulnerability examples
...
PR-URL: https://github.com/nodejs/node/pull/61972
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2026-03-02 14:51:55 +00:00
Richard Clarke
e78bf55913
http: validate headers in writeEarlyHints
...
Add validateHeaderName/validateHeaderValue checks for non-link
headers and checkInvalidHeaderChar for the Link value in HTTP/1.1
writeEarlyHints, closing a CRLF injection gap where header names
and values were concatenated into the raw response without
validation.
Also tighten linkValueRegExp to reject CR/LF inside the <...>
URL portion of Link header values.
PR-URL: https://github.com/nodejs/node/pull/61897
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-03-02 12:49:30 +00:00
Weixie Cui
09c21d8bdb
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 11:20:16 +01:00
Shelley Vohr
9027f29e6d
build: fix GN for new merve dep
...
PR-URL: https://github.com/nodejs/node/pull/61984
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-03-02 09:53:18 +00:00
Antoine du Hamel
97c1312291
tools: remove custom logic for skipping test-strace-openat-openssl
...
PR-URL: https://github.com/nodejs/node/pull/62038
Refs: https://github.com/nodejs/node/pull/61987
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-03-02 10:43:41 +01:00
Node.js GitHub Bot
a6e9e32178
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 00:49:33 +00:00