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

V16.18.0 proposal #44886

Merged
merged 336 commits into from Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
336 commits
Select commit Hold shift + click to select a range
8725a87
test: use `mustSucceed` instead of `mustCall` with `assert.ifError`
fossamagna Aug 12, 2022
6196bce
doc: improved building doc for Android
MeowShe Aug 12, 2022
aaad7a6
build: enable pointer authentication for branch protection on arm64
jgowdy-godaddy Aug 12, 2022
9593c37
errors: refactor to use optional chaining
xtx1130 Aug 3, 2022
c045faf
src: fix --heapsnapshot-near-heap-limit error hint
legendecas Aug 14, 2022
d535190
meta: update AUTHORS
nodejs-github-bot Aug 14, 2022
4485ade
test: mark connection leak test flaky on IBM i
richardlau Aug 14, 2022
e42227a
tools: update lint-md-dependencies to rollup@2.77.3
nodejs-github-bot Aug 14, 2022
2a44872
deps: update corepack to 0.12.3
nodejs-github-bot Aug 14, 2022
4294836
doc: add cola119 to collaborators
cola119 Aug 16, 2022
003ab59
test: move "errors" test to "parallel"
targos Aug 16, 2022
ff34d48
report: skip report if uncaught exception is handled
legendecas Aug 16, 2022
fa6183f
http: add max for http keepalive
theanarkh Aug 16, 2022
df49c42
tools: update lint-md-dependencies to rollup@2.78.0
nodejs-github-bot Aug 16, 2022
cb6b57f
trace_events: add example
theanarkh Aug 16, 2022
e4b4b37
tls: use logical OR operator
VoltrexKeyva Aug 16, 2022
9391ebd
tools: update ESLint to 8.22.0
lpinca Aug 17, 2022
dc5478a
meta: update `web streams` in label-pr-config
daeyeon Aug 17, 2022
a99e236
lib: refactor to avoid prototype pollution
aduh95 Aug 17, 2022
fdb699c
deps: upgrade npm to 8.18.0
npm-cli-bot Aug 18, 2022
8195c81
src: avoid copying BaseObjectPtrs in loop
tniessen Aug 18, 2022
4308d95
doc,report: document special filenames
legendecas Aug 19, 2022
b186684
src: extract common context embedder tag checks
legendecas Aug 17, 2022
5978eb1
doc: add TypeScript execution requirements
mhdawson Jul 28, 2022
73cd9dd
test: add coverage for invalid RSA-PSS digests
tniessen Aug 20, 2022
ac2edbc
src: refactor to avoid using a moved object
tniessen Aug 20, 2022
87cc487
doc: fix typo
h-a-n-a Aug 20, 2022
5ac344b
doc: fix optionality of callback arg of checkPrime
tniessen Aug 20, 2022
56dc4b3
test_runner: fix test runner hooks failure stack
MoLow Aug 20, 2022
4bdd4a3
meta: update AUTHORS
nodejs-github-bot Aug 21, 2022
525fbfd
src: use imported namespaces in `node_contextify.cc`
juanarbol Aug 21, 2022
0bf57df
tools: update lint-md-dependencies to rollup@2.78.1
nodejs-github-bot Aug 21, 2022
bf217f8
fs: add encoding parameter to benchmarks
anonrig Aug 21, 2022
763a63c
deps: update corepack to 0.13.0
nodejs-github-bot Aug 21, 2022
9dad4b0
lib: add diagnostics channel and perf hooks detail
danielleadams Jul 26, 2022
03b8cb8
test: deflake test-diagnostics-channel-net
kvakil Aug 7, 2022
8a921fe
deps: upgrade npm to 8.19.1
npm-cli-bot Sep 2, 2022
0c4953c
deps: update undici to 5.9.1
nodejs-github-bot Aug 24, 2022
1811a6a
deps: update icu tzdata to 2022b
Manizuca Aug 18, 2022
9f14dc1
deps: update Acorn to v8.8.0
targos Aug 31, 2022
67cbbcc
deps: update corepack to 0.14.0
nodejs-github-bot Sep 5, 2022
89e5ac9
doc: add missing parenthesis in TLSSocket section
tniessen Sep 4, 2022
cf60c6b
doc: add missing imports in events sample code
mrbrianevans Aug 31, 2022
2a4491b
build: added NINJA env to customize ninja binary
jdx Aug 22, 2022
c397bb9
test: make tmpdir.js importable from esm
GeoffreyBooth Aug 23, 2022
b2b9de9
test: remove duplicate test
lpinca Aug 24, 2022
c145806
doc: fix style of n-api.md
theanarkh Aug 25, 2022
17c5b97
doc: add daeyeon to collaborators
daeyeon Aug 23, 2022
eb90d65
doc: fix typo in test runner code examples
MoLow Aug 23, 2022
a1dbe4b
doc: add history for net.createServer() options
lpinca Aug 23, 2022
8ea3e6f
doc: do not use "Returns:" for crypto.constants
tniessen Sep 2, 2022
0e99139
doc: use serial comma in addons docs
tniessen Sep 1, 2022
a5906a0
doc: apply scroll-margin-top to h2, h3 elements
metonym Aug 30, 2022
4a40251
doc: fix spacing issue in `--build-snapshot` help text
syohex Aug 29, 2022
7ec097f
doc: mention cherry-pick edge-case on release
RafaelGSS Aug 26, 2022
7b69172
doc: note on release guide to update `main` branch
ruyadorno Aug 27, 2022
1998bc8
doc: fix release guide example consistency
ruyadorno Aug 27, 2022
779761d
report: add queue info for udp
theanarkh Aug 24, 2022
edb0851
meta: update AUTHORS
nodejs-github-bot Aug 28, 2022
aa68a31
meta: update AUTHORS
nodejs-github-bot Sep 4, 2022
2891d9f
tools: update eslint to 8.23.0
nodejs-github-bot Aug 27, 2022
b3629da
tools: update doc to unist-util-visit@4.1.1
nodejs-github-bot Aug 28, 2022
255023f
tools: don't use f-strings in test.py
santigimeno Aug 28, 2022
bad8ecc
tools: update lint-md-dependencies to rollup@2.79.0
nodejs-github-bot Sep 4, 2022
59be5f8
lib: use safe `Promise` alternatives when available
aduh95 Aug 17, 2022
f717c1e
debugger: decrease timeout used to wait for the port to be free
joyeecheung Aug 24, 2022
2f3502f
src: make minor improvements to SecureBuffer
tniessen Aug 22, 2022
c35a071
tls: use OpenSSL constant for client random size
tniessen Aug 22, 2022
6990833
test: raise sleep times in child process tests
joyeecheung Aug 25, 2022
a139f5d
test: fix multiple incorrect mustNotCall() uses
tniessen Aug 30, 2022
b5901a0
test: split heap prof tests
joyeecheung Aug 25, 2022
c3429ab
test: make the vm timeout escape tests more lenient
joyeecheung Aug 29, 2022
edb3335
test: deflake child process exec timeout tests
joyeecheung Aug 25, 2022
5af3a5d
test: avoid race in file write stream handle tests
joyeecheung Aug 24, 2022
566d80f
crypto: improve RSA-PSS digest error messages
tniessen Aug 22, 2022
f0d841f
src: fix multiple format string bugs
tniessen Aug 22, 2022
be863b7
tty: fix TypeError when stream is closed
aduh95 Aug 24, 2022
a6ce1de
src: remove KeyObjectData::symmetric_key_len_
tniessen Aug 24, 2022
5b5d95d
node-api: cleanup redundant static modifiers
legendecas Aug 25, 2022
4c27d77
src: simplify ECDH::GetCurves()
tniessen Aug 26, 2022
e96bb14
build: add --libdir flag to configure
sgallagher Aug 28, 2022
dd08d6c
src: simplify and optimize GetOpenSSLVersion()
tniessen Aug 28, 2022
a3bdd07
cluster: fix cluster rr distribute error
theanarkh Aug 28, 2022
6b8ed27
src: trace fs async api
theanarkh Aug 28, 2022
aa80826
src: fix ssize_t error from nghttp2.h
RaisinTen Aug 29, 2022
a711080
src: make Endianness an enum class
tniessen Aug 30, 2022
a3dc7e1
src: fix uv_err_name memory leak
theanarkh Aug 30, 2022
c7713f1
src: remove base64_select_table and base64_table
tniessen Aug 31, 2022
f38987e
node-api: avoid calling virtual methods in base's dtor
legendecas Aug 31, 2022
8f3ed25
src: add error handling to `uv_uptime` call
juanarbol Aug 24, 2022
c0875d1
src: avoid casting std::trunc(... / ...) to size_t
tniessen Sep 1, 2022
cae9c5d
src: fix incorrect comments in crypto
tniessen Sep 1, 2022
d76e7e4
src: improve error handling in CloneSSLCerts
tniessen Sep 1, 2022
579e066
crypto: add digest name to INVALID_DIGEST errors
tniessen Sep 2, 2022
092239a
net: add local family
theanarkh Jul 26, 2022
8398e98
http: make idle http parser count configurable
theanarkh Jul 29, 2022
acff743
lib: make `validateObject` less affected by prototype tampering
aduh95 Jul 11, 2022
db151e1
bootstrap: stop delaying instantiation of maps in per-context scripts
RaisinTen May 5, 2022
f700074
buffer: fix `atob` input validation
austinkelleher Apr 12, 2022
4968ebf
lib: refactor `validateInt32` and `validateUint32`
mawaregetsuka May 22, 2022
e7d30b4
src: use a typed array internally for process._exiting
RaisinTen Jul 31, 2022
1400796
net,tls: pass a valid socket on `tlsClientError`
daeyeon Aug 1, 2022
70563b5
util: add `maxArrayLength` option to Set and Map
cola119 Jul 14, 2022
91ef427
src: nest namespace report in namespace node
legendecas Jul 31, 2022
ac8d2de
lib: reset `RegExp` statics before running user code
aduh95 Aug 5, 2022
5c721a3
doc: add performance note to `--enable-source-maps` docs
saurabhdaware Aug 6, 2022
70662f4
src: fix cppgc incompatibility in v8
codebytere Jun 21, 2022
a08cdea
typings: add JSDoc for `internal/validators`
anonrig Aug 17, 2022
30cfe0a
report: print javascript stack on fatal error
legendecas Aug 15, 2022
b53ea08
tls: remove SecureContext setFreeListLength
tniessen Aug 22, 2022
381e11e
report: expose report public native apis
legendecas Aug 24, 2022
c736927
inspector: prevent integer overflow in open()
tniessen Aug 25, 2022
0c76e01
test: split report OOM tests
joyeecheung Aug 25, 2022
89c837a
doc,worker: document resourceLimits overrides
kvakil Aug 29, 2022
8f3e8bb
os: add machine method
theanarkh Aug 29, 2022
6be761e
lib: add diagnostics channel for process and worker
theanarkh Aug 30, 2022
7100bae
crypto: use actual option name in error message
tniessen Aug 31, 2022
2ba547a
src: expose environment RequestInterrupt api
legendecas Aug 21, 2022
5355a46
report: fix missing section javascriptHeap on OOMError
legendecas Aug 25, 2022
0e2c206
report: get stack trace with cross origin contexts
legendecas Aug 26, 2022
9a52ee7
crypto: handle invalid prepareAsymmetricKey JWK inputs
panva Sep 3, 2022
49cf345
src: rename misleading arg in ClientHelloParser
tniessen Sep 4, 2022
d846e5b
doc: move policy docs to the permissions scope
RafaelGSS Sep 5, 2022
3718047
test: add more cases for parse-encoding
tony-go Sep 6, 2022
88dfd50
test: fix DebugSymbolsTest.ReqWrapList on PPC64LE
danbev Aug 22, 2022
6d881b8
doc: document attribute Script.cachedDataRejected
legendecas Sep 6, 2022
916b319
deps: update to uvwasi 0.0.13
cjihrig Sep 5, 2022
a021f19
lib: fix reference leak
falsandtru Sep 7, 2022
0beedb7
v8: add setHeapSnapshotNearHeapLimit
theanarkh Sep 8, 2022
602ecaa
tools: fix shebang to use python3 by default
himself65 Sep 8, 2022
9d24c7a
doc: emphasize that createCipher is never secure
tniessen Sep 8, 2022
6ed3367
stream: add `ReadableByteStream.tee()`
daeyeon Sep 8, 2022
e26d95e
doc: remove ebpf from supported tooling list
RafaelGSS Sep 9, 2022
370b0ec
test: use python3 instead of python
lpinca Sep 10, 2022
0747fac
doc: do not use weak MODP group in example
tniessen Sep 10, 2022
1fc6394
crypto: restrict PBKDF2 args to signed int
tniessen Sep 10, 2022
7ac9baf
meta: update AUTHORS
nodejs-github-bot Sep 11, 2022
d068978
doc: fix link in `process.md`
aduh95 Sep 11, 2022
8187f03
doc: mention how to get commit release
RafaelGSS Sep 11, 2022
657fa79
tools: increase timeout of running WPT
joyeecheung Sep 11, 2022
7b3a2c3
build: rewritten the Android build system
MeowShe Sep 12, 2022
cc55e84
doc: fix vm.Script createCachedData example
legendecas Sep 12, 2022
2084ad6
doc: fix errors in http.md
lpinca Sep 12, 2022
53543c6
doc: fix heading levels for test runner hooks
meyfa Sep 12, 2022
9fac6dd
doc: remove old OpenSSL ENGINE constants
tniessen Sep 12, 2022
f80bdc5
doc: deprecate modp1, modp2, and modp5 groups
tniessen Sep 12, 2022
31f809a
test: ignore stale process cleanup failures on Windows
joyeecheung Sep 13, 2022
4e49d5d
inspector: expose inspector.close on workers
legendecas Sep 13, 2022
8d259e6
win: fix fs.realpath.native for long paths
StefanStojanovic Sep 13, 2022
eaf2ffc
src: dump isolate stats when process exits
qdaoming Sep 13, 2022
ffb1c85
stream: refactor use es2020 statement
xtx1130 Sep 6, 2022
29c0f9e
benchmark: add stream destroy benchmark
xtx1130 Sep 7, 2022
f05ce2b
tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.0.1
nodejs-github-bot Sep 13, 2022
ea2957f
src: make NearHeapLimitCallback() more robust
joyeecheung Sep 13, 2022
bec2ede
build: remove redundant entry in crypto
gengjiawen Sep 14, 2022
eda1f45
src: make ReqWrap weak
RafaelGSS Sep 14, 2022
90eaae3
doc: remove empty line in YAML block
ovflowd Sep 14, 2022
bbbb446
fs: remove unused option in `fs.fstatSync()`
LiviaMedeiros Sep 14, 2022
ff9ef61
doc: use serial comma in stream docs
daeyeon Sep 14, 2022
9a469be
test_runner: include stack of uncaught exceptions
MoLow Sep 14, 2022
24172ca
src: avoid copy when creating Blob
tniessen Sep 14, 2022
a46dd37
test: fix `test-repl` not validating leaked globals properly
aduh95 Sep 14, 2022
2c0d9ff
tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.1.0
nodejs-github-bot Sep 15, 2022
c9af436
doc: use serial comma in report docs
daeyeon Sep 15, 2022
b6c232f
tools: update eslint to 8.23.1
nodejs-github-bot Sep 15, 2022
af5d49f
meta: update test_runner in label-pr-config
shrujalshah28 Sep 15, 2022
3614f5a
doc: remove comma in README.md
Taha-Chaudhry Sep 15, 2022
debf730
lib,test: fix bug in InternalSocketAddress
tniessen Sep 15, 2022
8118fc2
tls: fix out-of-bounds read in ClientHelloParser
tniessen Sep 15, 2022
891c4e7
doc,inspector: document changes of inspector.close
legendecas Sep 13, 2022
f13e06a
test: improve lib/readline.js coverage
fossamagna Sep 15, 2022
d190e71
tools: add timezone update workflow
98lenvi Sep 15, 2022
0b3f49c
tools: fix typo in update-nghttp2.sh
lpinca Sep 16, 2022
6881ecb
doc: add legendecas to TSC list
mhdawson Sep 15, 2022
aae8ff6
test: fix test-performance-measure
smitley Sep 14, 2022
5ee0127
doc: maintain only one list of MODP groups
tniessen Sep 17, 2022
0f88588
doc: improve building doc for Windows Powershell
bmuenzenmeyer Sep 13, 2022
21b5ab1
deps: upgrade npm to 8.19.2
npm-cli-bot Sep 17, 2022
3e38ba5
doc: make legacy banner slightly less bright
Trott Sep 17, 2022
3564da1
meta: move dnlup to emeriti
dnlup Sep 18, 2022
2cd2f56
http: throw error on content-length mismatch
sidwebworks Aug 24, 2022
e4f18b4
deps: update ngtcp2 update instructions
tniessen Sep 18, 2022
1a8aada
deps: update corepack to 0.14.1
nodejs-github-bot Sep 18, 2022
1bb394e
module: open stat/readPackage to mutations
arcanis Sep 18, 2022
0f2fcaf
deps: update to ngtcp2 0.8.1 and nghttp3 0.7.0
tniessen Sep 18, 2022
4f056b5
src: remove <unistd.h> from node_os.cc
tniessen Sep 18, 2022
b9deb1e
meta: update AUTHORS
nodejs-github-bot Sep 18, 2022
1079c80
tools: add update-llhttp.sh
ShogunPanda Sep 15, 2022
fe91711
meta: add mailmap entry for dnlup
Trott Sep 19, 2022
42a91e3
esm,loader: tidy ESMLoader internals
JakobJingleheimer Sep 19, 2022
bc9f8d2
doc: remove extra space on threadpool usage
connorjburton Sep 20, 2022
9e83c00
doc: mention where to push security commits
RafaelGSS Sep 16, 2022
1308e68
gyp: libnode for ios app embedding
chexiongsheng Sep 21, 2022
916f2c5
src: avoid using v8 on Isolate termination
santigimeno Sep 21, 2022
8d3cb6c
doc: include code examples for webstreams consumers
khaosdoctor Aug 24, 2022
2e87cdd
benchmark: fix startup benchmark
evanlucas Sep 21, 2022
6758c63
doc,crypto: cleanup removed pbkdf2 behaviours
panva Sep 22, 2022
a6a655d
util: increase robustness with primordials
ljharb Sep 22, 2022
f381a1e
doc: add registry number for Electron 22
VerteDinde Sep 23, 2022
fc1edaf
test: change promise to async/await in debugger-watcher
Pooja444 Sep 16, 2022
3872abd
doc: update guidance for adding new modules
mhdawson Sep 8, 2022
2cee039
http: disable chunked encoding when OBS fold is used
ShogunPanda Sep 19, 2022
fe832a0
doc: update the deprecation for exit code to clarify its scope
daeyeon Sep 24, 2022
c1d1ed5
meta: update AUTHORS
nodejs-github-bot Sep 25, 2022
2752d7c
test: check that sysconf returns a positive value
tniessen Sep 25, 2022
095cb7e
test: update test-debugger-low-level to use await/async
ml7181 Sep 25, 2022
2e3aa39
test: use async/await in test-debugger-invalid-args
nupurchauhan6 Sep 25, 2022
895719d
doc: fix v16.17.1 security release changelog
ruyadorno Sep 25, 2022
e0fe11c
doc: fix description for `napi_get_cb_info()` in `n-api.md`
daeyeon Sep 26, 2022
8633619
test: change promises to async/await
MadhulikaSharma95 Sep 26, 2022
83cf979
fs: fix typo in mkdir example
SergeyTsukanov Sep 26, 2022
8b8d18a
test: verify napi_remove_wrap with napi_delete_reference
legendecas Sep 26, 2022
618c9c8
doc: ensure to revert node_version changes
RafaelGSS Sep 23, 2022
5e4a2e9
doc: mention git node backport
RafaelGSS Sep 23, 2022
ce33972
tools: update lint-md-dependencies to rollup@2.79.1
nodejs-github-bot Sep 26, 2022
b06a78e
tools: update eslint to 8.24.0
nodejs-github-bot Sep 27, 2022
3cb28bd
path: change basename() argument from ext to suffix
Trott Sep 27, 2022
c6289d6
tools: update eslint-check.js to object style
Sep 27, 2022
ffc4fad
test: change the promises to async/await in test-debugger-exec-scope.js
Ankita-Khiratkar Sep 27, 2022
2baa3c3
test: use async/await in test-debugger-profile
surbhirjain Sep 27, 2022
510365a
test: use async/await in test-debugger-preserve-breaks
poorvitusam Sep 27, 2022
e9e1309
test: update test-debugger-breakpoint-exists.js to use async/await
archana-kamath Sep 27, 2022
e10095a
build: update timezone-update.yml
sashashura Sep 19, 2022
af2aa5b
test: modify test-debugger-custom-port.js to use async-await
pshastricb Sep 27, 2022
969a12b
doc: remove "currently" and comma splice from child_process.md
Trott Sep 27, 2022
006d7f1
tools: refactor deprecated format in no-unescaped-regexp-dot
sonimadhuri Sep 27, 2022
7cead59
esm: fix duplicated test
GeoffreyBooth Sep 28, 2022
9386c85
test: refactor to async/await
DivyaMohan94 Sep 28, 2022
f01bb58
bootstrap: update comments in bootstrap/node.js
joyeecheung Sep 19, 2022
25e6f48
child_process: remove lookup of undefined property
cjihrig Sep 24, 2022
14ec52b
fs: don't hard code name in validatePosition()
cjihrig Sep 24, 2022
fada3a2
test: add extra tests for basename with ext option
connorjburton Sep 29, 2022
f630881
test: use async/await in test-debugger-sb-before-load
hopeolaide Sep 29, 2022
5bed2d1
test: change promises to async/await in test-debugger-backtrace.js
zhangjuliet Sep 29, 2022
a7666ab
test: migrated from Promise chains to Async/Await
rathi2016 Sep 29, 2022
3e8569c
src: remove ParseIP() in cares_wrap.cc
tniessen Sep 29, 2022
5854abc
test: use async/await in test-debugger-auto-resume
samyuktaprabhu Sep 16, 2022
7e07cce
crypto: use EVP_PKEY_CTX_set_dsa_paramgen_q_bits when available
davidben Sep 29, 2022
adae66c
node-api: add deprecation code of uncaught exception
legendecas Sep 13, 2022
4368acd
test: don't clobber RegExp.$_ on startup
bnoordhuis Oct 7, 2022
14c7f4a
test: update WPT runner
panva Aug 10, 2022
a6e2cb4
crypto: fix webcrypto generateKey() AES key length validation error
panva Aug 8, 2022
2c938d7
crypto: fix webcrypto operation errors to be OperationError
panva Aug 12, 2022
7ad2a26
crypto: fix webcrypto EC key namedCurve validation errors
panva Aug 8, 2022
7e705d8
crypto: fix webcrypto deriveBits validations
panva Aug 8, 2022
e5c9975
crypto: allow zero-length secret KeyObject
panva Aug 11, 2022
317cd05
crypto: allow zero-length IKM in HKDF and in webcrypto PBKDF2
panva Aug 11, 2022
4ebb3ef
test,crypto: update WebCryptoAPI WPT
panva Aug 14, 2022
18e1766
tools: increase timeout of running WPT
joyeecheung Sep 11, 2022
90af1d6
2022-10-12, Version 16.18.0 'Gallium' (LTS)
juanarbol Oct 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -109,6 +109,7 @@
/src/node.cc @nodejs/startup
/src/node_code_cache_stub.cc @nodejs/startup
/src/node_native_module* @nodejs/startup
/src/node_snapshot* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/tools/code_cache/* @nodejs/startup
/tools/snapshot/* @nodejs/startup
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Expand Up @@ -19,7 +19,7 @@ body:
label: Platform
description: |
UNIX: output of `uname -a`
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
- type: input
attributes:
label: Subsystem
Expand Down
3 changes: 3 additions & 0 deletions .github/label-pr-config.yml
Expand Up @@ -101,6 +101,8 @@ subSystemLabels:
/^lib\/worker_threads.js$/: worker
/^lib\/internal\/url\.js$/: whatwg-url
/^lib\/internal\/modules\/esm/: esm
/^lib\/internal\/webstreams/: web streams
/^lib\/internal\/test_runner/: dont-land-on-v14.x

# All other lib/ files map directly
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
Expand All @@ -123,6 +125,7 @@ exlusiveLabels:
/^test\/report\//: test, report
/^test\/fixtures\/es-module/: test, esm
/^test\/es-module\//: test, esm
/^test\/fixtures\/wpt\/streams//: test, web streams

/^test\//: test

Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/label-flaky-test-issue.yml
@@ -0,0 +1,50 @@
name: Label Flaky Test Issues

on:
issues:
types: [opened, labeled]

jobs:
label:
if: github.event.label.name == 'flaky-test'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Extract labels
id: extract-labels
env:
BODY: ${{ github.event.issue.body }}
run: |
BODY="${BODY//$'\n'/'\n'}"

declare -A platform2label

platform2label["AIX"]="aix";
platform2label["FreeBSD"]="freebsd";
platform2label["Linux ARM64"]="linux";
platform2label["Linux ARMv7"]="arm";
platform2label["Linux PPC64LE"]="ppc";
platform2label["Linux s390x"]="s390";
platform2label["Linux x64"]="linux";
platform2label["macOS ARM64"]="macos";
platform2label["macOS x64"]="macos";
platform2label["SmartOS"]="smartos";
platform2label["Windows"]="windows";

# sed is cleaning up the edges
PLATFORMS=$(echo $BODY | sed 's/^.*Platform\\n\\n//' | sed 's/\(, Other\)\?\\n\\n.*$//') 2> /dev/null
readarray -d , -t list <<< "$PLATFORMS"
labels=
for row in "${list[@]}"; do \
platform=$(echo $row | xargs); \
labels="${labels}${platform2label[$platform]},"; \
done;

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

- name: Add labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUMBER: ${{ github.event.issue.number }}
run: gh issue edit "$NUMBER" --repo ${{ github.repository }} --add-label "${{ steps.extract-labels.outputs.LABELS }}"
1 change: 1 addition & 0 deletions .github/workflows/test-internet.yml
Expand Up @@ -29,6 +29,7 @@ permissions:

jobs:
test-internet:
if: github.repository == 'nodejs/node' || github.event_name != 'schedule'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
55 changes: 55 additions & 0 deletions .github/workflows/timezone-update.yml
@@ -0,0 +1,55 @@
name: Timezone update
on:
schedule:
# Run once a week at 00:05 AM UTC on Sunday.
- cron: 5 0 * * 0

workflow_dispatch:

permissions:
contents: read

jobs:
timezone_update:
permissions:
contents: write # to push local changes (gr2m/create-or-update-pull-request-action)
pull-requests: write # to create a PR (gr2m/create-or-update-pull-request-action)

if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest

steps:
- name: Checkout nodejs/node
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Checkout unicode-org/icu-data
uses: actions/checkout@v3
with:
path: icu-data
persist-credentials: false
repository: unicode-org/icu-data

- run: ./tools/update-timezone.mjs

- name: Open Pull Request
uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f # Create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <github-bot@iojs.org>
body: |
This PR was generated by tools/timezone-update.yml.

Updates the ICU files as per the instructions present in https://github.com/nodejs/node/blob/main/doc/contributing/maintaining-icu.md#time-zone-data

To test, build node off this branch & log the version of tz using
```js
console.log(process.versions.tz)
```
branch: actions/timezone-update
commit-message: 'deps: update timezone'
labels: dependencies
title: 'deps: update timezone'
reviewers: \@nodejs/i18n-api
6 changes: 6 additions & 0 deletions .mailmap
Expand Up @@ -137,6 +137,7 @@ David Mark Clements <david.clements@nearform.com> <huperekchuno@googlemail.com>
David Siegel <david@artcom.de> <david.siegel@artcom.de>
DC <dcposch@dcpos.ch>
Deepjyoti Mondal <djmdeveloper060796@gmail.com>
dnlup <dnlup.dev@gmail.com> <dwon.dnl@gmail.com>
Domenic Denicola <domenic@domenicdenicola.com>
Domenic Denicola <domenic@domenicdenicola.com> <d@domenic.me>
Doug Wade <doug@dougwade.io> <doug.wade@redfin.com>
Expand Down Expand Up @@ -287,6 +288,8 @@ Ke Ding <dingkework@hotmail.com>
Keith M Wesolowski <wesolows@joyent.com> <wesolows@foobazco.org>
Kelsey Breseman <ifoundthemeaningoflife@gmail.com>
Kevin Millikin <kmillikin@chromium.org>
Keyhan Vakil <kvakil@sylph.kvakil.me> <60900335+airtable-keyhanvakil@users.noreply.github.com>
Keyhan Vakil <kvakil@sylph.kvakil.me> <kvakil@github.kvakil.me>
Khaidi Chu <i@2333.moe>
Khaidi Chu <i@2333.moe> <admin@xcoder.in>
Kimberly Wilber <gcr@sneakygcr.net>
Expand Down Expand Up @@ -371,6 +374,7 @@ Nam Nguyen <nam.nguyen@de.ibm.com>
Nebu Pookins <nebu@nebupookins.net>
Netto Farah <nettofarah@gmail.com>
Nicholas Kinsey <pyrotechnick@feistystudios.com>
Nick Sia <nicholas.sia@vgw.co> <31839263+nicksia-vgw@users.noreply.github.com>
Nick Soggin <nicksoggin@gmail.com> <iSkore@users.noreply.github.com>
Nigel Kibodeaux <nigelmail@gmail.com> <nigel@team.about.me>
Nikola Glavina <glavina.nikola5@gmail.com> <nikola.glavina@student.um.si>
Expand Down Expand Up @@ -429,6 +433,8 @@ Ron Korving <ron@ronkorving.nl> <rkorving@wizcorp.jp>
Ruben Bridgewater <ruben@bridgewater.de> <ruben.bridgewater@fintura.de>
Ruben Bridgewater <ruben@bridgewater.de> <ruben.bridgewater@maibornwolff.de>
Russell Dempsey <sgtpooki@gmail.com> <SgtPooki@gmail.com>
Ruy Adorno <ruyadorno@google.com> <ruyadorno@github.com>
Ruy Adorno <ruyadorno@google.com> <ruyadorno@hotmail.com>
Ryan Dahl <ry@tinyclouds.org>
Ryan Emery <seebees@gmail.com>
Ryan Mahan <ryanmahan97@gmail.com>
Expand Down
46 changes: 42 additions & 4 deletions AUTHORS
Expand Up @@ -1048,7 +1048,7 @@ Joran Siu <joransiu@ca.ibm.com>
Vitaly Tomilov <vitaly-t@users.noreply.github.com>
Ratikesh Misra <ratikesh92@gmail.com>
Alex Perkins <aperkin@rei.com>
Beth Griggs <bgriggs@redhat.com>
Beth Griggs <bethanyngriggs@gmail.com>
Joe Esposito <joe@joeyespo.com>
Erin Spiceland <yes@erin.codes>
Ravindra Barthwal <ravindrabarthwal@users.noreply.github.com>
Expand Down Expand Up @@ -1784,7 +1784,7 @@ Christopher Sidebottom <chris@damouse.co.uk>
Edward Andrew Robinson <earobinson@gmail.com>
Shakeel Mohamed <contact@shakeel.xyz>
Tobias Kieslich <tobias.kieslich@gmail.com>
Ruy Adorno <ruyadorno@hotmail.com>
Ruy Adorno <ruyadorno@google.com>
Stefania Sharp <stefaniasharp@gmail.com>
Pawel Golda <pawelgolda@gmail.com>
Steven Scott <Contact@TheDgtl.net>
Expand Down Expand Up @@ -2694,7 +2694,7 @@ Yann Hamon <yann.hamon@contentful.com>
Ben Swinburne <ben.swinburne@gmail.com>
Colin Prince <col@colinprince.com>
TJKoury <TJKoury@gmail.com>
dnlup <dwon.dnl@gmail.com>
dnlup <dnlup.dev@gmail.com>
Hang Jiang <jianghangscu@gmail.com>
Vladislav Kaminsky <wlodzislav@outlook.com>
Daiki Ihara <sasurau4@gmail.com>
Expand Down Expand Up @@ -3457,7 +3457,7 @@ Yagiz Nizipli <yagiz@nizipli.com>
liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
Sergey Nazaryev <sergey@nazaryev.com>
William Marlow <william.marlow@ibm.com>
Keyhan Vakil <60900335+airtable-keyhanvakil@users.noreply.github.com>
Keyhan Vakil <kvakil@sylph.kvakil.me>
Feng Yu <F3n67u@outlook.com>
pupilTong <pupiltong@outlook.com>
rikapo <rikaporori@gmail.com>
Expand Down Expand Up @@ -3490,5 +3490,43 @@ John Gee <john@ruru.gen.nz>
Hrishikesh Kadam <hrkadam.92@gmail.com>
KrayzeeKev <github@lentinfamily.com>
Airing <airing@ursb.me>
jiahao.si <sijiahao0839@gmail.com>
Rhys <Anemy@users.noreply.github.com>
Mark S. Miller <erights@users.noreply.github.com>
Jianru Lin <jianru.lin@gmail.com>
Lenvin Gonsalves <41874033+98lenvi@users.noreply.github.com>
Andreu Botella <andreu@andreubotella.com>
shhh7612 <82669765+shhh7612@users.noreply.github.com>
Dominic Saadi <dominiceliassaadi@gmail.com>
ywave620 <60539365+ywave620@users.noreply.github.com>
NicoNekoru <66227158+NicoNekoru@users.noreply.github.com>
SADIK KUZU <sadikkuzu@hotmail.com>
flakey5 <73616808+flakey5@users.noreply.github.com>
Saurabh Daware <saurabhdaware99@gmail.com>
BuShe <bushe.cn@icloud.com>
Nick Sia <nicholas.sia@vgw.co>
Basit Chonka <baasit121@icloud.com>
Jeremiah Gowdy <jgowdy@godaddy.com>
Matthew Peveler <matt.peveler@gmail.com>
Wing <damianleung@gmail.com>
Hana <andywangsy@gmail.com>
Jeff Dickey <216188+jdxcode@users.noreply.github.com>
Matías Zúñiga <matias.nicolas.zc@gmail.com>
metonym <ericyl.us@gmail.com>
Brian Evans <53117772+mrbrianevans@users.noreply.github.com>
falsandtru <falsandtru@users.noreply.github.com>
东灯 <43312495+Lampese@users.noreply.github.com>
Fabian Meyer <3982806+meyfa@users.noreply.github.com>
StefanStojanovic <StefanStojanovic@users.noreply.github.com>
Claudio Wunder <cwunder@gnome.org>
Shrujal Shah <shrujalshah@hotmail.com>
Taha-Chaudhry <46199675+Taha-Chaudhry@users.noreply.github.com>
smitley <brandon.smitley@gmail.com>
Brian Muenzenmeyer <Brian.Muenzenmeyer@target.com>
sidwebworks <xodedeveloper@gmail.com>
Connor Burton <me@connorburton.com>
chexiongsheng <chexiongsheng@qq.com>
Lucas Santos <lhs.santoss@gmail.com>
“Pooja <pakcutie14@gmail.com>

# Generated by tools/update-authors.mjs
14 changes: 9 additions & 5 deletions BUILDING.md
Expand Up @@ -37,7 +37,7 @@ file a new issue.
* [Option 1: Manual install](#option-1-manual-install)
* [Option 2: Automated install with Boxstarter](#option-2-automated-install-with-boxstarter)
* [Building Node.js](#building-nodejs-2)
* [Android/Android-based devices (e.g. Firefox OS)](#androidandroid-based-devices-eg-firefox-os)
* [Android](#android)
* [`Intl` (ECMA-402) support](#intl-ecma-402-support)
* [Build with full ICU support (all locales supported by ICU)](#build-with-full-icu-support-all-locales-supported-by-icu)
* [Unix/macOS](#unixmacos)
Expand Down Expand Up @@ -633,6 +633,7 @@ Set-ExecutionPolicy Unrestricted -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1'))
get-boxstarter -Force
Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/HEAD/tools/bootstrap/windows_boxstarter -DisableReboots
refreshenv
```

The entire installation using Boxstarter will take up approximately 10 GB of
Expand All @@ -659,22 +660,25 @@ To test if Node.js was built correctly:
> Release\node -e "console.log('Hello from Node.js', process.version)"
```

### Android/Android-based devices (e.g. Firefox OS)
### Android

Android is not a supported platform. Patches to improve the Android build are
welcome. There is no testing on Android in the current continuous integration
environment. The participation of people dedicated and determined to improve
Android building, testing, and support is encouraged.

Be sure you have downloaded and extracted
[Android NDK](https://developer.android.com/tools/sdk/ndk/index.html) before in
[Android NDK](https://developer.android.com/ndk) before in
a folder. Then run:

```console
$ ./android-configure /path/to/your/android-ndk
$ make
$ source ./android-configure /path/to/your/android-ndk target_arch android_sdk_version
$ make -j4
```

The Android SDK version should be at least 24 (Android 7.0) and the target
architecture supports \[arm, arm64/aarch64, x86, x86\_64].

## `Intl` (ECMA-402) support

[Intl](https://github.com/nodejs/node/blob/HEAD/doc/api/intl.md) support is
Expand Down
34 changes: 33 additions & 1 deletion LICENSE
Expand Up @@ -55,7 +55,7 @@ The externally maintained libraries used by Node.js are:
"""
MIT License

Copyright (C) 2012-2020 by various contributors (see AUTHORS)
Copyright (C) 2012-2022 by various contributors (see AUTHORS)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -1713,3 +1713,35 @@ The externally maintained libraries used by Node.js are:
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""

- base64, located at deps/base64/base64/, is licensed as follows:
"""
Copyright (c) 2005-2007, Nick Galbreath
Copyright (c) 2013-2019, Alfred Klomp
Copyright (c) 2015-2017, Wojciech Mula
Copyright (c) 2016-2017, Matthieu Darbois
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -115,6 +115,7 @@ $(NODE_EXE) $(NODE_G_EXE): config.gypi out/Makefile
ln -fs out/${build_type}/$(NODE_EXE) $@; fi
else
ifeq ($(BUILD_WITH), ninja)
NINJA ?= ninja
ifeq ($(V),1)
NINJA_ARGS := $(NINJA_ARGS) -v
endif
Expand All @@ -124,11 +125,11 @@ else
NINJA_ARGS := $(NINJA_ARGS) $(filter -j%,$(MAKEFLAGS))
endif
$(NODE_EXE): config.gypi out/Release/build.ninja
ninja -C out/Release $(NINJA_ARGS)
$(NINJA) -C out/Release $(NINJA_ARGS)
if [ ! -r $@ ] || [ ! -L $@ ]; then ln -fs out/Release/$(NODE_EXE) $@; fi

$(NODE_G_EXE): config.gypi out/Debug/build.ninja
ninja -C out/Debug $(NINJA_ARGS)
$(NINJA) -C out/Debug $(NINJA_ARGS)
if [ ! -r $@ ] || [ ! -L $@ ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi
else
$(NODE_EXE) $(NODE_G_EXE):
Expand Down