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.13.0 release proposal #46025

Merged
merged 390 commits into from
Jan 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
390 commits
Select commit Hold shift + click to select a range
07b47ad
deps: update corepack to 0.15.0
nodejs-github-bot Oct 30, 2022
d7fe2ea
meta: update AUTHORS
nodejs-github-bot Oct 30, 2022
8c4ac6d
src: call uv_library_shutdown before DisposePlatform
theanarkh Oct 28, 2022
ffd0593
meta: remove dont-land-on-v12 auto labeling
MoLow Oct 30, 2022
ba0e7ae
lib: fix `AbortSignal.timeout` parameter validation
dnalborczyk Oct 31, 2022
5f7d2b5
stream: add compose operator
rluvaton Oct 31, 2022
1a726e9
meta: fix email address typo in README
Trott Oct 31, 2022
a93c4f7
tools: update lint-md-dependencies
nodejs-github-bot Oct 31, 2022
bf8d48a
module: ensure relative requires work from deleted directories
bmeck Oct 31, 2022
bf028a6
src: lock-free init_process_flags
kapouer Oct 31, 2022
345b847
buffer: fix validation of options in `Blob` constructor
aduh95 Oct 31, 2022
1db20c8
fs: fix opts.filter issue in cpSync
thoqbk Nov 1, 2022
4634aa9
src: trace threadpool event
theanarkh Nov 1, 2022
255e89d
meta: update collaborator email address in README
Trott Nov 1, 2022
03a3f30
test: convert test-debugger-pid to async/await
lukekarrys Nov 1, 2022
c2f0377
fs: update todo message
anonrig Nov 1, 2022
61bc27a
build,win: pass --debug-nghttp2 to configure
santigimeno Oct 27, 2022
e05ebe8
src: print nghttp2 logs when using --debug-nghttp2
santigimeno Oct 27, 2022
ab9c2df
test: make `test-eventemitter-asyncresource.js` shorter
juanarbol Nov 1, 2022
57897f8
lib: fix TypeError when converting a detached buffer source
cola119 Nov 1, 2022
a186a4d
report: add more memory info
theanarkh Nov 2, 2022
2bfd60b
doc: fix "task_processor.js" typo
Nov 3, 2022
13390e9
tools: fix `request-ci-failed` comment
aduh95 Nov 3, 2022
a5c9b3c
doc: update name of Node.js core Slack channel
Trott Nov 3, 2022
8616e9b
lib: drop fetch experimental warning
mcollina Nov 5, 2022
bc51403
os: convert uid and gid to 32-bit signed integers
lpinca Mar 16, 2022
facb606
test: fix test-socket-write-after-fin-error
lpinca Jul 12, 2022
9ccf8b2
lib: use process.nextTick() instead of setImmediate()
lpinca Sep 29, 2022
12764fc
test: defer invocation checks
lpinca Oct 25, 2022
c9c958e
deps: upgrade to libuv 1.44.2
lpinca Mar 15, 2022
3f69d21
doc: add `node:` prefix for examples
daeyeon Nov 5, 2022
75a146f
tools: add automation for updating base64 dependency
facutuesca Nov 6, 2022
28b937a
meta: update AUTHORS
nodejs-github-bot Nov 6, 2022
d2fc2aa
doc: use module names in stability overview table
panva Nov 6, 2022
90a2892
doc: add more info for timer.setInterval
theanarkh Nov 6, 2022
e0a8eff
tools: increase macOS cores to 3 on GitHub CI
Trott Nov 6, 2022
4730850
util: improve textdecoder decode performance
anonrig Nov 6, 2022
89b3336
src: resolve TODO related to inspector CVEs
tniessen Nov 6, 2022
5105060
tools: fix stability index generation
aduh95 Nov 7, 2022
a274d6b
deps: update corepack to 0.15.1
nodejs-github-bot Nov 7, 2022
691da88
doc: run license-builder
github-actions[bot] Nov 7, 2022
3053c65
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Nov 7, 2022
0f69b6c
test_runner: fix afterEach not running on test failures
MrJithil Nov 7, 2022
b54f876
crypto: handle unsupported AES ciphers in webcrypto
panva Nov 7, 2022
1ba1809
crypto: handle more webcrypto errors with OperationError
panva Nov 7, 2022
4ef86b5
lib: fix JSDoc issues
Trott Oct 30, 2022
398ca24
tools: update eslint to 8.26.0
nodejs-github-bot Oct 30, 2022
bbe67c4
deps: upgrade npm to 8.19.3
npm-cli-bot Nov 7, 2022
ad3b41c
test: fix catching failed assertion
pavelhoral Nov 7, 2022
913b669
doc: fix test runner's only tests section header
cjihrig Nov 7, 2022
7e0332a
test: skip test-fs-largefile if not enough disk space
Trott Nov 6, 2022
9ac7df1
src: track contexts in the Environment instead of AsyncHooks
joyeecheung Nov 7, 2022
92909f6
test_runner: support function mocking
cjihrig Apr 4, 2022
1b0b680
tools: update eslint to 8.27.0
nodejs-github-bot Nov 8, 2022
846b1ae
doc: fix email for Ashley
mhdawson Nov 8, 2022
bef5206
doc: include last security release date
juanarbol Nov 7, 2022
00e02bd
doc: allow for holidays in triage response
mhdawson Nov 1, 2022
10cc827
tls: add "ca" property to certificate object
bnoordhuis Nov 9, 2022
ab891ec
benchmark: fix text-decoder benchmark
anonrig Nov 7, 2022
762d285
benchmark: add parameters to text-decoder benchmark
anonrig Nov 7, 2022
1dc91ab
util: improve text-decoder performance
anonrig Nov 7, 2022
c63d825
tools: allow scripts to run from anywhere
lpinca Nov 9, 2022
04f213b
tools: add documentation regarding our api tooling
ovflowd Nov 1, 2022
746175a
node-api: handle no support for external buffers
mhdawson Oct 25, 2022
cc1f41a
doc, async_hooks: improve and add migration hints
Flarna Nov 10, 2022
2ca30ca
tools: add automation for updating acorn dependency
facutuesca Nov 10, 2022
b9d4ac2
lib: fix eslint early return
RafaelGSS Nov 10, 2022
2752f54
diagnostics_channel: mark as stable
Nov 5, 2022
221f298
meta: be more proactive about removing from teams
Trott Nov 10, 2022
6fafec3
tools: dynamically determine parallelism on GitHub Actions macOS
Trott Nov 10, 2022
3a7f3d5
buffer: introduce File
KhafraDev Nov 10, 2022
cd740d0
util: improve text decoder performance
anonrig Nov 9, 2022
17a89d1
deps: V8: cherry-pick 031b98b25cba
targos Nov 11, 2022
3937118
http: add JSDoc property descriptions
Trott Nov 8, 2022
fa210f9
esm: add JSDoc property descriptions for fetch
Trott Nov 8, 2022
066993a
esm: add JSDoc property descriptions for loader
Trott Nov 8, 2022
456f048
tools: enable jsdoc/require-property-description rule
Trott Nov 8, 2022
172cbfe
tools: simplify regex in ESLint config
Trott Nov 12, 2022
0f45c90
tools: simplify .eslintrc.js
Trott Nov 12, 2022
f5a4c52
tools: do not run CQ on non-fast-tracked PRs open for less than 2 days
MoLow Nov 12, 2022
785817e
doc: fix typo in maintaining-dependencies.md
tniessen Nov 12, 2022
32a3859
util: add fast path for utf8 encoding
anonrig Nov 12, 2022
4283af4
test: fix flaky test-repl-sigint-nested-eval
Trott Nov 13, 2022
5544ce4
src: condense experimental warning message
Trott Nov 13, 2022
7641044
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Nov 13, 2022
24bfe54
watch: watch for missing dependencies
MoLow Nov 13, 2022
c6b89ab
doc: adjust wording to eliminate awkward typography
kovsu Nov 13, 2022
404172b
meta: update AUTHORS
nodejs-github-bot Nov 13, 2022
55b64e0
test_runner: support watch mode
MoLow Nov 13, 2022
f2a4def
build: make scripts in gyp run with right python
gengjiawen Nov 14, 2022
209e7e3
http: add debug log for ERR_UNESCAPED_CHARACTERS
aidant Nov 14, 2022
85c634d
test: remove flaky designation for test-worker-http2-stream-terminate
Trott Nov 14, 2022
ad8c6c9
tools: include current release in the list of released versions
aduh95 Nov 14, 2022
72362f3
deps: update acorn to 8.8.1
nodejs-github-bot Nov 15, 2022
40123a6
async_hooks: add hook to stop propagation
Flarna Nov 15, 2022
70ca26a
src: add --max-semi-space-size to the options allowed in NODE_OPTIONS
ehoogeveen-medweb Nov 15, 2022
19eabd7
test: add test to validate changelogs for releases
richardlau Nov 15, 2022
40a29aa
diagnostics_channel: built-in channels should remain experimental
Nov 15, 2022
cac449f
test: update uses of _jabber._tcp.google.com
cjihrig Nov 13, 2022
978cfad
deps: update zlib to upstream 8bbd6c31
lpinca Nov 9, 2022
43419ad
deps: fix zlib compilation for CPUs without SIMD features
addaleax Apr 3, 2020
89d1eb5
build: add --v8-disable-object-print flag
fossamagna Nov 17, 2022
fac1f1b
test: add lint rule to enforce trailing commas
aduh95 Nov 17, 2022
009adc7
doc: add lint rule to enforce trailing commas
aduh95 Nov 17, 2022
597c7fc
url: remove unnecessary object call to kFormat
anonrig Nov 17, 2022
dae92e7
crypto: clear OpenSSL error queue after calling X509_verify()
takuro-sato Nov 17, 2022
8b44c61
doc: add arm64 to os.machine()
sno2 Nov 17, 2022
2c595da
lib: do not throw if global property is no longer configurable
aduh95 Nov 17, 2022
9c39b5e
src: remove the unused PackageConfig class
joyeecheung Nov 17, 2022
2c6a4fd
src: don't run tasks on isolate termination
santigimeno Nov 17, 2022
6f8759b
meta: update VoltrexMaster's username
VoltrexKeyva Nov 18, 2022
b305ad4
fs: fix fs.rm support for loop symlinks
nathanael-ruf Nov 18, 2022
44766c6
node-api: fix immediate napi_remove_wrap test
legendecas Nov 18, 2022
7d26bf3
deps: V8: cherry-pick 9df5ef70ff18
anonrig Nov 18, 2022
9f1e5b6
test: enable the WPT for `structuredClone`
daeyeon Nov 18, 2022
d2998b6
stream: add fast path for utf8
anonrig Nov 18, 2022
1de1f67
Revert "build: remove precompiled header and debug information for ho…
StefanStojanovic Nov 18, 2022
fcf6188
benchmark: add text-encoder benchmark
anonrig Nov 18, 2022
e52f047
tools: update certdata.txt
lpinca Nov 16, 2022
319ae09
crypto: update root certificates
lpinca Nov 16, 2022
210cbcb
trace_events: add new categories
theanarkh Nov 19, 2022
6f080e2
stream: fix typo in `adapters.js` (#45515)
cola119 Nov 19, 2022
f27ebab
crypto: clear OpenSSL error queue after calling X509_check_private_key()
panva Nov 19, 2022
9ab00f5
gyp: fix v8 canary build on aix
V-for-Vasili Nov 19, 2022
581b38a
node-api: declare type napi_cleanup_hook
legendecas Nov 19, 2022
fbfd26d
src: move FsStatsOffset and kFsStatsBufferLength to node_file.h
joyeecheung Nov 19, 2022
305d4de
test: revise pull request guide text about code
Trott Nov 19, 2022
29e51e7
meta: update AUTHORS
nodejs-github-bot Nov 20, 2022
3197b91
module: require.resolve.paths returns null with node schema
fossamagna Nov 20, 2022
e304628
doc: fix RESOLVE_ESM_MATCH in modules.md
sapphi-red Nov 20, 2022
360c7be
tools: add missing step in update-base64.sh script
facutuesca Nov 18, 2022
02eabaf
deps: update base64 to 0.5.0
facutuesca Nov 18, 2022
ac9a4ab
stream: avoid premature close when will not emit close
ronag Nov 20, 2022
7984e06
stream: add primordials to adapters
anonrig Nov 20, 2022
dde8740
doc: add async_hooks migration note
GeoffreyBooth Nov 6, 2022
0328208
src: set an appropriate thread pool size if given `--v8-pool-size=0`
daeyeon Nov 21, 2022
34c2876
doc: run license-builder
github-actions[bot] Nov 21, 2022
f58b32c
build: fix env.h for cpp20
gengjiawen Nov 21, 2022
e851c43
doc: add Node.js Threat Model
RafaelGSS Nov 21, 2022
31233b2
doc: fix typo in threat model
tniessen Nov 21, 2022
b1e17b4
test: add trailing commas in `test/common` (#45550)
aduh95 Nov 21, 2022
d5b0844
test: add trailing commas in addons test (#45548)
aduh95 Nov 21, 2022
8f7109a
test: add trailing commas in async-hooks tests (#45549)
aduh95 Nov 21, 2022
682a730
tools: add automation for updating libuv dependency
facutuesca Nov 21, 2022
a142162
benchmark: add v8 serialize benchmark
anonrig Nov 21, 2022
203ca49
doc: add missing documentation for paramEncoding
tniessen Nov 21, 2022
2bde576
stream: use ArrayBufferPrototypeGetByteLength
anonrig Nov 21, 2022
16bedba
test_runner: add initial TAP parser
manekinekko Nov 21, 2022
8e94339
doc: add version description about fsPromise.constants
lvqq Nov 21, 2022
610341f
tools: update eslint to 8.28.0
nodejs-github-bot Nov 22, 2022
c5630e2
src,node-api: update `napi_is_detached_arraybuffer`
daeyeon Nov 22, 2022
fb008a2
build,deps,src: fix Intel VTune profiling support
Nov 22, 2022
3f5a232
src: add missing include for `std::all_of`
targos Nov 22, 2022
5e63bf3
src: avoid unused variables and functions
targos Nov 22, 2022
5ab7a30
build: avoid redefined macro
targos Nov 22, 2022
3e87834
test: add trailing commas in event tests
Trott Nov 22, 2022
30a8604
doc: use console.error for error case in http2
deokjinkim Nov 23, 2022
3f6f8f9
src: use qualified `std::move` call in node_http2
targos Nov 23, 2022
6a36159
doc: clarify changes in readableFlowing
cola119 Nov 23, 2022
b771fdb
doc: deprecate use of invalid ports in `url.parse`
aduh95 Nov 24, 2022
cd4b062
node-api: address coverity warning
mhdawson Nov 21, 2022
1e48a5a
src: address coverity warning in node_file.cc
mhdawson Nov 21, 2022
20f6fa3
test_runner: remove stdout and stderr from error
cjihrig Nov 25, 2022
7b6d2a8
deps: update nghttp2 to 1.51.0
anonrig Nov 25, 2022
ebc89f1
doc: add link to doc with social processes
mhdawson Nov 22, 2022
b999983
repl: do not define `wasi` on global with no flag
cola119 Nov 26, 2022
a2e5126
test,crypto: update WebCryptoAPI WPT
panva Nov 21, 2022
27adcc9
crypto: ensure "x" is present when importing private CFRG webcrypto keys
panva Nov 21, 2022
a976a63
crypto: fix X25519 and X448 webcrypto public CryptoKey usages
panva Nov 21, 2022
8fcfbef
crypto: use DataError for webcrypto keyData import failures
panva Nov 21, 2022
621e3c9
crypto: use DataError for CFRG webcrypto raw and jwk import key checks
panva Nov 21, 2022
b92b804
crypto: validate CFRG webcrypto JWK import "d" and "x" are a pair
panva Nov 21, 2022
ef64b86
crypto: fix ECDH webcrypto public CryptoKey usages
panva Nov 21, 2022
fa0a2d8
crypto: refactor verify acceptable key usage functions
panva Nov 22, 2022
0669712
doc: use console.error for error case in fs, https, net and process
deokjinkim Nov 26, 2022
122c51b
stream: use structuredClone instead of v8
anonrig Nov 27, 2022
e2da381
meta: update AUTHORS
nodejs-github-bot Nov 27, 2022
bfcf4f0
buffer: make decodeUTF8 params loose
anonrig Nov 27, 2022
33b0664
deps: update corepack to 0.15.2
nodejs-github-bot Nov 27, 2022
0100fd4
crypto: refactor ArrayBuffer to bigint conversion utils
aduh95 Nov 27, 2022
53e01f6
doc: move os.machine() docs to sorted position
cjihrig Nov 27, 2022
a56560f
test_runner: add getter and setter to MockTracker
fossamagna Nov 18, 2022
7dbc742
test: fix typos in test/parallel
deokjinkim Nov 28, 2022
6881188
doc: define "react-native" community condition
huntie Nov 28, 2022
3461329
tools: update doc to [email protected]
nodejs-github-bot Nov 29, 2022
496a528
tools: update lint-md-dependencies to [email protected]
nodejs-github-bot Nov 29, 2022
8a1e556
doc: add `options` parameter to eventTarget.removeEventListener
deokjinkim Nov 29, 2022
3fb5c6d
doc: fix actual result of example is different in stream
deokjinkim Nov 29, 2022
1a47a7b
diagnostics_channel: fix diagnostics channel memory leak
theanarkh Nov 29, 2022
ed0a867
src: use `enum class` instead of `enum` in node_i18n
deokjinkim Nov 30, 2022
fa8caa3
doc: add missing line in debugger
deokjinkim Nov 30, 2022
34e708c
deps: update undici to 5.13.0
nodejs-github-bot Nov 30, 2022
a3eb2dd
doc: add Rafael to the tsc
mhdawson Nov 30, 2022
775f659
meta: update AUTHORS info for nstepien
nstepien Nov 30, 2022
d9593ce
doc: move streaming instruc to doc/contributing
mhdawson Nov 22, 2022
1ff8f68
lib: add missing type of removeEventListener in question
deokjinkim Dec 1, 2022
3a5a2ae
test: fix test-watch-mode-inspect
StefanStojanovic Dec 1, 2022
13d2df3
test: fix test-watch-mode
StefanStojanovic Dec 1, 2022
dc53400
meta: add .mailmap entry for Stefan Stojanovic
Trott Dec 1, 2022
ed9246f
test_runner: don't parse TAP from stderr
cjihrig Dec 2, 2022
55f800b
lib: added SuiteContext class
debadree25 Dec 2, 2022
cbd710b
http: make `OutgoingMessage` more streamlike
ronag Dec 2, 2022
90e9951
doc: use console.error for error case in child_process and dgram
deokjinkim Dec 2, 2022
c1f90a5
doc: add detail on how api docs are published
mhdawson Nov 25, 2022
29f2dab
src: cleanup on disambiguating native modules
mhdawson Nov 28, 2022
79b3ee1
tools: remove dependency vulnerability checker
facutuesca Dec 3, 2022
8203c02
doc: add doc-only deprecation for headers/trailers setters
Trott Dec 3, 2022
048795d
net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options
ShogunPanda Dec 3, 2022
aa57f6c
tools: add GitHub token permissions to label flaky-test issues
gabibguti Dec 4, 2022
dc862fe
meta: update AUTHORS
nodejs-github-bot Dec 4, 2022
c04e1df
Revert "deps: fix zlib compilation for CPUs without SIMD features"
lpinca Nov 22, 2022
2b0ace3
build: rework gyp files for zlib
richardlau Apr 24, 2020
8336e32
tools: update lint-md-dependencies
nodejs-github-bot Dec 4, 2022
fcd0f71
doc: fix actual result of example is different in events
deokjinkim Dec 6, 2022
6e35803
doc: using console.error for error cases in crypto and events
emirgoren Dec 7, 2022
c116253
test: fix -Wunused-variable on report-fatalerror
santigimeno Dec 8, 2022
a1831da
net: check `autoSelectFamilyAttemptTimeout` is positive
deokjinkim Dec 5, 2022
5e167bd
benchmark: make benchmarks runnable in older versions of Node.js
joyeecheung Dec 8, 2022
5000243
test_runner: add resetCalls to MockFunctionContext
fossamagna Dec 8, 2022
899ba3d
doc: disambiguate `native module` to `addon`
daeyeon Nov 29, 2022
f7c1015
lib: disambiguate `native module` to `builtin module`
daeyeon Nov 29, 2022
6297e77
lib: disambiguate `native module` to `binding`
daeyeon Nov 29, 2022
1284789
lib: check number of arguments in `EventTarget`'s function
deokjinkim Dec 9, 2022
b5ad92f
doc: add args of filter option of fs.cp
fossamagna Dec 9, 2022
2fbf956
crypto: fix CipherBase Update int32 overflow
marco-ippolito Dec 9, 2022
9925d20
benchmark: add variety of inputs to text-encoder
anonrig Dec 10, 2022
979d837
tls: remove trustcor root ca certificates
bnoordhuis Dec 10, 2022
ff03ed1
readline: improve robustness against prototype mutation
aduh95 Dec 10, 2022
bbaca84
lib: allow Writeable.toWeb() to work on http.Outgoing message
debadree25 Dec 10, 2022
94e6f08
src: mark generated `snapshot_data` as `const`
addaleax Dec 10, 2022
bd1a2fb
build: add python 3.11 support for android
VoltrexKeyva Dec 11, 2022
1019209
meta: update AUTHORS
nodejs-github-bot Dec 11, 2022
b88ee54
src: make structuredClone work for process.env
bnoordhuis Dec 11, 2022
8e1138d
src: simplify NodeBIO::GetMethod initialization
addaleax Dec 11, 2022
370ad45
test_runner: don't use a symbol for runHook()
cjihrig Dec 6, 2022
4493266
test_runner: add t.after() hook
cjihrig Dec 8, 2022
a58bf14
src: add uvwasi version
MrJithil Dec 11, 2022
38fb2c1
test: fix invalid output TAP if there newline in test name
pulkit-30 Dec 11, 2022
09ea758
watch: add CLI flag to preserve output
debadree25 Dec 11, 2022
3cee3ca
test_runner: refactor `tap_parser` to use more primordials
aduh95 Dec 11, 2022
1ddc438
build: disable v8 snapshot compression by default
joyeecheung Dec 2, 2022
24e2a4f
test_runner: refactor `tap_lexer` to use more primordials
aduh95 Dec 12, 2022
108220c
doc: buffer.fill empty value
marco-ippolito Dec 12, 2022
7e386f8
test: remove flaky parallel/test-process-wrap test
bnoordhuis Dec 12, 2022
3f18a83
util: use private symbols in JS land directly
joyeecheung Nov 4, 2022
90e8418
src,lib: group properties used as constants from `util` binding
daeyeon Nov 24, 2022
ae61740
src: add internal isArrayBufferDetached
anonrig Nov 27, 2022
bac6b7d
crypto: simplify lazy loading of internal modules
aduh95 Dec 12, 2022
c4f665f
deps: V8: cherry-pick d1d4c648e7ff
danielleadams Jan 5, 2023
2bb4b59
2023-01-05, Version 18.13.0 'Hydrogen' (LTS)
danielleadams Dec 30, 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.
17 changes: 8 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,16 @@ 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,
},
Expand Down Expand Up @@ -162,9 +161,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 +177,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 +284,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 @@ -311,7 +310,6 @@ module.exports = {
'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 @@ -338,6 +336,7 @@ module.exports = {
TextEncoderStream: 'readable',
TransformStream: 'readable',
TransformStreamDefaultController: 'readable',
ShadowRealm: 'readable',
SubtleCrypto: 'readable',
WritableStream: 'readable',
WritableStreamDefaultWriter: 'readable',
Expand Down
14 changes: 7 additions & 7 deletions .github/label-pr-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ subSystemLabels:
/^src\/node_report/: c++, report
/^src\/node_wasi/: c++, wasi
/^src\/node_worker/: c++, worker
/^src\/quic\/*/: c++, quic, dont-land-on-v14.x, dont-land-on-v12.x
/^src\/node_bob*/: c++, quic, dont-land-on-v14.x, dont-land-on-v12.x
/^src\/quic\/*/: c++, quic, dont-land-on-v14.x
/^src\/node_bob*/: c++, quic, dont-land-on-v14.x

# don't label python files as c++
/^src\/.+\.py$/: python, needs-ci
Expand All @@ -54,7 +54,7 @@ subSystemLabels:
/^vcbuild\.bat$/: build, windows, needs-ci
/^(android-)?configure|node\.gyp|common\.gypi$/: build, needs-ci
# more specific tools
/^tools\/gyp/: tools, build, gyp, needs-ci, dont-land-on-v14.x, dont-land-on-v12.x
/^tools\/gyp/: tools, build, gyp, needs-ci, dont-land-on-v14.x
/^tools\/doc\//: tools, doc
/^tools\/icu\//: tools, i18n-api, icu, needs-ci
/^tools\/(?:osx-pkg\.pmdoc|pkgsrc)\//: tools, macos, install
Expand All @@ -80,11 +80,11 @@ subSystemLabels:
/^deps\/v8\/tools\/gen-postmortem-metadata\.py/: v8 engine, python, post-mortem
/^deps\/v8\//: v8 engine
/^deps\/uvwasi\//: wasi
/^deps\/npm\//: npm, fast-track, dont-land-on-v14.x, dont-land-on-v12.x
/^deps\/npm\//: npm, fast-track, dont-land-on-v14.x
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2
/^deps\/nghttp2\//: http2
/^deps\/ngtcp2\//: quic, dont-land-on-v14.x, dont-land-on-v12.x
/^deps\/nghttp3\//: quic, dont-land-on-v14.x, dont-land-on-v12.x
/^deps\/ngtcp2\//: quic, dont-land-on-v14.x
/^deps\/nghttp3\//: quic, dont-land-on-v14.x
/^deps\/([^/]+)/: dependencies, $1

## JS subsystems
Expand Down Expand Up @@ -138,7 +138,7 @@ exlusiveLabels:
# considered a subsystem of sorts
/^doc\/api\/n-api.md$/: doc, node-api
# quic
/^doc\/api\/quic.md$/: doc, quic, dont-land-on-v14.x, dont-land-on-v12.x
/^doc\/api\/quic.md$/: doc, quic, dont-land-on-v14.x
# Add worker label to PRs that affect doc/api/worker_threads.md
/^doc\/api\/worker_threads.md$/: doc, worker
# test runner documentation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: '0' # This is required to actually get all the authors
persist-credentials: false
- run: tools/update-authors.mjs # Run the AUTHORS tool
- uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
# Creates a PR or update the Action's existing PR, or
# no-op if the base branch is already up-to-date.
env:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ on:

concurrency: ${{ github.workflow }}

# todo (node-fetch not working on 18, waiting for node-core-utils to fix)
env:
NODE_VERSION: lts/*
NODE_VERSION: 16

permissions:
contents: read
Expand All @@ -28,12 +29,13 @@ jobs:
- name: Get Pull Requests
id: get_prs_for_ci
run: >
gh pr list \
numbers=$(gh pr list \
--repo ${{ github.repository }} \
--label 'request-ci' \
--json 'number' \
-t '::set-output name=numbers::{{ range . }}{{ .number }} {{ end }}' \
--limit 100
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 100)
echo "numbers=$numbers" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
start-ci:
Expand All @@ -59,7 +61,7 @@ jobs:
- name: Setup node-core-utils
run: |
ncu-config set username ${{ secrets.JENKINS_USER }}
ncu-config set token none
ncu-config set token "${{ secrets.GH_USER_TOKEN }}"
ncu-config set jenkins_token ${{ secrets.JENKINS_TOKEN }}
ncu-config set owner "${{ github.repository_owner }}"
ncu-config set repo "$(echo ${{ github.repository }} | cut -d/ -f2)"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:
cancel-in-progress: true

env:
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.11'
FLAKY_TESTS: keep_retrying

permissions:
Expand All @@ -43,7 +43,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -69,7 +69,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
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 @@ -23,7 +23,7 @@ concurrency:
cancel-in-progress: true

env:
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.11'
FLAKY_TESTS: keep_retrying

permissions:
Expand All @@ -42,7 +42,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
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 @@ -15,8 +15,8 @@ jobs:
- name: Compute number of commits in the PR
id: nb-of-commits
run: |
echo "::set-output name=plusOne::$((${{ github.event.pull_request.commits }} + 1))"
echo "::set-output name=minusOne::$((${{ github.event.pull_request.commits }} - 1))"
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
with:
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,25 @@ jobs:
steps:
- name: Get Pull Requests
id: get_mergeable_prs
run: >
gh pr list \
run: |
prs=$(gh pr list \
--repo ${{ github.repository }} \
--base ${{ github.ref_name }} \
--label 'commit-queue' \
--json 'number' \
--search "created:<=$(date --date="2 days ago" +"%Y-%m-%dT%H:%M:%S%z")" \
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 100)
fast_track_prs=$(gh pr list \
--repo ${{ github.repository }} \
--base ${{ github.ref_name }} \
--label 'commit-queue' \
--label 'fast-track' \
--json 'number' \
-t '::set-output name=numbers::{{ range . }}{{ .number }} {{ end }}' \
--limit 100
-t '{{ range . }}{{ .number }} {{ end }}' \
--limit 100)
numbers=$(echo $prs' '$fast_track_prs | jq -r -s 'unique | join(" ")')
echo "numbers=$numbers" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
commitQueue:
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 @@ -26,7 +26,7 @@ concurrency:
cancel-in-progress: true

env:
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.11'
FLAKY_TESTS: keep_retrying

permissions:
Expand All @@ -41,7 +41,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
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 @@ -28,7 +28,7 @@ concurrency:
cancel-in-progress: true

env:
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.11'
FLAKY_TESTS: keep_retrying

permissions:
Expand All @@ -43,7 +43,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/find-inactive-collaborators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: tools/find-inactive-collaborators.mjs

- name: Open pull request
uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f
uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
# Creates a PR or update the Action's existing PR, or
# no-op if the base branch is already up-to-date.
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/find-inactive-tsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: tools/find-inactive-tsc.mjs >> $GITHUB_ENV

- name: Open pull request
uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f
uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
# Creates a PR or update the Action's existing PR, or
# no-op if the base branch is already up-to-date.
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/label-flaky-test-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
issues:
types: [opened, labeled]

permissions:
contents: read

jobs:
label:
if: github.event.label.name == 'flaky-test'
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
labels="${labels}${platform2label[$platform]},"; \
done;

echo "::set-output name=LABELS::${labels::-1}"
echo "LABELS=${labels::-1}" >> $GITHUB_OUTPUT

- name: Add labels
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
persist-credentials: false
- run: ./tools/license-builder.sh # Run the license builder tool
- uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
# Creates a PR or update the Action's existing PR, or
# no-op if the base branch is already up-to-date.
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true

env:
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.11'
NODE_VERSION: lts/*

permissions:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -64,7 +64,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Get release version numbers
if: ${{ github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
id: get-released-versions
run: ./tools/lint-md/list-released-versions-from-changelogs.mjs
run: ./tools/lint-md/list-released-versions-from-changelogs.mjs >> $GITHUB_OUTPUT
- name: Lint markdown files
run: |
echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
Expand All @@ -122,7 +122,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -139,7 +139,7 @@ jobs:
with:
persist-credentials: false
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand Down
Loading