Moshe Atlow
757a586ead
test: migrate test runner message tests to snapshot
...
PR-URL: https://github.com/nodejs/node/pull/47392
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-04-13 16:48:53 -03:00
Rafael Gonzaga
54d17ff4b5
permission: support fs.mkdtemp
...
PR-URL: https://github.com/nodejs/node/pull/47470
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2023-04-13 16:48:53 -03:00
Daniel Lemire
78c7475493
src: allow simdutf::convert_* functions to return zero
...
PR-URL: https://github.com/nodejs/node/pull/47471
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-13 16:48:53 -03:00
Michael Dawson
c7ad5bb37d
doc: info on handling unintended breaking changes
...
Fixes: https://github.com/nodejs/TSC/issues/1156
PR-URL: https://github.com/nodejs/node/pull/47426
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-04-13 16:48:53 -03:00
Joyee Cheung
2bde0059ca
sea: use JSON configuration and blob content for SEA
...
PR-URL: https://github.com/nodejs/node/pull/47125
Refs: https://github.com/nodejs/single-executable/discussions/58
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2023-04-13 16:48:53 -03:00
Marco Ippolito
37d12730ab
tools: automate cjs-module-lexer dependency update
...
PR-URL: https://github.com/nodejs/node/pull/47446
Refs: https://github.com/nodejs/security-wg/issues/828
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-13 16:48:53 -03:00
Jiawen Geng
8e673bdb84
build: add node-core-utils to setup
...
PR-URL: https://github.com/nodejs/node/pull/47442
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-13 16:48:53 -03:00
Tobias Nießen
48c01485cd
crypto: replace THROW with CHECK for scrypt keylen
...
The JS layer already uses validateInt32(keylen, 'keylen', 0) to ensure
that the keylen argument fits into a signed 32-bit integer, thus, the
THROW statement in C++ is unreachable (unless the binding is accessed
directly, of course).
PR-URL: https://github.com/nodejs/node/pull/47407
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-13 16:48:53 -03:00
Node.js GitHub Bot
3fc11477ba
deps: update corepack to 0.17.2
...
PR-URL: https://github.com/nodejs/node/pull/47474
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:53 -03:00
Joyee Cheung
a4dadde1ba
meta: ping startup and realm team on src/node_realm* changes
...
PR-URL: https://github.com/nodejs/node/pull/47448
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-04-13 16:48:53 -03:00
Richard Lau
86f890539f
test: remove stale entry from known_issues.status
...
The `test-crypto-authenticated-stream` test was moved out of
`test/known_issues` and now lives in `test/parallel`
PR-URL: https://github.com/nodejs/node/pull/47454
Refs: https://github.com/nodejs/node/pull/33981
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:53 -03:00
Antoine du Hamel
4fbfa3c9f2
tools: fix notify-on-push Slack messages
...
PR-URL: https://github.com/nodejs/node/pull/47453
Refs: https://api.slack.com/reference/surfaces/formatting#special-mentions
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-04-13 16:48:53 -03:00
Node.js GitHub Bot
b1f2ff1242
tools: update lint-md-dependencies to @rollup/plugin-node-resolve@15.0.2
...
PR-URL: https://github.com/nodejs/node/pull/47431
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-04-13 16:48:53 -03:00
Richard Lau
26b2584b84
tools: add root certificate update script
...
Automates the steps from `doc/contributing/maintaining-root-certs.md`.
Extend "Tools and deps update" workflow to use the new script to update
the root certificates.
PR-URL: https://github.com/nodejs/node/pull/47425
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-13 16:48:52 -03:00
Timothy Gu
747ff43e5b
url: more sophisticated brand check for URLSearchParams
...
Use private properties and static {} blocks.
PR-URL: https://github.com/nodejs/node/pull/47414
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
npm CLI robot
c1776531ab
deps: upgrade npm to 9.6.4
...
PR-URL: https://github.com/nodejs/node/pull/47432
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Joyee Cheung
1f3773d0c1
test: move more inspector sequential tests to parallel
...
This moves sequential inspector tests that can be run in
parallel (using random ports) to parallel.
Before:
```
❯ tools/test.py "test/sequential/test-inspector-*"
[00:07|% 100|+ 28|- 0]: Done
All tests passed.
❯ tools/test.py "test/parallel/test-inspector-*"
[00:01|% 100|+ 26|- 0]: Done
All tests passed.
```
After:
```
❯ tools/test.py "test/sequential/test-inspector-*"
[00:00|% 100|+ 1|- 0]: Done
All tests passed.
❯ tools/test.py "test/parallel/test-inspector-*"
[00:01|% 100|+ 53|- 0]: Done
All tests passed.
```
PR-URL: https://github.com/nodejs/node/pull/47412
Refs: https://github.com/nodejs/node/issues/47146
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Joyee Cheung
617b8d44c6
test: use random port in test-inspector-enabled
...
Which makes it possible to run it in parallel.
PR-URL: https://github.com/nodejs/node/pull/47412
Refs: https://github.com/nodejs/node/issues/47146
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Joyee Cheung
ade0170c4f
test: use random port in test-inspector-debug-brk-flag
...
Which makes it possible to run it in parallel.
PR-URL: https://github.com/nodejs/node/pull/47412
Refs: https://github.com/nodejs/node/issues/47146
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Joyee Cheung
1a78632cd3
test: use random port in NodeInstance.startViaSignal()
...
Which makes it possible to run the tests that use this in parallel.
PR-URL: https://github.com/nodejs/node/pull/47412
Refs: https://github.com/nodejs/node/issues/47146
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Yagiz Nizipli
7d2d40ed0d
doc: add performance initiative
...
PR-URL: https://github.com/nodejs/node/pull/47424
Refs: https://github.com/nodejs/TSC/issues/1343
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Feng Yu <F3n67u@outlook.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2023-04-13 16:48:52 -03:00
Timothy Gu
e727eb066f
url: do not use object as hashmap
...
Fixes cases like new URLSearchParams({ hasOwnProperty: 1 }).
PR-URL: https://github.com/nodejs/node/pull/47415
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-04-13 16:48:52 -03:00
Michael Dawson
4b52727976
wasi: make version non-optional
...
- remove default for version
- updates tests to specify version
- add test for when version is not specified
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/47391
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-04-13 16:48:52 -03:00
Luigi Pinca
d56c0f7318
doc: do not create a backup file
...
The `sed -i -- 's_^#include "chromeconf.h"_//#include "chromeconf.h"_' deps/zlib/zconf.h`
command creates a `zconf.h--` backup file on macOS. Replace it with an
equivalent perl one-liner so that it works on both Linux and macOS.
PR-URL: https://github.com/nodejs/node/pull/47151
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-04-13 16:48:52 -03:00
Luigi Pinca
e7ca09f310
deps: update zlib to upstream 5edb52d4
...
Updated as described in doc/contributing/maintaining-zlib.md.
Refs: https://github.com/nodejs/node/pull/45387#issuecomment-1462728879
PR-URL: https://github.com/nodejs/node/pull/47151
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-04-13 16:48:52 -03:00
Jiawen Geng
5b561d72a6
build: sync cares source change
...
PR-URL: https://github.com/nodejs/node/pull/47359
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Joyee Cheung
5250947a53
src: track ShadowRealm native objects correctly in the heap snapshot
...
Previously the native ShadowRealm objects were never actually tracked
in the heap snapshot - the tracking starts with the Environment,
we don't call the tracking methods unless it's reachable natively from
the Environment. This patch adds a set in the Environment for tracking
shadow realms in the heap snapshot.
Drive-by: remove redundant MemoryInfo() overrides from the derived
classes of Realm and remove the tracking of `env` from
`Realm::MemoryInfo()` because the realms don't hold the Environment
alive (even for the principal realm, it's the other way around).
PR-URL: https://github.com/nodejs/node/pull/47389
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2023-04-13 16:48:52 -03:00
Konstantin Demin
9a4d21d1d9
build, deps, tools: avoid excessive LTO
...
Don't link intermediate executables with LTO in order to speed up
overall build time.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/47313
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-04-13 16:48:52 -03:00
Joyee Cheung
8059764621
src: use the internal field to determine if an object is a BaseObject
...
Instead of storing the function template of BaseObject for checking
if an object is BaseObject by calling HasInstance, simply checks
the first internal field of the object, which is always set in the
BaseObject constructor. This is simpler and faster
(there is now no need to iterate over the inheritance for the check).
PR-URL: https://github.com/nodejs/node/pull/47217
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-04-13 16:48:52 -03:00
Colin Ihrig
412d27b65b
doc: add MoLow to the TSC
...
Refs: https://github.com/nodejs/TSC/issues/1364
PR-URL: https://github.com/nodejs/node/pull/47436
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Yagiz Nizipli
81c7875eb7
url: drop ICU requirement for parsing hostnames
...
PR-URL: https://github.com/nodejs/node/pull/47339
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:52 -03:00
Yagiz Nizipli
a4895df94a
url: use ada::url_aggregator for parsing urls
...
PR-URL: https://github.com/nodejs/node/pull/47339
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:51 -03:00
Node.js GitHub Bot
88387ccd12
deps: update ada to 2.0.0
...
PR-URL: https://github.com/nodejs/node/pull/47339
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:51 -03:00
Paolo Insogna and Antoine du Hamel
55321bafd1
net: enable autoSelectFamily by default
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/46790
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-04-13 16:48:51 -03:00
Marco Ippolito
24e334b8f3
tools: fix update-openssl.yml compare version
...
PR-URL: https://github.com/nodejs/node/pull/47384
Refs: https://github.com/nodejs/node/pull/46957
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-13 16:48:51 -03:00
Darshan Sen
98ece912f4
src: remove usage of std::shared_ptr<T>::unique()
...
`std::shared_ptr<T>::unique()` has been removed in C++20, so this change
uses `std::shared_ptr<T>::use_count()` instead which is available in
C++20.
Fixes: https://github.com/nodejs/node/issues/47311
Signed-off-by: Darshan Sen <raisinten@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/47315
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-13 16:48:51 -03:00
Joyee Cheung
631c3ef3de
module: do less CJS module loader initialization at run time
...
This patch:
- Builds the set of modules that can be required by users with/without
the `node:` prefix at snapshot building time. We only modify it when
`--expose-internals` but the default set is now in the snapshot. At
run time the CJS module loader only creates a frozen array out of it.
- `BuiltinModule.canBeRequiredWithoutScheme()` is now enough to
determine if an id can be required without `node:` without an
additional call to `BuiltinModule.canBeRequiredByUsers()`
- Replace the pending-to-deprecate methods on `Module` with an internal
implementation that only queries the CLI flags when being invoked.
So we can install these methods in the snapshot.
PR-URL: https://github.com/nodejs/node/pull/47194
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-04-13 16:48:51 -03:00
Moshe Atlow
fb047d693f
watch: fix watch path with equals
...
PR-URL: https://github.com/nodejs/node/pull/47369
Fixes: https://github.com/nodejs/node/issues/47296
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-04-13 16:48:51 -03:00
Moshe Atlow
8facf197fd
test: fix flaky test-watch-mode-inspect
...
PR-URL: https://github.com/nodejs/node/pull/47403
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-04-13 16:48:51 -03:00
Tobias Nießen
52a01e25ed
src: use stricter compile-time guidance
...
SnapshotSerializerDeserializer::GetName() appears to confuse static
analysis such as Coverity.
This changes the function structure to a sequence of if-else blocks and
marks all branch conditions as constexpr. (Unfortunately, this results
in a dangling 'else' keyword in the V macro.)
As per a request in the PR discussion, this change does _not_ ensure
that GetName<T>() can only be called for known types T and instead still
returns an empty string in that case.
Also use std::is_unsigned_v instead of !std::is_signed_v.
PR-URL: https://github.com/nodejs/node/pull/46509
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-04-13 16:48:51 -03:00
Joyee Cheung
bf2433a607
test: move debugger tests with --port=0 to parallel
...
Before
```
❯ tools/test.py "sequential/test-debugger*"
[00:25|% 100|+ 32|- 0]: Done
All tests passed.
❯ tools/test.py -J "parallel/test-debugger*"
[00:05|% 100|+ 6|- 0]: Done
All tests passed.
```
After
```
❯ tools/test.py "sequential/test-debugger*"
[00:06|% 100|+ 5|- 0]: Done
All tests passed.
❯ tools/test.py -J "parallel/test-debugger*"
[00:05|% 100|+ 33|- 0]: Done
All tests passed.
```
PR-URL: https://github.com/nodejs/node/pull/47274
Refs: https://github.com/nodejs/node/issues/47146
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-13 16:48:51 -03:00
Joyee Cheung
4cae786862
test: use --port=0 in debugger tests that do not have to work on 9229
...
To avoid failures when there is another running process occupying
the port 9229 which may happen if there is a stale process, use the
--port argument of node-inspect to use a random port in tests that
don't have to work on port 9229.
The following tests are not touched:
- test-debugger-custom-port: tests a specific port
- test-debugger-debug-brk: tests a specific port
- test-debugger-invalid-args: tests other inspect combinations
- test-debugger-pid: node-inspect does not support -p and --port
together
- test-debugger-launch: tests that default port is 9229
PR-URL: https://github.com/nodejs/node/pull/47274
Refs: https://github.com/nodejs/node/issues/47146
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-13 16:48:51 -03:00
codedokode
9efac64814
doc: add a note about os.cpus() returning an empty list
...
It is not obvious that in some cases cpus() returns an empty list and
this has caused a bug before:
https://github.com/isaacs/promise-call-limit/pull/11
PR-URL: https://github.com/nodejs/node/pull/47363
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:51 -03:00
dependabot[bot]
e86891695a
build: bump github/codeql-action from 2.2.6 to 2.2.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.6 to 2.2.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/16964e90ba004cdf0cd845b866b5df21038b7723...04df1262e6247151b5ac09cd2c303ac36ad3f62b )
PR-URL: https://github.com/nodejs/node/pull/47366
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Feng Yu <F3n67u@outlook.com >
2023-04-13 16:48:51 -03:00
Joyee Cheung
2356e10536
test: run doctool tests in parallel
...
PR-URL: https://github.com/nodejs/node/pull/47273
Refs: https://github.com/nodejs/node/issues/47146
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-04-13 16:48:51 -03:00
Node.js GitHub Bot
c68970046e
deps: update simdutf to 3.2.3
...
PR-URL: https://github.com/nodejs/node/pull/47331
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:51 -03:00
Rafael Gonzaga
b441b5dc65
permission: drop process.permission.deny
...
PR-URL: https://github.com/nodejs/node/pull/47335
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-04-13 16:48:51 -03:00
Moshe Atlow
401d7b147e
test_runner: color errors only when colors are available
...
PR-URL: https://github.com/nodejs/node/pull/47394
Fixes: https://github.com/nodejs/node/issues/47393
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-04-13 16:48:51 -03:00
Moshe Atlow
8330d9170e
test_runner: hide failing tests title when all tests pass
...
PR-URL: https://github.com/nodejs/node/pull/47370
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-04-13 16:48:51 -03:00
Moshe Atlow
1e9a500b0c
test_runner: stringify AssertError expected and actual
...
PR-URL: https://github.com/nodejs/node/pull/47088
Fixes: https://github.com/nodejs/node/issues/47075
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2023-04-13 16:48:51 -03:00