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

v20.12.0 proposal #52212

Merged
merged 416 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
416 commits
Select commit Hold shift + click to select a range
8b97e2e
build: add `-flax-vector-conversions` to V8 build
targos Dec 24, 2023
4ffdd37
src: eliminate duplicate code in histogram.cc
jasnell Dec 25, 2023
cab7737
test: fix inconsistency write size in `test-fs-readfile-tostring-fail`
pluris Dec 25, 2023
f79ac33
util: pass invalidSubtypeIndex instead of trimmedSubtype to error
gaurishhs Dec 25, 2023
d76e16b
src: enter isolate before destructing IsolateData
bnoordhuis Dec 25, 2023
4be33b5
benchmark: remove dependency on unshipped tools
AdamMajer Dec 13, 2023
1b99a3f
deps: update zlib to 1.3.0.1-motley-40e35a7
nodejs-github-bot Dec 26, 2023
7d60877
deps: update brotli to 1.1.0
nodejs-github-bot Dec 27, 2023
4733c8e
src: refactor `GetCreationContext` calls
anonrig Dec 28, 2023
42b162b
test: replace forEach() with for...of
jialiu54321 Nov 7, 2023
25056f5
fs: fix fs.promises.realpath for long paths on Windows
sapphi-red Dec 28, 2023
b5bc597
doc: the GN files should use Node's license
zcbenz Dec 28, 2023
63bf8a6
watch: fix null `fileName` on windows systems
vnc5 Dec 28, 2023
5a72506
tools: update inspector_protocol to ca525fc
cola119 Dec 27, 2023
af11944
tools: update inspector_protocol to 547c5b8
cola119 Dec 27, 2023
cf029ca
tools: update inspector_protocol to 912eb68
cola119 Dec 27, 2023
6b85f5c
tools: update inspector_protocol to d7b099b
cola119 Dec 27, 2023
6863fb8
tools: update inspector_protocol to 2f51e05
cola119 Dec 27, 2023
fdb07d5
tools: update inspector_protocol to 9b4a4aa
cola119 Dec 27, 2023
b264dda
tools: update inspector_protocol to c488ba2
cola119 Dec 27, 2023
1da2e8d
tools: fix dep_updaters dir updates
targos Dec 29, 2023
0022767
src: add fast api for Histogram
jasnell Dec 29, 2023
e9080a9
test: replace foreach with for of
lucacapocci94-dev Dec 29, 2023
a98102a
test: replace forEach with for...of
Nov 18, 2023
06a6eef
test: replace forEach() with for...of
Nov 10, 2023
b616f6f
src,stream: improve WriteString
ywave620 Dec 30, 2023
3badc11
lib,src,permission: port path.resolve to C++
RafaelGSS Dec 30, 2023
5183e3a
watch: clarify that the fileName parameter can be null
lpinca Dec 30, 2023
ba0ffdd
build: fix for VScode "Reopen in Container"
ohhmm Dec 31, 2023
4dfbbb8
deps: update acorn to 8.11.3
nodejs-github-bot Jan 2, 2024
1d81699
deps: update corepack to 0.24.0
nodejs-github-bot Jan 2, 2024
2b24059
tools: update lint-md-dependencies to rollup@4.9.2
nodejs-github-bot Jan 2, 2024
c190a05
src: avoid draining platform tasks at FreeEnvironment
legendecas Jan 8, 2024
6ee5f50
test: fix flaky conditions for ppc64 SEA tests
richardlau Jan 11, 2024
f2dfe0f
test: add regression test for 51586
mcollina Jan 16, 2024
1cad0df
meta: move one or more collaborators to emeritus
nodejs-github-bot Jan 3, 2024
a653531
src: avoid shadowed string in fs_permission
codebytere Jan 3, 2024
287c2bc
meta: bump actions/stale from 8.0.0 to 9.0.0
dependabot[bot] Jan 3, 2024
e24aa7c
meta: bump github/codeql-action from 2.22.8 to 3.22.12
dependabot[bot] Jan 3, 2024
f4be49a
meta: bump actions/setup-node from 4.0.0 to 4.0.1
dependabot[bot] Jan 3, 2024
ae6fecb
meta: bump actions/setup-python from 4.7.1 to 5.0.0
dependabot[bot] Jan 3, 2024
e9276ba
meta: add .temp and .lock tags to ignore
RafaelGSS Jan 4, 2024
4adea6c
fs,test: add URL to string to fs.watch
RafaelGSS Jan 5, 2024
d8b86ad
build: update GN build files for ngtcp2
zcbenz Jan 5, 2024
42b4f0f
doc: fixup alignment of warning subsection
jasnell Jan 5, 2024
242139f
node-api: optimize napi_set_property for perf
mertcanaltin Dec 19, 2023
68e8b2c
crypto: use EVP_MD_fetch and cache EVP_MD for hashes
joyeecheung Jan 5, 2024
2e65389
src: do not read string out of bounds
zcbenz Jan 6, 2024
4372f6a
tools: remove deprecated python api
himself65 Sep 20, 2023
caf71e0
net: fix example IPv4 in dns docs
Uzlopak Jan 7, 2024
e658208
tools: remove openssl v1 update script
marco-ippolito Jan 7, 2024
1e40f55
doc: add missing word in `child_process.md`
joseph0007 Jan 7, 2024
8610207
tools: update lint-md-dependencies to rollup@4.9.4
nodejs-github-bot Jan 7, 2024
f301f82
doc: improve subtests documentation
marco-ippolito Jan 7, 2024
4ce2ecb
tools: fix version parsing in brotli update script
richardlau Jan 7, 2024
50ec55c
src: refactor `GetCreationContext` calls
pluris Jan 7, 2024
6b08d00
http2: receive customsettings
martenrichter Jan 7, 2024
954e2f2
test: remove unneeded common.expectsError for asserts
AndresMorelos Jan 7, 2024
bd183ef
deps: add nghttp3/**/.deps to .gitignore
lpinca Jan 8, 2024
401837b
doc: fix some policy scope typos
timkuijsten Jan 8, 2024
4c8fa3e
deps: update uvwasi to 0.0.20 and fixup tests
mhdawson Jan 3, 2024
a09f440
doc: add check for security reverts
mhdawson Jan 4, 2024
834bbfd
deps: update c-ares to 1.25.0
nodejs-github-bot Jan 5, 2024
0fb9843
node-api: move NAPI_EXPERIMENTAL definition to gyp file
gabrielschulhof Jan 10, 2024
5235aaf
tools: update github_reporter to 1.5.4
nodejs-github-bot Jan 10, 2024
43a8d3e
module: fix `--preserve-symlinks-main`
per4uk Jan 10, 2024
6385c7a
tools: update inspector_protocol to 83b1154
cola119 Jan 11, 2024
a727fa7
deps: upgrade npm to 10.3.0
npm-cli-bot Jan 11, 2024
4a8a012
meta: move RaisinTen to emeritus and remove from strategic initiatives
RaisinTen Jan 12, 2024
292d017
test: add URL tests to fs-write
RafaelGSS Jan 12, 2024
2a92196
src: do not coerce dotenv paths
tniessen Jan 12, 2024
0861498
http2: add server handshake utility
devsnek Jan 12, 2024
5ba4d96
http2: add h2 compat support for appendHeader
pimterry Jan 12, 2024
58d2442
doc: fix spelling mistake
u9g Jan 14, 2024
0dffb9f
doc: add links in `offboarding.md`
aduh95 Jan 14, 2024
59af1d7
tools: update lint-md-dependencies to rollup@4.9.5
nodejs-github-bot Jan 14, 2024
bff7e3c
lib: remove unnecessary refreshHrtimeBuffer()
joyeecheung Jan 14, 2024
97470b1
tools: do not pass invalid flag to C compiler
targos Jan 9, 2024
c9dad18
deps: compile c-ares with C11 support
targos Jan 9, 2024
e51221b
meta: move one or more collaborators to emeritus
nodejs-github-bot Jan 15, 2024
e8dc5ac
tools: limit parallelism with ninja in V8 builds
richardlau Jan 17, 2024
713afed
test: remove test-file-write-stream4 flaky designation
lpinca Jan 17, 2024
3532f55
doc: add notes on inspector breakpoints
legendecas Jan 18, 2024
bdd3a2a
doc: update typos
big-kahuna-burger Jan 18, 2024
76968ab
doc: remove reference to resolved child_process v8 issue
isker Jan 18, 2024
c621491
module: fix crash when built-in module export a `default` key
aduh95 Jan 19, 2024
da79876
lib: allow checking the test result from afterEach
tims-bsquare Jan 19, 2024
ca73f55
deps: update base64 to 0.5.2
nodejs-github-bot Jan 19, 2024
96c480b
doc: fix type of connectionAttempt parameter
RafaelGSS Jan 19, 2024
dec0d5d
doc: fix historical experimental fetch flag
kenrick95 Jan 20, 2024
a5afad2
src: terminate correctly double-quote in env variable
marco-ippolito Jan 20, 2024
1b7ccec
fs: update jsdoc for `filehandle.createWriteStream` and `appendFile`
pluris Jan 20, 2024
f91786b
meta: mark security-wg codeowner for deps folder
marco-ippolito Jan 21, 2024
1c47da1
test,crypto: update WebCryptoAPI WPT
panva Jan 22, 2024
1d8e65a
test: use checkIfCollectableByCounting in SourceTextModule leak test
joyeecheung Jan 22, 2024
35675aa
deps: update acorn-walk to 8.3.2
nodejs-github-bot Jan 22, 2024
d0a6f35
stream: fix cloned webstreams not being unref correctly
tsctx Jan 23, 2024
dc8fe9e
src: add `process.loadEnvFile` and `util.parseEnv`
anonrig Jan 23, 2024
8b3ead1
build: remove copyright header in node.gni
zcbenz Jan 24, 2024
92fca59
async_hooks,inspector: implement inspector api without async_wrap
dygabo Jan 24, 2024
ce49cb6
tools: set normalizeTD text default to empty string
marco-ippolito Jan 24, 2024
e02dbf0
tools: fix loong64 build
shipujin Jan 24, 2024
bbd1351
fs: remove race condition for recursive watch on Linux
mcollina Jan 25, 2024
f6fcd20
test: mark test-http2-large-file as flaky
targos Jan 25, 2024
46d6dce
build: increase parallel executions in github
anonrig Jan 25, 2024
5fce1a1
build: check before removing %config% link
liudonghua123 Jan 25, 2024
af3f229
test: remove common.expectsError calls for asserts
opchaves Jan 25, 2024
481af53
doc: add lemire to collaborators
lemire Jan 26, 2024
133719b
deps: update googletest to 7c07a86
nodejs-github-bot Jan 27, 2024
50df052
doc: note that path.normalize deviates from POSIX
tniessen Jan 29, 2024
90068fb
meta: add .mailmap entry for lemire
lemire Jan 29, 2024
c2538e3
tools: update lint-md-dependencies to rollup@4.9.6
nodejs-github-bot Jan 30, 2024
1dae187
doc: fix `dns.lookup` and `dnsPromises.lookup` description
duncanchiu409 Jan 30, 2024
f94336f
repl: fix `NO_COLORS` env var is ignored
MoLow Jan 31, 2024
c3c0a3e
src: support multi-line values for .env file
IlyasShabi Jan 31, 2024
0fb079b
tools: run `build-windows` workflow only on source changes
aduh95 Jan 31, 2024
bd2a3c1
lib: define FormData and fetch etc. in the built-in snapshot
joyeecheung Jan 31, 2024
372ce69
deps: update ada to 2.7.5
nodejs-github-bot Jan 22, 2024
c23ce06
deps: update ada to 2.7.6
nodejs-github-bot Jan 30, 2024
94f8ee8
deps: update corepack to 0.24.1
nodejs-github-bot Jan 31, 2024
a6b3569
esm: improve error when calling `import.meta.resolve` from `data:` URL
aduh95 Jan 31, 2024
bca6dcc
test: remove test-fs-rmdir-recursive flaky designation
lpinca Feb 1, 2024
62707a9
src: fix vm bug for configurable globalThis
fhinkel Feb 1, 2024
b560bfb
http2: close idle connections when allowHTTP1 is true
xsbchen Feb 1, 2024
f871bc6
deps: update nghttp2 to 1.59.0
nodejs-github-bot Feb 1, 2024
287a02c
fs: load rimraf lazily in fs/promises
joyeecheung Feb 2, 2024
a58c98e
src: print string content better in BlobDeserializer
joyeecheung Nov 20, 2023
db0efa3
sea: support embedding assets
joyeecheung Nov 14, 2023
eea0d74
sea: support sea.getRawAsset()
joyeecheung Nov 28, 2023
8e84aad
build: use macOS m1 machines for testing
anonrig Feb 2, 2024
b3157a0
doc: clarify execution of `after` hook on test suite completion
ognjenjevremovic Feb 3, 2024
0aa18e1
deps: update googletest to 6a59382
nodejs-github-bot Feb 3, 2024
d0d5bd0
test: remove test-crypto-keygen flaky designation
lpinca Feb 3, 2024
ecfb3f1
doc: fix uncaught exception example
gabrielschulhof Feb 3, 2024
287bdf6
meta: bump github/codeql-action from 3.22.12 to 3.23.2
dependabot[bot] Feb 3, 2024
3d1dc9b
meta: bump actions/cache from 3.3.2 to 4.0.0
dependabot[bot] Feb 3, 2024
5382692
meta: bump step-security/harden-runner from 2.6.1 to 2.7.0
dependabot[bot] Feb 3, 2024
152a07b
meta: bump actions/upload-artifact from 4.0.0 to 4.3.0
dependabot[bot] Feb 3, 2024
2765077
meta: bump actions/download-artifact from 4.1.0 to 4.1.1
dependabot[bot] Feb 3, 2024
491f9f9
meta: bump codecov/codecov-action from 3.1.4 to 4.0.1
dependabot[bot] Feb 4, 2024
6631860
http: split set-cookie when using setHeaders
marco-ippolito Feb 4, 2024
170278c
test: remove duplicate entry for flaky test
lpinca Feb 5, 2024
c9974f6
deps: update c-ares to 1.26.0
nodejs-github-bot Feb 5, 2024
c7ae13e
tools: update github_reporter to 1.6.0
nodejs-github-bot Feb 6, 2024
1f15af4
tools: update lint-md-dependencies to rollup@4.10.0
nodejs-github-bot Feb 11, 2024
140cf26
doc: document the GN build
zcbenz Feb 12, 2024
9ddbe45
doc: updates for better json generating
Semigradsky Feb 13, 2024
8016628
doc: fix `globals.md` introduction
aduh95 Feb 15, 2024
9a68b47
doc: mark isWebAssemblyCompiledModule eol
marco-ippolito Jan 14, 2024
0211a3d
vm: support using the default loader to handle dynamic import()
joyeecheung Feb 1, 2024
4bc8e98
url: don't update URL immediately on update to URLSearchParams
MattIPv4 Feb 15, 2024
4f49e9d
build: build opt to set local location of headers
mhdawson Dec 13, 2023
06b882d
doc: update technical priorities for 2023
sheplu Apr 12, 2023
7e3ee82
test: fix `internet/test-inspector-help-page`
richardlau Feb 16, 2024
5202995
vm: implement isContext() directly in JS land with private symbol
joyeecheung Feb 16, 2024
3875fa1
src: check empty before accessing string
zcbenz Feb 16, 2024
3a3de00
doc: add entry to stewards
RafaelGSS Feb 16, 2024
f528e96
test: remove test-domain-error-types flaky designation
lpinca Feb 16, 2024
c33f860
test: remove test-cli-node-options flaky designation
lpinca Feb 17, 2024
d6e702f
build: encode non-ASCII Latin1 characters as one byte in JS2C
joyeecheung Feb 17, 2024
0761407
sea: update stability index
joyeecheung Feb 17, 2024
9ff0df1
test_runner: check if timeout was cleared by own callback
Benricheson101 Feb 18, 2024
a7a4cce
typings: lib/internal/vm.js
GeoffreyBooth Feb 19, 2024
ccdb011
doc: add zcbenz to collaborators
zcbenz Feb 20, 2024
fdc7d75
test: skip test-http-correct-hostname on loong64
shipujin Feb 4, 2024
d6e8d03
lib: create global console properties at snapshot build time
joyeecheung Feb 20, 2024
90391ff
src: compile code eagerly in snapshot builder
joyeecheung Feb 20, 2024
7639259
benchmark: rename startup.js to startup-core.js
joyeecheung Feb 5, 2024
6679e6b
lib: add assertion for user ESM execution
joyeecheung Feb 21, 2024
597e3db
doc: add mention to GPG_TTY
RafaelGSS Feb 21, 2024
3240a2f
doc: reserve 123 for Electron 30
VerteDinde Feb 19, 2024
740d067
doc: add Paolo to TSC members
mhdawson Feb 21, 2024
853b48d
test: remove test-fs-stat-bigint flaky designation
lpinca Feb 22, 2024
be40c82
src: simplify embedder entry point execution
joyeecheung Feb 23, 2024
2176495
build: fix building js2c with GN
zcbenz Feb 21, 2024
93fcf52
build: fix warning in cares under GN build
zcbenz Feb 7, 2024
ffe467b
build,tools: make addons tests work with GN
zcbenz Nov 16, 2023
012da16
build: do not rely on gn_helpers in GN build
zcbenz Jan 11, 2024
06a29f8
node-api: make napi_get_buffer_info check if passed buffer is valid
Janrupf Feb 23, 2024
3fe59ba
inspector: add NodeRuntime.waitingForDebugger event
mmarchini Feb 23, 2024
dd708d3
test: split wasi tests
joyeecheung Feb 24, 2024
7eb6930
tools: disable automated libuv updates
RafaelGSS Feb 24, 2024
963d7d7
test: fix test-child-process-fork-net
joyeecheung Feb 23, 2024
e4c7d62
test: ensure delay in recursive fs watch tests
joyeecheung Feb 23, 2024
4118174
build: remove `librt` libs link for Android compatibility
MeowShe Feb 25, 2024
d27e811
tools: fix missing [[fallthrough]] in js2c
zcbenz Feb 25, 2024
d16b235
tools: update lint-md-dependencies to rollup@4.12.0
nodejs-github-bot Feb 18, 2024
38343c4
deps: update c-ares to 1.27.0
nodejs-github-bot Feb 25, 2024
587e70e
deps: update corepack to 0.25.2
nodejs-github-bot Feb 25, 2024
dd0f164
test: fix test-bootstrap-modules for coverage generation
joyeecheung Feb 20, 2024
a0b36e3
test: fix test-debugger-profile for coverage generation
joyeecheung Feb 20, 2024
48959dd
crypto: update root certificates to NSS 3.98
nodejs-github-bot Feb 25, 2024
d90594a
test: deflake test-http2-large-write-multiple-requests
joyeecheung Feb 23, 2024
9082cc5
lib: do not access process.noDeprecation at build time
joyeecheung Feb 26, 2024
861e040
lib,src: extract sourceMappingURL from module
unbyte Feb 6, 2024
c501346
util: add styleText API to text formatting
RafaelGSS Feb 26, 2024
3dfee7e
doc: change `ExperimentalWarnings` to `ExperimentalWarning`
akaustav Feb 26, 2024
696063a
src: stop the profiler and the inspector before snapshot serialization
joyeecheung Feb 20, 2024
cea90dc
test_runner: add ref methods to mocked timers
marco-ippolito Feb 26, 2024
6bf148e
http: fix `close` return value mismatch between doc and implementation
kylo5aby Feb 26, 2024
d9b5cd5
events: no stopPropagation call in cancelBubble
Oct 26, 2023
f07605f
tools: update eslint to 8.57.0
nodejs-github-bot Feb 27, 2024
7894989
lib: move encodingsMap to internal/util
joyeecheung Dec 4, 2023
448d671
crypto: implement crypto.hash()
joyeecheung Jan 5, 2024
b7ce547
doc: update guide link for Event Loop
shrujalshah28 Feb 27, 2024
870ef5a
net: fix connect crash when call destroy in lookup handler
theanarkh Feb 27, 2024
a74c373
doc: add website team to sharing project news
UlisesGascon Feb 27, 2024
306c1d3
src: simplify direct queries of env vars in C++ land
joyeecheung Feb 27, 2024
7931c3b
stream: fix eventNames() to not return not defined events
IlyasShabi Feb 27, 2024
1b2e3b7
benchmark: update iterations of benchmark/assert/deepequal-map.js
lucshi Feb 28, 2024
40fda97
benchmark: update iterations of assert/deepequal-typedarrays.js
lucshi Feb 28, 2024
b52b249
doc: update node-api/node-addon-api team link to sharing project news
UlisesGascon Feb 28, 2024
473af94
doc: remove redundant backquote which breaks sentence
JounQin Feb 28, 2024
a62b042
meta: move one or more collaborators to emeritus
nodejs-github-bot Feb 28, 2024
e192ba1
perf_hooks: performance milestone time origin timestamp improvement
IlyasShabi Feb 28, 2024
91c8624
test_runner: serialize 'expected' and 'actual' in isolation
malthe Feb 29, 2024
55011d2
lib: only build the ESM facade for builtins when they are needed
joyeecheung Feb 5, 2024
208dd88
deps: upgrade npm to 10.5.0
npm-cli-bot Feb 29, 2024
da8fa48
lib: fix http client socket path
theanarkh Feb 29, 2024
dcbf88f
lib: account for cwd access from snapshot serialization cb
addaleax Feb 29, 2024
136b6a9
test: fix unreliable assumption in js-native-api/test_cannot_run_js
joyeecheung Mar 1, 2024
f4ac7ba
tools: fix installing node with shared mode
zcbenz Mar 1, 2024
276d1d1
doc: add stability index to crypto.hash()
joyeecheung Mar 5, 2024
3be5ff9
lib: return directly if udp socket close before lookup
theanarkh Mar 1, 2024
9b164c6
src: fix --disable-single-executable-application
joyeecheung Feb 19, 2024
f37648e
test: skip SEA tests when SEA generation fails
joyeecheung Feb 26, 2024
93d6d66
doc: clarify Corepack threat model
aduh95 Mar 1, 2024
3f85c7a
test: remove flaky designation
lpinca Mar 2, 2024
90da415
doc,module: clarify hook chain execution sequence
JakobJingleheimer Mar 2, 2024
fc0b389
doc: fix actual result of example is different in events
deokjinkim Mar 2, 2024
6fd1617
doc: add policy for distribution
GeoffreyBooth Mar 3, 2024
0a7419b
Revert "build: fix warning in cares under GN build"
lpinca Mar 3, 2024
44f05e0
lib: make sure close net server
theanarkh Mar 3, 2024
f3fa2b7
meta: bump actions/setup-node from 4.0.1 to 4.0.2
dependabot[bot] Mar 3, 2024
9249042
meta: bump actions/download-artifact from 4.1.1 to 4.1.3
dependabot[bot] Mar 3, 2024
2ddec64
meta: bump actions/cache from 4.0.0 to 4.0.1
dependabot[bot] Mar 3, 2024
1db603d
meta: bump codecov/codecov-action from 4.0.1 to 4.1.0
dependabot[bot] Mar 3, 2024
1783b93
meta: bump actions/upload-artifact from 4.3.0 to 4.3.1
dependabot[bot] Mar 3, 2024
960d67c
meta: bump github/codeql-action from 3.23.2 to 3.24.6
dependabot[bot] Mar 3, 2024
0ad88f6
test: fix flaky http-chunk-extensions-limit test
Ethan-Arrowood Mar 3, 2024
58255e7
build: respect the `NODE` env variable in `Makefile`
aduh95 Mar 3, 2024
350e9fe
benchmark: update iterations of benchmark/domain/domain-fn-args.js
lucshi Mar 4, 2024
029ca98
benchmark: update iterations of benchmark/async_hooks/async-local-
lucshi Mar 4, 2024
df0213f
deps: update nghttp2 to 1.60.0
nodejs-github-bot Mar 5, 2024
9f5547a
Revert "build: workaround for node-core-utils"
richardlau Mar 5, 2024
60f008b
test: reduce flakiness of `test-runner-output`
aduh95 Mar 5, 2024
51ea5b6
build: fix arm64 host cross-compilation in GN
zcbenz Feb 28, 2024
905c48f
test: add regression test for test_runner after hook
cjihrig Mar 7, 2024
16d8cd5
stream: do not defer construction by one microtick
mcollina Mar 7, 2024
94fb854
2024-03-26, Version 20.12.0 'Iron' (LTS)
richardlau Mar 25, 2024
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: 0 additions & 1 deletion .devcontainer/Dockerfile

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "Node.js Core Developer Environment",
"extensions": [
"github.vscode-pull-request-github",
"ms-vsliveshare.vsliveshare",
"vscode-icons-team.vscode-icons",
"visualstudioexptteam.vscodeintellicode"
"github.vscode-pull-request-github",
"ms-vsliveshare.vsliveshare",
"vscode-icons-team.vscode-icons",
"visualstudioexptteam.vscodeintellicode"
],
"dockerFile": "Dockerfile",
"image": "nodejs/devcontainer:nightly",
"initializeCommand": "docker system prune -f -a",
"settings": {
"terminal.integrated.profiles.linux": {
Expand Down
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/CONTRIBUTING.md @nodejs/tsc
/doc/contributing/*.md @nodejs/tsc
/GOVERNANCE.md @nodejs/tsc
/SECURITY.md @nodejs/tsc
/LICENSE @nodejs/tsc
/onboarding.md @nodejs/tsc

Expand Down Expand Up @@ -124,7 +125,7 @@

# Startup

/benchmark/misc/startup.js @nodejs/startup
/benchmark/misc/startup-* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/src/node_builtins* @nodejs/startup
/src/node_realm* @nodejs/startup @nodejs/realm
Expand Down Expand Up @@ -173,6 +174,7 @@
/.github/workflows/tools.yml @nodejs/security-wg
/.github/workflows/update-openssl.yml @nodejs/security-wg
/.github/workflows/update-v8.yml @nodejs/security-wg @nodejs/v8-update
/deps @nodejs/security-wg
/tools/dep_updaters/* @nodejs/security-wg

# Web Standards
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ on:

concurrency: ${{ github.workflow }}

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

permissions:
contents: read
Expand Down Expand Up @@ -51,7 +50,7 @@ jobs:
persist-credentials: false

- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -57,7 +57,7 @@ jobs:
mkdir tarballs
mv *.tar.gz tarballs
- name: Upload tarball artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: tarballs
path: tarballs
Expand All @@ -69,13 +69,13 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Download tarball
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # v4.1.3
with:
name: tarballs
path: tarballs
Expand All @@ -90,8 +90,8 @@ jobs:
- name: Build
run: |
cd $TAR_DIR
make build-ci -j2 V=1
make build-ci -j4 V=1
- name: Test
run: |
cd $TAR_DIR
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
24 changes: 15 additions & 9 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,27 @@ name: Build Windows

on:
pull_request:
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'
paths:
- lib/**/*.js
- Makefile
- src/**/*.cc
- src/**/*.h
- tools/gyp/**
- .github/workflows/build-windows.yml
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build-windows.yml'
paths:
- lib/**/*.js
- Makefile
- src/**/*.cc
- src/**/*.h
- tools/gyp/**
- .github/workflows/build-windows.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -42,7 +48,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stalled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 30
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
persist-credentials: false
- run: git reset HEAD^2
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Validate commit message
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

# Install dependencies
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install @node-core/utils
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand All @@ -68,6 +68,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
with:
directory: ./coverage
8 changes: 4 additions & 4 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand All @@ -68,6 +68,6 @@ jobs:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
- name: Upload
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
with:
directory: ./coverage
4 changes: 2 additions & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand All @@ -67,6 +67,6 @@ jobs:
- name: Clean tmp
run: npx rimraf ./coverage/tmp
- name: Upload
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
with:
directory: ./coverage
8 changes: 4 additions & 4 deletions .github/workflows/daily-wpt-fyi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
Expand All @@ -45,7 +45,7 @@ jobs:
run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '[.[] | select(.files[] | contains("linux-x64"))][0].version')" >> $GITHUB_ENV
- name: Install Node.js
id: setup-node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NIGHTLY || matrix.node-version }}
check-latest: true
Expand Down Expand Up @@ -121,10 +121,10 @@ jobs:
run: cp wptreport.json wptreport-${{ steps.setup-node.outputs.node-version }}.json
- name: Upload GitHub Actions artifact
if: ${{ env.WPT_REPORT != '' }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
path: out/wpt/wptreport-*.json
name: WPT Reports
name: WPT Report for ${{ steps.setup-node.outputs.node-version }}
if-no-files-found: error
- name: Upload WPT Report to wpt.fyi API
if: ${{ env.WPT_REPORT != '' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Build
run: NODE=$(command -v node) make doc-only
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: docs
path: out/doc
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 @@ -25,7 +25,7 @@ jobs:
persist-credentials: false

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}

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 @@ -34,7 +34,7 @@ jobs:
repository: nodejs/TSC

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down