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.x backport] cli: add --watch #44814

Closed
wants to merge 1,047 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1047 commits
Select commit Hold shift + click to select a range
e8916fa
doc: add cola119 to collaborators
cola119 Aug 16, 2022
a02492f
test: move "errors" test to "parallel"
targos Aug 16, 2022
c842ab3
report: skip report if uncaught exception is handled
legendecas Aug 16, 2022
851264c
http: add max for http keepalive
theanarkh Aug 16, 2022
87f75a2
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Aug 16, 2022
2cf3ce8
trace_events: add example
theanarkh Aug 16, 2022
ecf7b07
tls: use logical OR operator
VoltrexKeyva Aug 16, 2022
36b39db
tools: update ESLint to 8.22.0
lpinca Aug 17, 2022
19557ad
dgram: add dgram send queue info
theanarkh Aug 17, 2022
2efce0f
typings: add JSDoc for `internal/validators`
anonrig Aug 17, 2022
f7be92f
meta: update `web streams` in label-pr-config
daeyeon Aug 17, 2022
7b6126a
test: update Web Streams WPT
daeyeon Aug 17, 2022
8cfc8b0
lib: refactor to avoid prototype pollution
aduh95 Aug 17, 2022
bce8041
deps: upgrade npm to 8.18.0
npm-cli-bot Aug 18, 2022
a3ac445
stream: fix `isDetachedBuffer` validations
daeyeon Aug 18, 2022
d2dce59
src: avoid copying BaseObjectPtrs in loop
tniessen Aug 18, 2022
e8441a2
doc,report: document special filenames
legendecas Aug 19, 2022
3765c63
src: extract common context embedder tag checks
legendecas Aug 17, 2022
7a56787
doc: add TypeScript execution requirements
mhdawson Jul 28, 2022
8cf6499
report: print javascript stack on fatal error
legendecas Aug 15, 2022
a2707d0
test: add coverage for invalid RSA-PSS digests
tniessen Aug 20, 2022
3dadc95
src: refactor to avoid using a moved object
tniessen Aug 20, 2022
d3f3bf6
doc: fix typo
h-a-n-a Aug 20, 2022
a933712
doc: fix optionality of callback arg of checkPrime
tniessen Aug 20, 2022
c0b160c
test_runner: fix test runner hooks failure stack
MoLow Aug 20, 2022
0e38fba
perf_hooks: add resourcetiming buffer limit
legendecas Aug 21, 2022
8977a87
meta: update AUTHORS
nodejs-github-bot Aug 21, 2022
e9d19ac
src: use imported namespaces in `node_contextify.cc`
juanarbol Aug 21, 2022
f7c1b83
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Aug 21, 2022
4ec3f67
fs: add encoding parameter to benchmarks
anonrig Aug 21, 2022
c270b9a
deps: update corepack to 0.13.0
nodejs-github-bot Aug 21, 2022
1a44fbc
lib: add diagnostics channel and perf hooks detail
danielleadams Jul 26, 2022
514e516
test: deflake test-diagnostics-channel-net
kvakil Aug 7, 2022
1b3fcf7
net: create diagnostics channels lazily
joyeecheung Aug 2, 2022
3561514
bootstrap: implement --snapshot-blob and --build-snapshot
joyeecheung May 27, 2021
597a517
bootstrap: clean up warning setup during serialization
joyeecheung Jul 20, 2022
d4189ab
test: add UMD module test with marked
joyeecheung Sep 9, 2021
40b817c
test: test snapshotting TypeScript compiler
joyeecheung Sep 27, 2021
87d7845
bootstrap: fixup Error.stackTraceLimit for user-land snapshot
joyeecheung Aug 18, 2022
ab73cc8
src: disambiguate terms used to refer to builtins and addons
joyeecheung Aug 4, 2022
c200106
2022-08-24, Version 18.8.0 (Current)
ruyadorno Aug 23, 2022
629e51d
Working on v18.8.1
ruyadorno Aug 24, 2022
30da2b4
build: added NINJA env to customize ninja binary
jdx Aug 22, 2022
7039916
tls: use OpenSSL constant for client random size
tniessen Aug 22, 2022
1cdccbc
tls: remove SecureContext setFreeListLength
tniessen Aug 22, 2022
6857ee8
src: make minor improvements to SecureBuffer
tniessen Aug 22, 2022
28781a1
crypto: improve RSA-PSS digest error messages
tniessen Aug 22, 2022
768c9cb
src: fix multiple format string bugs
tniessen Aug 22, 2022
11e9d6e
test: make tmpdir.js importable from esm
GeoffreyBooth Aug 23, 2022
8cc5556
doc: fix typo in test runner code examples
MoLow Aug 23, 2022
4a0f750
doc: add daeyeon to collaborators
daeyeon Aug 23, 2022
65c1f40
doc: add history for net.createServer() options
lpinca Aug 23, 2022
bce827e
vm: make ContextifyContext template context-independent
joyeecheung Aug 16, 2022
736a04a
vm: include vm context in the embedded snapshot
joyeecheung Aug 16, 2022
c4a45a9
vm: avoid unnecessary property getter interceptor calls
joyeecheung Aug 17, 2022
57da3db
deps: update undici to 5.9.1
nodejs-github-bot Aug 24, 2022
8175c65
test_runner: support programmatically running `--test`
MoLow Aug 15, 2022
b1eafe1
debugger: decrease timeout used to wait for the port to be free
joyeecheung Aug 24, 2022
c65d7fb
test: add OpenSSL 3.x providers test
richardlau Aug 24, 2022
df25900
report: add queue info for udp
theanarkh Aug 24, 2022
1f23c17
report: expose report public native apis
legendecas Aug 24, 2022
8b0a4af
tty: fix TypeError when stream is closed
aduh95 Aug 24, 2022
88d9566
src: remove KeyObjectData::symmetric_key_len_
tniessen Aug 24, 2022
8e2dcaf
test: remove duplicate test
lpinca Aug 24, 2022
2563401
node-api: cleanup redundant static modifiers
legendecas Aug 25, 2022
3eb7918
src: make minor improvements to EnabledDebugList
tniessen Aug 25, 2022
ed52bd0
doc: fix style of n-api.md
theanarkh Aug 25, 2022
1e451dc
deps: upgrade llhttp to 6.0.9
ShogunPanda Aug 25, 2022
e001aaf
test: raise sleep times in child process tests
joyeecheung Aug 25, 2022
c3dbe18
crypto: simplify control flow in HKDF
tniessen Aug 25, 2022
2ed3b30
inspector: prevent integer overflow in open()
tniessen Aug 25, 2022
3a5fdac
test: fix WPT runner result
daeyeon Aug 26, 2022
1b50ff2
deps: update icu tzdata to 2022b
Manizuca Aug 18, 2022
2be8aca
src: simplify ECDH::GetCurves()
tniessen Aug 26, 2022
a86ef1b
lib: use safe `Promise` alternatives when available
aduh95 Aug 17, 2022
b670954
tools: refactor `avoid-prototype-pollution` lint rule
aduh95 Jun 17, 2022
7f16177
src: use `if constexpr` where appropriate
addaleax Aug 27, 2022
21437f7
doc: fix release guide example consistency
ruyadorno Aug 27, 2022
65134d6
stream: fix `ReadableStreamReader.releaseLock()`
daeyeon Aug 27, 2022
96df993
tools: update eslint to 8.23.0
nodejs-github-bot Aug 27, 2022
cef30f9
doc: note on release guide to update `main` branch
ruyadorno Aug 27, 2022
b8f08e5
lib: codify findSourceMap return value when not found
legendecas Aug 27, 2022
c03f28b
meta: update AUTHORS
nodejs-github-bot Aug 28, 2022
443730c
tools: update doc to [email protected]
nodejs-github-bot Aug 28, 2022
754d26a
deps: patch V8 to 10.2.154.15
targos Aug 28, 2022
e27e709
build: add --libdir flag to configure
sgallagher Aug 28, 2022
05fb650
src: simplify and optimize GetOpenSSLVersion()
tniessen Aug 28, 2022
78c6827
tools: don't use f-strings in test.py
santigimeno Aug 28, 2022
3c53548
cluster: fix cluster rr distribute error
theanarkh Aug 28, 2022
0f4e98b
src: restore context default IsCodeGenerationFromStringsAllowed value
legendecas Aug 28, 2022
dc1c95e
src: trace fs async api
theanarkh Aug 28, 2022
4ae1f49
test: split report OOM tests
joyeecheung Aug 25, 2022
b660b74
doc,worker: document resourceLimits overrides
kvakil Aug 29, 2022
6714736
os: add machine method
theanarkh Aug 29, 2022
048e440
src: fix ssize_t error from nghttp2.h
RaisinTen Aug 29, 2022
8e41dbb
doc: mention cherry-pick edge-case on release
RafaelGSS Aug 26, 2022
3e6cde5
doc: fix spacing issue in `--build-snapshot` help text
syohex Aug 29, 2022
1e62bb1
tools: fix typo in `avoid-prototype-pollution` lint rule
aduh95 Aug 30, 2022
8db2e66
src: make Endianness an enum class
tniessen Aug 30, 2022
92046e8
doc: apply scroll-margin-top to h2, h3 elements
metonym Aug 30, 2022
4776b47
src: fix uv_err_name memory leak
theanarkh Aug 30, 2022
2dd88b8
test: fix multiple incorrect mustNotCall() uses
tniessen Aug 30, 2022
35cbe1a
crypto: use actual option name in error message
tniessen Aug 31, 2022
fd611cc
src: remove base64_select_table and base64_table
tniessen Aug 31, 2022
ef08cbd
node-api: avoid calling virtual methods in base's dtor
legendecas Aug 31, 2022
0f071b8
test: split heap prof tests
joyeecheung Aug 25, 2022
0af15c7
test: make the vm timeout escape tests more lenient
joyeecheung Aug 29, 2022
e36ed44
test: deflake child process exec timeout tests
joyeecheung Aug 25, 2022
dcc1cf4
src: add error handling to `uv_uptime` call
juanarbol Aug 24, 2022
255e7fb
deps: update Acorn to v8.8.0
targos Aug 31, 2022
71c8696
doc: add missing imports in events sample code
mrbrianevans Aug 31, 2022
ae028e8
doc: improve assert.snapshot() docs
cjihrig Aug 28, 2022
0d77342
test: style updates for assert.snapshot()
cjihrig Aug 28, 2022
11452a9
doc: add --update-assert-snapshot to node.1
cjihrig Aug 28, 2022
c5413a1
src: simplify enable_if logic of `ToStringHelper::BaseConvert`
F3n67u Sep 1, 2022
4c33e5d
test: avoid race in file write stream handle tests
joyeecheung Aug 24, 2022
c5630ad
deps: V8: backport ff8d67c88449
targos Sep 1, 2022
4331bbe
src: expose environment RequestInterrupt api
legendecas Aug 21, 2022
18b7208
src: avoid casting std::trunc(... / ...) to size_t
tniessen Sep 1, 2022
aa34f73
src: fix incorrect comments in crypto
tniessen Sep 1, 2022
125ab7d
src: improve error handling in CloneSSLCerts
tniessen Sep 1, 2022
54b6ed5
doc: use serial comma in addons docs
tniessen Sep 1, 2022
b17cc87
report: fix missing section javascriptHeap on OOMError
legendecas Aug 25, 2022
807b1e5
report: get stack trace with cross origin contexts
legendecas Aug 26, 2022
cf19a79
deps: upgrade npm to 8.19.1
npm-cli-bot Sep 2, 2022
05006ed
doc: do not use "Returns:" for crypto.constants
tniessen Sep 2, 2022
c868e36
crypto: add digest name to INVALID_DIGEST errors
tniessen Sep 2, 2022
5cefd02
crypto: handle invalid prepareAsymmetricKey JWK inputs
panva Sep 3, 2022
2facf8b
stream: fix setting abort reason in `ReadableStream.pipeTo()`
daeyeon Sep 3, 2022
a35c2f9
test_runner: fix `duration_ms` to be milliseconds
MoLow Sep 4, 2022
e519ac7
meta: update AUTHORS
nodejs-github-bot Sep 4, 2022
6fe189b
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Sep 4, 2022
fc17b80
src: rename misleading arg in ClientHelloParser
tniessen Sep 4, 2022
1c87a7e
doc: add missing parenthesis in TLSSocket section
tniessen Sep 4, 2022
8ef5c40
deps: update corepack to 0.14.0
nodejs-github-bot Sep 5, 2022
9ae2af4
2022-09-08, Version v18.9.0 (Current)
RafaelGSS Sep 5, 2022
bf4d390
Working on v18.9.1
RafaelGSS Sep 8, 2022
2c379d3
src: fix IPv4 non routable validation
RafaelGSS Jul 13, 2022
ffb6f4d
deps: MacOS - fix location of OpenSSL config file
mhdawson Sep 8, 2022
0c2a572
crypto: fix weak randomness in WebCrypto keygen
bnoordhuis Sep 11, 2022
01bffcd
http: disable chunked encoding when OBS fold is used
ShogunPanda Sep 19, 2022
df3ed1e
2022-09-23, Version 18.9.1 (Current)
RafaelGSS Sep 20, 2022
fe3a0f0
Working on v18.9.2
RafaelGSS Sep 23, 2022
1315a83
build: fix bad upstream merge
sgallagher Sep 14, 2022
d8d34ae
lib: reset `RegExp` statics before running user code
aduh95 Aug 5, 2022
667e8bf
stream: fix `writableStream.abort()`
daeyeon Sep 5, 2022
01e584e
doc: move policy docs to the permissions scope
RafaelGSS Sep 5, 2022
eb25fe7
test: add more cases for parse-encoding
tony-go Sep 6, 2022
20e04c6
test: fix DebugSymbolsTest.ReqWrapList on PPC64LE
danbev Aug 22, 2022
19f67db
bootstrap: remove unused global parameter in per-context scripts
joyeecheung Sep 1, 2022
4e6f786
doc: document attribute Script.cachedDataRejected
legendecas Sep 6, 2022
3cc8f4b
deps: update to uvwasi 0.0.13
cjihrig Sep 5, 2022
2baf532
lib: fix reference leak
falsandtru Sep 7, 2022
9c5c145
bootstrap: clean up inspector console methods during serialization
joyeecheung Sep 7, 2022
6878448
src: consolidate environment cleanup queue
legendecas Aug 24, 2022
9aa6a56
v8: add setHeapSnapshotNearHeapLimit
theanarkh Sep 8, 2022
5db9779
tools: fix shebang to use python3 by default
himself65 Sep 8, 2022
a733f7f
Revert "build: go faster, drop -fno-omit-frame-pointer"
bnoordhuis Sep 8, 2022
a3360b1
doc: emphasize that createCipher is never secure
tniessen Sep 8, 2022
2f2f8d5
stream: add `ReadableByteStream.tee()`
daeyeon Sep 8, 2022
0af6e42
stream: remove `abortReason` from `WritableStreamDefaultController`
daeyeon Sep 9, 2022
f5549af
doc: remove ebpf from supported tooling list
RafaelGSS Sep 9, 2022
6c35f33
test: use python3 instead of python
lpinca Sep 10, 2022
39b65d2
doc: do not use weak MODP group in example
tniessen Sep 10, 2022
993bd9b
crypto: restrict PBKDF2 args to signed int
tniessen Sep 10, 2022
f8ec946
module: exports & imports map invalid slash deprecation
guybedford Sep 11, 2022
fe56efd
meta: update AUTHORS
nodejs-github-bot Sep 11, 2022
ea7b44d
doc: fix link in `process.md`
aduh95 Sep 11, 2022
2813323
doc: mention how to get commit release
RafaelGSS Sep 11, 2022
caad474
tools: increase timeout of running WPT
joyeecheung Sep 11, 2022
70898b4
build: rewritten the Android build system
MeowShe Sep 12, 2022
48d944b
doc: fix vm.Script createCachedData example
legendecas Sep 12, 2022
6c55734
doc: fix errors in http.md
lpinca Sep 12, 2022
0370563
doc: fix heading levels for test runner hooks
meyfa Sep 12, 2022
2d92610
doc: remove old OpenSSL ENGINE constants
tniessen Sep 12, 2022
4ad1b0a
doc: deprecate modp1, modp2, and modp5 groups
tniessen Sep 12, 2022
7db2974
test: ignore stale process cleanup failures on Windows
joyeecheung Sep 13, 2022
1b16051
inspector: expose inspector.close on workers
legendecas Sep 13, 2022
360b74e
win: fix fs.realpath.native for long paths
StefanStojanovic Sep 13, 2022
729dd95
dns: refactor default resolver
joyeecheung Sep 13, 2022
81ea507
src: dump isolate stats when process exits
qdaoming Sep 13, 2022
73ad9db
stream: refactor use es2020 statement
xtx1130 Sep 6, 2022
0c9a946
benchmark: add stream destroy benchmark
xtx1130 Sep 7, 2022
5dd86c3
tools: update lint-md-dependencies to @rollup/[email protected]
nodejs-github-bot Sep 13, 2022
c12abb5
src: make NearHeapLimitCallback() more robust
joyeecheung Sep 13, 2022
5ae142d
tools: update gyp-next to v0.13.0
gengjiawen Sep 14, 2022
9da1142
build: remove redundant entry in crypto
gengjiawen Sep 14, 2022
75cfb13
src: make ReqWrap weak
RafaelGSS Sep 14, 2022
3f710fa
doc: remove empty line in YAML block
ovflowd Sep 14, 2022
85ab2f8
fs: remove unused option in `fs.fstatSync()`
LiviaMedeiros Sep 14, 2022
226d90a
doc: use serial comma in stream docs
daeyeon Sep 14, 2022
5ab3bc9
test_runner: include stack of uncaught exceptions
MoLow Sep 14, 2022
29f57b7
src: avoid copy when creating Blob
tniessen Sep 14, 2022
a3095d2
test: fix `test-repl` not validating leaked globals properly
aduh95 Sep 14, 2022
b9cfb71
tools: update lint-md-dependencies to @rollup/[email protected]
nodejs-github-bot Sep 15, 2022
3dabb44
doc: use serial comma in report docs
daeyeon Sep 15, 2022
dd43489
tools: update eslint to 8.23.1
nodejs-github-bot Sep 15, 2022
c62dfe0
meta: update test_runner in label-pr-config
shrujalshah28 Sep 15, 2022
9341fb4
doc: remove comma in README.md
Taha-Chaudhry Sep 15, 2022
eb36351
lib,test: fix bug in InternalSocketAddress
tniessen Sep 15, 2022
752e147
tls: fix out-of-bounds read in ClientHelloParser
tniessen Sep 15, 2022
c209bd6
doc,inspector: document changes of inspector.close
legendecas Sep 13, 2022
55de013
test: improve lib/readline.js coverage
fossamagna Sep 15, 2022
0df181a
tools: add timezone update workflow
98lenvi Sep 15, 2022
ef0dc47
tools: fix typo in update-nghttp2.sh
lpinca Sep 16, 2022
ec1cbdb
doc: add legendecas to TSC list
mhdawson Sep 15, 2022
8a68a80
test: fix test-performance-measure
smitley Sep 14, 2022
05b17e9
doc: maintain only one list of MODP groups
tniessen Sep 17, 2022
b209c83
doc: improve building doc for Windows Powershell
bmuenzenmeyer Sep 13, 2022
4686579
dns: remove unnecessary parameter from validateOneOf
anonrig Sep 17, 2022
7129106
deps: upgrade npm to 8.19.2
npm-cli-bot Sep 17, 2022
6ef9af2
doc: make legacy banner slightly less bright
Trott Sep 17, 2022
c5c1bc4
meta: move dnlup to emeriti
dnlup Sep 18, 2022
f158656
http: throw error on content-length mismatch
sidwebworks Aug 24, 2022
d36c4a3
deps: update ngtcp2 update instructions
tniessen Sep 18, 2022
8da1d6e
deps: update corepack to 0.14.1
nodejs-github-bot Sep 18, 2022
4436ffb
module: open stat/readPackage to mutations
arcanis Sep 18, 2022
ca5fb67
deps: update to ngtcp2 0.8.1 and nghttp3 0.7.0
tniessen Sep 18, 2022
3036b85
src: remove <unistd.h> from node_os.cc
tniessen Sep 18, 2022
35fbd2c
meta: update AUTHORS
nodejs-github-bot Sep 18, 2022
0cddb0a
tools: add update-llhttp.sh
ShogunPanda Sep 15, 2022
97d2ed7
meta: add mailmap entry for dnlup
Trott Sep 19, 2022
9b3b7d6
esm,loader: tidy ESMLoader internals
JakobJingleheimer Sep 19, 2022
64cb43a
node-api: add deprecation code of uncaught exception
legendecas Sep 13, 2022
82cb815
doc: remove extra space on threadpool usage
connorjburton Sep 20, 2022
4dbe4a0
doc: mention where to push security commits
RafaelGSS Sep 16, 2022
a6091f5
gyp: libnode for ios app embedding
chexiongsheng Sep 21, 2022
ce1704c
src: avoid using v8 on Isolate termination
santigimeno Sep 21, 2022
10a0d75
doc: include code examples for webstreams consumers
khaosdoctor Aug 24, 2022
f497368
benchmark: fix startup benchmark
evanlucas Sep 21, 2022
57dac53
doc,crypto: cleanup removed pbkdf2 behaviours
panva Sep 22, 2022
a56cb65
test: fix addon tests compilation with OpenSSL 1.1.1
AdamMajer Sep 22, 2022
33a2f17
doc: add registry number for Electron 22
VerteDinde Sep 23, 2022
3d42aaa
stream: handle a pending pull request from a released reader
daeyeon Sep 23, 2022
79f0f48
test: change promise to async/await in debugger-watcher
Pooja444 Sep 16, 2022
064543d
doc: update guidance for adding new modules
mhdawson Sep 8, 2022
2502f23
doc: update the deprecation for exit code to clarify its scope
daeyeon Sep 24, 2022
74dc4d1
meta: update AUTHORS
nodejs-github-bot Sep 25, 2022
945aa74
test: check that sysconf returns a positive value
tniessen Sep 25, 2022
a2eb55a
lib: don't match `sourceMappingURL` in strings
alan-agius4 Sep 16, 2022
6c9ded8
test: update test-debugger-low-level to use await/async
ml7181 Sep 25, 2022
858631f
test: use async/await in test-debugger-invalid-args
nupurchauhan6 Sep 25, 2022
f274b08
doc: fix description for `napi_get_cb_info()` in `n-api.md`
daeyeon Sep 26, 2022
b512436
test: change promises to async/await
MadhulikaSharma95 Sep 26, 2022
daf63d2
fs: fix typo in mkdir example
SergeyTsukanov Sep 26, 2022
3112d5d
test: verify napi_remove_wrap with napi_delete_reference
legendecas Sep 26, 2022
fd971f5
doc: ensure to revert node_version changes
RafaelGSS Sep 23, 2022
6dc0382
doc: mention git node backport
RafaelGSS Sep 23, 2022
bdf069b
2022-09-28, Version 18.10.0 (Current)
RafaelGSS Sep 26, 2022
2e7a17d
Working on v18.10.1
RafaelGSS Sep 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
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.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ test/message/esm_display_syntax_error.mjs
tools/icu
tools/lint-md/lint-md.mjs
benchmark/tmp
benchmark/fixtures
doc/**/*.js
!doc/api_assets/*.js
!.eslintrc.js
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ module.exports = {
ByteLengthQueuingStrategy: 'readable',
CompressionStream: 'readable',
CountQueuingStrategy: 'readable',
CustomEvent: 'readable',
Crypto: 'readable',
CryptoKey: 'readable',
DecompressionStream: 'readable',
Expand Down
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
test/fixtures/* -text
vcbuild.bat text eol=crlf
deps/npm/bin/npm text eol=lf
deps/npm/bin/npx text eol=lf
deps/corepack/shims/corepack text eol=lf
tools/msvs/find_python.cmd text eol=crlf
5 changes: 2 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@

/benchmark/misc/startup.js @nodejs/startup
/src/node.cc @nodejs/startup
/src/node_code_cache_stub.cc @nodejs/startup
/src/node_native_module* @nodejs/startup
/src/node_builtins* @nodejs/startup
/src/node_snapshot* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/tools/code_cache/* @nodejs/startup
/tools/snapshot/* @nodejs/startup

# V8
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body:
label: Platform
description: |
UNIX: output of `uname -a`
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
- type: input
attributes:
label: Subsystem
Expand Down
17 changes: 15 additions & 2 deletions .github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,24 @@ body:
placeholder: e.g. `test-fs-stat-bigint`
validations:
required: true
- type: input
- type: dropdown
attributes:
label: Platform
description: The platform the test is flaky on.
placeholder: e.g. `macos` or `linux`
multiple: true
options:
- AIX
- FreeBSD
- Linux ARM64
- Linux ARMv7
- Linux PPC64LE
- Linux s390x
- Linux x64
- macOS ARM64
- macOS x64
- SmartOS
- Windows
- Other
- type: textarea
attributes:
label: Console output
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: ⁉️ Need help with Node.js?
url: https://github.com/nodejs/help
Expand Down
10 changes: 7 additions & 3 deletions .github/label-pr-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ subSystemLabels:
/^src\/.*win32.*/: c++, windows
/^src\/node_zlib/: c++, zlib
/^src\/tracing/: c++, tracing
/^src\/node_api/: c++, node-api
/^src\/(?:node_api|js_native_api)/: c++, node-api
/^src\/node_http2/: c++, http2
/^src\/node_report/: c++, report
/^src\/node_wasi/: c++, wasi
Expand Down Expand Up @@ -67,7 +67,7 @@ subSystemLabels:
/^tools\/make-v8/: tools, v8 engine, needs-ci
/^tools\/v8_gypfiles/: tools, v8 engine, needs-ci
/^tools\/(code_cache|snapshot)/: needs-ci
/^tools\/build-addons.js/: needs-ci
/^tools\/build-addons.mjs/: needs-ci
# all other tool changes should be marked as such
/^tools\//: tools
/^\.eslint|\.remark|\.editorconfig/: tools
Expand Down Expand Up @@ -101,6 +101,8 @@ subSystemLabels:
/^lib\/worker_threads.js$/: worker
/^lib\/internal\/url\.js$/: whatwg-url
/^lib\/internal\/modules\/esm/: esm
/^lib\/internal\/webstreams/: web streams
/^lib\/internal\/test_runner/: dont-land-on-v14.x

# All other lib/ files map directly
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
Expand All @@ -117,11 +119,13 @@ exlusiveLabels:
/^test\/inspector\//: test, inspector
/^test\/cctest\/test_inspector/: test, inspector
/^test\/cctest\/test_url/: test, whatwg-url
/^test\/addons-napi\//: test, node-api
/^test\/node-api\//: test, node-api
/^test\/js-native-api\//: test, node-api
/^test\/async-hooks\//: test, async_hooks
/^test\/report\//: test, report
/^test\/fixtures\/es-module/: test, esm
/^test\/es-module\//: test, esm
/^test\/fixtures\/wpt\/streams//: test, web streams

/^test\//: test

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

workflow_dispatch:

permissions:
contents: read

jobs:
authors_update:
if: github.repository == 'nodejs/node'
Expand All @@ -15,16 +18,18 @@ jobs:
with:
fetch-depth: '0' # This is required to actually get all the authors
persist-credentials: false
- run: tools/update-authors.js # Run the AUTHORS tool
- uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
- run: tools/update-authors.mjs # Run the AUTHORS tool
- uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f
# Creates a PR or update the Action's existing PR, or
# no-op if the base branch is already up-to-date.
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <[email protected]>
body: >
Here are some new additions to the AUTHORS file.
This is an automatically generated PR by the
`authors.yml` GitHub Action, which runs `tools/update-authors.js`.
`authors.yml` GitHub Action, which runs `tools/update-authors.mjs`.
branch: actions/authors-update # Custom branch *just* for this Action.
commit-message: 'meta: update AUTHORS'
labels: meta
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ concurrency: ${{ github.workflow }}
env:
NODE_VERSION: lts/*

permissions:
contents: read

jobs:
get-prs-for-ci:
permissions:
pull-requests: read
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
outputs:
Expand All @@ -32,6 +37,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
start-ci:
permissions:
contents: read
pull-requests: write
needs: get-prs-for-ci
if: needs.get-prs-for-ci.outputs.numbers != ''
runs-on: ubuntu-latest
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
- '!.github/workflows/build-tarball.yml'
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
Expand All @@ -30,7 +29,10 @@ concurrency:

env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare
FLAKY_TESTS: keep_retrying

permissions:
contents: read

jobs:
build-tarball:
Expand Down Expand Up @@ -92,4 +94,4 @@ jobs:
- name: Test
run: |
cd $TAR_DIR
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
8 changes: 5 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand All @@ -25,14 +24,17 @@ concurrency:

env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare
FLAKY_TESTS: keep_retrying

permissions:
contents: read

jobs:
build-windows:
if: github.event.pull_request.draft == false
strategy:
matrix:
windows: [windows-2019, windows-2022]
windows: [windows-2019]
fail-fast: false
runs-on: ${{ matrix.windows }}
steps:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ env:
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
# yamllint enable

permissions:
contents: read

jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/close-stalled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ env:
is still relevant, or to ping the collaborator who labelled it stalled if
you have any questions.
permissions:
contents: read

jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/comment-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ env:
If it should remain open, please leave a comment explaining why it should remain open.
FAST_TRACK_MESSAGE: Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve.

permissions:
contents: read

jobs:
stale-comment:
permissions:
issues: write
pull-requests: write
if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled'
runs-on: ubuntu-latest
steps:
Expand All @@ -23,6 +29,8 @@ jobs:
run: gh issue comment "$NUMBER" --repo ${{ github.repository }} --body "$STALE_MESSAGE"

fast-track:
permissions:
pull-requests: write
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track'
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on: [pull_request]
env:
NODE_VERSION: lts/*

permissions:
contents: read

jobs:
lint-commit-message:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ concurrency: ${{ github.workflow }}
env:
NODE_VERSION: lts/*

permissions:
contents: read

jobs:
get_mergeable_prs:
permissions:
pull-requests: read
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
outputs:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
- .github/**
- '!.github/workflows/coverage-linux.yml'
push:
branches: [master, main]
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
Expand All @@ -26,7 +27,10 @@ concurrency:

env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare
FLAKY_TESTS: keep_retrying

permissions:
contents: read

jobs:
coverage-linux:
Expand All @@ -49,7 +53,7 @@ jobs:
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots" || exit 0
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand All @@ -60,6 +64,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
directory: ./coverage
12 changes: 8 additions & 4 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
- .github/**
- '!.github/workflows/coverage-windows.yml'
push:
branches: [master, main]
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
Expand All @@ -28,12 +29,15 @@ concurrency:

env:
PYTHON_VERSION: '3.10'
FLAKY_TESTS: dontcare
FLAKY_TESTS: keep_retrying

permissions:
contents: read

jobs:
coverage-windows:
if: github.event.pull_request.draft == false
runs-on: windows-latest
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -61,6 +65,6 @@ jobs:
- name: Clean tmp
run: npx rimraf ./coverage/tmp
- name: Upload
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
directory: ./coverage
3 changes: 3 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
env:
NODE_VERSION: lts/*

permissions:
contents: read

jobs:
build-lto:
runs-on: ubuntu-latest
Expand Down
Loading