Tobias Nießen
44643bd64b
doc: maintain only one list of MODP groups
...
There are two lists of MODP groups, one of which is redundant and does
not mark weak groups as deprecated. Remove said list and refer readers
to the first list instead.
Refs: https://github.com/nodejs/node/pull/43986
Refs: https://github.com/nodejs/node/pull/44588
PR-URL: https://github.com/nodejs/node/pull/44644
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-09-17 01:00:35 +00:00
smitley
0928897798
test: fix test-performance-measure
...
Refs: https://github.com/nodejs/node/issues/42949
Looking at the documentation for setTimeout
(https://nodejs.org/api/timers.html#settimeoutcallback-delay-args )
there is no guarantee that setTimeout won't complete early.
From the failure of https://github.com/nodejs/node/issues/42949 this
is likely what happened.
I have updated the assert.ok test to allow some variation in
the test.
PR-URL: https://github.com/nodejs/node/pull/44637
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2022-09-16 16:51:06 -04:00
Michael Dawson
325f54966e
doc: add legendecas to TSC list
...
Refs: https://github.com/nodejs/TSC/issues/1282
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/44662
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-09-16 16:40:38 -04:00
Luigi Pinca
5d92ddc8b1
tools: fix typo in update-nghttp2.sh
...
PR-URL: https://github.com/nodejs/node/pull/44664
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2022-09-16 13:28:04 +00:00
Lenvin Gonsalves
85b46e1cab
tools: add timezone update workflow
...
Fixes: https://github.com/nodejs/node/issues/43134
PR-URL: https://github.com/nodejs/node/pull/43988
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
2022-09-16 00:03:40 +02:00
MURAKAMI Masahiko
1f19f0c389
test: improve lib/readline.js coverage
...
PR-URL: https://github.com/nodejs/node/pull/42686
Refs: https://coverage.nodejs.org/coverage-a0461255c05c79cf/lib/readline.js.html#L105
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2022-09-15 21:58:39 +00:00
legendecas
261e267b51
doc,inspector: document changes of inspector.close
...
Retrospectively document the changes history of the `inspector.close`
API.
PR-URL: https://github.com/nodejs/node/pull/44628
Refs: https://github.com/nodejs/node/pull/44489
Refs: https://github.com/nodejs/node/pull/13228
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
2022-09-16 01:44:23 +08:00
Tobias Nießen
a47c2c58ae
tls: fix out-of-bounds read in ClientHelloParser
...
ClientHelloParser::ParseHeader(data, avail) potentially accesses data
beyond avail bytes because it trusts the client to transmit a valid
frame length. Sending an impossibly small frame length causes the TLS
server to read beyond the buffer provided by the caller.
Guard against this by calling End() on the ClientHelloParser when the
client transmits an impossibly small frame length.
The test is designed to reliable cause a segmentation fault on Linux and
Windows when the buffer overrun occurs, and to trigger a spatial safety
violation when compiled with an address sanitizer enabled or when
running under valgrind.
PR-URL: https://github.com/nodejs/node/pull/44580
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2022-09-15 17:27:04 +00:00
Tobias Nießen
b8581c7399
lib,test: fix bug in InternalSocketAddress
...
InternalSocketAddress must set [kDetails] in order for the inherited
properties to function correctly.
Co-authored-by: Tobias Nießen <tniessen@tnie.de >
PR-URL: https://github.com/nodejs/node/pull/44618
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-09-15 16:13:03 +00:00
Taha-Chaudhry
aa64ff6a37
doc: remove comma in README.md
...
Grammar edit
PR-URL: https://github.com/nodejs/node/pull/44599
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
2022-09-15 08:34:40 +00:00
Shrujal Shah
e039549d1f
meta: update test_runner in label-pr-config
...
PR-URL: https://github.com/nodejs/node/pull/44615
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2022-09-15 08:06:58 +00:00
Node.js GitHub Bot
572a35f522
tools: update eslint to 8.23.1
...
PR-URL: https://github.com/nodejs/node/pull/44639
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-09-15 03:42:22 +00:00
Daeyeon Jeong
7f4e9ecb52
doc: use serial comma in report docs
...
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
PR-URL: https://github.com/nodejs/node/pull/44608
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-09-15 02:42:20 +00:00
Node.js GitHub Bot
5a0aed3726
tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.1.0
...
PR-URL: https://github.com/nodejs/node/pull/44638
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2022-09-15 02:42:09 +00:00
Antoine du Hamel
5a40d2e6cb
test: fix test-repl not validating leaked globals properly
...
PR-URL: https://github.com/nodejs/node/pull/44640
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2022-09-15 00:24:28 +02:00
Tobias Nießen
c6773bc3e6
src: avoid copy when creating Blob
...
PR-URL: https://github.com/nodejs/node/pull/44616
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
2022-09-14 21:44:31 +00:00
Moshe Atlow
9825a7e01d
test: fix test-runner-inspect
...
PR-URL: https://github.com/nodejs/node/pull/44620
Fixes: https://github.com/nodejs/node/issues/44600
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-09-14 20:24:20 +00:00
Moshe Atlow
cb7e0c59df
test_runner: include stack of uncaught exceptions
...
PR-URL: https://github.com/nodejs/node/pull/44614
Fixes: https://github.com/nodejs/node/issues/44611
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-09-14 19:28:18 +00:00
Antoine du Hamel
481a959adb
readline: remove question method from InterfaceConstructor
...
That method is overwritten in both
`require('node:readline').Interface.prototype` and
`require('node:readline/promises').Interface.prototype`, and is very
much not useful outside of interacting with TTY, removing it from the
parent class could enable the use of `InterfaceConstructor` in other
contexts (such as interacting with files).
PR-URL: https://github.com/nodejs/node/pull/44606
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-09-14 19:10:53 +00:00
Daeyeon Jeong
5ec2c99007
doc: use serial comma in stream docs
...
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
PR-URL: https://github.com/nodejs/node/pull/44609
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
2022-09-14 17:16:10 +00:00
Livia Medeiros
ac8ab0ca0b
fs: remove unused option in fs.fstatSync()
...
PR-URL: https://github.com/nodejs/node/pull/44613
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: theanarkh <theratliter@gmail.com >
2022-09-14 17:16:01 +00:00
Claudio Wunder
b809792931
doc: remove empty line in YAML block
...
PR-URL: https://github.com/nodejs/node/pull/44617
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2022-09-14 16:44:00 +00:00
Rafael Gonzaga and Anna Henningsen
d3cb193561
src: make ReqWrap weak
...
This commit allows throwing an exception after creating `FSReqCallback`
Co-authored-by: Anna Henningsen <anna@addaleax.net >
PR-URL: https://github.com/nodejs/node/pull/44074
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-09-14 12:47:40 +00:00
Jiawen Geng
c04d87d9ef
build: remove redundant entry in crypto
...
PR-URL: https://github.com/nodejs/node/pull/44604
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: theanarkh <theratliter@gmail.com >
2022-09-14 07:55:20 +00:00
Jiawen Geng
bb0986f79d
tools: update gyp-next to v0.13.0
...
PR-URL: https://github.com/nodejs/node/pull/44605
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2022-09-14 07:55:11 +00:00
Joyee Cheung
309ca4513e
src: make NearHeapLimitCallback() more robust
...
Instead of removing the callback before generating heap snapshot
and then adding it back after the heap snapshot is generated,
just remove it once the heap snapshot limit is reached.
Otherwise if the worker callback kicks in and sets the heap
limit to higher value during the heap snapshot generation,
the current_heap_limit in the heap snapshot callback becomes
invalid, and we might return a heap limit lower than the current
one, resulting in OOM.
In addition add more logs and checks in Worker::NearHeapLimit()
to help us catch problems.
PR-URL: https://github.com/nodejs/node/pull/44581
Refs: https://github.com/nodejs/reliability/issues/372
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-09-13 21:49:47 +00:00
Node.js GitHub Bot
25683250ce
tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.0.1
...
PR-URL: https://github.com/nodejs/node/pull/44590
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-09-13 15:19:06 +00:00
SindreXie
869460aa58
benchmark: add stream destroy benchmark
...
PR-URL: https://github.com/nodejs/node/pull/44533
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Erick Wendel <erick.workspace@gmail.com >
2022-09-13 14:14:49 +00:00
SindreXie
efad04910b
stream: refactor use es2020 statement
...
PR-URL: https://github.com/nodejs/node/pull/44533
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Erick Wendel <erick.workspace@gmail.com >
2022-09-13 14:14:48 +00:00
daomingq
b1f5a27aea
src: dump isolate stats when process exits
...
When process exits, dump v8 isolate's internal stats for performance
evaluation and debugging.
It fixed the incorrect profiling log output when running V8's builtin
PGO profiling for node.js service type application,which exits by user
pressing CTRL+C etc. keys.
PR-URL: https://github.com/nodejs/node/pull/44534
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2022-09-13 14:14:39 +00:00
Joyee Cheung
12fb94c78c
dns: refactor default resolver
...
This patch refactors the DNS default resolver code to make it
easier to be included in a snapshot:
- The code specific for the callback-based DNS resolver are not
in a separate module to make the dependency clearer (it's not
actually needed if the user only ever loads `dns/promises`)
- The common part of the callback-based resolver and the promise-
based resolver is now ResolverBase. The other two user-facing
resolvers are now subclasses of ResolverBase. The default
Resolver is constructed with just ResolverBase. This would
be fine as the default resolver is never actually exposed
to the user-land and it has been working using duck-typing anyway.
- Move the construction of Resolver subclasses into a common
method `createResolverClass()` to reduce code duplication.
The two subclasses now also share the same base constructor.
This would make it possible for them to also share code
for snapshot support later.
- `--dns-result-order` is now queried and refreshed during
pre-execution. To avoid loading the cares_wrap binding unnecessarily
the loading of the binding is also made lazy.
PR-URL: https://github.com/nodejs/node/pull/44541
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2022-09-13 13:36:08 +00:00
StefanStojanovic
8b50160612
win: fix fs.realpath.native for long paths
...
Unlike other fs.js functions that work with paths, realpath.native isn't
using pathModule.toNamespacedPath prior to calling libuv function. This
is causing issues on windows.
Windows long path test is also improved to cover the mentioned issue.
Fixes: https://github.com/nodejs/node/issues/39721
PR-URL: https://github.com/nodejs/node/pull/44536
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2022-09-13 11:48:53 +00:00
Chengzhong Wu
050a1451e9
inspector: expose inspector.close on workers
...
Workers can open their own inspector agent with `inspector.open`.
They should be able to close their own inspector agent too with
`inspector.close`.
PR-URL: https://github.com/nodejs/node/pull/44489
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2022-09-13 09:04:24 +00:00
Joyee Cheung
f691bf5af5
test: ignore stale process cleanup failures on Windows
...
In some tests we try to clean up stale child processes on Windows,
but they don't necessarily exist, in that case we should ignore
any failures from the WMIC.exe command.
PR-URL: https://github.com/nodejs/node/pull/44480
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-09-13 08:55:30 +00:00
Joyee Cheung
78508028e3
bootstrap: generate bootstrapper arguments in BuiltinLoader
...
PR-URL: https://github.com/nodejs/node/pull/44488
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2022-09-13 08:55:19 +00:00
Moshe Atlow
5c546e1f3c
cluster: use inspector utils
...
PR-URL: https://github.com/nodejs/node/pull/44592
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2022-09-13 06:41:19 +00:00
Tobias Nießen
696fd4b14f
doc: deprecate modp1, modp2, and modp5 groups
...
These MODP groups should not be used by new applications, and existing
applications should attempt to migrate to stronger groups (or different
key exchange mechanisms).
Some applications still rely on these particular groups, so Node.js will
likely maintain support, directly or indirectly, for the foreseeable
future.
Refs: https://github.com/nodejs/node/issues/44539
PR-URL: https://github.com/nodejs/node/pull/44588
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-09-12 22:29:27 +00:00
Tobias Nießen
aac5b47a05
doc: remove old OpenSSL ENGINE constants
...
These constants have not existed since OpenSSL 1.1.0 reached EOL a few
years ago.
Refs: https://github.com/nodejs/node/pull/19794
PR-URL: https://github.com/nodejs/node/pull/44589
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2022-09-12 22:29:18 +00:00
Fabian Meyer
0076c38f76
doc: fix heading levels for test runner hooks
...
before/after/beforeEach/afterEach are exported directly from `node:test`
and should not be indented under `it.todo`.
PR-URL: https://github.com/nodejs/node/pull/44603
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-09-12 19:37:41 +00:00
Luigi Pinca
aa3d3b7630
doc: fix errors in http.md
...
Fixes: https://github.com/nodejs/node/issues/44567
PR-URL: https://github.com/nodejs/node/pull/44587
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Mestery <mestery@protonmail.com >
2022-09-12 19:29:30 +00:00
Livia Medeiros
950a4411fa
fs: remove coercion to string in writing methods
...
Moves DEP0162 to End-of-Life.
PR-URL: https://github.com/nodejs/node/pull/42796
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2022-09-12 09:29:43 +00:00
Chengzhong Wu
047cd61859
doc: fix vm.Script createCachedData example
...
`Script.createCachedData` and `SourceTextModule.createCachedData`
doesn't serialize JavaScript variables.
PR-URL: https://github.com/nodejs/node/pull/44487
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2022-09-12 08:23:53 +00:00
ee9aac1f1c
build: rewritten the Android build system
...
Completely rewritten the Android build system using Python
Co-Authored-By: 东灯 <43312495+Lampese@users.noreply.github.com >
Co-Authored-By: Feng Yu <F3n67u@outlook.com >
PR-URL: https://github.com/nodejs/node/pull/44207
Refs: https://github.com/nodejs/node/issues/36287
Reviewed-By: Feng Yu <F3n67u@outlook.com >
Reviewed-By: Christian Clauss <cclauss@me.com >
2022-09-12 08:10:29 +00:00
Guy Bedford
7dd2f41c73
module: runtime deprecate exports double slash maps
...
PR-URL: https://github.com/nodejs/node/pull/44495
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2022-09-11 23:48:22 +00:00
Joyee Cheung
a157e55658
tools: increase timeout of running WPT
...
We run all WPT from one subset in the same process using workers.
As the number of the tests grow, it can take longer to run some of the
subsets, but it's still overall faster than running them in different
processes. This patch increases the timeout
for WPT to prevent the test from failing because it takes longer
to run (even though it would still complete at some point).
PR-URL: https://github.com/nodejs/node/pull/44574
Refs: https://github.com/nodejs/reliability/issues/371
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-09-11 21:41:14 +00:00
Rafael Gonzaga
6f7118fa84
doc: mention how to get commit release
...
PR-URL: https://github.com/nodejs/node/pull/44572
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Ruy Adorno <ruyadorno@google.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2022-09-11 19:03:02 +00:00
Antoine du Hamel
0e903d7229
doc: fix link in process.md
...
PR-URL: https://github.com/nodejs/node/pull/44594
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-09-11 16:53:40 +00:00
Node.js GitHub Bot
c3d217eb5b
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/44591
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-09-11 15:52:57 +00:00
LiviaMedeiros and Antoine du Hamel
41a6d82968
fs: harden fs.readSync(buffer, options) typecheck
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/42772
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-09-11 10:36:05 +00:00
LiviaMedeiros
2275faac2b
fs: harden fs.read(params, callback) typecheck
...
PR-URL: https://github.com/nodejs/node/pull/42772
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-09-11 10:36:04 +00:00