RafaelGSS
00d6cd8392
2026-01-13, Version 25.3.0 (Current)
...
This is a security release.
Notable changes:
lib:
* (CVE-2025-59465) add TLSSocket default error handler (RafaelGSS) https://github.com/nodejs-private/node-private/pull/750
permission:
* (CVE-2026-21636) add network check on pipe_wrap connect (RafaelGSS) https://github.com/nodejs-private/node-private/pull/784
* (CVE-2025-55130) require full read and write to symlink APIs (RafaelGSS) https://github.com/nodejs-private/node-private/pull/760
* (CVE-2025-55132) disable futimes when permission model is enabled (RafaelGSS) https://github.com/nodejs-private/node-private/pull/748
src:
* (CVE-2025-59466) rethrow stack overflow exceptions in async_hooks (Matteo Collina) https://github.com/nodejs-private/node-private/pull/773
src,lib:
* (CVE-2025-55131) refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) https://github.com/nodejs-private/node-private/pull/759
tls:
* (CVE-2026-21637) route callback exceptions through error handlers (Matteo Collina) https://github.com/nodejs-private/node-private/pull/790
PR-URL: https://github.com/nodejs-private/node-private/pull/793
v25.3.0
2026-01-09 18:35:18 -03:00
Сковорода Никита Андреевич and Rafael Gonzaga
4d6b55a6d1
src,lib: refactor unsafe buffer creation to remove zero-fill toggle
...
This removes the zero-fill toggle mechanism that allowed JavaScript
to control ArrayBuffer initialization via shared memory. Instead,
unsafe buffer creation now uses a dedicated C++ API.
Refs: https://hackerone.com/reports/3405778
Co-Authored-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs-private/node-private/pull/759
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
CVE-ID: CVE-2025-55131
2026-01-09 18:34:02 -03:00
Node.js GitHub Bot
a6a74b89a7
deps: update c-ares to v1.34.6
...
PR-URL: https://github.com/nodejs/node/pull/60997
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-01-09 18:33:16 -03:00
Node.js GitHub Bot
5100614e26
deps: update undici to 7.18.2
...
PR-URL: https://github.com/nodejs/node/pull/61283
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
2026-01-09 18:33:16 -03:00
Matteo Collina
c357a39e14
tls: route callback exceptions through error handlers
...
Wrap pskCallback and ALPNCallback invocations in try-catch blocks
to route exceptions through owner.destroy() instead of letting them
become uncaught exceptions. This prevents remote attackers from
crashing TLS servers or causing resource exhaustion.
Fixes: https://hackerone.com/reports/3473882
PR-URL: https://github.com/nodejs-private/node-private/pull/782
PR-URL: https://github.com/nodejs-private/node-private/pull/790
CVE-ID: CVE-2026-21637
2026-01-09 18:33:16 -03:00
RafaelGSS
bdf5873d44
permission: add network check on pipe_wrap connect
...
Refs: https://hackerone.com/reports/3465156
PR-URL: https://github.com/nodejs-private/node-private/pull/784
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
CVE-ID: CVE-2026-21636
2026-01-09 18:33:16 -03:00
Matteo Collina
0578e3e921
src: rethrow stack overflow exceptions in async_hooks
...
When a stack overflow exception occurs during async_hooks callbacks
(which use TryCatchScope::kFatal), detect the specific "Maximum call
stack size exceeded" RangeError and re-throw it instead of immediately
calling FatalException. This allows user code to catch the exception
with try-catch blocks instead of requiring uncaughtException handlers.
The implementation adds IsStackOverflowError() helper to detect stack
overflow RangeErrors and re-throws them in TryCatchScope destructor
instead of calling FatalException.
This fixes the issue where async_hooks would cause stack overflow
exceptions to exit with code 7 (kExceptionInFatalExceptionHandler)
instead of being catchable.
Fixes: https://github.com/nodejs/node/issues/37989
Ref: https://hackerone.com/reports/3456295
PR-URL: https://github.com/nodejs-private/node-private/pull/773
Refs: https://hackerone.com/reports/3456295
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
CVE-ID: CVE-2025-59466
2026-01-09 18:33:16 -03:00
RafaelGSS
26be208039
lib,permission: require full read and write to symlink APIs
...
Refs: https://hackerone.com/reports/3417819
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs-private/node-private/pull/760
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
CVE-ID: CVE-2025-55130
2026-01-09 18:33:16 -03:00
RafaelGSS
f0a8916887
lib: add TLSSocket default error handler
...
This prevents the server from crashing due to an unhandled rejection
when a TLSSocket connection is abruptly destroyed during initialization
and the user has not attached an error handler to the socket.
e.g:
```js
const server = http2.createSecureServer({ ... })
server.on('secureConnection', socket => {
socket.on('error', err => {
console.log(err)
})
})
```
PR-URL: https://github.com/nodejs-private/node-private/pull/750
Fixes: https://github.com/nodejs/node/issues/44751
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=3262404
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
CVE-ID: CVE-2025-59465
2026-01-05 15:02:41 -03:00
RafaelGSS
b4b887c5f7
lib: disable futimes when permission model is enabled
...
Refs: https://hackerone.com/reports/3390084
PR-URL: https://github.com/nodejs-private/node-private/pull/748
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
CVE-ID: CVE-2025-55132
2026-01-05 15:02:27 -03:00
Antoine du Hamel
fc996fd4da
Working on v25.2.2
...
PR-URL: https://github.com/nodejs/node/pull/60752
2025-11-17 10:36:16 +01:00
Node.js GitHub Bot
4cac2b94be
2025-11-17, Version 25.2.1 (Current)
...
Notable changes:
PR-URL: https://github.com/nodejs/node/pull/60752
v25.2.1
2025-11-16 19:50:32 +00:00
Filip Skokan
ff89b7b6c7
crypto: ensure documented RSA-PSS saltLength default is used
...
PR-URL: https://github.com/nodejs/node/pull/60662
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-11-16 20:47:29 +01:00
Antoine du Hamel
ca878bc90e
doc,src,lib: clarify experimental status of Web Storage support
...
PR-URL: https://github.com/nodejs/node/pull/60708
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2025-11-16 20:47:29 +01:00
Antoine du Hamel
a4dee613fd
Revert "lib: throw from localStorage getter on missing storage path"
...
This reverts commit 4fbb1ab101 .
PR-URL: https://github.com/nodejs/node/pull/60750
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2025-11-16 20:45:44 +01:00
Michaël Zasso
5316b580eb
deps: V8: backport 2e4c5cf9b112
...
Original commit message:
remove ppc and s390 from the host_arch list
We only support ppc64 and s390x.
Same changes is applied to depot_tools:
http://crrev.com/c/7100932
Change-Id: I1e4b660a1e46d1c609189301e8fd977fb7434748
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7102361
Reviewed-by: Leszek Swirski <leszeks@chromium.org >
Commit-Queue: Milad Farazmand <mfarazma@ibm.com >
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org >
Cr-Commit-Position: refs/heads/main@{#103488}
Refs: https://github.com/v8/v8/commit/2e4c5cf9b1125a25c1b9107c9d81fec2d77b1135
Fixes: https://github.com/nodejs/build/issues/4184
Co-authored-by: Michaël Zasso <targos@protonmail.com >
PR-URL: https://github.com/nodejs/node/pull/60654
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
2025-11-14 13:28:42 +00:00
Antoine du Hamel
9ca46de766
Working on v25.2.1
...
PR-URL: https://github.com/nodejs/node/pull/60677
2025-11-11 23:25:57 +01:00
Node.js GitHub Bot
cc339072a7
2025-11-11, Version 25.2.0 (Current)
...
Notable changes:
lib:
* (SEMVER-MINOR) add options to util.deprecate (Rafael Gonzaga) https://github.com/nodejs/node/pull/59982
* throw from localStorage getter on missing storage path (René) https://github.com/nodejs/node/pull/60351
module:
* (SEMVER-MINOR) mark type stripping as stable (Marco Ippolito) https://github.com/nodejs/node/pull/60600
net:
* (SEMVER-MINOR) increase network family autoselection timeout to 500ms (Rod Vagg) https://github.com/nodejs/node/pull/60334
node-api:
* (SEMVER-MINOR) add napi_create_object_with_properties (Miguel Marcondes Filho) https://github.com/nodejs/node/pull/59953
v8:
* (SEMVER-MINOR) adding total_allocated_bytes to HeapStatistics (Caio Lima) https://github.com/nodejs/node/pull/60573
PR-URL: https://github.com/nodejs/node/pull/60677
v25.2.0
2025-11-11 09:00:51 +00:00
Riddhi
7e8373b378
tools: replace invalid expression in dependabot config
...
PR-URL: https://github.com/nodejs/node/pull/60649
Fixes: https://github.com/nodejs/node/issues/60637
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-11-11 09:50:11 +01:00
Joyee Cheung
ee333c9177
test: deflake test-perf-hooks-timerify-histogram-sync
...
The previous busy loop wasn't robust enough in making sure
that the function runs for more than 1 nanosecond - and when it
runs faster than that on a fast machine, it measures to 0 for
nanosecond precision and throws a RangeErorr as histogram.record()
only takes positive values. Update it to use Atomics.wait() to
make sure that the function being measured runs for at least
1 millisecond so that the histogram always records a positive value.
PR-URL: https://github.com/nodejs/node/pull/60639
Fixes: https://github.com/nodejs/node/issues/60638
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-11-11 09:50:11 +01:00
Rafael Gonzaga and Chris Smith
a61e5d8e05
deps: call OPENSSL_free after ANS1_STRING_to_UTF8
...
Co-Authored-By: Chris Smith <chrismith@vista.com >
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/60609
Refs: https://github.com/nodejs/node/issues/58380
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2025-11-11 09:50:11 +01:00
Joyee Cheung
e9b68e60d4
src: move import.meta initializer to native land
...
When the source text module is compiled without custom callbacks,
instead of calling into JS land from the per-isolate import.meta
initializer and then back to C++ land to set up lazy data
properties, just do the initialization all in C++ land.
Only import.meta.resolve initialization will call back
into JS land to generate a closure that call the cascaded loader
for resolution.
In addition, simplify the loader structure by merging
allowImportMetaResolve into isForAsyncLoaderHookWorker - the two
are essentially equivalent, as import.meta.resolve is only
allowed in a non-loader-hook worker thread's loader.
PR-URL: https://github.com/nodejs/node/pull/60603
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2025-11-10 13:53:25 +01:00
Marco Ippolito
d64795b318
watch: fix interaction with multiple env files
...
PR-URL: https://github.com/nodejs/node/pull/60605
Fixes: https://github.com/nodejs/node/issues/60599
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2025-11-10 13:53:19 +01:00
Marco Ippolito
727560a96d
module: mark type stripping as stable
...
PR-URL: https://github.com/nodejs/node/pull/60600
Refs: https://github.com/nodejs/typescript/issues/24
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2025-11-10 13:38:34 +01:00
Fedor Indutny
0ebf839a4f
src: use CP_UTF8 for wide file names on win32
...
`src/node_modules.cc` needs to be consistent with `src/node_file.cc` in
how it translates the utf8 strings to `std::wstring` otherwise we might
end up in situation where we can read the source code of imported
package from disk, but fail to recognize that it is an ESM (or CJS) and
cause runtime errors. This type of error is possible on Windows when the
path contains unicode characters and "Language for non-Unicode programs"
is set to "Chinese (Traditional, Taiwan)".
See: #58768
PR-URL: https://github.com/nodejs/node/pull/60575
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2025-11-10 13:38:34 +01:00
Anna Henningsen
a31ad37714
src: show original file name in FileHandle GC close errors
...
Otherwise, it can be virtually impossible to debug where these types
of errors originate from.
PR-URL: https://github.com/nodejs/node/pull/60593
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2025-11-10 13:38:34 +01:00
Anna Henningsen
a6c221324b
src: avoid C strings in more C++ exception throws
...
Similar to 2e2f4cd095 , just missed them in that commit.
PR-URL: https://github.com/nodejs/node/pull/60592
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-11-10 13:38:34 +01:00
Caio Lima
399b340022
v8: adding total_allocated_bytes to HeapStatistics
...
PR-URL: https://github.com/nodejs/node/pull/60573
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-11-10 13:38:34 +01:00
Joyee Cheung
dc38a45a55
debugger: fix event listener leak in the run command
...
It should remove both the error and the ready event listeners
attached when either of them fires, instead of removing only
the one whose corresponding event fires, otherwise the other
event listener will always get leaked.
PR-URL: https://github.com/nodejs/node/pull/60464
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-11-10 13:38:33 +01:00
Filip Skokan
dbf204c714
doc,crypto: link keygen to supported types
...
PR-URL: https://github.com/nodejs/node/pull/60585
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-11-10 13:38:33 +01:00
Chengzhong Wu
c047e73a00
inspector: inspect HTTP response body
...
PR-URL: https://github.com/nodejs/node/pull/60572
Refs: https://github.com/nodejs/node/issues/53946
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2025-11-10 13:38:33 +01:00
Antoine du Hamel
51e5030afa
deps: nghttp2: revert 7784fa979d0b
...
This commit reverts "Make error handling robust".
Without this revert, we are getting timeouts, crashes, and different
error codes in `parallel/test-http2-*`.
Refs: https://github.com/nghttp2/nghttp2/commit/7784fa979d0bcf801a35f1afbb25fb048d815cd7
PR-URL: https://github.com/nodejs/node/pull/59790
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2025-11-10 13:30:12 +01:00
nodejs-github-bot
eef838f499
deps: update nghttp2 to 1.67.1
...
PR-URL: https://github.com/nodejs/node/pull/59790
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2025-11-10 13:30:12 +01:00
Joyee Cheung
f0d81c91e7
test: apply a delay to watch-mode-kill-signal tests
...
The test is still flaking on macOS. This might be caused by fs
event coalescing. Apply a delay to reduce the chance of it.
Also, add a bit more logs to show more information.
PR-URL: https://github.com/nodejs/node/pull/60610
Refs: https://github.com/nodejs/reliability/blob/main/reports/2025-11-07.md
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-11-10 13:30:12 +01:00
Antoine du Hamel
3e11658243
doc: update Collaborators list to reflect hybrist handle change
...
PR-URL: https://github.com/nodejs/node/pull/60650
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
2025-11-10 13:30:11 +01:00
Tony Gorez
68791e2ccc
test: async iife in repl
...
PR-URL: https://github.com/nodejs/node/pull/44878
Fixes: https://github.com/nodejs/node/issues/38685
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-11-10 13:30:11 +01:00
N. Bighetti
b8e40e4d38
doc: fix link in --env-file=file section
...
PR-URL: https://github.com/nodejs/node/pull/60563
Fixes: https://github.com/nodejs/node/issues/60562
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-11-10 13:30:11 +01:00
Antoine du Hamel
9558c1c0df
doc: fix linter issues
...
PR-URL: https://github.com/nodejs/node/pull/60636
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-11-10 13:30:11 +01:00
Antoine du Hamel
cdf70de563
doc: add missing history entry for sqlite.md
...
PR-URL: https://github.com/nodejs/node/pull/60607
Fixes: https://github.com/nodejs/node/issues/60601
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2025-11-10 13:30:11 +01:00
Joyee Cheung
c4eb9c3383
test: parallelize sea tests when there's enough disk space
...
The sea tests are only run sequentially to avoid taking too much
disk space. When there is enough disk space, however, it's better
to run them in parallel, as these tests tend to be slow.
PR-URL: https://github.com/nodejs/node/pull/60604
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2025-11-10 13:30:11 +01:00
Joyee Cheung
d5158a0a2d
benchmark: focus on import.meta intialization in import-meta benchmark
...
Instead of measuring the performance of the entire module
initialization, focus only on the import.meta initialization.
PR-URL: https://github.com/nodejs/node/pull/60603
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2025-11-10 13:30:11 +01:00
JustApple
815edb0c3a
tools,doc: update JavaScript primitive types to match MDN Web Docs
...
- Update primitive types to lower case, so the anchor of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Data_structures will work correctly.
- Add `bigint` to primitive types to match MDN Web Doc.
PR-URL: https://github.com/nodejs/node/pull/60581
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2025-11-10 13:30:10 +01:00
René
e3c5dcf1ea
doc: correct values/references for buffer.kMaxLength
...
PR-URL: https://github.com/nodejs/node/pull/60305
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-11-10 13:30:10 +01:00
Dan Fabulich
a25d76c924
doc: recommend events.once to manage 'close' event
...
`events.once` is a great way to manage the `close` / `error` / `exit`
events of a child process. It creates a Promise that is fulfilled when
the EventEmitter emits the given event or that is rejected if the
EventEmitter emits 'error' while waiting.
I think a lot of people wrongly think that managing a spawned child
process requires writing boilerplate handlers for `close` and `error`,
and that there's no `promisify` solution for spawned child processes. In
fact, `events.once` is that solution. The docs should explicitly
recommend it in examples.
PR-URL: https://github.com/nodejs/node/pull/60017
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-11-10 13:30:10 +01:00
Ajay A
795f32bf91
doc: highlight module loading difference between import and require
...
PR-URL: https://github.com/nodejs/node/pull/59815
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-11-10 13:30:10 +01:00
Allon Murienik
212775410b
doc: add CJS code snippets in sqlite.md
...
Refs: https://github.com/nodejs/node/issues/60394
PR-URL: https://github.com/nodejs/node/pull/60395
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-11-10 13:30:10 +01:00
우혁
263c06096d
doc: fix typo in process.unref documentation
...
PR-URL: https://github.com/nodejs/node/pull/59698
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-11-10 13:30:10 +01:00
Mohataseem Khan
356bdae408
doc: add some entries to glossary.md
...
PR-URL: https://github.com/nodejs/node/pull/59277
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-11-10 13:30:09 +01:00
JaeHo Jang
9632c398de
doc: improve agent.createConnection docs for http and https agents
...
PR-URL: https://github.com/nodejs/node/pull/58205
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-11-10 13:30:09 +01:00
chirsz
f72880dbe3
doc: fix pseudo code in modules.md
...
This problem was introduced in PR #38837 .
PR-URL: https://github.com/nodejs/node/pull/57677
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-11-10 13:30:09 +01:00