Konstantin Ulitin
65fa95d57d
test: add Debugger.setInstrumentationBreakpoint known issue
...
PR-URL: https://github.com/nodejs/node/pull/31137
Refs: https://github.com/nodejs/node/issues/31138
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:22 +02:00
响马
0c5e58958c
test, crypto: use correct object on assert
...
The test case for KeyObject does not really test the creation of
asymmetric cryptographic keys using jwk because of a misspelling of
the variable.
PR-URL: https://github.com/nodejs/node/pull/51820
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2024-06-17 16:25:22 +02:00
Zhenwei Jin
227093bfec
assert: add deep equal check for more Error type
...
PR-URL: https://github.com/nodejs/node/pull/51805
Fixes: https://github.com/nodejs/node/issues/51793
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-06-17 16:25:22 +02:00
Daniel Lemire
8b3e83bb53
buffer: even faster atob
...
PR-URL: https://github.com/nodejs/node/pull/52443
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2024-06-17 16:25:22 +02:00
Gibby Free
0513e07805
test: use for-of instead of forEach
...
PR-URL: https://github.com/nodejs/node/pull/49790
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-06-17 16:25:22 +02:00
Mustafa Ateş UZUN
0fb7c18f10
crypto: fix duplicated switch-case return values
...
PR-URL: https://github.com/nodejs/node/pull/49030
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:22 +02:00
1d01325928
test: verify request payload is uploaded consistently
...
Node.js seems to change how it is uploaded based on the method,
but HTTP doesn't make any distinction.
Co-authored-by: Austin Wright <aaa@bzfx.net >
Co-authored-by: Lenvin Gonsalves <lenvingonsalves@gmail.com >
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/34066
Refs: https://github.com/nodejs/node/issues/27880
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:22 +02:00
Alex Crawford
3a1d17a9b1
doc: mention quicker way to build docs
...
`make doc-only` skips the process of building Node, which speeds
things up considerably for new contributors.
PR-URL: https://github.com/nodejs/node/pull/52937
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:22 +02:00
sinkhaha
972eafd983
events: update MaxListenersExceededWarning message log
...
PR-URL: https://github.com/nodejs/node/pull/51921
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:22 +02:00
theanarkh
033f985e8a
src: use S_ISDIR to check if the file is a directory
...
PR-URL: https://github.com/nodejs/node/pull/52164
Fixes: https://github.com/nodejs/node/issues/52159
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:22 +02:00
Jérôme Benoit
954d2aded4
cluster: replace forEach with for-of loop
...
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com >
PR-URL: https://github.com/nodejs/node/pull/50317
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-06-17 16:25:22 +02:00
Adam Korczynski
7dda156872
test: add fuzzer for native/js string conversion
...
Signed-off-by: Adam Korczynski <adam@adalogics.com >
PR-URL: https://github.com/nodejs/node/pull/51120
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
2024-06-17 16:25:22 +02:00
AdamKorcz
5fb829b340
test: add fuzzer for ClientHelloParser
...
Signed-off-by: Adam Korczynski <adam@adalogics.com >
PR-URL: https://github.com/nodejs/node/pull/51088
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:22 +02:00
AdamKorcz
cc74bf789f
test: fix broken env fuzzer by initializing process
...
Signed-off-by: Adam Korczynski <adam@adalogics.com >
PR-URL: https://github.com/nodejs/node/pull/51080
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2024-06-17 16:25:22 +02:00
Jason
af29120fa7
stream: use ByteLengthQueuingStrategy when not in objectMode
...
Fixes: https://github.com/nodejs/node/issues/46347
PR-URL: https://github.com/nodejs/node/pull/48847
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2024-06-17 16:25:22 +02:00
Rafael Gonzaga
be309bd19d
doc: mention push.followTags config
...
This has happened in v20.13.0 release. Adding this doc
to prevent edge cases where the releaser will sign and push
but won't be able to promote the release.
PR-URL: https://github.com/nodejs/node/pull/52906
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-06-17 16:25:22 +02:00
Chenyu Yang
7603a51d45
util: fix %s format behavior with Symbol.toPrimitive
...
This commit ensures `console.log("%s", obj)` correctly invokes
`obj[Symbol.toPrimitive]` for string conversion, fixing unexpected
object display issue.
PR-URL: https://github.com/nodejs/node/pull/50992
Fixes: https://github.com/nodejs/node/issues/50909
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2024-06-17 16:25:22 +02:00
Dario
800b6f65cf
test: replace forEach() in test-stream-pipe-unpipe-stream
...
PR-URL: https://github.com/nodejs/node/pull/50786
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:22 +02:00
Shelley Vohr
95128399f8
src: allow preventing debug signal handler start
...
PR-URL: https://github.com/nodejs/node/pull/46681
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:22 +02:00
Alois Klink
e62c6e2684
doc: document pipeline with end option
...
There is currently no documentation about what the `end` option in
`stream.promises.pipeline` does.
Refs: https://github.com/nodejs/node/pull/40886
Refs: https://github.com/nodejs/node/issues/34805#issuecomment-1345655205
Fixes: https://github.com/nodejs/node/issues/45821
PR-URL: https://github.com/nodejs/node/pull/48970
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:22 +02:00
Alois Klink
d08c9a6a31
test: test pipeline end on transform streams
...
Add test that confirms that
`stream.promises.pipeline(source, transform, dest, {end: false});`
only skips ending the destination stream.
`{end: false}` should still end any transform streams.
PR-URL: https://github.com/nodejs/node/pull/48970
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:22 +02:00
linkgoron
eceac784aa
repl: fix disruptive autocomplete without inspector
...
Fix an issue where the autocomplete wrongly autocompletes
a value from a correct value to an undefined value when `node`
is built without an inspector by disabling the preview view.
fixes: https://github.com/nodejs/node/issues/40635
PR-URL: https://github.com/nodejs/node/pull/40661
Fixes: https://github.com/nodejs/node/issues/40635
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:22 +02:00
Matthieu Sieben
4ae4f7e517
watch: allow listening for grouped changes
...
PR-URL: https://github.com/nodejs/node/pull/52722
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:22 +02:00
Evan Shortiss
af27225cf6
doc: add example for execFileSync method and ref to stdio
...
Added an example to the `execFileSync` method. This demonstrates how to
handle exceptions and access the stderr and stdio properties that are
attached to the `Error` object in a `catch` block.
Added a link to the detailed stdio section nested under
`child_process.spawn()` from each child_process sync method option
description.
Fixes: https://github.com/nodejs/node/issues/39306
PR-URL: https://github.com/nodejs/node/pull/39412
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-06-17 16:25:22 +02:00
Rongjian Zhang
0be8123ede
test: improve coverage of lib/readline.js
...
PR-URL: https://github.com/nodejs/node/pull/38646
Refs: https://coverage.nodejs.org/coverage-16e00a15deafdad0/lib/readline.js.html#L441
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-06-17 16:25:22 +02:00
Mickael Meausoone
74753ed1fe
events: add stop propagation flag to Event.stopImmediatePropagation
...
Spec mention stopImmediatePropagation should set both flags:
"stop propagation" and "stop immediate propagation".
So the second is not supported by Node.js as there is no
hierarchy and bubbling,
but the flags are both present as well as stopPropagation.
It would makes sense to follow specs on that.
Refs: https://dom.spec.whatwg.org/#dom-event-stopimmediatepropagation
PR-URL: https://github.com/nodejs/node/pull/39463
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2024-06-17 16:25:22 +02:00
Matteo Collina
f6290bc327
tools: add --certify-safe to nci-ci
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/52940
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:22 +02:00
Daniel Lemire
b774544bb1
deps: enable unbundling of simdjson, simdutf, ada
...
PR-URL: https://github.com/nodejs/node/pull/52924
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2024-06-17 16:25:22 +02:00
Yagiz Nizipli
d5ab1de1fd
meta: move @anonrig to TSC regular member
...
PR-URL: https://github.com/nodejs/node/pull/52932
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2024-06-17 16:25:21 +02:00
Kohei Ueno
8cb13120d3
inspector: introduce the --inspect-wait flag
...
PR-URL: https://github.com/nodejs/node/pull/52734
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2024-06-17 16:25:21 +02:00
lyannel
410224415c
test: updated for each to for of in test file
...
PR-URL: https://github.com/nodejs/node/pull/50308
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:21 +02:00
Feng Yu
75dd009649
events: replace NodeCustomEvent with CustomEvent
...
PR-URL: https://github.com/nodejs/node/pull/43876
Refs: https://github.com/nodejs/node/pull/43514
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2024-06-17 16:25:21 +02:00
mary marchini
086626f9b1
doc: add examples and notes to http server.close et al
...
Add examples to `http` server.close, server.closeAllConnections,
server.closeIdleConnections. Also add notes about usage for both
server.close*Connections libraries.
PR-URL: https://github.com/nodejs/node/pull/49091
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-06-17 16:25:21 +02:00
Adam Jones
3aa3337a00
doc: fix dns.lookup family 0 and all descriptions
...
PR-URL: https://github.com/nodejs/node/pull/51653
Fixes: https://github.com/nodejs/node/issues/51482
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-06-17 16:25:21 +02:00
Madhuri
556e9a2127
test: move test-http-server-request-timeouts-mixed to sequential
...
PR-URL: https://github.com/nodejs/node/pull/45722
Fixes: https://github.com/nodejs/node/issues/43465
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2024-06-17 16:25:21 +02:00
Szymon Marczak
0638274c07
test: fix DNS cancel tests
...
PR-URL: https://github.com/nodejs/node/pull/44432
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:21 +02:00
Zhenwei Jin
7d38c2e012
fs: keep fs.promises.readFile read until EOF is reached
...
PR-URL: https://github.com/nodejs/node/pull/52178
Fixes: https://github.com/nodejs/node/issues/52155
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-06-17 16:25:21 +02:00
Adam Majer
184cfe5a71
benchmark: filter non-present deps from start-cli-version
...
PR-URL: https://github.com/nodejs/node/pull/51746
Refs: https://github.com/nodejs/node/pull/51146
Refs: https://github.com/nodejs/node/pull/50684
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2024-06-17 16:25:21 +02:00
sinkhaha
585f2a2e7f
doc: update fs.realpath documentation
...
PR-URL: https://github.com/nodejs/node/pull/48170
Fixes: https://github.com/nodejs/node/issues/45067
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:21 +02:00
Xavier Stouder
8d628c3255
buffer: use size_t instead of uint32_t to avoid segmentation fault
...
Fixes: https://github.com/nodejs/node/issues/46836
PR-URL: https://github.com/nodejs/node/pull/48033
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2024-06-17 16:25:21 +02:00
Simon Siefke
b162aeae9e
src: fix typo Unabled -> Unable
...
PR-URL: https://github.com/nodejs/node/pull/52820
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:21 +02:00
psj-tar-gz
311bdc62bd
test: add http agent to executionAsyncResource
...
Refs: https://github.com/nodejs/node/blob/HEAD/test/async-hooks/test-async-exec-resource-http.js
Signed-off-by: psj-tar-gz <lyricalllmagical@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/34966
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2024-06-17 16:25:21 +02:00
Mohammed Keyvanzadeh
48c15d0dcd
build: remove deprecated calls for argument groups
...
Remove calls of `add_argument_group()` where an existing argument group
is passed as an argument, this is deprecated since Python 3.11.
PR-URL: https://github.com/nodejs/node/pull/52913
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-06-17 16:25:21 +02:00
Mert Can Altin
4bf3d44e1d
doc: update fs read documentation for clarity
...
PR-URL: https://github.com/nodejs/node/pull/52453
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-06-17 16:25:21 +02:00
Benjamin Gruenbaum
ae5d47dde3
doc: watermark string behavior
...
Documents that we calculate the highWaterMark value
of streams operating on strings using the number of
UTF-16 code units.
Fixes: https://github.com/nodejs/node/issues/52818
PR-URL: https://github.com/nodejs/node/pull/52842
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2024-06-17 16:25:21 +02:00
Adam Majer
6001b164ab
test: reduce memory usage of test-worker-stdio
...
On systems with limited memory and that are compiled with debugging
information, this particular test is causing OOM condition
especially as it is run in parallel. Even when run with a stripped
binary as an input, the test consumes upward of 250M RSS. By
limiting the input stream to the 1M, the stream is still buffering
but memory consumption is similar to other parallel tests.
PR-URL: https://github.com/nodejs/node/pull/37769
Reviewed-By: Michael Dawson <midawson@redhat.com >
2024-06-17 16:25:21 +02:00
Marco Ippolito
1e429d10d3
doc: exclude commits with baking-for-lts
...
PR-URL: https://github.com/nodejs/node/pull/52896
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2024-06-17 16:25:21 +02:00
Marco Ippolito
0830b3115d
tools: fix doc update action
...
PR-URL: https://github.com/nodejs/node/pull/52890
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2024-06-17 16:25:21 +02:00
Joyee Cheung
9d485b40bb
tools: fix get_asan_state() in tools/test.py
...
The output of `node -p process.config.variables.asan` includes
a newline character so it's never exactly "1", which means
asan is always "off" for the status files. This fixes the
detection by stripping whitespaces from the output.
PR-URL: https://github.com/nodejs/node/pull/52766
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2024-06-17 16:25:21 +02:00
Joyee Cheung
e98c305f52
tools: support max_virtual_memory test configuration
...
PR-URL: https://github.com/nodejs/node/pull/52766
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2024-06-17 16:25:21 +02:00