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

deps: upgrade npm to 10.1.0 #49569

Closed
wants to merge 2,694 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2694 commits
Select commit Hold shift + click to select a range
bf4eb05
doc: ntfs junction points must link to directories
bnoordhuis May 9, 2023
fdf9681
tools: update lint-md-dependencies to rollup@3.21.5
nodejs-github-bot May 9, 2023
b80e006
doc: mark global object as legacy
mertcanaltin May 9, 2023
3bf2bd4
tools: automate icu-small update
marco-ippolito May 9, 2023
2cc8715
doc: document make lint-md-clean
mcollina May 10, 2023
9b44c56
fs: make readdir recursive algorithm iterative
May 10, 2023
4bad757
src: rename SKIP_CHECK_SIZE to SKIP_CHECK_STRLEN
tniessen May 10, 2023
ea543d9
test_runner: omit inaccessible files from coverage
cjihrig May 10, 2023
4bece05
test,crypto: update WebCryptoAPI WPT
panva May 10, 2023
4737314
test_runner: fix ordering of test hooks
philnash May 11, 2023
4c55681
src: move BlobSerializerDeserializer to a separate header file
RaisinTen May 9, 2023
546224c
meta: add security-wg ping to permission.js
RafaelGSS May 11, 2023
244db96
doc: remove broken link
Trott May 11, 2023
ab36a30
test: unskip negative-settimeout.any.js WPT
panva May 12, 2023
2b65625
lib: update comment
sinkhaha May 5, 2023
78972d4
worker: support more cases when (de)serializing errors
MoLow May 12, 2023
3b018c8
doc: fix broken link
Trott May 12, 2023
3460cf9
doc: fix broken link to TC39 import attributes proposal
Trott May 13, 2023
4b2aa3d
vm,lib: refactor microtaskQueue assignment logic
XadillaX Apr 28, 2023
dc318f2
http: prevent writing to the body when not allowed by HTTP spec
gerrard00 May 13, 2023
081a6ff
doc: update measure memory rejection information
yashLadha May 13, 2023
dab3186
meta: bump actions/setup-python from 4.5.0 to 4.6.0
Trott May 13, 2023
035356f
doc: update description of global
tniessen May 13, 2023
89e068a
tools: debug log for nghttp3
marco-ippolito May 14, 2023
4dcf5e2
meta: bump github/codeql-action from 2.3.2 to 2.3.3
Trott May 14, 2023
af90fb9
meta: bump step-security/harden-runner from 2.3.1 to 2.4.0
Trott May 14, 2023
dbffad9
doc: add missing deprecated blocks to cluster
tniessen May 14, 2023
9309fd3
deps: update simdutf to 3.2.9
nodejs-github-bot May 14, 2023
866ed6a
test_runner: add shorthands to `test`
atlowChemi May 15, 2023
0d0fad8
vm: fix crash when setting __proto__ on context's globalThis
F3n67u May 15, 2023
a3f0504
test: mark test-esm-loader-http-imports as flaky
tniessen May 15, 2023
2a35462
src: deduplicate X509Certificate::Fingerprint*
tniessen May 15, 2023
13bc548
permission: remove unused function declaration
deokjinkim May 15, 2023
bdca468
test_runner: use v8.serialize instead of TAP
MoLow May 15, 2023
8cabfe7
crypto: fix setEngine() when OPENSSL_NO_ENGINE set
tniessen May 15, 2023
3611027
doc: clarify CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED
tniessen May 16, 2023
070c345
doc: mark Node.js 14 as End-of-Life
richardlau May 16, 2023
ce859f9
doc: fix typo in binding functions
deokjinkim May 16, 2023
e8f2c0a
deps: update undici to 5.22.1
nodejs-github-bot May 16, 2023
bb85976
meta: move one or more collaborators to emeritus
nodejs-github-bot May 17, 2023
ccd2795
tools: update remark-preset-lint-node to 4.0.0
nodejs-github-bot May 17, 2023
2ba08ac
benchmark: use `cluster.isPrimary` instead of `cluster.isMaster`
deokjinkim May 17, 2023
ca4a0e3
test: fix parsing test flags
daeyeon May 17, 2023
7b816b4
test: fix suite signal
benjamingr May 17, 2023
3b2cee0
test: move `test-cluster-primary-error` flaky test
anonrig May 17, 2023
d9448b8
meta: remove dont-land-on-v14 auto labeling
shrujalshah28 May 18, 2023
ed0b62c
fs: add support for mode flag to specify the copy behavior
tetsuharuohzeki Apr 20, 2023
7617772
crypto: use openssl's own memory BIOs in crypto_context.cc
GauriSpears May 18, 2023
4b280d5
node-api: napi_ref on all types is experimental
vmoroz May 12, 2023
b9df1a9
url: clean vertical alignment of docs
binury May 18, 2023
c22f739
doc: document node-api version process
legendecas May 19, 2023
6acbb23
deps: upgrade npm to 9.6.7
npm-cli-bot May 19, 2023
c5af5a4
module: change default resolver to not throw on unknown scheme
giltayar May 19, 2023
3c713e7
doc: update broken spkac link
Trott May 19, 2023
8ae5c8c
doc: update broken EVP_BytesToKey link
Trott May 19, 2023
169c8ee
deps: update uvwasi to 0.0.17
nodejs-github-bot May 4, 2023
8090d29
deps: update uvwasi to 0.0.18
nodejs-github-bot May 19, 2023
98c6e4b
doc: use secure key length for HMAC generateKey
tniessen May 19, 2023
53c02b2
node-api: add status napi_cannot_run_js
gabrielschulhof May 13, 2023
27a76cf
deps,test: update postject to 1.0.0-alpha.6
nodejs-github-bot May 21, 2023
5c5b1d2
test: ignore helper files in WPTs
panva May 21, 2023
2a4f79a
doc: clarify tty.isRaw
jrvidal May 21, 2023
168d080
tools: fix zconf.h path
lpinca May 21, 2023
bdf366a
doc: update SEA source link
Trott May 21, 2023
0b0818c
tools: add debug logs
marco-ippolito May 22, 2023
7fa144e
test: skip test-http-pipeline-flood on IBM i
abmusse May 22, 2023
3e4a469
doc: fix typo in crypto legacy streams API section
tniessen May 22, 2023
d4572d3
deps: update corepack to 0.18.0
nodejs-github-bot May 23, 2023
48bd124
deps: update minimatch to 9.0.1
nodejs-github-bot May 23, 2023
6674ed1
tools: update doc to remark-parse@10.0.2
nodejs-github-bot May 23, 2023
739c314
tools: update lint-md-dependencies
nodejs-github-bot May 23, 2023
64ff6fe
tools: update eslint to 8.41.0
nodejs-github-bot May 23, 2023
e0d0b19
test_runner: display dot report as wide as the terminal width
rluvaton May 23, 2023
b18a78c
test_runner: delegate stderr and stdout formatting to reporter
HinataKah0 May 23, 2023
87b36b3
tools: update cpplint to 1.6.1
anonrig May 21, 2023
25b0033
tools: refloat 7 Node.js patches to cpplint.py
Trott Oct 9, 2020
999a289
tools: fix race condition when npm installing
tniessen May 23, 2023
47602fe
test_runner: fix test deserialize edge cases
MoLow May 23, 2023
e88c079
deps: update simdutf to 3.2.12
nodejs-github-bot May 23, 2023
585d628
stream: deprecate asIndexedPairs
atlowChemi May 24, 2023
8f1fc0b
test,doc,sea: run SEA tests on ppc64
RaisinTen May 24, 2023
e18c125
tools: add security-wg as dep updaters owner
marco-ippolito May 24, 2023
e9d4baf
doc: clarify mkdir() recursive behavior
Stevepurpose May 24, 2023
d14018e
doc: improve HMAC key recommendations
tniessen May 24, 2023
e4a5d62
doc: update outdated section on TLSv1.3-PSK
tniessen May 24, 2023
9b849a7
tools: use latest upstream commit for zlib updates
fasenderos May 17, 2023
4c5c63f
tools: alphabetize CODEOWNERS
Trott May 22, 2023
a2552ab
lib: use existing `isWindows` variable
sinkhaha May 25, 2023
fbb4b37
deps: update histogram to 0.11.7
marco-ippolito Apr 27, 2023
74206b2
deps: update histogram 0.11.8
marco-ippolito May 22, 2023
9aed868
tools: open issue when update workflow fails
marco-ippolito May 25, 2023
69205a2
doc: update socket.remote* properties documentation
Basa198 May 25, 2023
e6f37d1
doc: add Ruy to list of TSC members
mhdawson May 25, 2023
eb96856
src: include missing header in node_sea.h
joyeecheung May 25, 2023
230335e
doc: add version info on the SEA docs
aduh95 May 25, 2023
7692d2e
cluster: use ObjectPrototypeHasOwnProperty
daeyeon May 25, 2023
446f611
test: fix flaky test-runner-watch-mode
MoLow May 25, 2023
24abe07
tools: log and verify sha256sum
fasenderos May 25, 2023
709e368
http: send implicit headers on HEAD with no body
mcollina May 26, 2023
1662e89
build: add action to close stale PRs
mhdawson May 17, 2023
d9a68b8
vm: properly handle defining symbol props
dubzzz May 26, 2023
5445835
src: check node_extra_ca_certs after openssl cfg
ckcr4lyf May 24, 2023
fe15dae
doc: add `auto` intrinsic height to prevent jitter/flicker
dholbert May 27, 2023
92e0ea4
doc: remove broken link for keygen
Trott May 27, 2023
e437a0a
doc: fix typo in readline completer function section
devule May 27, 2023
1847669
test: mark test_cannot_run_js as flaky
kvakil May 27, 2023
795ca70
doc: add atlowChemi to triagers
atlowChemi May 28, 2023
67b2c2a
doc: fix broken link to new folder doc/contributing/maintaining
fasenderos May 27, 2023
563f9fe
doc,vm: clarify usage of cachedData in vm.compileFunction()
RaisinTen May 29, 2023
d1295d7
test_runner: remove redundant check from coverage
cjihrig May 29, 2023
19ad471
doc: update codeowners with website team
ovflowd May 29, 2023
1a5cddf
tools: harmonize `dep_updaters` scripts
aduh95 May 29, 2023
d9afffa
tools: use shasum instead of sha256sum
lpinca May 29, 2023
7250d8c
Revert "test: unskip negative-settimeout.any.js WPT"
panva May 29, 2023
a9d0b8d
test: use lower security level in s_client
lpinca May 29, 2023
a2aa52b
doc: update Buffer.allocUnsafe description
sinkhaha May 29, 2023
f2bb191
doc: improve the documentation of the stdio option
Karnav123 May 30, 2023
0e3312b
test: fix zlib version regex
lpinca May 30, 2023
715cf81
tools: automate histogram update
marco-ippolito May 30, 2023
c29b687
test: unflake test-vm-timeout-escape-nexttick
santigimeno May 22, 2023
0cfdb3a
tools: update LICENSE and license-builder.sh
santigimeno May 24, 2023
361cf8c
tools: don't gitignore base64 config.h
bnoordhuis May 30, 2023
7558ef3
doc: update documentation for FIPS support
richardlau May 30, 2023
4d1c38b
deps: update zlib to 337322d
nodejs-github-bot May 31, 2023
6a82fbd
test_runner: fix global after hook
MoLow May 31, 2023
36bf069
src: add Realm document in the src README.md
legendecas Jun 1, 2023
93f77cb
build: set v8_enable_webassembly=false when lite mode is enabled
TerrorJack Jun 1, 2023
27f195f
doc: document watch option for node:test run()
MoLow Jun 1, 2023
618a9e1
test_runner: stop watch mode when abortSignal aborted
MoLow May 30, 2023
033d0bb
test_runner: emit `test:watch:drained` event
MoLow May 30, 2023
e049ce2
tls: reapply servername on happy eyeballs connect
indutny Jun 2, 2023
ce7e6c6
node-api: define version 9
legendecas Jun 2, 2023
286c358
lib: do not disable linter for entire files
aduh95 Jun 2, 2023
2f202c9
doc: clarify array args to Buffer.from()
bengl Jun 2, 2023
1cde4a4
Revert "tools: open issue when update workflow fails"
marco-ippolito Jun 3, 2023
5d75ec4
module: reduce the number of URL initializations
anonrig May 31, 2023
b1854fe
meta: bump codecov/codecov-action from 3.1.3 to 3.1.4
dependabot[bot] Jun 3, 2023
8ac4579
meta: bump actions/setup-python from 4.6.0 to 4.6.1
dependabot[bot] Jun 3, 2023
b55dc53
meta: bump github/codeql-action from 2.3.3 to 2.3.6
dependabot[bot] Jun 3, 2023
87562c9
tools: update rollup lint-md-dependencies
nodejs-github-bot May 28, 2023
9d4025c
test: mark test-child-process-pipe-dataflow as flaky
MoLow Jun 4, 2023
2262653
test_runner: apply `runOnly` on suites
MoLow Jun 1, 2023
fcf3781
lib,src,test: lint codebase according new rules for v18.x
juanarbol Jul 7, 2023
a2bfe02
tools: remove non-existing file from CODEOWNERS file
juanarbol Jul 7, 2023
c46b31f
lib: support FORCE_COLOR for non TTY streams
MoLow May 18, 2023
04eb1f8
test_runner: pass FORCE_COLOR to child process
MoLow May 23, 2023
d795c0a
test_runner: dont split lines on `test:stdout`
MoLow May 23, 2023
5d910ca
test_runner: add enqueue and dequeue events
MoLow Jun 13, 2023
3db235b
url: remove unused `kFormat` from url
anonrig Feb 27, 2023
c79e1b7
url: offload `URLSearchParams` initialization
anonrig Feb 27, 2023
aa4f485
url: set `formatUrl` method as no side effect
anonrig Mar 2, 2023
f495cb6
url: backport non-major changes from #46904
anonrig Jun 26, 2023
4784e64
url: allow extension of user provided URL objects
aduh95 Mar 19, 2023
977a8ba
url: fix array overrun in node:url::SetArgs()
anonrig Mar 10, 2023
1f2c91f
src: use std::array for passing argv in node::url
addaleax Mar 13, 2023
11f48e0
url: implement URL.canParse
KhafraDev Mar 22, 2023
96c50ba
deps: update ada to 2.0.0
nodejs-github-bot Mar 31, 2023
b395b16
url: use ada::url_aggregator for parsing urls
anonrig Mar 31, 2023
0dc485e
url: drop ICU requirement for parsing hostnames
anonrig Mar 31, 2023
8897305
url: handle URL.canParse without base parameter
anonrig Apr 14, 2023
08dd271
deps: update ada to 2.1.0
nodejs-github-bot Apr 19, 2023
42e690f
deps: update ada to 2.2.0
nodejs-github-bot Apr 25, 2023
2d03d5f
deps: update ada to 2.3.0
nodejs-github-bot Apr 27, 2023
575ddf6
deps: update ada to 2.3.1
nodejs-github-bot May 6, 2023
81b514d
deps: update ada to 2.4.0
nodejs-github-bot May 9, 2023
a4ee1f6
deps: update ada to 2.4.1
nodejs-github-bot May 17, 2023
075b6db
deps: update ada to 2.4.2
nodejs-github-bot May 23, 2023
6f3a8b4
deps: update ada to 2.5.0
nodejs-github-bot May 30, 2023
7786d7c
tools: pin ruff version number
Trott Jun 21, 2023
d002f9b
build: revert unkonwn ruff selector
MoLow Jul 13, 2023
efaa073
lib: implement AbortSignal.any()
atlowChemi May 18, 2023
156292d
lib: create weakRef only if any signals provided
atlowChemi Jun 15, 2023
a39b8a2
2023-07-18, Version 18.17.0 'Hydrogen' (LTS)
danielleadams Jul 10, 2023
6378377
Working on v18.17.1
danielleadams Jul 18, 2023
2c5a522
deps: upgrade openssl sources to quictls/openssl-3.0.10+quic1
nodejs-github-bot Aug 6, 2023
fe3abdf
deps: update archs files for openssl-3.0.10+quic1
nodejs-github-bot Aug 6, 2023
d4570fa
policy: disable process.binding() when enabled
tniessen Apr 16, 2023
15bced0
policy: handle Module.constructor and main.extensions bypass
RafaelGSS May 29, 2023
2e414d5
2023-08-09, Version 18.17.1 'Hydrogen' (LTS)
RafaelGSS Aug 6, 2023
6dc441e
Working on v18.17.1
RafaelGSS Aug 9, 2023
e7d2e8e
test: delete test-net-bytes-per-incoming-chunk-overhead
targos Jul 20, 2023
863bdb7
net: add autoSelectFamily global getter and setter
ShogunPanda Dec 24, 2022
e8289a8
net: fix family autoselection timeout handling
ShogunPanda May 11, 2023
d3637cd
net: fix address iteration with autoSelectFamily
indutny Jun 1, 2023
f4617a4
deps: add loongarch64 into openssl Makefile and gen openssl-loongarch64
shipujin Jun 26, 2023
e426180
src: replace idna functions with ada::idna
anonrig Apr 28, 2023
2de9868
test: validate host with commas on url.parse
anonrig Jul 21, 2023
69aaf8b
lib: remove invalid parameter to toASCII
anonrig Jul 21, 2023
0beb5ab
url: ensure getter access do not mutate observable symbols
aduh95 Jul 24, 2023
267439f
net: rework autoSelectFamily implementation
ShogunPanda Feb 23, 2023
b5f53d9
net: fix family autoselection SSL connection handling
ShogunPanda May 26, 2023
6de7aa1
test: move `test-tls-autoselectfamily-servername` to `test/internet`
aduh95 Mar 11, 2023
3eeca52
tls: fix bugs of double TLS
ywave620 Jul 15, 2023
a00464e
esm: fix specifier resolution and symlinks
znewsham Apr 22, 2023
c728b8a
test: fix `test-net-autoselectfamily` for kernel without IPv6 support
LiviaMedeiros Feb 18, 2023
fe9da9d
benchmark: add crypto.create*Key
panva Jun 5, 2023
3da57d1
test: update user-timing web-platform tests
anonrig Jun 5, 2023
211a4f8
build: update action to close stale PRs
mhdawson May 26, 2023
4f74be3
benchmark: refactor crypto oneshot
panva Jun 5, 2023
e9ac111
test: update FileAPI web-platform tests
anonrig Jun 5, 2023
125bca6
test: update encoding web-platform tests
anonrig Jun 5, 2023
2eb13e3
tools: disable jsdoc/no-defaults rule
lpinca Jun 4, 2023
6a58054
tools: update eslint to 8.42.0
nodejs-github-bot Jun 4, 2023
41d1e68
test: refactor test-gc-http-client-timeout
lpinca Jun 6, 2023
f35c4d3
test: ignore the copied entry_point.c
lpinca Jun 6, 2023
38f6e0d
deps: update zlib to 982b036
nodejs-github-bot Jun 6, 2023
0651358
doc: run license-builder
github-actions[bot] Jun 7, 2023
bf1525c
module: reduce url invocations in esm/load.js
anonrig Jun 7, 2023
f302286
test_runner: refactor coverage report output for readability
dmnsgn Jun 7, 2023
a2964a4
deps: update ada to 2.5.1
nodejs-github-bot Jun 3, 2023
cb92c4b
test: update url web-platform tests
anonrig Jun 3, 2023
f59c963
url: conform to origin getter spec changes
anonrig Jun 3, 2023
3c03ec0
deps: update simdutf to 3.2.14
nodejs-github-bot Jun 7, 2023
555982c
deps: upgrade npm to 9.7.1
npm-cli-bot Jun 8, 2023
590a072
tools: update eslint-plugin-jsdoc
richardlau Jun 9, 2023
01bc10d
tools: update create-or-update-pull-request-action
richardlau Jun 9, 2023
27a4bc7
test: add missing <algorithm> include for std::find
thesamesam Jun 9, 2023
5260f53
lib: add support for inherited custom inspection methods
aduh95 Jun 11, 2023
121f74c
perf_hooks: convert maxSize to IDL value in setResourceTimingBufferSize
legendecas Oct 13, 2022
3be5335
deps: add loong64 config into openssl gypi
shipujin Aug 16, 2023
c59ae86
url: add value argument to has and delete methods
sankalp1999 May 14, 2023
7051caf
test_runner: make `--test-name-pattern` recursive
MoLow Jun 11, 2023
2fd05a0
https: fix connection checking interval not clearing on server close
Linkgoron Jun 12, 2023
cb3abcb
src: handle wasm out of bound in osx will raise SIGBUS correctly
HerrCai0907 Jun 12, 2023
7292bb7
doc: fix typo in events.md
RaisinTen Jun 12, 2023
6f28f4c
doc: add link for news from security wg
mhdawson Jun 8, 2023
a8db331
doc: add additional info on TSFN dispatch
mhdawson Jun 6, 2023
4892dc5
test: fix flaky test-watch-mode
MoLow Jun 8, 2023
097dea0
stream: fix deadlock when pipeing to full sink
ronag Jul 12, 2023
1f396d2
esm: add `--import` flag
MoLow Jul 31, 2022
aaaa54d
doc: mark `--import` as experimental
MoLow Jul 31, 2022
6147ff2
deps: update corepack to 0.18.1
nodejs-github-bot Jun 23, 2023
9da7103
deps: update corepack to 0.19.0
nodejs-github-bot Jun 27, 2023
e7019da
deps: update ada to 2.6.0
nodejs-github-bot Jul 25, 2023
35512ca
deps: upgrade npm to 9.7.2
npm-cli-bot Jun 22, 2023
e8d5d06
deps: upgrade npm to 9.8.0
npm-cli-bot Jul 8, 2023
a2bfe6c
deps: upgrade npm to 9.8.1
npm-cli-bot Jul 23, 2023
aa08460
crypto: remove OPENSSL_FIPS guard for OpenSSL 3
richardlau Jun 12, 2023
71db13a
deps: update zlib to 1.2.13.1-motley-3ca9f16
nodejs-github-bot Jun 13, 2023
10a5bee
crypto: update root certificates to NSS 3.90
nodejs-github-bot Jun 13, 2023
d9ab855
doc: add kvakil to collaborators
kvakil Jun 13, 2023
f93102c
node-api: implement external strings
gabrielschulhof Jun 2, 2023
e86be12
doc: refine when file is undefined in test events
MoLow Jun 14, 2023
9db17f0
tools: update lint-md-dependencies
nodejs-github-bot Jun 14, 2023
6f5f4aa
doc: add preveen-stack to triagers
preveen-stack Jun 15, 2023
ebe5416
doc: revise `error.md` introduction
aduh95 Jun 15, 2023
f5892b4
node-api: provide napi_define_properties fast path
gabrielschulhof Jun 13, 2023
9e94b65
doc: update fs flags documentation
sinkhaha Jun 16, 2023
76b1a4a
tools: prepare tools/doc for to-vfile 8.0.0
Trott Jun 18, 2023
48ee816
deps: upgrade npm to 10.1.0
npm-cli-bot Sep 9, 2023
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.
19 changes: 19 additions & 0 deletions .devcontainer/.devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Node.js Core Developer Environment",
"extensions": [
"github.vscode-pull-request-github",
"ms-vsliveshare.vsliveshare",
"vscode-icons-team.vscode-icons",
"visualstudioexptteam.vscodeintellicode"
],
"dockerFile": "Dockerfile",
"initializeCommand": "docker system prune -f -a",
"settings": {
"terminal.integrated.profiles.linux": {
"zsh (login)": {
"path": "zsh",
"args": ["-l"]
}
}
}
}
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM nodejs/devcontainer:nightly
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
33 changes: 14 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
files: ['**/*.md/*.cjs', '**/*.md/*.js'],
parserOptions: {
sourceType: 'script',
ecmaFeatures: { impliedStrict: true }
ecmaFeatures: { impliedStrict: true },
},
rules: { strict: 'off' },
},
Expand Down Expand Up @@ -103,11 +103,11 @@ module.exports = {
},
{
name: 'Buffer',
message: 'Import Buffer instead of using the global'
message: 'Import Buffer instead of using the global',
},
{
name: 'process',
message: 'Import process instead of using the global'
message: 'Import process instead of using the global',
},
] },
},
Expand All @@ -117,31 +117,24 @@ module.exports = {
// https://eslint.org/docs/rules/
'accessor-pairs': 'error',
'array-callback-return': 'error',
'arrow-parens': ['error', 'always'],
'arrow-spacing': ['error', { before: true, after: true }],
'arrow-parens': 'error',
'arrow-spacing': 'error',
'block-scoped-var': 'error',
'block-spacing': 'error',
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
'capitalized-comments': ['error', 'always', {
line: {
// Ignore all lines that have less characters than 20 and all lines that
// start with something that looks like a variable name or code.
// eslint-disable-next-line max-len
ignorePattern: '.{0,20}$|[a-z]+ ?[0-9A-Z_.(/=:[#-]|std|http|ssh|ftp|(let|var|const) [a-z_A-Z0-9]+ =|[b-z] |[a-z]*[0-9].* ',
ignorePattern: '.{0,20}$|[a-z]+ ?[0-9A-Z_.(/=:[#-]|std|http|ssh|ftp',
ignoreInlineComments: true,
ignoreConsecutiveComments: true,
},
block: {
ignorePattern: '.*',
},
}],
'comma-dangle': ['error', {
arrays: 'always-multiline',
exports: 'only-multiline',
functions: 'only-multiline',
imports: 'only-multiline',
objects: 'only-multiline',
}],
'comma-dangle': ['error', 'always-multiline'],
'comma-spacing': 'error',
'comma-style': 'error',
'computed-property-spacing': 'error',
Expand All @@ -162,9 +155,9 @@ module.exports = {
ObjectExpression: 'first',
SwitchCase: 1,
}],
'key-spacing': ['error', { mode: 'strict' }],
'key-spacing': 'error',
'keyword-spacing': 'error',
'linebreak-style': ['error', 'unix'],
'linebreak-style': 'error',
'max-len': ['error', {
code: 120,
ignorePattern: '^// Flags:',
Expand All @@ -178,7 +171,7 @@ module.exports = {
'no-constant-condition': ['error', { checkLoops: false }],
'no-constructor-return': 'error',
'no-duplicate-imports': 'error',
'no-else-return': ['error', { allowElseIf: true }],
'no-else-return': 'error',
'no-extra-parens': ['error', 'functions'],
'no-lonely-if': 'error',
'no-mixed-requires': 'error',
Expand Down Expand Up @@ -285,7 +278,7 @@ module.exports = {
named: 'never',
asyncArrow: 'always',
}],
'space-in-parens': ['error', 'never'],
'space-in-parens': 'error',
'space-infix-ops': 'error',
'space-unary-ops': 'error',
'spaced-comment': ['error', 'always', {
Expand All @@ -307,11 +300,11 @@ module.exports = {
'jsdoc/newline-after-description': 'off',
'jsdoc/require-returns-description': 'off',
'jsdoc/valid-types': 'off',
'jsdoc/no-defaults': 'off',
'jsdoc/no-undefined-types': 'off',
'jsdoc/require-param': 'off',
'jsdoc/check-tag-names': 'off',
'jsdoc/require-returns': 'off',
'jsdoc/require-property-description': 'off',

// Custom rules from eslint-plugin-node-core
'node-core/no-unescaped-regexp-dot': 'error',
Expand All @@ -321,6 +314,7 @@ module.exports = {
ByteLengthQueuingStrategy: 'readable',
CompressionStream: 'readable',
CountQueuingStrategy: 'readable',
CustomEvent: 'readable',
Crypto: 'readable',
CryptoKey: 'readable',
DecompressionStream: 'readable',
Expand All @@ -337,6 +331,7 @@ module.exports = {
TextEncoderStream: 'readable',
TransformStream: 'readable',
TransformStreamDefaultController: 'readable',
ShadowRealm: 'readable',
SubtleCrypto: 'readable',
WritableStream: 'readable',
WritableStreamDefaultWriter: 'readable',
Expand Down
3 changes: 0 additions & 3 deletions .flake8

This file was deleted.

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
106 changes: 76 additions & 30 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,56 +1,68 @@
# Node.js Project Codeowners

# 1. Codeowners must always be teams, never individuals
# 2. Each codeowner team should contain at least one TSC member
# 3. PRs touching any code with a codeowner must be signed off by at least one
# person on the code owner team.
# This file does not define any requirements for landing PRs.
# Its purpose is to allow automation of courtesy pings to the
# relevant team(s) when any of the paths listed here are modified.
# Criteria for landing PRs are defined in
# https://github.com/nodejs/node/blob/main/doc/contributing/collaborator-guide.md#code-reviews.
#
# Codeowners must always be teams, never individuals.

# tsc

/.github/CODEOWNERS @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/onboarding.md @nodejs/tsc
/CODE_OF_CONDUCT.md @nodejs/tsc
/CONTRIBUTING.md @nodejs/tsc
/LICENSE @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

# streams

/lib/_stream* @nodejs/streams
/lib/internal/streams/* @nodejs/streams
/lib/stream.js @nodejs/streams
/lib/stream/* @nodejs/streams
/lib/internal/streams/* @nodejs/streams

# net

/deps/ada @nodejs/url
/deps/cares @nodejs/net
/doc/api/dns.md @nodejs/net
/doc/api/dgram.md @nodejs/net
/doc/api/dns.md @nodejs/net
/doc/api/net.md @nodejs/net
/lib/dgram.js @nodejs/net
/lib/dns.js @nodejs/net
/lib/net.js @nodejs/net
/lib/internal/dgram.js @nodejs/net
/lib/internal/dns/* @nodejs/net
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/net.js @nodejs/net
/lib/internal/socket_list.js @nodejs/net
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/url.js @nodejs/url
/lib/net.js @nodejs/net
/lib/url.js @nodejs/url
/src/cares_wrap.cc @nodejs/net
/src/connect_wrap.* @nodejs/net
/src/connection_wrap.* @nodejs/net
/src/node_sockaddr* @nodejs/net
/src/node_url.* @nodejs/url
/src/tcp_wrap.* @nodejs/net
/src/udp_wrap.* @nodejs/net

# tls/crypto

/lib/crypto.js @nodejs/crypto
/lib/internal/crypto/* @nodejs/crypto
/lib/internal/tls/* @nodejs/crypto @nodejs/net
/lib/crypto.js @nodejs/crypto
/lib/tls.js @nodejs/crypto @nodejs/net
/src/node_crypto* @nodejs/crypto
/src/crypto/* @nodejs/crypto
/src/node_crypto* @nodejs/crypto

# http

Expand All @@ -71,23 +83,25 @@
/src/node_http2* @nodejs/http2 @nodejs/net
/src/node_mem* @nodejs/http2

# modules
# modules, including loaders

/doc/api/modules.md @nodejs/modules
/doc/api/esm.md @nodejs/modules
/doc/api/module.md @nodejs/modules
/doc/api/packages.md @nodejs/modules
/lib/module.js @nodejs/modules
/lib/internal/modules/* @nodejs/modules
/lib/internal/bootstrap/loaders.js @nodejs/modules
/src/module_wrap* @nodejs/modules @nodejs/vm
/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

# Node-API

/src/node_api* @nodejs/node-api
/src/js_native_api* @nodejs/node-api
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
/doc/api/n-api.md @nodejs/node-api
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
/src/js_native_api* @nodejs/node-api
/src/node_api* @nodejs/node-api

# gyp

Expand All @@ -96,28 +110,60 @@
/tools/gyp/**/* @nodejs/gyp

# WASI

/deps/uvwasi/ @nodejs/wasi
/doc/api/wasi.md @nodejs/wasi
/lib/wasi.js @nodejs/wasi
/src/node_wasi* @nodejs/wasi
/test/wasi/ @nodejs/wasi
/test/fixtures/wasi/ @nodejs/wasi
/test/wasi/ @nodejs/wasi

# Startup

/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
/lib/internal/bootstrap/* @nodejs/startup
/tools/code_cache/* @nodejs/startup
/src/node_builtins* @nodejs/startup
/src/node_realm* @nodejs/startup @nodejs/realm
/src/node_snapshot* @nodejs/startup
/src/node.cc @nodejs/startup
/test/parallel/test-bootstrap-* @nodejs/startup
/test/parallel/test-snapshot-* @nodejs/startup
/tools/snapshot/* @nodejs/startup

# V8

/deps/v8/* @nodejs/v8-update
/tools/v8_gypfiles/* @nodejs/v8-update

# Actions

/.github/workflows/* @nodejs/actions
/tools/actions/* @nodejs/actions

# Test runner

/doc/api/test.md @nodejs/test_runner
/lib/internal/main/test_runner.js @nodejs/test_runner
/lib/internal/test_runner/* @nodejs/test_runner
/lib/test.js @nodejs/test_runner
/test/parallel/test-runner-* @nodejs/test_runner

# Single Executable Applications
/deps/postject @nodejs/single-executable
/doc/api/single-executable-applications.md @nodejs/single-executable
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
/src/node_sea* @nodejs/single-executable
/test/fixtures/postject-copy @nodejs/single-executable
/test/parallel/test-single-executable-* @nodejs/single-executable
/tools/dep_updaters/update-postject.sh @nodejs/single-executable

# Permission Model
/doc/api/permissions.md @nodejs/security-wg
/src/permission/* @nodejs/security-wg

# Dependency Update Tools

/.github/workflows/tools.yml @nodejs/security-wg
/.github/workflows/update-openssl.yml @nodejs/security-wg
/.github/workflows/update-v8.yml @nodejs/security-wg @nodejs/v8-update
/tools/dep_updaters/* @nodejs/security-wg
4 changes: 2 additions & 2 deletions .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 All @@ -33,7 +33,7 @@ body:
label: How often does it reproduce? Is there a required condition?
- type: textarea
attributes:
label: What is the expected behavior?
label: What is the expected behavior? Why is that the expected behavior?
description: If possible please provide textual output instead of screenshots.
- type: textarea
attributes:
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
Loading