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

v14.17.1 release proposal #38948

Merged
merged 253 commits into from
Jun 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
e2395b0
lib: use Object static properties from primordials
targos Sep 27, 2020
c7751b4
tools: add new ESLint rule: prefer-primordials
Leko May 16, 2021
5f848a6
tools,lib: tighten prefer-primordials rules for Error statics
aduh95 Nov 7, 2020
e19478a
tools,lib: recommend using safe primordials
aduh95 Nov 7, 2020
d84b05a
timers: cleanup abort listener on awaitable timers
jasnell May 16, 2021
24d4d63
lib: add %TypedArray% abstract constructor to primordials
ExE-Boss Nov 7, 2020
9e7f166
module: refactor to use more primordials
aduh95 Nov 7, 2020
dcbd447
tools: update ESLint to 7.11.0
cjihrig Oct 9, 2020
29d0840
tools: update ESLint to 7.12.0
cjihrig Oct 25, 2020
937fc0a
tools: update ESLint to 7.12.1
cjihrig Oct 27, 2020
55fc206
tools: update ESLint to 7.13.0
lpinca Nov 8, 2020
89ee6ab
test: use `.then(common.mustCall())` for all async IIFEs
addaleax Jul 14, 2020
9fa8d20
tools: add linting rule for async IIFEs
addaleax Jul 14, 2020
219ed0b
test: add Actions annotation output
mmarchini Aug 1, 2020
c31e2f6
stream: fix legacy pipe error handling
ronag Sep 18, 2020
1d80f89
doc: document changes for `*/promises` alias modules
ExE-Boss Jun 21, 2020
8d7708b
child_process: refactor to use more primordials
aduh95 Nov 6, 2020
b3e22e1
lib,tools: enforce access to prototype from primordials
aduh95 Nov 7, 2020
dec3610
timers: refactor to use more primordials
aduh95 May 16, 2021
74fe1d8
http2: add support for TypedArray to getUnpackedSettings
aduh95 Nov 16, 2020
0fbe945
lib: refactor to use more primordials
aduh95 Nov 15, 2020
83d2837
errors: refactor to use more primordials
aduh95 Nov 18, 2020
29c623e
src: fix label indentation
Trott Nov 21, 2020
19d4eb1
tools: update ESLint to 7.14.0
cjihrig Nov 21, 2020
24a81c7
tools: enable no-nonoctal-decimal-escape lint rule
cjihrig Nov 21, 2020
bb4900d
lib: refactor primordials.uncurryThis
aduh95 Nov 21, 2020
acc9fad
deps: V8: cherry-pick 86991d0587a1
bcoe Nov 25, 2020
bf9aa42
policy: refactor to use more primordials
aduh95 Nov 15, 2020
41d74a4
tty: refactor to use more primordials
Lxxyx Nov 26, 2020
c442d89
os: refactor to use more primordials
aduh95 Nov 20, 2020
6c1bbb5
v8: refactor to use more primordials
aduh95 Nov 20, 2020
6adec63
perf_hooks: refactor to use more primordials
aduh95 Nov 21, 2020
ee44447
errors: display original symbol name
bcoe Nov 8, 2020
5acf0a5
buffer: refactor to use more primordials
aduh95 Nov 18, 2020
6799738
timers: reject with AbortError on cancellation
benjamingr May 16, 2021
3d4785c
worker: refactor to use more primordials
aduh95 Nov 16, 2020
c1364d1
path: refactor to use more primordials
aduh95 Nov 18, 2020
a1b4681
src: use transferred consistently
danbev Dec 1, 2020
0f6c3f7
querystring: refactor to use more primordials
aduh95 Nov 18, 2020
1aae572
module: refactor to use more primordials
aduh95 Nov 21, 2020
32e10f3
zlib: refactor to use more primordials
aduh95 Nov 20, 2020
f5b2115
dgram: refactor to use more primordials
aduh95 Nov 19, 2020
b5b8a99
readline: refactor to use more primordials
aduh95 Nov 15, 2020
ff546ff
buffer: refactor to use primordials instead of Array#reduce
aduh95 Dec 4, 2020
0db9101
string_decoder: refactor to use more primordials
aduh95 Nov 21, 2020
5daeac6
lib: add uncurried accessor properties to `primordials`
ExE-Boss Nov 30, 2020
52cbe89
net: refactor to use more primordials
aduh95 Nov 17, 2020
226a86c
tools: enable no-unused-expressions lint rule
targos Nov 24, 2020
cd7cf05
dns: refactor to use more primordials
aduh95 Nov 20, 2020
b197a44
doc: document ABORT_ERR code
benjamingr Nov 29, 2020
7d41192
tools: update ESLint to 7.15.0
cjihrig Dec 6, 2020
98806da
tools: enable no-unsafe-optional-chaining lint rule
cjihrig Dec 6, 2020
ba19313
inspector: refactor to use more primordials
aduh95 Nov 21, 2020
e113035
util: simplify constructor retrieval in inspect()
Trott Dec 10, 2020
5de7e64
build: fix make test-npm
ruyadorno Dec 3, 2020
e6d01f6
tools: update ESLint to 7.16.0
Dec 19, 2020
613378d
tools: update ESLint to 7.17.0
cjihrig Jan 2, 2021
e12dbc8
lib: refactor to use more primordials in internal/histogram.js
RaisinTen Dec 9, 2020
1551b40
v8: refactor to use more primordials
aduh95 Dec 5, 2020
7efa020
doc: expand openssl instructions
mhdawson Dec 17, 2020
a467125
deps: V8: cherry-pick dfcdf7837e23
bcoe Dec 18, 2020
4fdcbae
events: refactor to use more primordials
aduh95 Nov 17, 2020
51dad8c
deps: V8: cherry-pick 035c305ce776
targos May 1, 2021
6035492
deps: update ICU to 69.1
targos Apr 9, 2021
ea311a4
src: add check against non-weak BaseObjects at process exit
addaleax Oct 3, 2020
78cde14
src: fix compiler warning in env.cc
addaleax Oct 7, 2020
8a60ae2
src: fix compiler warnings in node_buffer.cc
RaisinTen May 18, 2021
7ebc18f
lib: make safe primordials safe to iterate
aduh95 Dec 4, 2020
bf0738b
lib: make safe primordials safe to construct
aduh95 Dec 7, 2020
6e3a2ff
lib: add primordials.SafeStringIterator
aduh95 Dec 4, 2020
9ae2a27
buffer: make FastBuffer safe to construct
aduh95 Dec 20, 2020
c8b2218
url: refactor to use more primordials
aduh95 Nov 20, 2020
e6c0877
lib: refactor to use primordials in internal/priority_queue.js
Lxxyx Dec 18, 2020
4983ef2
tools: update gyp-next to v0.7.0
targos Dec 19, 2020
01a71dd
lib: refactor to use more primordials in internal/encoding.js
RaisinTen Dec 11, 2020
c90f1db
https: refactor to use more primordials
aduh95 Nov 17, 2020
c9861a3
lib: remove unused code
mscdex Dec 26, 2020
ab130e9
stream: only use legacy close listeners if not willEmitClose
ronag Dec 27, 2020
c3b1167
test: add test for reused AbortController with execfile()
Trott Dec 27, 2020
598d2bd
child_process: treat already-aborted controller as aborting
Trott Dec 29, 2020
e5fae63
child_process: reduce abort handler code duplication
Trott Dec 29, 2020
3215a58
test: add already-aborted-controller test for spawn()
Trott Dec 29, 2020
1dc4dea
string_decoder: throw ERR_STRING_TOO_LONG for UTF-8
targos Dec 28, 2020
dcd221c
errors: refactor to use more primordials
aduh95 Dec 27, 2020
9338759
lib: remove v8_prof_polyfill from eslint ignore list
aduh95 Dec 15, 2020
4686f4f
perf_hooks: refactor to avoid unsafe array iteration
aduh95 Dec 31, 2020
c34de75
test: guard large string decoder allocation
targos Jan 5, 2021
0dea866
wasi: refactor to avoid unsafe array iteration
aduh95 Dec 31, 2020
716076e
tty: refactor to avoid unsafe array iteration
aduh95 Dec 31, 2020
740638d
zlib: refactor to use primordial instead of <string>.startsWith
rchougule Jan 1, 2021
18e5c0f
events: refactor to use optional chaining
Lxxyx Jan 4, 2021
2907848
doc: clarify event.isTrusted text
Trott Jan 7, 2021
6eaf357
lib: simplify `primordials.uncurryThis`
ExE-Boss Jan 10, 2021
3aee77d
vm: refactor to avoid unsafe array iteration
aduh95 Dec 31, 2020
cf9556d
lib: refactor source_map to avoid unsafe array iteration
aduh95 Dec 31, 2020
459fe68
zlib: refactor to avoid unsafe array iteration
aduh95 Dec 31, 2020
46c019b
lib: refactor source_map to use more primordials
aduh95 Dec 31, 2020
8912cab
lib: expose primordials object
aduh95 Jan 15, 2021
ec4d79e
test: improve coverage at `lib/internal/vm/module.js`
juanarbol Jan 12, 2021
a45d280
test: improve coverage on worker threads
juanarbol Jan 13, 2021
f43fc6b
test: improve coverage for `Module` getters
juanarbol Jan 15, 2021
25eb720
tools: update ESLint to 7.18.0
cjihrig Jan 15, 2021
77c7d97
module: simplify tryStatSync with throwIfNoEntry option
aduh95 Jan 16, 2021
726ef40
perf_hooks: throw ERR_INVALID_ARG_VALUE if histogram.percentile param…
Lxxyx Jan 15, 2021
346fc0a
lib: support returning Safe collections from C++
ExE-Boss Jan 17, 2021
836fba5
test: improve coverage of `SourceTextModule` getters
juanarbol Jan 21, 2021
47ed512
lib: refactor to use optional chaining in internal/options.js
RaisinTen Jan 15, 2021
d85b70f
test: increase timeout on ASAN Action
aduh95 Jan 20, 2021
dd18def
async_hooks: refactor to avoid unsafe array iteration
aduh95 Jan 29, 2021
42c1f98
tools: update ESLint to 7.19.0
cjihrig Jan 31, 2021
955880d
tools: update ESLint to 7.20.0
cjihrig Feb 12, 2021
4af3906
tools: update ESLint to 7.21.0
lpinca Feb 28, 2021
d9eb8b3
test: increase fs promise coverage
emilsivervik Jan 6, 2021
1dc7fd2
timers: fix unsafe array iteration
RaisinTen Feb 4, 2021
16691be
lib: fix WebIDL `object` and dictionary type conversion
ExE-Boss Jan 24, 2021
9417fd0
errors: align source-map stacks with spec
bcoe Feb 6, 2021
698bffa
worker: refactor to avoid unsafe array iteration
aduh95 Feb 12, 2021
a4dd50f
tools: refactor prefer-primordials
aduh95 Nov 7, 2020
af39df6
lib: add URI handling functions to primordials
aduh95 Feb 16, 2021
38afa3f
src: avoid implicit type conversions (take 2)
targos Feb 12, 2021
6b1052d
src: disable unfixable MSVC warnings
targos Feb 12, 2021
f5541dd
src: fix ETW_WRITE_EMPTY_EVENT macro
targos Feb 12, 2021
cfff3b4
assert: refactor to avoid unsafe array iteration
aduh95 Feb 12, 2021
241e057
tools: run doctool tests on GitHub Actions CI
aduh95 Feb 16, 2021
2168e95
doc: document the NO_COLOR and FORCE_COLOR env vars
jasnell Feb 22, 2021
bc6ea63
doc: document how to register external bindings for snapshot
joyeecheung Feb 21, 2021
a6c1233
doc: remove generated from dsaEncoding description
kaznovac Feb 20, 2021
19e8ae4
doc: add document for http.OutgoingMessage
Ayase-252 Feb 4, 2021
9320000
doc: fix grammar errors in http document
Ayase-252 Feb 24, 2021
0fdb5d5
module: refactor NativeModule to avoid unsafe array iteration
aduh95 Feb 12, 2021
f7c14e8
tools: simplify eslint comma-dangle configuration
Trott Mar 20, 2021
30c82b2
doc: fix wording in outgoingMessage.write
tniessen Mar 24, 2021
11ca018
tools: simplify eslint comma-dangle configuration (tools)
Trott Mar 23, 2021
006c7b7
src: indent long help text properly
glasser Mar 25, 2021
e2f531f
path: refactor to use more primordials
marsonya Mar 24, 2021
0bb6fe3
doc: add missing events.on metadata
addaleax Mar 29, 2021
c61f363
doc: internal/test/binding for testing
bmeck Apr 2, 2021
661e980
tls: fix session and keylog add listener segfault
Linkgoron Apr 9, 2021
bd0d964
module: clarify CJS global-like variables not defined error message
aduh95 Mar 21, 2021
d8acec4
node-api: make reference weak parameter an indirect link to references
legendecas Mar 31, 2021
d0eed18
tools: fix type mismatch in test runner
richardlau Apr 18, 2021
c77abf5
test: use .test domain for not found address
richardlau Apr 18, 2021
e994d6a
doc: use `foo.prototype.bar` notation in buffer.md
VoltrexKeyva Apr 1, 2021
c9ce98c
test: replace function with arrow function and remove unused argument
andresatencio Apr 14, 2021
a4eb557
repl: display prompt once after error callback
addaleax Apr 20, 2021
5a532e4
doc: update TSC members list with three new members
Trott Apr 22, 2021
6b58f28
doc: add nodejs-sec email template
danbev Apr 19, 2021
f6e4dbb
tls: validate ticket keys buffer
aduh95 Apr 20, 2021
2d96da8
doc: fix typo in buffer.md
theoludwig Apr 21, 2021
a9ff9c0
test: add ancestor package.json checks for tmpdir
richardlau Apr 18, 2021
e279b02
src: avoid deferred gc/cleanup for Buffer.from
jasnell Apr 21, 2021
d177541
src: fix setting Converter sub char length
jasnell Apr 21, 2021
e35a354
typings: add JSDoc typings for util
rohit-gohri Apr 12, 2021
9702f22
doc: fix `package.json` `"imports"` field history
aduh95 Apr 22, 2021
cede0c5
doc: fix version history for `"exports"` patterns
aduh95 Apr 22, 2021
9e4c1f2
benchmark: use `process.hrtime.bigint()`
aduh95 Apr 23, 2021
a9f7aee
doc: mark `process.hrtime()` as legacy
aduh95 Apr 23, 2021
5f3e96b
async_hooks,doc: replace process.stdout.fd with 1
RaisinTen Apr 24, 2021
490bc58
lib: fix and improve os typings
marsonya Apr 20, 2021
296b969
test: skip some pummel tests on slower machines
Trott Apr 25, 2021
c03f23e
doc: request default snap track be updated for LTS
rvagg Mar 11, 2021
c170026
src: use %progbits instead of @progbits
sgallagher Apr 20, 2021
f4cb8b8
benchmark: avoid using `console.log()`
aduh95 Apr 23, 2021
25e5afe
test: move abort test from pummel to abort directory
Trott Apr 25, 2021
fe8003e
doc: update message to match actual output
Trott Sep 19, 2020
dcdbaff
doc: do not mention TCP in the allowHalfOpen option description
lpinca Apr 22, 2021
ba117c2
doc: document new TCP_KEEPCNT and TCP_KEEPINTVL socket option defaults
ArnoldZokas Apr 20, 2021
cd54834
doc: minor clarification to pathObject
jasnell Apr 27, 2021
1f7cd71
doc: note the system requirements for V8 tests
DeeDeeG Apr 20, 2021
0172b11
tools: add _depot_tools to PATH (for V8 tests)
DeeDeeG Apr 19, 2021
aec4b29
tools: fix doc generation when version info is not available
aduh95 Apr 25, 2021
cd98180
repl: document top level await limitation with const/let
jasnell Apr 28, 2021
3484a23
tools: remove fixer for non-ascii-character ESLint custom rule
Trott Apr 26, 2021
378e0e7
src: fix validation of negative offset to avoid abort
jasnell Apr 26, 2021
945450b
doc: add try/catch in http2 respondWithFile example
mcollina Apr 26, 2021
cf0007e
doc: indicate that abort tests do not generate core files
Trott Apr 26, 2021
a75b7af
doc: add arguments for stream event of Http2Server and Http2SecureServer
Ayase-252 Mar 24, 2021
839e8d1
doc: mark querystring api as legacy
jasnell Apr 27, 2021
b8c4d30
deps: update to [email protected]
guybedford Apr 28, 2021
fcc6a00
meta: post comment when pr labeled fast-track
jasnell Apr 28, 2021
8258799
inspector: remove redundant method for connection check
yashLadha Mar 30, 2021
fdfb39e
test: address deprecation warning
Trott Apr 28, 2021
8702b04
zlib: fix brotli flush range
XadillaX Apr 26, 2021
16a3e55
tools: use a shallow clone of the npm/cli repository
lpinca Apr 29, 2021
4c54d81
doc: document `'secureConnect'` event limitation
jasnell Apr 28, 2021
52f3837
test: fix `common.mustCall` `length` and `name` properties
aduh95 Apr 27, 2021
bfe02b8
test,readline: improve tab completion coverage
aduh95 Apr 27, 2021
a18b1ff
stream: the position of _read() is wrong
helloyou2012 Apr 19, 2021
7021c31
tools: use mktemp to create the workspace directory
lpinca Apr 27, 2021
7938af6
test: move test-net-connect-econnrefused from pummel to sequential
Trott Apr 29, 2021
dc67fec
doc: remove extraneous dash from flag prefix
rhcarvalho May 4, 2021
d13508d
tools: make GH Actions workflows work if default branch is not master
aduh95 May 3, 2021
d98b355
test: run message and pseudo-tty tests in parallel
richardlau May 1, 2021
e90c60b
doc: use AIX instead of Aix in fs.md
Trott May 4, 2021
4c67437
doc: clarify DiffieHellmanGroup class docs
Linkgoron Apr 22, 2021
4f1ba79
test: increase coverage for AbortController
Lxxyx May 3, 2021
726cb48
test: complete coverage of querystring
pd4d10 May 3, 2021
cea8b42
lib: make `IterableWeakMap` safe to iterate
aduh95 May 3, 2021
2c66305
Revert "worker: remove `ERR_CLOSED_MESSAGE_PORT`"
juanarbol May 3, 2021
bc2111c
src: make workers messaging more resilient
juanarbol May 3, 2021
c5b86f8
buffer: remove unreachable code
pd4d10 May 4, 2021
d7c6a3e
test: call functions internally
VoltrexKeyva May 5, 2021
e94e0b4
meta: add v8 team
gengjiawen May 6, 2021
3c886e0
buffer: remove TODOs in `atob` / `btoa`
XadillaX May 5, 2021
bac9ba4
dgram: extract cluster lazy loading method to make it testable
pd4d10 May 6, 2021
754aa38
build: remove dependency on `distutils.spawn`
richardlau May 5, 2021
5df0f35
build: add workaround for V8 builds
richardlau May 11, 2021
c4e7dca
fs: fix error when writing buffers > INT32_MAX
zbjornson May 5, 2021
daeb6fc
path: inline conditions
VoltrexKeyva May 9, 2021
8a45b85
test: improve coverage of lib/os.js
pd4d10 May 12, 2021
8a44ee4
test: improve coverage of lib/_http_client.js
pd4d10 May 8, 2021
fa35c06
doc: change color of doctag on night mode
Ayase-252 May 12, 2021
212cd5c
doc: update contact info
gabrielschulhof May 14, 2021
d66f88c
src: remove extra semi after member fn
codebytere May 14, 2021
8809ef9
src: update cares_wrap OpenBSD defines
addaleax May 13, 2021
2e8dfee
doc: clarify synchronous blocking of Worker stdio
jasnell May 12, 2021
88055ab
doc: document buffer.kStringMaxLength
tniessen May 14, 2021
5995221
node-api: fix shutdown crashes
mhdawson Apr 30, 2021
dbb0d26
stream: fix multiple Writable.destroy() calls
ronag Apr 12, 2021
779ad54
node-api: faster threadsafe_function
indutny May 1, 2021
2642657
doc: remove import.meta.resolve parent URL type
kevinoid May 7, 2021
294b3e6
test,doc,lib: adjust object literal newlines for lint rule
Trott Jan 23, 2021
f868fac
tools: enable object-curly-newline in ESLint rules
Trott Jan 23, 2021
2463bd0
tools: update eslint-plugin-markdown configuration
cjihrig Feb 28, 2021
8399766
tools: add support for mjs and cjs JS snippet linting
aduh95 Feb 10, 2021
9a5411a
tools,doc: add support for several flavors of JS code snippets
aduh95 Jan 31, 2021
7c4748b
doc: use `HEAD` instead of `master` for links
aduh95 May 3, 2021
5de911e
tools: make update-eslint.sh work with npm@7
lpinca Mar 2, 2021
77f88e7
tools: update ESLint to 7.22.0
cjihrig Mar 12, 2021
6ce779c
tools: update ESLint to 7.23.0
lpinca Mar 30, 2021
3fbabfa
tools: update ESLint to 7.24.0
cjihrig Apr 9, 2021
1098aec
tools: update ESLint to 7.25.0
cjihrig Apr 24, 2021
f8753b6
tools: update ESLint to 7.26.0
cjihrig May 8, 2021
8a6c35d
tools: update ESLint to 7.27.0
lpinca May 22, 2021
41cfe64
doc: fix JS flavor selection
aduh95 Mar 17, 2021
9f67c08
doc: cleanup events.md structure
jasnell Nov 12, 2020
87fa636
assert: refactor to use more primordials
aduh95 Nov 19, 2020
193b18e
tools: bump cpplint.py to 1.5.2
Trott Nov 21, 2020
3351910
tools: refloat 7 Node.js patches to cpplint.py
Trott Oct 9, 2020
fb2bb93
tools: bump cpplint to 1.5.3
Trott Nov 23, 2020
84e9188
tools: refloat 7 Node.js patches to cpplint.py
Trott Oct 9, 2020
37bc7d5
tools: bump cpplint to 1.5.4
Trott Nov 30, 2020
de44e90
tools: refloat 7 Node.js patches to cpplint.py
Trott Oct 9, 2020
52fd42e
build: work around bug in MSBuild v16.10.0
targos May 31, 2021
c3bd0fd
http2: fix setting options before handle exists
addaleax Mar 23, 2021
d8da265
http2: treat non-EOF empty frames like other invalid frames
addaleax Mar 23, 2021
07c55d2
Revert "http: make HEAD method to work with keep-alive"
targos Jun 6, 2021
eb8f7ee
lib: revert primordials in a hot path
aduh95 Apr 15, 2021
163fcec
src: fix multiple AddLinkedBinding() calls
addaleax Jun 11, 2021
6c77fd3
2021-06-15, Version 14.17.1 'Fermium' (LTS)
targos Jun 5, 2021
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: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
lib/internal/v8_prof_polyfill.js
lib/punycode.js
test/addons/??_*
test/fixtures
Expand Down
26 changes: 20 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ module.exports = {
overrides: [
{
files: [
'doc/api/esm.md',
'doc/api/module.md',
'doc/api/modules.md',
'doc/api/packages.md',
'doc/api/wasi.md',
'test/es-module/test-esm-type-flag.js',
'test/es-module/test-esm-type-flag-alias.js',
'*.mjs',
Expand All @@ -67,9 +62,24 @@ module.exports = {
},
{
files: ['**/*.md'],
parserOptions: { ecmaFeatures: { impliedStrict: true } },
processor: 'markdown/markdown',
},
{
files: ['**/*.md/*.cjs', '**/*.md/*.js'],
parserOptions: {
sourceType: 'script',
ecmaFeatures: { impliedStrict: true }
},
rules: { strict: 'off' },
},
{
files: [
'**/*.md/*.mjs',
'doc/api/esm.md/*.js',
'doc/api/packages.md/*.js',
],
parserOptions: { sourceType: 'module' },
},
],
rules: {
// ESLint built-in rules
Expand Down Expand Up @@ -162,6 +172,7 @@ module.exports = {
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 0, maxBOF: 0 }],
'no-new-require': 'error',
'no-new-symbol': 'error',
'no-nonoctal-decimal-escape': 'error',
'no-obj-calls': 'error',
'no-octal': 'error',
'no-path-concat': 'error',
Expand Down Expand Up @@ -238,6 +249,8 @@ module.exports = {
'no-unreachable': 'error',
'no-unsafe-finally': 'error',
'no-unsafe-negation': 'error',
'no-unsafe-optional-chaining': 'error',
'no-unused-expressions': ['error', { allowShortCircuit: true }],
'no-unused-labels': 'error',
'no-unused-vars': ['error', { args: 'none', caughtErrors: 'all' }],
'no-use-before-define': ['error', {
Expand All @@ -255,6 +268,7 @@ module.exports = {
'no-void': 'error',
'no-whitespace-before-property': 'error',
'no-with': 'error',
'object-curly-newline': 'error',
'object-curly-spacing': ['error', 'always'],
'one-var': ['error', { initialized: 'never' }],
'one-var-declaration-per-line': 'error',
Expand Down
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,7 @@
/lib/internal/bootstrap/* @nodejs/startup
/tools/code_cache/* @nodejs/startup
/tools/snapshot/* @nodejs/startup

# V8
/deps/v8/* @nodejs/v8-update
/tools/v8_gypfiles/* @nodejs/v8-update
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!--
Before submitting a pull request, please read
https://github.com/nodejs/node/blob/master/CONTRIBUTING.md.
https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md.

Commit message formatting guidelines:
https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
https://github.com/nodejs/node/blob/HEAD/doc/guides/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/comment-labeled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Comment on issues and PRs when labelled
on:
issues:
types: [labeled]
pull_request_target:
types: [labeled]

jobs:
staleComment:
if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled'
runs-on: ubuntu-latest
steps:
- name: Post stalled comment
env:
COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }}
run: |
curl -X POST $COMMENTS_URL \
-H "Content-Type: application/json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
--data '{ "body": "This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open." }'

fastTrack:
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track'
runs-on: ubuntu-latest
steps:
- name: Request Fast-Track
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve."
21 changes: 0 additions & 21 deletions .github/workflows/comment-stalled.yml

This file was deleted.

8 changes: 3 additions & 5 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# See https://github.com/nodejs/node-core-utils/pull/486
fetch-depth: 0
# A personal token is required because pushing with GITHUB_TOKEN will
# prevent commits from running CI after they land on master. It needs
# prevent commits from running CI after they land. It needs
# to be set here because `checkout` configures GitHub authentication
# for push as well.
token: ${{ secrets.GH_USER_TOKEN }}
Expand Down Expand Up @@ -63,15 +63,13 @@ jobs:
owner: ${{ env.OWNER }}
repo: ${{ env.REPOSITORY }}
# Commit queue is only enabled for the default branch on the repository
# TODO(mmarchini): get the default branch programmatically instead of
# assuming `master`
base_ref: "master"
base_ref: ${{ github.repository.default_branch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Configure node-core-utils
run: |
ncu-config set branch master
ncu-config set branch ${{ github.repository.default_branch }}
ncu-config set upstream origin
ncu-config set username "${{ secrets.GH_USER_NAME }}"
ncu-config set token "${{ secrets.GH_USER_TOKEN }}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x

Expand All @@ -28,5 +29,5 @@ jobs:
with:
name: docs
path: out/doc
- name: Check links
run: node tools/doc/checkLinks.js .
- name: Test
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions"
3 changes: 2 additions & 1 deletion .github/workflows/notify-force-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- master
- main

name: Notify on Force Push
jobs:
Expand All @@ -17,7 +18,7 @@ jobs:
SLACK_ICON: https://github.com/nodejs.png?size=48
SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}'
SLACK_MESSAGE: |
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/master|${{ github.repository }}@master> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.repository.default_branch }}|${{ github.repository }}@${{ github.repository.default_branch }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>

Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down Expand Up @@ -36,4 +37,4 @@ jobs:
- name: Build
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions -t 300"
3 changes: 2 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
Expand All @@ -27,4 +28,4 @@ jobs:
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
3 changes: 2 additions & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
Expand All @@ -31,4 +32,4 @@ jobs:
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
11 changes: 2 additions & 9 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ Installation via Linux package manager can be achieved with:

FreeBSD and OpenBSD users may also need to install `libexecinfo`.

Python 3 users may also need to install `python3-distutils`.

#### macOS prerequisites

* Xcode Command Line Tools >= 10 for macOS
Expand All @@ -277,11 +275,6 @@ $ ./configure
$ make -j4
```

If you run into a `No module named 'distutils.spawn'` error when executing
`./configure`, please try `python3 -m pip install --upgrade setuptools` or
`sudo apt install python3-distutils -y`.
For more information, see <https://github.com/nodejs/node/issues/30189>.

The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which
may reduce build time. For more information, see the
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).
Expand Down Expand Up @@ -668,7 +661,7 @@ $ make

## `Intl` (ECMA-402) support

[Intl](https://github.com/nodejs/node/blob/master/doc/api/intl.md) support is
[Intl](https://github.com/nodejs/node/blob/HEAD/doc/api/intl.md) support is
enabled by default.

### Build with full ICU support (all locales supported by ICU)
Expand Down Expand Up @@ -812,4 +805,4 @@ When Node.js is built (with an intention to distribute) with an ABI
incompatible with the official Node.js builds (e.g. using a ABI incompatible
version of a dependency), please reserve and use a custom `NODE_MODULE_VERSION`
by opening a pull request against the registry available at
<https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json>.
<https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json>.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.16.1">14.16.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.17.1">14.17.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.0">14.17.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.16.1">14.16.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.16.0">14.16.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.15.5">14.15.5</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.15.4">14.15.4</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion GOVERNANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,5 @@ The TSC follows a [Consensus Seeking][] decision-making model per the

[Collaborators discussion page]: https://github.com/orgs/nodejs/teams/collaborators/discussions
[Consensus Seeking]: https://en.wikipedia.org/wiki/Consensus-seeking_decision-making
[TSC Charter]: https://github.com/nodejs/TSC/blob/master/TSC-Charter.md
[TSC Charter]: https://github.com/nodejs/TSC/blob/HEAD/TSC-Charter.md
[nodejs/node]: https://github.com/nodejs/node
14 changes: 9 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -587,12 +587,17 @@ test-doc: doc-only lint-md ## Builds, lints, and verifies the docs.
fi
$(NODE) tools/doc/checkLinks.js .

.PHONY: test-doc-ci
test-doc-ci: doc-only
$(PYTHON) tools/test.py --shell $(NODE) $(TEST_CI_ARGS) $(PARALLEL_ARGS) doctool
$(NODE) tools/doc/checkLinks.js .

test-known-issues: all
$(PYTHON) tools/test.py $(PARALLEL_ARGS) known_issues

# Related CI job: node-test-npm
test-npm: $(NODE_EXE) ## Run the npm test suite on deps/npm.
$(NODE) tools/test-npm-package --install --logfile=test-npm.tap deps/npm test-node
$(NODE) tools/test-npm-package --install --logfile=test-npm.tap deps/npm test

test-npm-publish: $(NODE_EXE)
npm_package_config_publishtest=true $(NODE) deps/npm/test/run.js
Expand Down Expand Up @@ -1217,7 +1222,7 @@ lint-md: lint-js-doc | tools/.mdlintstamp
LINT_JS_TARGETS = .eslintrc.js benchmark doc lib test tools

run-lint-js = tools/node_modules/eslint/bin/eslint.js --cache \
--report-unused-disable-directives --ext=$(EXTENSIONS) $(LINT_JS_TARGETS)
--report-unused-disable-directives $(LINT_JS_TARGETS)
run-lint-js-fix = $(run-lint-js) --fix

.PHONY: lint-js-fix
Expand All @@ -1228,8 +1233,7 @@ lint-js-fix:
.PHONY: lint-js-doc
# Note that on the CI `lint-js-ci` is run instead.
# Lints the JavaScript code with eslint.
lint-js lint-js-fix: EXTENSIONS=.js,.mjs,.md
lint-js-doc: EXTENSIONS=.md
lint-js-doc: LINT_JS_TARGETS=doc
lint-js lint-js-doc:
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
echo "Skipping $@ (no crypto)"; \
Expand All @@ -1242,7 +1246,7 @@ jslint: lint-js
$(warning Please use lint-js instead of jslint)

run-lint-js-ci = tools/node_modules/eslint/bin/eslint.js \
--report-unused-disable-directives --ext=.js,.mjs,.md -f tap \
--report-unused-disable-directives -f tap \
-o test-eslint.tap $(LINT_JS_TARGETS)

.PHONY: lint-js-ci
Expand Down
Loading