Feng Yu
dabccef69f
test: mark flaky tests on smartos
...
PR-URL: https://github.com/nodejs/node/pull/43596
Refs: https://github.com/nodejs/node/issues/43457
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:42 +02:00
italo jose
705e85e736
test: improve code coverage for SourceMap class
...
Cover malformed mappings scenario.
PR-URL: https://github.com/nodejs/node/pull/43285
Reviewed-By: Ben Coe <bencoe@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:42 +02:00
F3n67u
7c6f548382
test: mark test-http-server-request-timeouts-mixed flaky on macOS
...
PR-URL: https://github.com/nodejs/node/pull/43597
Refs: https://github.com/nodejs/node/issues/43465
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2022-07-12 07:41:41 +02:00
Kohei Ueno
e9574f3009
readline: fix to not access a property on an undefined value
...
PR-URL: https://github.com/nodejs/node/pull/43543
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:41 +02:00
Giacomo Gregoletto
1617a4621e
stream: pass error on legacy destroy
...
PR-URL: https://github.com/nodejs/node/pull/43519
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:41 +02:00
Antoine du Hamel and Moshe Atlow
8d14d6e215
tools: fix CJS/ESM toggle on small screens
...
PR-URL: https://github.com/nodejs/node/pull/43506
Co-authored-by: Moshe Atlow <moshe@atlow.co.il >
Fixes: https://github.com/nodejs/node/issues/43468
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2022-07-12 07:41:41 +02:00
Antoine du Hamel
2233567331
lib: use null-prototype objects for property descriptors
...
PR-URL: https://github.com/nodejs/node/pull/43473
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:41 +02:00
Antoine du Hamel
b9198d977f
lib: refactor to avoid unsafe regex primordials
...
PR-URL: https://github.com/nodejs/node/pull/43475
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2022-07-12 07:41:40 +02:00
Antoine du Hamel
deaf4bb5cd
lib: fix TODO in freeze_intrinsics
...
PR-URL: https://github.com/nodejs/node/pull/43472
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2022-07-12 07:41:40 +02:00
Paolo Insogna
f9c30abcdc
benchmark: forcefully close processes
...
PR-URL: https://github.com/nodejs/node/pull/43557
Fixes: https://github.com/nodejs/build/issues/2968
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2022-07-12 07:41:40 +02:00
Adam Majer
4df96b501d
crypto: don't disable TLS 1.3 without suites
...
In the manual page, there is a statement that ciphersuites contain
explicit default settings - all TLS 1.3 ciphersuites enabled.
In node, we assume that an empty setting mean no ciphersuites and
we disable TLS 1.3. A correct approach to disabling TLS 1.3 is to
disable TLS 1.3 and by not override the default ciphersuits
with an empty string.
So, only override OpenSSL's TLS 1.3 ciphersuites with an explicit
list of ciphers. If none are acceptable, the correct approach is
to disable TLS 1.3 instead elsewhere.
Fixes: https://github.com/nodejs/node/issues/43419
PR-URL: https://github.com/nodejs/node/pull/43427
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:40 +02:00
Node.js GitHub Bot
d650c9c6b0
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/43573
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:39 +02:00
Tobias Nießen
a43928ae78
crypto: use ByteSource::Builder in To*Copy
...
Avoid manual calls to MallocOpenSSL in ArrayBufferOrViewContents and
use the new ByteSource::Builder instead.
Refs: https://github.com/nodejs/node/pull/43202
PR-URL: https://github.com/nodejs/node/pull/43477
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:39 +02:00
Tobias Nießen
d3fc791c3d
src: improve and update ByteSource description
...
Clarify that external data must not be destroyed before the ByteSource
that points to it, and that allocated data must have been allocated
using OpenSSL's allocator (because it will be freed automatically, using
OpenSSL's memory management functions).
Also add a brief description of the new ByteSource::Builder class.
PR-URL: https://github.com/nodejs/node/pull/43478
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:39 +02:00
snek
ba9b2f021f
wasi: use WasmMemoryObject handle for perf ( #43544 )
...
PR-URL: #43544
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2022-07-12 07:41:39 +02:00
supriyo-biswas
f8bdc53e4f
net: prevent /32 ipv4 mask from matching all ips
...
Fixes: https://github.com/nodejs/node/issues/43360
PR-URL: https://github.com/nodejs/node/pull/43381
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-07-12 07:41:39 +02:00
theanarkh
b27856d3d4
http: add perf_hooks detail for http request and client
...
PR-URL: https://github.com/nodejs/node/pull/43361
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2022-07-12 07:41:38 +02:00
Filip Skokan
bb326f7ece
crypto: handle webcrypto generateKey() usages edge case
...
PR-URL: https://github.com/nodejs/node/pull/43454
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-07-12 07:41:38 +02:00
npm CLI robot
0636f86ecc
deps: upgrade npm to 8.13.1
...
PR-URL: https://github.com/nodejs/node/pull/43552
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2022-07-12 07:41:38 +02:00
Meek Simbule
bd91337988
test: refactor to top-level await
...
PR-URL: https://github.com/nodejs/node/pull/43500
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-07-12 07:41:38 +02:00
Feng Yu
919c5ee5c2
build: update main branch name in GH workflow
...
PR-URL: https://github.com/nodejs/node/pull/43481
Refs: https://github.com/nodejs/node/issues/33864
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
2022-07-12 07:41:38 +02:00
Richard Lau
9940dc38c1
test: skip test-v8-serialize-leak on IBM i
...
On IBM i rss memory information is not available and always returns `0`.
PR-URL: https://github.com/nodejs/node/pull/43511
Refs: https://github.com/nodejs/node/issues/43509
Refs: https://github.com/libuv/libuv/pull/2732
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-07-12 07:41:37 +02:00
Ben Noordhuis
17b92f0679
test: use unique file names in fs trace test
...
Should fix test flakiness that is presumably caused by the asynchronous
nature of the unlink operation on Windows.
It's been observed that sub-tests randomly fail with "permission denied"
errors when trying to create a new file in a directory with appropriate
permissions.
The DeleteFile() NT API call makes a file inaccessible and marks it for
deletion but doesn't actually delete it until the last open handle has
been closed. Accessing such a file fails with ERROR_ACCESS_DENIED.
Processes can close handles manually or wait for the operating system to
close them asynchronously after process termination. I speculate it's
the latter that's causing the test to turn flaky.
Fixes: https://github.com/nodejs/node/issues/43502
PR-URL: https://github.com/nodejs/node/pull/43504
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-07-12 07:41:37 +02:00
Myles Borins
60b949d8ff
doc: move MylesBorins to TSC Emeritus
...
My availability has become smaller and smaller and I think for now the
best thing to do is to move to TSC Emeritus. Perhaps I'll have more
time to focus on Node.js Leadership again in the future, but for now
I think it's best to officially step back a bit.
So long, and thanks for all the modules o/
PR-URL: https://github.com/nodejs/node/pull/43524
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-07-12 07:41:37 +02:00
Michael Dawson
08ed28c31e
doc: add Juan as a security steward
...
Ran through onboaring with Juan today. Add him
to the rotation for security stewards.
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/43512
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:37 +02:00
Richard Lau
7ca58b8ee7
test: allow EOVERFLOW errors in fs position tests
...
Some platforms may return `EOVERFLOW` errors instead of `EFBIG`.
PR-URL: https://github.com/nodejs/node/pull/43510
Refs: https://github.com/nodejs/node/pull/42999
Refs: https://github.com/nodejs/node/issues/43509
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-07-12 07:41:37 +02:00
James Scott-Brown
2e799bcd35
doc: update link to MDN page about dynamic imports
...
This was split into a separate page 2 days ago: https://github.com/mdn/content/commit/d2b50123d485c68c5321339446cf77a4bb16dd82
PR-URL: https://github.com/nodejs/node/pull/43530
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2022-07-12 07:41:36 +02:00
theanarkh
47a252257b
net: fix net.Server keepalive and noDelay
...
PR-URL: https://github.com/nodejs/node/pull/43497
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2022-07-12 07:41:36 +02:00
Paolo Insogna
491c7619c4
http: defer reentrant execution of Parser::Execute
...
PR-URL: https://github.com/nodejs/node/pull/43369
Fixes: https://github.com/nodejs/node/issues/39671
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2022-07-12 07:41:36 +02:00
Daiki Nishikawa
eece34cddb
test: add WPT tests for dom/events
...
PR-URL: https://github.com/nodejs/node/pull/43151
Refs: https://github.com/nodejs/node/issues/40678
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:36 +02:00
Tobias Nießen
70d297c271
test: replace gc(true) with gc({ type: 'minor' })
...
V8 considers gc(true) legacy, and the new signature is much more
expressive.
PR-URL: https://github.com/nodejs/node/pull/43493
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2022-07-12 07:41:36 +02:00
Tobias Nießen
462e526237
doc,test: clarify timingSafeEqual semantics
...
PR-URL: https://github.com/nodejs/node/pull/43228
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-07-12 07:41:35 +02:00
Feng Yu
c8aafe2036
doc: fix Visual Studio 2019 download link
...
PR-URL: https://github.com/nodejs/node/pull/43236
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-07-12 07:41:35 +02:00
Feng Yu
2149acda60
dns: make promise API fully constructed from lib/internal/dns/promises
...
PR-URL: https://github.com/nodejs/node/pull/43227
Refs: https://github.com/nodejs/node/discussions/43198
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2022-07-12 07:41:35 +02:00
Filip Skokan
9bd13bbb3a
crypto: update Wrapping and unwrapping keys webcrypto example
...
PR-URL: https://github.com/nodejs/node/pull/43452
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-07-12 07:41:35 +02:00
Feng Yu
d0c78d21e0
doc: update link of ICU data slicer
...
PR-URL: https://github.com/nodejs/node/pull/43483
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:35 +02:00
Tobias Nießen
4e0afa4133
src: remove CopyBuffer
...
CopyBuffer was used by the PBKDF2 implementation prior to the big
refactor, which removed those call sites.
PR-URL: https://github.com/nodejs/node/pull/43463
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:34 +02:00
Tobias Nießen
0659d5e3b0
src: change FormatSize to actually accept a size_t
...
This function is only called with size_t values and it does not deal
with unsigned values nicely, so its argument type should be size_t.
PR-URL: https://github.com/nodejs/node/pull/43464
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-07-12 07:41:34 +02:00
Node.js GitHub Bot
b9204c9be8
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/43480
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-07-12 07:41:34 +02:00
Node.js GitHub Bot
59d4da699e
tools: update eslint to 8.18.0
...
PR-URL: https://github.com/nodejs/node/pull/43479
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2022-07-12 07:41:34 +02:00
Santiago Gimeno
1022c0d0d4
test: fix flaky test-https-server-close- tests
...
Don't initiate the second connection until the first has been
established.
Refs: https://github.com/nodejs/reliability/issues/289
PR-URL: https://github.com/nodejs/node/pull/43216
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:33 +02:00
rubikscraft
3ca9e653a6
child_process: improve ipc write performance
...
PR-URL: https://github.com/nodejs/node/pull/42931
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2022-07-12 07:41:33 +02:00
rubikscraft
cad6d990ec
child_process: speed up 'advanced' ipc receiving
...
PR-URL: https://github.com/nodejs/node/pull/42931
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2022-07-12 07:41:33 +02:00
Meek Simbule
a9ab41cb38
test: refactor to top-level await
...
PR-URL: https://github.com/nodejs/node/pull/43366
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-07-12 07:41:33 +02:00
Filip Skokan
b1a7798821
test: skip test-net-connect-reset-until-connected on SmartOS
...
Refs: #43446
PR-URL: https://github.com/nodejs/node/pull/43449
Refs: https://github.com/nodejs/node/issues/43446
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-07-12 07:41:33 +02:00
Moshe Atlow
dda64ddfbd
test_runner: add Subtest to tap protocol output
...
PR-URL: https://github.com/nodejs/node/pull/43417
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2022-07-12 07:41:32 +02:00
Feng Yu
324728094c
doc: update v8 doc link to v8.dev
...
PR-URL: https://github.com/nodejs/node/pull/43482
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-07-12 07:41:32 +02:00
Daeyeon Jeong
3b0703fd0d
test: rename test-eventtarget-whatwg-*.js
...
This renames some test filenames to align with the existing
`parallel/test-whatwg-*.js` for consistency.
According to the comment in each file, they are seemingly manually
ported from the `wpt@dom/events` tests.
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
PR-URL: https://github.com/nodejs/node/pull/43467
Refs: https://github.com/nodejs/node/pull/43461
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-07-12 07:41:32 +02:00
Feng Yu
b111331c9c
doc: add ESM version examples to events api doc
...
PR-URL: https://github.com/nodejs/node/pull/43226
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:32 +02:00
Feng Yu
0bca7b722e
dns: export error code constants from dns/promises
...
PR-URL: https://github.com/nodejs/node/pull/43176
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-07-12 07:41:31 +02:00