Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v18.19.0 release proposal #50953

Merged
merged 364 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
364 commits
Select commit Hold shift + click to select a range
9938a8b
esm: handle more error types thrown from the loader thread
aduh95 Jun 1, 2023
655111f
esm: handle `globalPreload` hook returning a nullish value
aduh95 May 30, 2023
1c7be60
esm: remove support for arrays in `import` internal method
aduh95 Jun 5, 2023
2ef80f1
typings: fix JSDoc in ESM loader modules
aduh95 Jun 11, 2023
65dfe85
module: implement `register` utility
jlenon7 Jun 12, 2023
63aa5d7
esm: add back `globalPreload` tests and fix failing ones
aduh95 Jul 17, 2023
03c1b5e
esm: unflag `Module.register` and allow nested loader `import()`
izaakschroeder Jul 19, 2023
14e148e
module: ensure successful import returns the same result
aduh95 Jul 26, 2023
f02637e
test: fix `es-module/test-esm-initialization`
aduh95 Jul 29, 2023
48c25b1
fs: make `mkdtemp` accept buffers and URL
LiviaMedeiros Jul 18, 2023
adb9280
test: fix some assumptions in tests
aduh95 Jul 31, 2023
a9347a4
test: order `common.mjs` in ASCII order
aduh95 Jul 31, 2023
3424793
test: fix snapshot tests when cwd contains spaces or backslashes
aduh95 Jul 31, 2023
f96b610
esm: fix typo `parentUrl` -> `parentURL`
aduh95 Aug 2, 2023
10e7c3a
esm: add `initialize` hook, integrate with `register`
izaakschroeder Aug 3, 2023
d5a1153
test: use `fixtures.fileURL` when appropriate
aduh95 Aug 3, 2023
385f24c
esm: protect `ERR_UNSUPPORTED_DIR_IMPORT` against prototype pollution
aduh95 Aug 11, 2023
26f0166
test: reduce flakiness of `test-esm-loader-hooks`
aduh95 Aug 12, 2023
ef43f08
esm: import.meta.resolve exact module not found errors should return
guybedford Aug 13, 2023
c1a8439
esm: unflag import.meta.resolve
guybedford Aug 13, 2023
01ca6d2
esm: fix `globalPreload` warning
aduh95 Aug 13, 2023
2fef28b
doc: fix name of the flag in `initialize()` docs
aduh95 Aug 14, 2023
e8d475f
test: refactor `test-esm-loader-hooks` for easier debugging
aduh95 Aug 15, 2023
58eaf3f
doc: caveat unavailability of `import.meta.resolve` in custom loaders
JakobJingleheimer Aug 19, 2023
e1c6f46
test: reduce flakiness of `test-esm-loader-hooks`
aduh95 Aug 20, 2023
258df0e
doc: add signature for `module.register`
GeoffreyBooth Aug 20, 2023
d1f5514
esm: refactor mocking test
GeoffreyBooth Sep 5, 2023
ed2d46f
doc: move and rename loaders section
GeoffreyBooth Aug 22, 2023
1ac389e
doc: update module hooks docs
GeoffreyBooth Aug 24, 2023
c20fdb4
doc: edit `import.meta.resolve` documentation
aduh95 Sep 5, 2023
65058d9
test: add `tmpdir.fileURL()`
LiviaMedeiros Aug 10, 2023
9b7c9d9
esm: refactor test-esm-named-exports
GeoffreyBooth Sep 4, 2023
0875867
esm: refactor test-esm-loader-resolve-type
GeoffreyBooth Sep 4, 2023
4be5612
esm: remove return value for `Module.register`
aduh95 Sep 9, 2023
9456094
typings: fix missing property in `ExportedHooks`
aduh95 Sep 9, 2023
65201ab
test: isolate `globalPreload` tests
GeoffreyBooth Sep 9, 2023
866d646
test: increase coverage of `Module.register` and `initialize` hook
aduh95 Sep 10, 2023
51ced0f
esm: clarify ERR_REQUIRE_ESM errors
danielcompton Sep 15, 2023
47193a3
esm: fix support for `URL` instances in `register`
aduh95 Sep 17, 2023
12cb700
esm: update loaders warning
GeoffreyBooth Sep 19, 2023
46d730a
esm: fix return type of `import.meta.resolve`
aduh95 Sep 20, 2023
73a7e00
doc: add missing history info for `import.meta.resolve`
aduh95 Sep 20, 2023
ed8dd33
esm: identify parent importing a url with invalid host
JakobJingleheimer Sep 23, 2023
c12685f
esm: fix cache collision on JSON files using file: URL
aduh95 Sep 29, 2023
fe26f8a
lib: merge cjs and esm package json reader caches
anonrig Jun 29, 2023
957725f
esm: require braces for modules code
GeoffreyBooth Sep 15, 2023
9757989
module, esm: jsdoc for modules files
GeoffreyBooth Sep 19, 2023
8c55f31
module: move helpers out of cjs loader
GeoffreyBooth Sep 30, 2023
72644d6
esm: improve JSDoc annotation of internal functions
aduh95 Oct 1, 2023
56bd9a8
esm: --experimental-default-type flag to flip module defaults
GeoffreyBooth Sep 29, 2023
fe69198
esm: unflag extensionless javascript and wasm in module scope
GeoffreyBooth Sep 30, 2023
a67fa2a
util: add `getCwdSafe` internal util fn
jlenon7 Sep 22, 2023
c3c945e
esm: bypass CommonJS loader under --default-type
GeoffreyBooth Oct 5, 2023
e963245
tools: update eslint to 8.45.0
nodejs-github-bot Jul 18, 2023
4880a05
tools: update eslint to 8.46.0
nodejs-github-bot Aug 1, 2023
0940de3
tools: update eslint to 8.47.0
nodejs-github-bot Aug 15, 2023
92d2186
tools: update eslint to 8.48.0
nodejs-github-bot Aug 29, 2023
1c1cbf0
tools: update eslint to 8.49.0
nodejs-github-bot Sep 12, 2023
b8d2a29
tools: update eslint to 8.50.0
nodejs-github-bot Oct 3, 2023
6cf8dd9
tools: update eslint to 8.51.0
nodejs-github-bot Oct 8, 2023
92734d4
esm: use import attributes instead of import assertions
aduh95 Oct 14, 2023
d5cc5d7
test: deflake `test-esm-loader-resolve-type`
aduh95 Oct 21, 2023
c1a8ae3
test: deflake `test-loaders-workers-spawned`
aduh95 Oct 18, 2023
e96f7ef
vm: use import attributes instead of import assertions
aduh95 Oct 23, 2023
48f6d9a
test: refactor `test-node-output-errors`
aduh95 Aug 3, 2023
00c0853
test: fix edge snapshot stack traces
GeoffreyBooth Sep 17, 2023
a98addb
tools: skip ruff on tools/node_modules
MoLow Sep 24, 2023
747fbb4
deps: V8: cherry-pick 1a782f6543ae
kvakil Jun 22, 2023
7f68e14
child_process: improve spawn performance on Linux
kvakil Jun 22, 2023
67925bb
test: add Symbol.dispose support to mock timers
benjamingr Jun 29, 2023
e08fd98
bootstrap: use correct descriptor for Symbol.{dispose,asyncDispose}
ljharb Jul 12, 2023
e455dd4
deps: update googletest to cc36671
nodejs-github-bot Jul 16, 2023
358273d
src: remove OnScopeLeaveImpl's move assignment overload
CGQAQ Jul 16, 2023
74d8f96
doc: nodejs-social over nodejs/tweet
RafaelGSS Jul 16, 2023
2441415
url: reduce `pathToFileURL` cpp calls
anonrig Jul 16, 2023
dfd368a
doc: remove the . in the end to reduce confusing
CGQAQ Jul 17, 2023
f62b242
meta: add mailmap entry for atlowChemi
atlowChemi Jul 17, 2023
f7d6e9b
tools: update lint-md-dependencies to @rollup/plugin-commonjs@25.0.3
nodejs-github-bot Jul 18, 2023
629132d
doc: declare `path` on example of `async_hooks.executionAsyncId()`
deokjinkim Jul 18, 2023
f5384c3
src: fix nullptr access on realm
jkrems Jul 18, 2023
d4fe00d
doc: refactor node-api support matrix
mhdawson Jul 19, 2023
e6d8735
doc: add new TSC members
mhdawson Jul 19, 2023
97d8749
src: remove unnecessary temporary creation
CGQAQ Jul 20, 2023
ae8bb16
fs: remove redundant `nullCheck`
LiviaMedeiros Jul 20, 2023
6059b59
deps: update zlib to 1.2.13.1-motley-61dc0bd
nodejs-github-bot Jul 20, 2023
a8d5c16
doc: include experimental features assessment
RafaelGSS Jul 21, 2023
4d70a2c
typings: sync JSDoc with the actual implementation
illusi0n7 Jul 23, 2023
67dba57
src: use ARES_SUCCESS instead of 0
illusi0n7 Jul 23, 2023
5796631
node-api: avoid macro redefinition
tniessen Jul 23, 2023
66ea9bd
test_runner: fix global before not called when no global test exists
rluvaton Jul 24, 2023
cb43717
doc: add ver of 18.x where Node-api 9 is supported
mhdawson Jul 24, 2023
8874b2e
http: start connections checking interval on listen
ShogunPanda Jul 24, 2023
1cbb186
tools: update lint-md-dependencies to rollup@3.26.3
nodejs-github-bot Jul 25, 2023
833c643
doc: run license-builder
github-actions[bot] Jul 26, 2023
588bd5e
deps: update googletest to c875c4e
nodejs-github-bot Aug 1, 2023
9cc3b20
tools: update lint-md-dependencies to rollup@3.27.0
nodejs-github-bot Aug 1, 2023
c15dd66
deps: update zlib to 1.2.13.1-motley-526382e
nodejs-github-bot Aug 6, 2023
374ec3d
deps: update googletest to 7e33b6a
nodejs-github-bot Aug 6, 2023
5c33857
deps: update zlib to 1.2.13.1-motley-f5fd0ad
nodejs-github-bot Aug 24, 2023
cd99ee1
deps: update googletest to 8a6feab
nodejs-github-bot Sep 7, 2023
736c869
deps: update googletest to d1467f5
nodejs-github-bot Sep 22, 2023
1b103cc
deps: update googletest to e47544a
nodejs-github-bot Oct 3, 2023
e0fd52b
deps: update googletest to 2dd1c13
nodejs-github-bot Oct 10, 2023
49c5495
deps: update zlib to 1.2.13.1-motley-fef5869
nodejs-github-bot Oct 10, 2023
42846a0
tools: limit the number of auto start CIs
aduh95 Aug 8, 2023
caa7ecc
tools: update lint-md-dependencies to rollup@3.27.2
nodejs-github-bot Aug 8, 2023
52d5dd8
test: add expectSyncExitWithoutError() and expectSyncExit() utils
joyeecheung Aug 4, 2023
a781d24
build: fix typo `libray` -> `library` (configure.py)
michalbiesek Aug 15, 2023
3a74316
test_runner: add `__proto__` null
rluvaton Jul 29, 2023
0d0eb47
benchmark: add benchmarks for the test_runner
rluvaton Jul 29, 2023
9f122be
test_runner: unwrap error message in TAP reporter
cjihrig Jul 29, 2023
d217435
test_runner: fix todo and only in spec reporter
MoLow Jul 26, 2023
67d7fad
test_runner: cleanup test timeout abort listener
rluvaton Jul 31, 2023
fb64d41
test_runner: fix timeout in *Each hook failing further tests
rluvaton Jul 31, 2023
b0d769f
meta: bump actions/setup-python from 4.6.1 to 4.7.0
dependabot[bot] Aug 3, 2023
42ac5a6
meta: bump actions/setup-node from 3.6.0 to 3.7.0
dependabot[bot] Aug 3, 2023
5c352ee
meta: bump step-security/harden-runner from 2.4.1 to 2.5.0
dependabot[bot] Aug 3, 2023
f6e68a0
meta: bump github/codeql-action from 2.20.1 to 2.21.2
dependabot[bot] Aug 3, 2023
4047947
doc: remove v14 mention
RafaelGSS Aug 5, 2023
ead654f
doc: clarify use of process.env in worker threads on Windows
daeyeon Aug 5, 2023
71c386a
typings: update JSDoc for `cwd` in `child_process`
LiviaMedeiros Aug 5, 2023
12b83e8
doc: detailed description of keystrokes Ctrl-Y and Meta-Y
rayw000 Aug 8, 2023
6daa9ec
doc: add ESM examples in http.md
btea Apr 28, 2023
633b8cd
doc: add missing period
Trott Aug 10, 2023
9ce7396
doc: add description for `--port` flag of `node inspect`
iloveitaly Aug 11, 2023
7ee26fb
doc: update with latest security release
RafaelGSS Aug 11, 2023
a625f22
readline: add paste bracket mode
jcubic Mar 18, 2023
acd9872
events: remove weak listener for event target
rluvaton Aug 12, 2023
d585d13
stream: improve WebStreams performance
rluvaton Aug 13, 2023
981aa78
lib: fix MIME overmatch in data URLs
andremralves Aug 13, 2023
79c0497
doc: make the NODE_VERSION_IS_RELEASE revert clear
RafaelGSS Aug 13, 2023
55171d8
doc: fix `Type` notation in webstreams
deokjinkim Aug 14, 2023
0cb42cc
tools: update lint-md-dependencies
nodejs-github-bot Aug 13, 2023
3b82e9a
doc: fix wording in napi_async_init
tniessen Aug 17, 2023
2247e52
doc: add h1 summary to security release process
RafaelGSS Aug 17, 2023
72bd527
doc: add notable-change label mention to PR template
RafaelGSS Aug 17, 2023
bd17f0b
meta: mention nodejs/tsc when changing GH templates
RafaelGSS Aug 17, 2023
e18de80
test: use gcUntil() in test-v8-serialize-leak
joyeecheung Aug 18, 2023
0261c5d
test: make test-perf-hooks more robust and work with workers
joyeecheung Aug 18, 2023
bf22a5f
doc: use same name in the doc as in the code
illusi0n7 Aug 19, 2023
9e1c531
build: expand when we run internet tests
mhdawson Aug 19, 2023
8c33731
src: add a condition if the argument of `DomainToUnicode` is empty
pluris Aug 20, 2023
158c91a
src: use ARES_SUCCESS instead of 0
pluris Aug 20, 2023
b011a49
test,benchmark: use `tmpdir.fileURL()`
LiviaMedeiros Aug 21, 2023
066d9d4
src: remove unused function `GetName()` in node_perf
pluris Aug 21, 2023
f9c2a3f
doc: clarify use of Uint8Array for n-api
indutny Aug 21, 2023
c70945d
doc: update description for `percent_encode` sets in `WHATWG API`
pluris Aug 23, 2023
155a275
meta: move one or more collaborators to emeritus
nodejs-github-bot Aug 23, 2023
879b958
worker: protect against user mutating well-known prototypes
aduh95 Aug 23, 2023
f181c37
doc: fix typo in `stream.finished` documentation
aduh95 Aug 23, 2023
3f771ca
doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc
zcbenz Aug 21, 2023
651e450
stream: add `highWaterMark` for the map operator
rluvaton Aug 24, 2023
075c57e
build: add symlink to `compile_commands.json` file if needed
juanarbol Aug 24, 2023
9ca85b5
doc: modify param description for end(),write() in `StringDecoder`
pluris Aug 24, 2023
ddebd29
test: fix compiler warning in NodeCryptoEnv
tniessen Aug 24, 2023
69b7f91
fs: remove redundant code in readableWebStream()
deokjinkim Aug 25, 2023
4ba11e3
doc: avoid "not currently recommended"
tniessen Aug 25, 2023
d4f26f4
policy: fix path to URL conversion
aduh95 Aug 26, 2023
0dda724
doc: update `options.filter` description for `fs.cp`
shubham9411 Aug 26, 2023
01b2588
tools: update lint-md-dependencies
nodejs-github-bot Aug 20, 2023
ee4fc7d
stream: use Buffer.from when constructor is a Buffer
KhafraDev Aug 26, 2023
62f823d
doc: use `cjs` as block code's type in `MockTimers`
deokjinkim Aug 26, 2023
45caad8
doc: update outdated reference to NIST SP 800-131A
tniessen Aug 26, 2023
3f1a237
doc: add print results for examples in `StringDecoder`
pluris Aug 27, 2023
b6522a2
tools: update lint-md-dependencies
nodejs-github-bot Aug 29, 2023
107015b
test: migrate message source map tests from Python to JS
Aug 29, 2023
5f1a1ae
test: rename test-crypto-modp1-error
tniessen Aug 29, 2023
4c93905
doc: add news issue for Diagnostics WG
mhdawson Aug 24, 2023
48a1b93
node-api: fix compiler warning in node_api.h
graebm Aug 30, 2023
11fbd92
test_runner: add support for setImmediate
ErickWendel Aug 31, 2023
344592d
test: split test-crypto-keygen.js
joyeecheung Aug 17, 2023
958e114
test: split JWK async elliptic curve keygen tests
joyeecheung Aug 17, 2023
67cb6f9
test: reduce length in crypto keygen tests
joyeecheung Aug 17, 2023
f256b16
url: handle unicode hostname if empty
anonrig Aug 31, 2023
03063bd
net: fix crash due to simultaneous close/shutdown on JS Stream Sockets
pimterry Aug 24, 2023
daca87b
net: use asserts in JS Socket Stream to catch races in future
pimterry Aug 25, 2023
ac27431
url: validate `pathToFileURL(path)` argument as string
LiviaMedeiros Aug 14, 2023
e26b89e
doc: fix node-api call example
legendecas Aug 31, 2023
c5857bd
test: avoid copying test source files
legendecas Sep 6, 2023
edef4fa
node-api: enable uncaught exceptions policy by default
legendecas Sep 25, 2023
5148f03
node-api: run finalizers directly from GC
vmoroz Jun 23, 2023
f449b22
node-api: update headers for better wasm support
toyobayashi Oct 5, 2023
3511b13
tools: update lint-md-dependencies to rollup@3.29.0 unified@11.0.3
nodejs-github-bot Sep 12, 2023
ad6e7a6
tools: update lint-md-dependencies to rollup@3.29.2
nodejs-github-bot Sep 19, 2023
07941a3
tools: update lint-md-dependencies
nodejs-github-bot Oct 3, 2023
3b65c61
tools: update lint-md-dependencies
nodejs-github-bot Oct 10, 2023
0fea550
test: reorder test files fixtures for better understanding
rluvaton Jul 26, 2023
71f7ed7
test_runner: fix global after not failing the tests
rluvaton Aug 2, 2023
7e714e6
test: remove --no-warnings flag in test_runner fixtures
rluvaton Aug 3, 2023
00c70e1
test_runner: dont set exit code on todo tests
MoLow Jul 26, 2023
d61a505
test_runner: expose location of tests
cjihrig Jul 30, 2023
d839640
test_runner: reland run global after() hook earlier
cjihrig Aug 14, 2023
95cc98e
test_runner: expose spec reporter as newable function
atlowChemi Aug 17, 2023
760c982
test_runner: preserve original property descriptor
ErickWendel Sep 3, 2023
dad5785
meta: bump actions/setup-node from 3.7.0 to 3.8.1
dependabot[bot] Sep 3, 2023
0fc0b88
meta: bump step-security/harden-runner from 2.5.0 to 2.5.1
dependabot[bot] Sep 3, 2023
429846f
test_runner: fix typescript coverage
MoLow Sep 4, 2023
5949ae0
test_runner: add jsdocs to MockTimers
ErickWendel Sep 5, 2023
ba57c24
test_runner: fix invalid timer call
ErickWendel Sep 5, 2023
76a3563
test_runner: add jsdocs to mock.js
ocodista Sep 14, 2023
059b194
test_runner: add junit reporter
MoLow Sep 14, 2023
e459598
test_runner: fix test runner watch mode when no positional arguments
MoLow Sep 14, 2023
5df2352
test: mark test-runner-watch-mode as flaky
joyeecheung Sep 14, 2023
07c3b88
doc: remove `@anonrig` from performance initiative
anonrig Sep 13, 2023
103c4a0
test_runner: catch reporter errors
MoLow Sep 21, 2023
b283ae4
test_runner: accept `testOnly` in `run`
MoLow Sep 24, 2023
1d9c371
test_runner: replace spurious if with else
cjihrig Sep 29, 2023
54168b7
test_runner: add test location for FileTests
cjihrig Oct 3, 2023
428301a
test_runner, cli: add --test-concurrency flag
cjihrig Oct 1, 2023
4b2e258
test_runner,test: fix flaky test-runner-cli-concurrency.js
cjihrig Oct 12, 2023
1d75da4
Revert "test: mark test-http-regr-gh-2928 as flaky"
lpinca Sep 20, 2023
5820d7e
test: deflake test-runner-output
MoLow Sep 26, 2023
5953a25
test: set `test-runner-watch-mode` as flaky
anonrig Oct 18, 2023
54f3d87
test: set test-worker-nearheaplimit-deadlock flaky
StefanStojanovic Oct 18, 2023
cb0bd21
test: set parallel http server test as flaky
anonrig Oct 18, 2023
866a399
test: set inspector async hook test as flaky
anonrig Oct 18, 2023
83e339d
test: set `test-structuredclone-*` as flaky
anonrig Oct 19, 2023
0c05c25
test: set crypto-timing test as flaky
anonrig Oct 20, 2023
e81b066
test: set `test-cli-node-options` as flaky
anonrig Oct 19, 2023
b41aa7b
test: set test-worker-nearheaplimit-deadlock flaky
StefanStojanovic Oct 19, 2023
91a3b57
test: set inspector async stack test as flaky
anonrig Oct 18, 2023
1047d95
test: set `test-emit-after-on-destroyed` as flaky
anonrig Oct 20, 2023
a0bb30c
test: set `test-watch-mode-inspect` as flaky
anonrig Oct 22, 2023
fae60c5
stream: use bitmap in readable state
benjamingr Sep 24, 2023
26c5c3c
meta: bump actions/checkout from 3.5.3 to 3.6.0
dependabot[bot] Sep 3, 2023
3a107f8
meta: bump actions/checkout from 3.6.0 to 4.1.0
dependabot[bot] Oct 4, 2023
6591a03
meta: bump github/codeql-action from 2.21.2 to 2.21.5
dependabot[bot] Sep 7, 2023
7927032
meta: bump github/codeql-action from 2.21.5 to 2.21.9
dependabot[bot] Oct 4, 2023
98294fd
meta: bump actions/cache from 3.3.1 to 3.3.2
dependabot[bot] Oct 4, 2023
dee7dc5
meta: bump actions/upload-artifact from 3.1.2 to 3.1.3
dependabot[bot] Oct 4, 2023
5d6daf0
meta: add test/reporters to codeowners
atlowChemi Aug 17, 2023
2827779
meta: remove modules team from CODEOWNERS
benjamingr Sep 1, 2023
213a9f8
meta: bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1
dependabot[bot] Sep 7, 2023
dc70c44
meta: add primordials strategic initiative
benjamingr Sep 21, 2023
332d2ae
meta: fix linter error
aduh95 Sep 21, 2023
d24c3a0
meta: update website team with new name
Trott Sep 26, 2023
5b9575d
meta: ping TSC for offboarding
tniessen Oct 13, 2023
7778e19
meta: move Trott to TSC regular member
Trott Oct 19, 2023
a2ca1a6
test: print instruction for creating missing snapshot in assertSnapshot
rluvaton Aug 11, 2023
128ca3e
test: replace forEach with for..of in test-http2-client-destroy.js
niyashiyas Oct 21, 2023
bbd302b
test: replace forEach with for..of in test-http2-server
niyashiyas Sep 23, 2023
2f0ffde
test: replace forEach with for..of in test-net-isipv4.js
niyashiyas Oct 21, 2023
7f39f8e
test: replace forEach with for..of in test-http-perf_hooks.js
niyashiyas Sep 23, 2023
1096837
doc: drop github actions check in sec release process
RafaelGSS Aug 2, 2023
916a63b
url: improve `isURL` detection
anonrig May 7, 2023
7fc15b6
url: fix `isURL` detection by checking `path`
Zhangdroid Jul 26, 2023
2969722
https: fix connection checking interval not clearing on server close
Linkgoron Jun 7, 2023
7af5427
deps: V8: cherry-pick 70caf337c3f6
kxxt Nov 1, 2023
a1c9403
tools: fix --v8-non-optimized-debug for v18.x
joyeecheung Nov 7, 2023
9e0c715
2023-11-29, Version 18.19.0 'Hydrogen' (LTS)
targos Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ tools/lint-md/lint-md.mjs
benchmark/tmp
benchmark/fixtures
doc/**/*.js
doc/changelogs/CHANGELOG_v1*.md
!doc/changelogs/CHANGELOG_v18.md
!doc/api_assets/*.js
!.eslintrc.js
27 changes: 23 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const hacks = [
'eslint-plugin-jsdoc',
'eslint-plugin-markdown',
'@babel/eslint-parser',
'@babel/plugin-syntax-import-assertions',
'@babel/plugin-syntax-import-attributes',
];
Module._findPath = (request, paths, isMain) => {
const r = ModuleFindPath(request, paths, isMain);
Expand All @@ -44,7 +44,10 @@ module.exports = {
parserOptions: {
babelOptions: {
plugins: [
Module._findPath('@babel/plugin-syntax-import-assertions'),
[
Module._findPath('@babel/plugin-syntax-import-attributes'),
{ deprecatedAssertSyntax: true },
],
],
},
requireConfigFile: false,
Expand All @@ -53,10 +56,10 @@ module.exports = {
overrides: [
{
files: [
'test/es-module/test-esm-type-flag.js',
'test/es-module/test-esm-type-flag-alias.js',
'*.mjs',
'test/es-module/test-esm-example-loader.js',
'test/es-module/test-esm-type-flag.js',
'test/es-module/test-esm-type-flag-alias.js',
],
parserOptions: { sourceType: 'module' },
},
Expand Down Expand Up @@ -111,6 +114,22 @@ module.exports = {
},
] },
},
{
files: [
'lib/internal/modules/**/*.js',
],
rules: {
'curly': 'error',
},
},
{
files: [
'lib/internal/test_runner/**/*.js',
],
rules: {
'node-core/set-proto-to-null-in-object': 'error',
},
},
],
rules: {
// ESLint built-in rules
Expand Down
31 changes: 17 additions & 14 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@
# tsc

/.github/CODEOWNERS @nodejs/tsc
/.github/PULL_REQUEST_TEMPLATE.md @nodejs/tsc
/.github/ISSUE_TEMPLATE/* @nodejs/tsc
/CODE_OF_CONDUCT.md @nodejs/tsc
/CONTRIBUTING.md @nodejs/tsc
/doc/contributing/*.md @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/LICENSE @nodejs/tsc
/onboarding.md @nodejs/tsc

# website
/doc/api_assets @nodejs/website
/doc/template.html @nodejs/website
/tools/doc @nodejs/website
# nodejs.org website
/doc/api_assets @nodejs/nodejs-website
/doc/template.html @nodejs/nodejs-website
/tools/doc @nodejs/web-infra

# streams

Expand Down Expand Up @@ -85,16 +87,16 @@

# modules, including loaders

/doc/api/esm.md @nodejs/modules @nodejs/loaders
/doc/api/module.md @nodejs/modules @nodejs/loaders
/doc/api/modules.md @nodejs/modules @nodejs/loaders
/doc/api/packages.md @nodejs/modules @nodejs/loaders
/lib/internal/bootstrap/loaders.js @nodejs/modules @nodejs/loaders
/lib/internal/modules/* @nodejs/modules @nodejs/loaders
/lib/internal/process/esm_loader.js @nodejs/modules @nodejs/loaders
/lib/internal/process/execution.js @nodejs/modules @nodejs/loaders
/lib/module.js @nodejs/modules @nodejs/loaders
/src/module_wrap* @nodejs/modules @nodejs/loaders @nodejs/vm
/doc/api/esm.md @nodejs/loaders
/doc/api/module.md @nodejs/loaders
/doc/api/modules.md @nodejs/loaders
/doc/api/packages.md @nodejs/loaders
/lib/internal/bootstrap/realm.js @nodejs/loaders
/lib/internal/modules/* @nodejs/loaders
/lib/internal/process/esm_loader.js @nodejs/loaders
/lib/internal/process/execution.js @nodejs/loaders
/lib/module.js @nodejs/loaders
/src/module_wrap* @nodejs/loaders @nodejs/vm

# Node-API

Expand Down Expand Up @@ -146,6 +148,7 @@
/lib/internal/main/test_runner.js @nodejs/test_runner
/lib/internal/test_runner/* @nodejs/test_runner
/lib/test.js @nodejs/test_runner
/lib/test/reporters.js @nodejs/test_runner
/test/parallel/test-runner-* @nodejs/test_runner

# Single Executable Applications
Expand Down
11 changes: 7 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<!--
Before submitting a pull request, please read
https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md.
Before submitting a pull request, please read:

Commit message formatting guidelines:
https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines
- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.

If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
--label 'request-ci' \
--json 'number' \
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 100)
--limit 5)
echo "numbers=$numbers" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -46,12 +46,12 @@ jobs:
if: needs.get-prs-for-ci.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false

- name: Install Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -57,19 +57,19 @@ jobs:
mkdir tarballs
mv *.tar.gz tarballs
- name: Upload tarball artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: tarballs
path: tarballs
test-tarball-linux:
needs: build-tarball
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.windows }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
run: |
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
persist-credentials: false
- run: git reset HEAD^2
- name: Install Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Validate commit message
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
if: needs.get_mergeable_prs.outputs.numbers != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
# Needs the whole git history for ncu to work
# See https://github.com/nodejs/node-core-utils/pull/486
Expand All @@ -71,7 +71,7 @@ jobs:

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install node-core-utils
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: windows-2022
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -45,7 +45,7 @@ jobs:
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '[.[] | select(.files[] | contains("linux-x64"))][0].version')" >> $GITHUB_ENV
- name: Install Node.js
id: setup-node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NIGHTLY || matrix.node-version }}
check-latest: true
Expand All @@ -57,7 +57,7 @@ jobs:
SHORT_SHA=$(node -p 'process.version.split(/-nightly\d{8}/)[1]')
echo "NIGHTLY_REF=$(gh api /repos/nodejs/node/commits/$SHORT_SHA --jq '.sha')" >> $GITHUB_ENV
- name: Checkout ${{ steps.setup-node.outputs.node-version }}
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
Expand All @@ -73,7 +73,7 @@ jobs:
run: rm -rf wpt
working-directory: test/fixtures
- name: Checkout epochs/daily WPT
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
repository: web-platform-tests/wpt
persist-credentials: false
Expand All @@ -98,7 +98,7 @@ jobs:
run: rm -rf deps/undici
- name: Checkout undici
if: ${{ env.WPT_REPORT != '' }}
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
repository: nodejs/undici
persist-credentials: false
Expand All @@ -121,7 +121,7 @@ jobs:
run: cp wptreport.json wptreport-${{ steps.setup-node.outputs.node-version }}.json
- name: Upload GitHub Actions artifact
if: ${{ env.WPT_REPORT != '' }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
path: out/wpt/wptreport-*.json
name: WPT Reports
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
# not working on gcc-8 and gcc-9 see https://github.com/nodejs/node/issues/38570
container: gcc:11
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: NODE=$(command -v node) make doc-only
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: docs
path: out/doc
Expand Down