Colin Ihrig
c19fa45a65
test_runner: centralize CLI option handling
...
The test runner relies on a few CLI options. That code was spread
across a few locations. This commit centralizes that logic.
PR-URL: https://github.com/nodejs/node/pull/46707
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:33 -05:00
Richie McColl
0898145e37
test_runner: display skipped tests in spec reporter output
...
PR-URL: https://github.com/nodejs/node/pull/46651
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-03-04 23:03:33 -05:00
Mert Can Altın
894d7117fa
test_runner: parse non-ascii character correctly
...
PR-URL: https://github.com/nodejs/node/pull/45736
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-03-04 23:03:33 -05:00
Moshe Atlow
5b3c606626
test_runner: flatten TAP output when running using --test
...
PR-URL: https://github.com/nodejs/node/pull/46440
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/45833
Refs: https://github.com/nodejs/node/issues/45833
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-03-04 23:03:33 -05:00
Moshe Atlow
391ff0dba4
test_runner: allow nesting test within describe
...
PR-URL: https://github.com/nodejs/node/pull/46544
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/46478
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:33 -05:00
Pulkit Gupta
4f5aff2557
test: fix tap parser fails if a test logs a number
...
PR-URL: https://github.com/nodejs/node/pull/46056
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/46048
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-03-04 23:03:33 -05:00
Moshe Atlow
ba784e87b4
test_runner: fix missing test diagnostics
...
PR-URL: https://github.com/nodejs/node/pull/46450
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/45911
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-03-04 23:03:33 -05:00
Pulkit Gupta
c5f16fb5fb
test_runner: top-level diagnostics not ommited when running with --test
...
PR-URL: https://github.com/nodejs/node/pull/46441
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/45910
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-03-04 23:03:33 -05:00
Pulkit Gupta
32b020cf84
test: fix tap escaping with and without --test
...
PR-URL: https://github.com/nodejs/node/pull/46311
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/45836
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-03-04 23:03:33 -05:00
cjihrig
63563f8a7a
doc,lib,src,test: rename --test-coverage
...
Add experimental to the name as requested during review.
PR-URL: https://github.com/nodejs/node/pull/46017
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2023-03-04 23:03:33 -05:00
cjihrig
28a775b32f
test_runner: add initial code coverage support
...
This commit adds code coverage functionality to the node:test
module. When node:test is used in conjunction with the new
--test-coverage CLI flag, a coverage report is created when
the test runner finishes. The coverage summary is forwarded to
any test runner reporters so that the display can be customized
as desired. This new functionality is compatible with the
existing NODE_V8_COVERAGE environment variable as well.
There are still several limitations, which will be addressed in
subsequent pull requests:
- Coverage is only reported for a single process. It is possible
to merge coverage reports together. Once this is done, the
--test flag will be supported as well.
- Source maps are not currently supported.
- Excluding specific files or directories from the coverage
report is not currently supported. Node core modules and
node_modules/ are excluded though.
PR-URL: https://github.com/nodejs/node/pull/46017
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2023-03-04 23:03:33 -05:00
Colin Ihrig
0d999e373a
test_runner: make built in reporters internal
...
This commit updates the test runner to make the built in test
reporters internal modules.
PR-URL: https://github.com/nodejs/node/pull/46092
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-03-04 23:03:33 -05:00
Moshe Atlow
79f4b426fe
test_runner: report file in test runner events
...
PR-URL: https://github.com/nodejs/node/pull/46030
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2023-03-04 23:03:33 -05:00
Geoffrey Booth
403df210ac
module: move test reporter loading
...
Move the logic for handling --test-reporter out of the
general module loader and into the test_runner subsystem.
PR-URL: https://github.com/nodejs/node/pull/45923
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-03-04 23:03:32 -05:00
Moshe Atlow
4d50db14b3
test_runner: add reporters
...
PR-URL: https://github.com/nodejs/node/pull/45712
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/45648
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-03-04 23:03:32 -05:00
MURAKAMI Masahiko
5fdf374c74
test_runner: avoid swallowing of asynchronously thrown errors
...
Fixes: https://github.com/nodejs/node/issues/44612
PR-URL: https://github.com/nodejs/node/pull/45264
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-03-04 23:03:32 -05:00
Juan José
c04808de4b
doc: correct the sed command for macOS in release process docs
...
PR-URL: https://github.com/nodejs/node/pull/46397
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-03-04 23:03:32 -05:00
Santiago Gimeno
30d783f91a
src: stop tracing agent before shutting down libuv
...
Otherwise there might be pending tracing fs writes which lead to a crash
because the libuv threadpool is already gone.
Fixes: https://github.com/nodejs/node/issues/46376
PR-URL: https://github.com/nodejs/node/pull/46380
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:32 -05:00
Filip Skokan
c0d3fdaf63
test,crypto: add CFRG curve vectors to wrap/unwrap tests
...
PR-URL: https://github.com/nodejs/node/pull/46406
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:32 -05:00
Mohamed Akram
ec61bb04c0
build: export more OpenSSL symbols on Windows
...
PR-URL: https://github.com/nodejs/node/pull/45486
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2023-03-04 23:03:32 -05:00
Geoffrey Booth
4e88c7c813
esm: delete preload mock test
...
PR-URL: https://github.com/nodejs/node/pull/46402
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-03-04 23:03:32 -05:00
Node.js GitHub Bot
00c5495aa3
tools: update eslint to 8.33.0
...
PR-URL: https://github.com/nodejs/node/pull/46400
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:32 -05:00
Deokjin Kim
8113220690
doc: pass string to textEncoder.encode as input
...
Input of `textEncoder.encode` should be string, not array.
Refs: https://nodejs.org/dist/latest-v19.x/docs/api/util.html#textencoderencodeinput
PR-URL: https://github.com/nodejs/node/pull/46421
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2023-03-04 23:03:31 -05:00
Node.js GitHub Bot
37a6ce1120
tools: update doc to unist-util-select@4.0.3 unist-util-visit@4.1.2
...
PR-URL: https://github.com/nodejs/node/pull/46364
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-03-04 23:03:31 -05:00
Node.js GitHub Bot
732c77e3d9
deps: update acorn to 8.8.2
...
PR-URL: https://github.com/nodejs/node/pull/46363
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-03-04 23:03:31 -05:00
Node.js GitHub Bot
1eaafc7db4
tools: update lint-md-dependencies to rollup@3.12.0
...
PR-URL: https://github.com/nodejs/node/pull/46398
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-03-04 23:03:31 -05:00
Moshe Atlow
76622c4c60
inspector: allow opening inspector when NODE_V8_COVERAGE is set
...
PR-URL: https://github.com/nodejs/node/pull/46113
Fixes: https://github.com/nodejs/node/issues/46110
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:31 -05:00
Antoine du Hamel
f2bba1bcdb
test: add trailing commas in test/node-api
...
PR-URL: https://github.com/nodejs/node/pull/46384
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:31 -05:00
Antoine du Hamel
f2ebe66fda
test: add trailing commas in test/message
...
PR-URL: https://github.com/nodejs/node/pull/46372
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:31 -05:00
Antoine du Hamel
ed564a9985
test: add trailing commas in test/pseudo-tty
...
PR-URL: https://github.com/nodejs/node/pull/46371
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:31 -05:00
Antoine du Hamel
6f91c8e2ae
benchmark: add trailing commas
...
PR-URL: https://github.com/nodejs/node/pull/46370
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:31 -05:00
Node.js GitHub Bot
92f0747e03
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/46399
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-03-04 23:03:31 -05:00
Colin Ihrig
643545ab79
fs: add statfs() functions
...
This commit adds statfs() and statfsSync() to the fs module, and
statfs() to the fsPromises module.
Co-authored-by: cjihrig <cjihrig@gmail.com >
Fixes: https://github.com/nodejs/node/issues/10745
Refs: https://github.com/nodejs/node/pull/31351
PR-URL: https://github.com/nodejs/node/pull/46358
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:31 -05:00
theanarkh
129dccf5d2
doc: add tip for session.post function
...
PR-URL: https://github.com/nodejs/node/pull/46354
Refs: https://github.com/nodejs/node/issues/44634
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-03-04 23:03:31 -05:00
Shi Pujin
e4437dd409
test: set common.bits to 64 for loong64
...
PR-URL: https://github.com/nodejs/node/pull/45383
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:31 -05:00
Adam Majer
9d40aef736
test: s390x zlib test case fixes
...
This is similar to https://github.com/nodejs/node/pull/44117 and
addresses the indeterminate nature of the hardware accelerated
compression.
PR-URL: https://github.com/nodejs/node/pull/46367
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-03-04 23:03:31 -05:00
theanarkh
ed3fb52716
test: fix logInTimeout is not function
...
PR-URL: https://github.com/nodejs/node/pull/46348
Refs: https://github.com/nodejs/node/pull/44390
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-03-04 23:03:30 -05:00
Adam Majer
d05b0771be
test: avoid trying to call sysctl directly
...
sysctl is often installed in /usr/sbin, which is not conveniently
accessible to non-root. Secondly, the setting can just be read
directly from the standard location and does not need to be
parsed in any special fashion.
PR-URL: https://github.com/nodejs/node/pull/46366
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2023-03-04 23:03:30 -05:00
Luigi Pinca
919e581732
doc: add documentation for socket.destroySoon()
...
PR-URL: https://github.com/nodejs/node/pull/46337
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2023-03-04 23:03:30 -05:00
Vladimir Morozov (REDMOND)
7bae4333ce
build: fix MSVC 2022 Release compilation
...
PR-URL: https://github.com/nodejs/node/pull/46228
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-03-04 23:03:30 -05:00
Tony Gorez
fc15ac95a5
doc: fix commit message using test instead of deps
...
PR-URL: https://github.com/nodejs/node/pull/46313
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-03-04 23:03:30 -05:00
Tobias Nießen
1508d90fda
src: get rid of fp arithmetic in ParseIPv4Host
...
Even though most compiler should not actually emit FPU instructions, it
is unnecessary to use floating-point arithmetic for powers of 2.
Also change some signed counters to unsigned integers.
PR-URL: https://github.com/nodejs/node/pull/46326
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-04 23:03:30 -05:00
Anna Henningsen
110ead9abb
vm: expose cachedDataRejected for vm.compileFunction
...
Having this information available is useful for functions just as
it is for scripts. Therefore, expose it in the same way that other
information related to code caching is reported.
As part of this, de-duplify the code for setting the properties on
the C++ side and add proper exception handling to it.
PR-URL: https://github.com/nodejs/node/pull/46320
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-03-04 23:03:30 -05:00
Antoine du Hamel
a97774603b
tools: require more trailing commas
...
All of the import and export statements in the codebase already use
trailing commas, this commit adds a linter rule to enforce that.
PR-URL: https://github.com/nodejs/node/pull/46346
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2023-03-04 23:03:30 -05:00
Tobias Nießen
bdb793a082
src: use UNREACHABLE instead of CHECK(falsy)
...
Also remove some dead code following such statements.
PR-URL: https://github.com/nodejs/node/pull/46317
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2023-03-04 23:03:30 -05:00
theanarkh
02632b42cf
v8: support gc profile
...
PR-URL: https://github.com/nodejs/node/pull/46255
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2023-03-04 23:03:30 -05:00
Debadree Chatterjee
63e92eae63
stream: remove brandchecks from stream duplexify
...
Refs: https://github.com/nodejs/node/pull/46190
Refs: https://github.com/nodejs/node/pull/46205#discussion_r1070551161
PR-URL: https://github.com/nodejs/node/pull/46315
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2023-03-04 23:03:30 -05:00
theanarkh
f09b838408
src,lib: add constrainedMemory API for process
...
PR-URL: https://github.com/nodejs/node/pull/46218
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2023-03-04 23:03:30 -05:00
José Dapena Paz
116a33649b
src: add support for ETW stack walking
...
V8 supports native stack walking in Windows by providing JIT code
information to ETW (Event Tracing for Windows). But the option to
enable it is not exposed in NodeJS.
Just add command line (and environment variable) support for
--enable-etw-stack-walking, that maps to V8 option of the same name.
Fixes: https://github.com/nodejs/node/issues/46202
PR-URL: https://github.com/nodejs/node/pull/46203
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2023-03-04 23:03:30 -05:00
Antoine du Hamel
2f7319e387
readline: fix detection of carriage return
...
Fixes: https://github.com/nodejs/node/issues/45992
PR-URL: https://github.com/nodejs/node/pull/46306
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-03-04 23:03:30 -05:00