Skip to content

[pull] main from nodejs:main #1

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

Open
wants to merge 2,435 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
2435 commits
Select commit Hold shift + click to select a range
e74e065
src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>
Aditi-1400 Apr 16, 2025
ad3e835
src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>
Aditi-1400 Apr 16, 2025
e800f00
src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>
Aditi-1400 Apr 16, 2025
cb5f671
test_runner: add global setup and teardown functionality
pmarchini Apr 16, 2025
02edc31
deps: update timezone to 2025b
nodejs-github-bot Apr 16, 2025
e61937b
util: add `types.isFloat16Array()`
LiviaMedeiros Apr 16, 2025
c11c7be
crypto: forbid passing `Float16Array` to `getRandomValues()`
LiviaMedeiros Apr 17, 2025
33d8e03
worker: add worker.getHeapStatistics()
mcollina Apr 17, 2025
d8e9e05
util: fix formatting of objects with built-in Symbol.toPrimitive
islandryu Apr 17, 2025
9d6626a
lib: fix AbortSignal.any() with timeout signals
gurgunday Apr 17, 2025
ffb9bfb
src: add ExecutionAsyncId getter for any Context
szegedi Apr 17, 2025
782c2e0
doc: mark devtools integration section as active development
legendecas Apr 17, 2025
963b24e
process: disable building execve on IBM i
abmusse Apr 18, 2025
6cdcaa9
test: enable skipped colorize test
islandryu Apr 18, 2025
52d95f5
deps: update zlib to 1.3.0.1-motley-780819f
nodejs-github-bot Apr 18, 2025
63640eb
src: fix typo in comments
geeksilva97 Apr 19, 2025
2b76dca
build: remove redundant `-mXX` flags for V8
targos Apr 19, 2025
733e0fc
assert,util: fix constructor lookup in deep equal comparison
BridgeAR Apr 19, 2025
2cff98c
build: fix missing files warning
lpinca Apr 19, 2025
2acc8bc
http2: fix graceful session close
pandeykushagra51 Apr 19, 2025
c326200
node-api: convert NewEnv to node_napi_env__::New
vmoroz Apr 19, 2025
afd318d
assert: support `Float16Array` in loose deep equality checks
LiviaMedeiros Apr 19, 2025
e273ddf
deps: update undici to 7.8.0
nodejs-github-bot Apr 19, 2025
609df89
http2: session tracking and graceful server close
pandeykushagra51 Mar 21, 2025
0699a99
worker: add ESM version examples to worker docs
fisker Apr 19, 2025
25842c5
build: use clang-cl in coverage-windows workflow
targos Apr 19, 2025
7102ea1
os: fix netmask format check condition in getCIDR function
HBSPS Apr 20, 2025
2e0ec72
sqlite: add getter to detect transactions
cjihrig Apr 20, 2025
422529a
test: force GC in test-file-write-stream4
lpinca Apr 20, 2025
e773e09
src: fixup errorhandling more in various places
jasnell Apr 21, 2025
99dc2d3
tools: add semver-major release support to release-lint
aduh95 Apr 21, 2025
64d9b7c
util: fix parseEnv handling of invalid lines
AugustinMauroy Apr 21, 2025
e9b286c
sqlite: add location method
geeksilva97 Apr 21, 2025
9761584
deps: update simdutf to 6.5.0
nodejs-github-bot Apr 22, 2025
085b028
deps: update zstd to 1.5.7
nodejs-github-bot Apr 22, 2025
a365da6
meta: fix subsystem in commit title
lpinca Apr 22, 2025
d12ee6e
src: improve thread safety of TaskQueue
codebytere Apr 22, 2025
d74c498
2025-04-22, Version 20.19.1 'Iron' (LTS)
nodejs-github-bot Apr 16, 2025
6bf7fd7
crypto: fix cross-realm check of `ArrayBuffer`
fforbeck Apr 22, 2025
fba9c27
test: rename to getCallSites
iwuliz Apr 20, 2025
367d593
src: change DCHECK to CHECK
iwuliz Apr 20, 2025
1c0a405
src: avoid calling SetPrototypeV2()
anonrig Apr 22, 2025
1720b18
src: move windows specific fns to `_WIN32`
anonrig Apr 22, 2025
68cc1c9
src: add dcheck_eq for Object::New constructor calls
JonasBa Apr 22, 2025
8e7f32f
readline: add stricter validation for functions called after closed
dario-piotrowicz Mar 29, 2025
71f8c3b
2025-04-23, Version 22.15.0 'Jod' (LTS)
RafaelGSS Apr 11, 2025
d19437d
doc: fix linter errors
aduh95 Apr 23, 2025
7bc37af
src: fix -Wunreachable-code-return in node_sea
codebytere Apr 23, 2025
bd3f271
meta: allow penetration testing on live system with prior authorization
mcollina Apr 23, 2025
555aeb3
test: deflake test-http2-options-max-headers-block-length
lpinca Apr 24, 2025
2c315d2
doc: fix `AsyncLocalStorage` example response changes after node v18
ntedgi Apr 24, 2025
5d15cbb
crypto: fix cross-realm `SharedArrayBuffer` validation
aduh95 Apr 24, 2025
b665127
watch: clarify completion/failure watch mode messages
dario-piotrowicz Apr 24, 2025
1b5b12c
tools: ignore test directory in CodeQL scans
Trott Apr 24, 2025
6db150d
doc: correct deprecation type of `assert.CallTracker`
Renegade334 Apr 24, 2025
4c764c8
doc: reserve module version 136 for Electron 37
clavin Apr 24, 2025
9cc0195
http2: use args.This() instead of args.Holder()
joyeecheung Apr 25, 2025
25fe802
src: use ranges library (C++20) to simplify code
lemire Apr 25, 2025
3b90f34
node-api: add nested object wrap and napi_ref test
legendecas Apr 25, 2025
b673c69
Revert "readline: add stricter validation for functions called after …
dario-piotrowicz Apr 25, 2025
3e996df
build: fix zstd libname
aduh95 Apr 26, 2025
cf896c3
test_runner: support mocking json modules
JakobJingleheimer Apr 26, 2025
a8a86b3
lib: resolve the issue of not adhering to the specified buffer size
0hmX Apr 26, 2025
4cd8e19
http2: add raw header array support to h2Session.request()
pimterry Apr 17, 2025
e716081
test: add ALS test using http agent keep alive
Flarna Apr 27, 2025
f114dbe
src: improve error handling in cares_wrap
jasnell Apr 19, 2025
49bb0ae
src: use macros to reduce code duplication is cares_wrap
jasnell Apr 19, 2025
145c6a2
test: add fast api tests for getLibuvNow()
anonrig Apr 27, 2025
647175e
buffer: move SlowBuffer to EOL
jasnell Apr 24, 2025
e0cf8ae
url: improve canParse() performance for non-onebyte strings
anonrig Apr 27, 2025
c1b15a4
esm: graduate import.meta properties
jasnell Apr 24, 2025
e86adad
test: use validateByRetainingPath in heapdump tests
joyeecheung Mar 11, 2025
6e60ab7
src: annotate BaseObjects in the heap snapshots correctly
joyeecheung Mar 11, 2025
c712dd2
build: define python when generating `out/Makefile`
avivkeller Apr 27, 2025
8e7ae60
async_hooks: enable AsyncLocalStorage once constructed
legendecas Apr 27, 2025
6cd1c09
src: fix EnvironmentOptions.async_context_frame default value
legendecas Apr 27, 2025
067a779
tools: enable CodeQL config file
Trott Apr 28, 2025
53abd1a
test: add missing newlines to repl .exit writes
dario-piotrowicz Apr 28, 2025
a36981a
test: update WPT for WebCryptoAPI to b48efd681e
nodejs-github-bot Apr 29, 2025
3a19a71
deps: update ada to 3.2.3
nodejs-github-bot Apr 29, 2025
2fe23af
doc: fix typo in `buffer.md`
chocolateboy Apr 29, 2025
44b4354
build: downgrade armv7 support to experimental
targos Apr 29, 2025
084a912
buffer: improve byteLength performance
anonrig Apr 29, 2025
adc948a
buffer: avoid creating unnecessary environment
anonrig Apr 29, 2025
5ed1bcb
src: fix internalModuleStat v8 fast path
anonrig Apr 29, 2025
6876607
src: remove unused detachArrayBuffer method
anonrig Apr 29, 2025
397802e
doc: add returns for https.get
Juneezee Apr 29, 2025
99c2c90
benchmark: disambiguate `filename` and `dirname` read perf
aduh95 Apr 29, 2025
50cfc6c
esm: avoid `import.meta` setup costs for unused properties
aduh95 Apr 29, 2025
a7cbb90
lib: avoid StackOverflow on `serializeError`
legendecas Apr 29, 2025
e61aa0c
build: use `$(BUILDTYPE)` when cleaning coverage files
avivkeller Apr 30, 2025
2244a09
doc,build,win: update docs with clang
StefanStojanovic Apr 30, 2025
102d8cf
src: improve parsing of boolean options
geeksilva97 Apr 30, 2025
fc054bb
doc: fix env variable name in `util.styleText`
aduh95 May 1, 2025
430027c
doc: fix formatting of `import.meta.filename` section
aduh95 May 1, 2025
2b4f554
test: prevent extraneous HOSTNAME substitution in test-runner-output
Renegade334 May 1, 2025
c240c03
doc: add dario-piotrowicz to collaborators
dario-piotrowicz May 1, 2025
fca4107
tools: ignore V8 tests in CodeQL scans
Trott May 2, 2025
4c93107
doc: mark Node.js 18 as End-of-Life
richardlau May 2, 2025
918fe04
deps: update V8 to 13.6.233.8
targos Apr 29, 2025
bba72e0
build: reset embedder string to "-node.0"
targos Apr 29, 2025
b7b1790
src: update NODE_MODULE_VERSION to 137
targos Apr 29, 2025
91617e7
deps: patch V8 to avoid duplicated zlib symbol
targos Sep 16, 2023
395b917
deps: fix FP16 bitcasts.h
StefanStojanovic May 28, 2024
4adcd59
deps: define V8_PRESERVE_MOST as no-op on Windows
StefanStojanovic Dec 16, 2024
69aa19e
deps: remove problematic comment from v8-internal
targos Mar 19, 2025
c951b76
deps: patch V8 for illumos
danmcd Apr 18, 2025
4d7da6c
deps: use std::map in MSVC STL for EphemeronRememberedSet
joyeecheung Apr 28, 2025
57699ff
deps: disable V8 concurrent sparkplug compilation
targos Apr 6, 2023
ffadf35
deps: always define V8_EXPORT_PRIVATE as no-op
targos Sep 21, 2022
0f98039
deps: patch V8 to support compilation with MSVC
StefanStojanovic Apr 21, 2024
d58f474
deps: V8: backport 954187bb1b87
joyeecheung Apr 24, 2025
4805586
build: remove support for s390 32-bit
richardlau Sep 18, 2024
f0af4df
build: enable shared RO heap with ptr compression
targos Sep 21, 2024
0c089ce
tools: update V8 gypfiles for 13.1
targos Sep 25, 2024
bd198ea
tools: update V8 gypfiles for 13.2
targos Oct 28, 2024
cff3fa5
build,src,tools: adapt build config for V8 13.3
targos Dec 19, 2024
e9a7532
tools: update V8 gypfiles for 13.4
targos Jan 20, 2025
96c5ee1
build: add `/bigobj` to compile V8 on Windows
targos Feb 5, 2025
0136bb0
src: replace uses of FastApiTypedArray
targos Feb 8, 2025
c4fd37a
Revert "test: disable fast API call count checks"
targos Jan 31, 2025
4410e2b
test: update test-linux-perf-logger
targos Feb 4, 2025
71fdc59
test: adapt assert tests to stack trace changes
targos Dec 20, 2024
e61a0ce
test: handle explicit resource management globals
targos Dec 21, 2024
187fc5c
deps: remove deps/simdutf
targos Jan 29, 2025
25248a2
tools: update license-builder and LICENSE for V8 deps
targos Jan 29, 2025
742c0eb
src: use `v8::ExternalMemoryAccounter`
targos Feb 15, 2025
20feebb
src,test: add V8 API to test the hash seed
targos Feb 20, 2025
de8e7bd
build: pass `-fPIC` to linker as well for shared builds
targos Apr 2, 2025
7963548
build: fix V8 TLS config for shared lib builds
targos Apr 3, 2025
7557584
tools: update V8 gypfiles for 13.5
targos Feb 25, 2025
85a397f
tools: update V8 gypfiles for 13.6
targos Apr 5, 2025
248b1f4
build: update list of installed cppgc headers
targos Apr 6, 2025
a2d157e
test: fix test-fs-write for V8 13.6
targos Apr 9, 2025
9aa1afb
src: use V8-owned CppHeap
joyeecheung May 29, 2024
0e68481
src: use non-deprecated Utf8LengthV2() method
anonrig Apr 17, 2025
3ec86eb
src: use non-deprecated WriteUtf8V2() method
anonrig Apr 17, 2025
5d3e1b5
src,test: unregister the isolate after disposal and before freeing
joyeecheung Apr 21, 2025
743fba5
benchmark: add sqlite prepare insert
H4ad Apr 26, 2025
013d326
benchmark: add sqlite is transaction
H4ad Apr 26, 2025
a6709a1
benchmark: add sqlite prepare select all
H4ad Apr 26, 2025
f552c86
benchmark: add sqlite prepare select get
H4ad Apr 26, 2025
abfb7cc
doc: fix typo of file `zlib.md`
samuel871211 May 3, 2025
723d7bb
url: improve performance of the format function
puskin May 3, 2025
70863fb
tools: bump the eslint group in /tools/eslint with 6 updates
dependabot[bot] May 3, 2025
92102c0
meta: bump actions/setup-python from 5.5.0 to 5.6.0
dependabot[bot] May 3, 2025
1b2bf2d
meta: bump actions/setup-node from 4.3.0 to 4.4.0
dependabot[bot] May 3, 2025
9acf6af
doc: add missing options.signal to readlinePromises.createInterface()
hkleungai May 3, 2025
40a657b
util: add internal `assignFunctionName()` function
LiviaMedeiros Apr 17, 2025
dd62456
child_process: give names to promisified `exec()` and `execFile()`
LiviaMedeiros Apr 17, 2025
a44ccac
http2: give name to promisified `connect()`
LiviaMedeiros Apr 17, 2025
5aad0a7
build: use //third_party/simdutf by default in GN
codebytere May 4, 2025
6de55f7
doc: update return types for eventNames method in EventEmitter
y-hsgw May 4, 2025
c2d8156
test: remove deadlock workaround
joyeecheung Apr 26, 2025
ddec63d
src: add more debug logs and comments in NodePlatform
joyeecheung May 2, 2025
fa3c0e0
src: use priority queue to run worker tasks
joyeecheung May 2, 2025
5fb879c
src: only block on user blocking worker tasks
joyeecheung May 2, 2025
96be783
repl: add possibility to edit multiline commands while adding them
puskin Apr 23, 2025
995ad2b
repl: add proper vertical cursor movements
puskin May 1, 2025
4db978b
benchmark: fix typo in method name for error-stack
miguelmarcondesf May 4, 2025
5ac126b
doc: fix typo in benchmark script path
miguelmarcondesf May 4, 2025
8ed450b
src: enable explicit resource management
targos May 4, 2025
f75a126
src: enable `Float16Array` on global object
targos May 4, 2025
c46b2b9
tools: exclude deps/v8/tools from CodeQL scans
Trott May 5, 2025
4acb854
watch: fix watch args not being properly filtered
dario-piotrowicz May 5, 2025
f275121
doc: fix misaligned options in vm.compileFunction()
hkleungai May 5, 2025
5f48fdd
test: reduce flakiness in test-heapdump-http2
joyeecheung May 5, 2025
6102159
test: fix watch tests not including completion messages
dario-piotrowicz May 6, 2025
7e24ebc
test_runner: unify --require and --import behavior when isolation none
pmarchini May 6, 2025
a6bc06f
build: escape > metachar in vcbuild
Flarna May 6, 2025
e272637
2025-05-06, Version 24.0.0 (Current)
RafaelGSS Mar 24, 2025
2c36ffe
buffer: use constexpr where possible
anonrig May 6, 2025
b0f2aa9
src: remove NonCopyableMaybe
tniessen May 6, 2025
a0d458e
async_hooks: ensure AsyncLocalStore instances work isolated
Flarna May 6, 2025
d93cff5
Revert "test: fix watch tests not including completion messages"
joyeecheung May 6, 2025
4bfcad1
Revert "watch: fix watch args not being properly filtered"
joyeecheung May 6, 2025
74c8358
build: use FILE_OFFSET_BITS=64 esp. on 32-bit arch
RafaelGSS Apr 30, 2025
9148e96
doc: add ambassaor message
bmuenzenmeyer Mar 23, 2025
b21574d
assert: move CallTracker to EOL
jasnell Apr 24, 2025
03f2a44
deps: update amaro to 0.5.3
nodejs-github-bot May 7, 2025
c96e96c
doc: add history entries to `--input-type` section
aduh95 May 7, 2025
4454d09
deps: update llhttp to 9.3.0
indutny May 7, 2025
0050add
crypto: merge CipherBase.initiv into constructor
tniessen May 7, 2025
5f252a4
test: skip test-buffer-tostring-rangeerror when low on memory
BridgeAR May 7, 2025
da69d13
Revert "buffer: move SlowBuffer to EOL"
panva May 7, 2025
1350ade
test: remove Float16Array flag
LiviaMedeiros May 7, 2025
535c2f7
sqlite: add build option to build without sqlite
mhdawson Apr 29, 2025
abf1908
doc: add HBSPS as triager
HBSPS May 8, 2025
32a8cc0
Revert "deps: disable V8 concurrent sparkplug compilation"
targos May 6, 2025
f2138b5
Revert "deps: always define V8_EXPORT_PRIVATE as no-op"
targos May 6, 2025
e5e8eaa
Revert "deps: patch V8 to support compilation with MSVC"
targos May 6, 2025
e38ce27
src: refactor WriteUCS2 and remove flags argument
tniessen May 8, 2025
8ccfcb5
lib: fix sourcemaps with ts module mocking
marco-ippolito May 8, 2025
b849ed3
2025-05-08, Version 24.0.1 (Current)
nodejs-github-bot May 8, 2025
e0766f9
module: handle instantiated async module jobs in require(esm)
joyeecheung May 8, 2025
e532c86
src: remove overzealous tcsetattr error check
bnoordhuis May 8, 2025
e46fb17
http: remove unused functions and add todos
anonrig May 9, 2025
8debf0b
src: use String::WriteV2() in TwoByteValue
tniessen May 9, 2025
264cad7
Revert "test_runner: change ts default glob"
theoludwig May 9, 2025
508cd0f
test: deflake test-http2-client-socket-destroy
lpinca May 9, 2025
e4e80c5
src: fix module buffer allocation
Whitecx May 9, 2025
daced4a
buffer: move SlowBuffer to EOL
panva May 9, 2025
dc7ec42
test: fix executable flags
LiviaMedeiros May 10, 2025
942862f
fs: ensure `dir.read()` does not throw synchronously
aduh95 May 8, 2025
12e0b51
deps: patch V8 to 13.6.233.10
targos May 8, 2025
c8f8295
deps: V8: cherry-pick 044b9b6f589d
rmahdav May 1, 2025
a186e07
deps: V8: cherry-pick 4f38995c8295
syg May 5, 2025
5c0687a
deps: V8: backport 1d3362c55396
syg May 6, 2025
578a893
src: remove unneeded explicit V8 flags
targos May 8, 2025
f8809ce
test: add `Float16Array` to `common.getArrayBufferViews()`
LiviaMedeiros May 10, 2025
6710c00
fs: glob is stable, so should not emit experimental warnings
theoludwig May 10, 2025
a822a1c
lib: deprecate _tls_common and _tls_wrap
dario-piotrowicz May 10, 2025
5f841fb
http2: add diagnostics channel 'http2.client.stream.created'
RaisinTen May 11, 2025
917600c
doc: fix typo of file `http.md`, `outgoingMessage.setTimeout` section
samuel871211 May 11, 2025
4a86be2
fs: add to `Dir` support for explicit resource management
aduh95 May 11, 2025
770be2c
sqlite: set `name` and `length` on `sqlite.backup()`
LiviaMedeiros May 11, 2025
3ad7362
fs: add support for `URL` for `fs.glob`'s `cwd` option
aduh95 May 11, 2025
6184730
tools: support environment variables via comments
pmarchini May 11, 2025
6e222ed
tools: add read permission to workflows that read contents
aduh95 May 11, 2025
5b134db
typings: add missing typings for `TypedArray`
jazelly May 12, 2025
91d2400
buffer: give names to `Buffer.prototype.*Write()` functions
LiviaMedeiros May 12, 2025
f56590e
crypto: handle missing OPENSSL_TLS_SECURITY_LEVEL
codebytere May 12, 2025
cfd2021
http,https: give names to anonymous or misnamed functions
LiviaMedeiros May 12, 2025
2281a04
inspector: support for worker inspection in chrome devtools
islandryu May 12, 2025
acb3d92
doc: clarify napi_get_value_string_* for bufsize 0
tniessen May 12, 2025
292263e
src: add a couple fast apis in node_os
jasnell May 7, 2025
563be01
test: allow `tmpDir.path` to be modified
avivkeller May 12, 2025
200abfc
src: remove unused `shouldRetryAsESM` internal binding
dario-piotrowicz May 12, 2025
6dcd462
src: remove unused `checkMessagePort` internal binding
dario-piotrowicz May 12, 2025
28cbc4c
src: add a variant of ToV8Value() for primitive arrays
Aditi-1400 Mar 18, 2025
4d71169
build: fix uvwasi pkgname
aduh95 May 12, 2025
a4e833a
doc: update stability status for diagnostics_channel to experimental
idango10 May 13, 2025
e8c06a5
doc: add puskin to collaborators
puskin May 13, 2025
656bf7d
doc: update commit-queue documentation
dario-piotrowicz May 13, 2025
ae8a6de
watch: fix watch args not being properly filtered
dario-piotrowicz May 13, 2025
59a763e
test: remove unnecessary `console.log` from test-repl-null-thrown
dario-piotrowicz May 13, 2025
f94d676
test: reduce iteration count in test-child-process-stdout-flush-exit
aduh95 May 13, 2025
fd0d852
src: remove unused `internalVerifyIntegrity` internal binding
dario-piotrowicz May 13, 2025
c2f3d2a
doc: make Stability labels not sticky in Stability index
LiviaMedeiros May 14, 2025
b197355
http2: add diagnostics channel 'http2.client.stream.start'
RaisinTen May 14, 2025
f75c960
doc: remove comma delimiter mention on permissions doc
RafaelGSS May 14, 2025
373f2c5
doc: mark the callback argument of crypto.generatePrime as mandatory
mureinik May 14, 2025
1ad8b05
doc: fix CryptoKey.algorithm type and other interfaces in webcrypto.md
panva May 14, 2025
1771cdf
2025-05-14, Version 20.19.2 'Iron' (LTS)
RafaelGSS May 7, 2025
b1e9171
2025-05-14, Version 22.15.1 'Jod' (LTS)
RafaelGSS May 7, 2025
86421cf
2025-05-14, Version 23.11.1 (Current)
RafaelGSS May 7, 2025
2c256d7
2025-05-14, Version 24.0.2 (Current)
RafaelGSS May 12, 2025
5eeb9f3
src: fix error handling on async crypto operations
RafaelGSS Mar 25, 2025
44883b7
doc: document default test-reporter change
nicojs May 14, 2025
306c11f
doc: add latest security release steward
RafaelGSS May 15, 2025
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.
8 changes: 8 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
/doc/api/permissions.md @nodejs/security-wg
/lib/internal/process/permission.js @nodejs/security-wg
/src/permission/* @nodejs/security-wg
/test/parallel/test-permission-* @nodejs/security-wg

# Dependency Update Tools

Expand All @@ -181,3 +182,10 @@
/lib/internal/navigator.js @nodejs/web-standards
/test/fixtures/wpt/ @nodejs/web-standards
/test/wpt/ @nodejs/web-standards

# TypeScript

/deps/amaro/ @nodejs/typescript
/doc/api/typescript.md @nodejs/typescript
/test/fixtures/typescript/ @nodejs/typescript
/tools/dep_updaters/update-amaro.sh @nodejs/typescript
10 changes: 9 additions & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ body:
- type: input
attributes:
label: Version
description: Output of `node -v`
description: |
Output of `node -v`.
Please verify that you are reproducing the issue in a [currently-supported version](https://github.com/nodejs/Release/blob/HEAD/README.md#release-schedule) of Node.js.
- type: textarea
attributes:
label: Platform
Expand All @@ -33,13 +35,19 @@ body:
be run using `node` directly without installing third-party dependencies
or downloading code from the internet (i.e. no ZIP archive, no GitHub
repository, etc.).
validations:
required: true
- type: textarea
attributes:
label: How often does it reproduce? Is there a required condition?
validations:
required: true
- type: textarea
attributes:
label: What is the expected behavior? Why is that the expected behavior?
description: If possible please provide textual output instead of screenshots.
validations:
required: true
- type: textarea
attributes:
label: What do you see instead?
Expand Down
7 changes: 7 additions & 0 deletions .github/label-pr-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ subSystemLabels:
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2
/^deps\/nghttp2\//: http2
/^deps\/ngtcp2\//: quic
/^deps\/amaro\//: strip-types
/^deps\/([^/]+)/: dependencies, $1

## JS subsystems
Expand All @@ -98,6 +99,7 @@ subSystemLabels:
/^lib\/test.js$/: test_runner
/^lib\/internal\/url\.js$/: whatwg-url
/^lib\/internal\/modules\/esm/: esm
/^lib\/internal\/modules/: module
/^lib\/internal\/webstreams/: web streams
/^lib\/internal\/test_runner/: test_runner

Expand All @@ -122,6 +124,7 @@ exlusiveLabels:
/^test\/fixtures\/es-module/: test, esm
/^test\/es-module\//: test, esm
/^test\/fixtures\/wpt\/streams\//: test, web streams
/^test\/fixtures\/typescript/: test, strip-types

/^test\//: test

Expand All @@ -141,6 +144,8 @@ exlusiveLabels:
# Add deprecations label to PRs that affect doc/api/deprecations.md
/^doc\/api\/deprecations.md$/: doc, deprecations
/^doc\/changelogs\//: release
# Specific map for typescript.md as it should be labeled 'strip-types'
/^doc\/api\/typescript.md$/: doc, strip-types

/^doc\//: doc

Expand Down Expand Up @@ -187,8 +192,10 @@ allJsSubSystems:
- readline
- repl
- report
- sqlite
- stream
- string_decoder
- strip-types
- timers
- tls
- trace_events
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
persist-credentials: false

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

Expand All @@ -59,11 +59,15 @@ jobs:

- name: Setup @node-core/utils
run: |
ncu-config set username ${{ secrets.JENKINS_USER }}
ncu-config set token "${{ secrets.GH_USER_TOKEN }}"
ncu-config set jenkins_token ${{ secrets.JENKINS_TOKEN }}
ncu-config set username "$USERNAME"
ncu-config set token "$GH_TOKEN"
ncu-config set jenkins_token "$JENKINS_TOKEN"
ncu-config set owner "${{ github.repository_owner }}"
ncu-config set repo "$(echo ${{ github.repository }} | cut -d/ -f2)"
env:
USERNAME: ${{ secrets.JENKINS_USER }}
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}

- name: Start the CI
run: ./tools/actions/start-ci.sh ${{ needs.get-prs-for-ci.outputs.numbers }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand All @@ -64,7 +64,7 @@ jobs:
mkdir tarballs
mv *.tar.gz tarballs
- name: Upload tarball artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: tarballs
path: tarballs
Expand All @@ -76,7 +76,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand All @@ -86,7 +86,7 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Download tarball
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: tarballs
path: tarballs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Validate commit message
Expand Down
12 changes: 8 additions & 4 deletions .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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install @node-core/utils
Expand All @@ -86,11 +86,15 @@ jobs:
run: |
ncu-config set branch ${GITHUB_REF_NAME}
ncu-config set upstream origin
ncu-config set username "${{ secrets.GH_USER_NAME }}"
ncu-config set token "${{ secrets.GH_USER_TOKEN }}"
ncu-config set jenkins_token "${{ secrets.JENKINS_TOKEN }}"
ncu-config set username "$USERNAME"
ncu-config set token "$GH_TOKEN"
ncu-config set jenkins_token "$JENKINS_TOKEN"
ncu-config set repo "${REPOSITORY}"
ncu-config set owner "${OWNER}"
env:
USERNAME: ${{ secrets.JENKINS_USER }}
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}

- name: Start the Commit Queue
run: ./tools/actions/commit-queue.sh ${{ env.OWNER }} ${{ env.REPOSITORY }} ${{ needs.get_mergeable_prs.outputs.numbers }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux-without-intl.yml
- codecov.yml
push:
branches:
- main
Expand All @@ -24,6 +25,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux-without-intl.yml
- codecov.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -48,7 +50,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand All @@ -58,7 +60,7 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
run: pip install gcovr==7.2
- name: Build
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.
Expand All @@ -70,7 +72,7 @@ jobs:
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Report C++
run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)
run: gcovr --object-directory=out -v --filter src --xml -o ./coverage/coverage-cxx.xml --root=./ --gcov-executable="llvm-cov-18 gcov"
# Clean temporary output from gcov and c8, so that it's not uploaded:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux.yml
- codecov.yml
push:
branches:
- main
Expand All @@ -24,6 +25,7 @@ on:
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-linux.yml
- codecov.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -48,7 +50,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up sccache
Expand All @@ -58,7 +60,7 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
run: pip install gcovr==7.2
- name: Build
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.
Expand All @@ -70,7 +72,7 @@ jobs:
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Report C++
run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)
run: gcovr --object-directory=out -v --filter src --xml -o ./coverage/coverage-cxx.xml --root=./ --gcov-executable="llvm-cov-18 gcov"
# Clean temporary output from gcov and c8, so that it's not uploaded:
- name: Clean tmp
run: rm -rf coverage/tmp && rm -rf out
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,27 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- lib/**/*.js
- Makefile
- vcbuild.bat
- src/**/*.cc
- src/**/*.h
- test/**
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-windows.yml
- codecov.yml
push:
branches:
- main
paths:
- lib/**/*.js
- Makefile
- vcbuild.bat
- src/**/*.cc
- src/**/*.h
- test/**
- tools/gyp/**
- tools/test.py
- .github/workflows/coverage-windows.yml
- codecov.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -45,7 +47,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install deps
Expand Down
6 changes: 3 additions & 3 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@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ env.NIGHTLY || matrix.node-version }}
check-latest: true
Expand Down Expand Up @@ -121,7 +121,7 @@ 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@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
path: out/wpt/wptreport-*.json
name: WPT Report for ${{ steps.setup-node.outputs.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
persist-credentials: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
Loading