Yagiz Nizipli
4d0faf4ddc
url: improve isURLThis detection
...
PR-URL: https://github.com/nodejs/node/pull/46866
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2023-04-10 20:55:05 -04:00
Livia Medeiros
b344e74bc1
test: move socket from CWD to temporary directory
...
PR-URL: https://github.com/nodejs/node/pull/46863
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-10 20:55:05 -04:00
Shelley Vohr
b25ee523ea
src: remove shadowed variable in OptionsParser
...
PR-URL: https://github.com/nodejs/node/pull/46672
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2023-04-10 20:55:05 -04:00
Joyee Cheung
88baf98fa3
src: do not track BaseObjects directly in Realm
...
They are referenced through the CleanupQueue which is already
tracked. Tracking them again in Realms results in duplicates in
the heap snapshot.
PR-URL: https://github.com/nodejs/node/pull/46470
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2023-04-10 20:55:05 -04:00
Node.js GitHub Bot
c0b6794f82
tools: update eslint to 8.35.0
...
PR-URL: https://github.com/nodejs/node/pull/46854
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-04-10 20:55:04 -04:00
Rich Trott
abe1488f86
meta: remove AUTHORS file
...
The AUTHORS file does not serve any significant practical purpose and is
a bit of a maintenance annoyance. Let's remove it.
PR-URL: https://github.com/nodejs/node/pull/46845
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2023-04-10 20:55:04 -04:00
Antoine du Hamel
0a983f7125
doc: add history info for node:test
...
PR-URL: https://github.com/nodejs/node/pull/46851
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2023-04-10 20:55:04 -04:00
jakecastelli
810d393ded
doc: sort import order
...
PR-URL: https://github.com/nodejs/node/pull/46847
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-10 20:55:04 -04:00
jakecastelli
6e03499437
doc: use destructing import
...
PR-URL: https://github.com/nodejs/node/pull/46847
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-10 20:55:03 -04:00
ywave620
03e8d824db
src: fix cb scope bugs involved in termination
...
Be more aggresive to clean up the async id stack,
and ensure the cleanup when terminating.
Calling SetIdle() when terminating is not harmless.
When node terminates due to an unhandled exception,
v8 preseves the vm state, which is JS and notifies
node through PerIsolateMessageListener(). If node
calls SetIdle() later, v8 complains because it
requires the vm state to either be EXTERNEL or IDLE
when embedder calling SetIdle().
PR-URL: https://github.com/nodejs/node/pull/45596
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-04-10 20:55:03 -04:00
Joyee Cheung
5202b84382
bootstrap: print stack trace during environment creation failure
...
https://github.com/nodejs/node/pull/45888 took the environment
creation code out of the scope covered by the v8::TryCatch
that we use to print early failures during environment creation.
So e.g. when adding something that would fail in node.js, we get
```
node:internal/options:554: Uncaught Error: Should not query options before bootstrapping is done
```
This patch restores that by adding another v8::TryCatch for it:
```
node:internal/options:20
({ options: optionsMap } = getCLIOptions());
^
Error: Should not query options before bootstrapping is done
at getCLIOptionsFromBinding (node:internal/options:20:32)
at getOptionValue (node:internal/options:45:19)
at node:internal/bootstrap/node:433:29
```
PR-URL: https://github.com/nodejs/node/pull/46533
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2023-04-10 20:55:03 -04:00
Marco Ippolito
307d096e21
tools: create llhttp update action
...
PR-URL: https://github.com/nodejs/node/pull/46766
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-04-10 20:55:03 -04:00
Debadree Chatterjee
dffe7d814e
stream: enable usage of webstreams on compose()
...
Refs: https://github.com/nodejs/node/issues/39316
PR-URL: https://github.com/nodejs/node/pull/46675
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-10 20:55:03 -04:00
okmttdhr, okp
06e0dd3e15
lib: rename internal module declaration as internal bindings
...
This is a follow-up to #45551 .
Renaming NODE_MODULE_CONTEXT_AWARE_INTERNAL
to NODE_BINDING_CONTEXT_AWARE_INTERNAL.
As these bindings are already loaded with the function internalBinding
in the JS land, the term "internal binding" can be straightforward to
be adopted.
PR-URL: https://github.com/nodejs/node/pull/46663
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-10 20:55:03 -04:00
James M Snell
c6e722aca4
buffer: add Buffer.copyBytesFrom(...)
...
Fixes: https://github.com/nodejs/node/issues/43862
PR-URL: https://github.com/nodejs/node/pull/46500
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-04-10 20:55:02 -04:00
hidecology
c742493b61
assert: fix exception message for assert(0) on try catch block
...
Fixes: https://github.com/nodejs/node/issues/30872
PR-URL: https://github.com/nodejs/node/pull/46760
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
2023-04-10 20:55:02 -04:00
Joyee Cheung
d4af671f09
benchmark: split Buffer.byteLength benchmark
...
PR-URL: https://github.com/nodejs/node/pull/46616
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-10 20:55:02 -04:00
Antoine du Hamel
fff31862ac
tools: fix linter message when using global DOMException
...
Refs: https://github.com/nodejs/node/blob/757c10414776b6f035ced453599527a841f47d6e/lib/internal/util.js#L601-L610
PR-URL: https://github.com/nodejs/node/pull/46822
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2023-04-10 20:55:02 -04:00
Matteo Collina
654b7474e3
stream: always delay construct callback by a nextTick
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
Fixes: https://github.com/nodejs/node/issues/46765
PR-URL: https://github.com/nodejs/node/pull/46818
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-04-10 20:55:01 -04:00
Node.js GitHub Bot
0e78fd5883
deps: update corepack to 0.17.0
...
PR-URL: https://github.com/nodejs/node/pull/46842
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-04-10 20:55:01 -04:00
Antoine du Hamel
31578ab1b4
lib: add trailing commas to more internal files
...
PR-URL: https://github.com/nodejs/node/pull/46811
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2023-04-10 20:55:01 -04:00
Debadree Chatterjee
5f647fb7b4
benchmark: add benchmark for EventTarget add and remove
...
Refs: https://github.com/nodejs/performance/issues/60
PR-URL: https://github.com/nodejs/node/pull/46779
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-10 20:55:01 -04:00
Node.js GitHub Bot
89c2e8ac97
tools: update lint-md-dependencies to rollup@3.17.3
...
PR-URL: https://github.com/nodejs/node/pull/46843
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-04-10 20:55:01 -04:00
Vita Batrla
dfb566aec2
test: fix test-net-connect-reset-until-connected
...
Fixes: https://github.com/nodejs/node/issues/43446
PR-URL: https://github.com/nodejs/node/pull/46781
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-10 20:55:01 -04:00
Tobias Nießen
364479644c
test: simplify test-tls-alert
...
Avoid the process 'exit' event handler and use execFile instead of
manual stream operations.
Refs: https://github.com/nodejs/node/pull/46751
PR-URL: https://github.com/nodejs/node/pull/46805
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-10 20:55:00 -04:00
Filip Skokan
df149448b5
test: update encoding WPTs
...
PR-URL: https://github.com/nodejs/node/pull/46802
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-04-10 20:55:00 -04:00
Filip Skokan
928998dd2d
test: remove useless WPT init scripts
...
PR-URL: https://github.com/nodejs/node/pull/46801
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-04-10 20:55:00 -04:00
Node.js GitHub Bot
61c9433d8a
deps: update simdutf to 3.2.1
...
PR-URL: https://github.com/nodejs/node/pull/46800
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-10 20:55:00 -04:00
Node.js GitHub Bot
3bf54ff624
tools: update lint-md-dependencies to rollup@3.17.2
...
PR-URL: https://github.com/nodejs/node/pull/46771
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-04-05 21:17:28 -04:00
Rich Trott
e53774c7bf
meta: remove unnecessary onboarding step
...
While it is nice to notify the TSC about accepted nominations,
it is not strictly necessary and I think we should streamline
things as much as possible.
PR-URL: https://github.com/nodejs/node/pull/46793
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2023-04-05 12:52:28 -04:00
jakecastelli
bb182461a3
test: remove unreachable return
...
PR-URL: https://github.com/nodejs/node/pull/46807
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:28 -04:00
Ramana Venkata
8646b06c1b
dgram: fix unhandled exception aborting a closed udp socket
...
Fixes: https://github.com/nodejs/node/issues/46750
PR-URL: https://github.com/nodejs/node/pull/46770
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:28 -04:00
npm CLI robot
63a62ed532
deps: upgrade npm to 9.5.1
...
PR-URL: https://github.com/nodejs/node/pull/46783
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-04-05 12:52:27 -04:00
James M Snell
1ece4a72b7
url: implement URLSearchParams size getter
...
Refs: https://github.com/whatwg/url/pull/734
PR-URL: https://github.com/nodejs/node/pull/46308
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2023-04-05 12:52:27 -04:00
Marco Ippolito
8b636c3cd6
doc: add marco-ippolito to collaborators
...
Fixes: https://github.com/nodejs/node/issues/46660
PR-URL: https://github.com/nodejs/node/pull/46816
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-04-05 12:52:27 -04:00
Yagiz Nizipli
55f1cfd7e4
meta: update CODEOWNERS of url implementations
...
PR-URL: https://github.com/nodejs/node/pull/46775
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2023-04-05 12:52:26 -04:00
Debadree Chatterjee
ed2faa7c7c
stream: fix respondWithNewView() errors when view.byteOffset != 0
...
Fixes: https://github.com/nodejs/node/issues/42851
Refs: https://github.com/whatwg/streams/blob/f894acdd417926a2121710803cef593e15127964/reference-implementation/lib/abstract-ops/readable-streams.js#L1756
PR-URL: https://github.com/nodejs/node/pull/46465
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2023-04-05 12:52:26 -04:00
theanarkh
ea71a2ae1b
test: fix test-v8-collect-gc-profile-in-worker.js
...
PR-URL: https://github.com/nodejs/node/pull/46735
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-04-05 12:52:26 -04:00
Chengzhong Wu
4065e5cda6
tools: run format-cpp on node-api test c files
...
PR-URL: https://github.com/nodejs/node/pull/46694
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:26 -04:00
Tobias Nießen
25cab7eab5
test: improve control flow in test-tls-dhe
...
If this test fails, e.g., if the s_client output does not match the
expectation, the previous implementation would not produce any helpful
error messages. Rework the control flow to be more idiomatic. Avoid
callback chaining and stream operations.
Also, the TLS server 'close' event does not pass an error to the event
handler, so remove the respective assertion.
PR-URL: https://github.com/nodejs/node/pull/46751
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:26 -04:00
Antoine du Hamel
535311097c
child_process: add trailing commas in source files
...
PR-URL: https://github.com/nodejs/node/pull/46758
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:25 -04:00
Antoine du Hamel
91fbad617d
repl: add trailing commas in source files
...
PR-URL: https://github.com/nodejs/node/pull/46757
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2023-04-05 12:52:25 -04:00
Chengzhong Wu
331073a7aa
node-api: add __wasm32__ guards on async works
...
PR-URL: https://github.com/nodejs/node/pull/46633
Refs: https://github.com/nodejs/node/pull/33597
Refs: https://github.com/nodejs/node-addon-api/pull/1283
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:25 -04:00
Rafael Gonzaga
3b70e7a34e
test: include strace openat test
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/46150
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-04-05 12:52:25 -04:00
Andreas Martens
7e08ca125a
doc: document how to use the tls.DEFAULT_CIPHERS
...
The DEFAULT_CIPHERS already exists, this change shows how to use it.
Fixes: https://github.com/nodejs/node/issues/46462
PR-URL: https://github.com/nodejs/node/pull/46482
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:25 -04:00
cola119
3dae6f2f81
doc: add document for profiling and heap snapshot
...
PR-URL: https://github.com/nodejs/node/pull/46787
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-05 12:52:24 -04:00
Joyee Cheung
d7d634bd67
benchmark: fix worker startup benchmark
...
It previously called spawnProcess in spawnWorker, which was
incorrect.
PR-URL: https://github.com/nodejs/node/pull/46680
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-05 12:52:24 -04:00
Robert Nagy
3538521bf6
http: correctly calculate strict content length
...
Fixes some logical errors related to strict content length.
Also, previously Buffer.byteLength (which is slow) was run regardless of
whether or not the len was required.
PR-URL: https://github.com/nodejs/node/pull/46601
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-04-05 12:52:24 -04:00
Steve Herzog
9582c8ef3a
http: fix validation of "Link" header
...
Updated regex for "Link" header validation to better match the
specification in RFC 8288 section 3. Does not check for valid URI
format but handles the rest of the header more permissively than
before. Alternative to another outstanding PR that disables validation
entirely.
Fixes: https://github.com/nodejs/node/issues/46453
Refs: https://www.rfc-editor.org/rfc/rfc8288.html#section-3
Refs: https://github.com/nodejs/node/pull/46464
PR-URL: https://github.com/nodejs/node/pull/46466
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-05 12:52:24 -04:00
Richie McColl
eef30513b9
doc: add test:coverage event to custom reporter examples
...
PR-URL: https://github.com/nodejs/node/pull/46752
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-05 12:52:24 -04:00