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

[pull] main from nodejs:main #1

Open
wants to merge 1,054 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1054 commits
Select commit Hold shift + click to select a range
cebf21d
doc: use correct dash in stability status
aduh95 Oct 1, 2024
dec1099
doc: mention addons to experimental permission
RafaelGSS Oct 1, 2024
2755551
test: adding more tests for strip-types
kevinuehara Oct 2, 2024
d24c731
module: support 'module.exports' interop export in require(esm)
guybedford Jul 14, 2024
302e6af
deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1
nodejs-github-bot Sep 30, 2024
5ff9b07
deps: update archs files for openssl-3.0.15+quic1
nodejs-github-bot Sep 30, 2024
14b53df
doc: fix unordered error anchors
aduh95 Oct 2, 2024
1d5ed72
esm: export 'module.exports' on ESM CJS wrapper
guybedford Jul 14, 2024
348d865
doc: update `require(ESM)` history and stability status
aduh95 Oct 2, 2024
18536d9
src: apply getCallSite optimization
RafaelGSS Sep 30, 2024
5e4da33
module: add internal type def for `flushCompileCache`
JakobJingleheimer Oct 3, 2024
6b9413e
worker: throw InvalidStateError in postMessage after close
Nahee-Park Oct 3, 2024
36ca010
fs: acknowledge `signal` option in `filehandle.createReadStream()`
LiviaMedeiros Oct 3, 2024
c9cffb7
doc: update test context.assert
pmarchini Oct 3, 2024
22bc157
build: include `.nycrc` in coverage workflows
iwuliz Oct 3, 2024
1d95b79
test: move coverage source map tests to new file
RedYetiDev Oct 3, 2024
cc9b9a7
doc: tweak onboarding instructions
mhdawson Oct 3, 2024
fe45be2
deps: V8: backport 0d5d6e71bbb0
anonrig Sep 20, 2024
1c7795e
test_runner: add cwd option to run
pmarchini Oct 3, 2024
784eb2c
2024-10-03, Version 20.18.0 'Iron' (LTS)
targos Sep 30, 2024
fd4959c
meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5
dependabot[bot] Oct 3, 2024
ccae9c0
meta: bump actions/setup-node from 4.0.3 to 4.0.4
dependabot[bot] Oct 3, 2024
8de2695
meta: bump actions/checkout from 4.1.7 to 4.2.0
dependabot[bot] Oct 3, 2024
b2161d3
tools: bump the eslint group in /tools/eslint with 4 updates
dependabot[bot] Oct 3, 2024
d2ad9b4
worker: add `markAsUncloneable` api
jazelly Oct 4, 2024
bdd590b
module: use kNodeModulesRE to detect node_modules
joyeecheung Oct 4, 2024
98788da
meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6
dependabot[bot] Oct 4, 2024
32efeea
doc: fix initial default value of autoSelectFamily
freego555 Oct 5, 2024
bbdfeeb
process: add `process.features.typescript`
RedYetiDev Oct 5, 2024
a301596
doc: move `ERR_NAPI_TSFN_START/STOP_IDLE_LOOP` to legacy errors
aduh95 Oct 5, 2024
20d8b85
deps: upgrade npm to 10.9.0
npm-cli-bot Oct 5, 2024
a49abec
sqlite: enable foreign key constraints by default
tniessen Oct 6, 2024
7af434f
sqlite: make sourceSQL and expandedSQL string-valued properties
tniessen Oct 6, 2024
90e3e5e
crypto: add KeyObject.prototype.toCryptoKey
panva Oct 6, 2024
980b91a
test_runner: assert entry is a valid object
geeksilva97 Oct 6, 2024
9a9409f
test_runner: throw on invalid source map
RedYetiDev Oct 6, 2024
d5eb9a3
lib: remove `Symbol[Async]Dispose` polyfills
targos Oct 7, 2024
deb5eff
v8: out of bounds copy
ronag Oct 7, 2024
b0f0252
process: add process.features.require_module
joyeecheung Oct 7, 2024
6c92c13
test: add resource to internal module stat test
RafaelGSS Sep 28, 2024
ae1e2b5
build: fix notify-on-review-wanted action
RafaelGSS Oct 7, 2024
8dbca2d
tools: update gyp-next to 0.18.2
nodejs-github-bot Oct 8, 2024
1435338
src: implement IsInsideNodeModules() in C++
joyeecheung Oct 8, 2024
a05cb0d
test: make `test-loaders-workers-spawned` less flaky
aduh95 Oct 8, 2024
accb239
doc: add onboarding details for ambassador program
marco-ippolito Oct 8, 2024
78f421d
lib: fix module print timing when specifier includes `"`
aduh95 Oct 8, 2024
5a3da7b
tools: enforce errors to not be documented in legacy section
RedYetiDev Oct 8, 2024
3a42085
test_runner: ignore unmapped lines for coverage
geeksilva97 Oct 8, 2024
3fb7426
module: check --experimental-require-module separately from detection
joyeecheung Oct 8, 2024
09d10b5
sqlite: disable DQS misfeature by default
tniessen Oct 8, 2024
7178588
lib: prefer logical assignment
RedYetiDev Oct 9, 2024
1d38bd1
meta: move one or more collaborators to emeritus
nodejs-github-bot Oct 9, 2024
755b897
doc: fix `events.once()` example using `AbortSignal`
foxxyz Oct 9, 2024
54b5ec9
deps: patch V8 to 12.9.202.26
nodejs-github-bot Oct 9, 2024
4eeeab0
benchmark: rewrite detect-esm-syntax benchmark
joyeecheung Oct 9, 2024
33fe88a
doc: add pmarchini to collaborators
pmarchini Oct 9, 2024
e79ae1b
doc: reserve 132 for Electron 34
mlaurencin Oct 9, 2024
31a37e7
module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX
marco-ippolito Oct 10, 2024
4a3fffa
doc: move `ERR_INVALID_PERFORMANCE_MARK` to legacy errors
aduh95 Oct 10, 2024
00b2f07
fs,win: fix bug in paths with trailing slashes
huseyinacacak-janea Oct 10, 2024
d620755
doc: add release key for aduh95
aduh95 Oct 10, 2024
fdc23b2
test: use more informative errors in `test-runner-cli`
aduh95 Oct 10, 2024
4988bb5
tools: enforce ordering of error codes in `errors.md`
aduh95 Oct 10, 2024
7a3027d
deps: update undici to 6.20.0
nodejs-github-bot Oct 10, 2024
9f9069d
fs: fix linter issue
aduh95 Oct 10, 2024
82dab76
test: fix tests when Amaro is unavailable
richardlau Oct 11, 2024
27f8d9e
build,win: enable pch for clang-cl
StefanStojanovic Oct 11, 2024
f98d9c1
process: fix `process.features.typescript` when Amaro is unavailable
aduh95 Oct 11, 2024
ccd4faf
Revert "test_runner: ignore unmapped lines for coverage"
RedYetiDev Oct 11, 2024
acd698a
doc: fix the return type of outgoingMessage.setHeaders()
hkleungai Oct 11, 2024
e9904fe
doc: edit onboarding guide to clarify when mailmap addition is needed
aduh95 Oct 11, 2024
fdf838a
node-api: add napi_create_buffer_from_arraybuffer method
mertcanaltin Oct 11, 2024
90f56db
module: throw ERR_NO_TYPESCRIPT when compiled without amaro
marco-ippolito Oct 11, 2024
aeadaba
benchmark: adjust config for deepEqual object
RafaelGSS Oct 11, 2024
bb1e541
meta: bump step-security/harden-runner from 2.9.1 to 2.10.1
dependabot[bot] Oct 11, 2024
63a4b28
meta: bump github/codeql-action from 3.26.6 to 3.26.10
dependabot[bot] Oct 11, 2024
d75bd2a
meta: bump codecov/codecov-action from 4.5.0 to 4.6.0
dependabot[bot] Oct 11, 2024
9ba3391
test: update `compression` wpt
RedYetiDev Oct 11, 2024
1d7cddd
deps: update amaro to 0.1.9
nodejs-github-bot Oct 12, 2024
d881fcb
esm: mark import attributes and JSON module as stable
nicolo-ribaudo Oct 12, 2024
ac49b20
assert: fix deepEqual always return true on URL
meixg Oct 13, 2024
50b4ada
lib: convert transfer sequence to array in js
jazelly Oct 13, 2024
19c1b9d
doc: fix ambasador markdown list
RafaelGSS Oct 13, 2024
129ca9e
doc: add missing return values in buffer docs
karlhorky Oct 13, 2024
6d36199
build: fix make errors that occur in Makefile
kmk324 Oct 14, 2024
b579779
test: update test_util.cc for coverage
kmk324 Oct 14, 2024
ecedcba
deps: update libuv to 1.49.1
santigimeno Oct 11, 2024
d6175b3
Revert "deps: disable io_uring support in libuv by default"
santigimeno Aug 8, 2024
f97865f
src: remove uv__node_patch_is_using_io_uring
santigimeno Aug 8, 2024
488ce99
events: optimize EventTarget.addEventListener
ronag Oct 14, 2024
80b56bb
diagnostics_channel: fix unsubscribe during publish
simon-id Oct 14, 2024
48b852a
benchmark: adjust byte size for buffer-copy
RafaelGSS Oct 14, 2024
10addb0
test_runner: require `--enable-source-maps` for sourcemap coverage
RedYetiDev Oct 14, 2024
7a7c2b3
lib: remove settled dependant signals when they are GCed
geeksilva97 Oct 14, 2024
0581ccf
deps: update c-ares to v1.34.1
nodejs-github-bot Oct 15, 2024
87da1f3
deps: patch V8 to 12.9.202.28
nodejs-github-bot Oct 15, 2024
51d8146
src: fix winapi_strerror error string
huseyinacacak-janea Oct 15, 2024
14f2db9
doc: add instructions for WinGet build
huseyinacacak-janea Oct 15, 2024
6abd545
sqlite: cache column names in stmt.all()
indutny Oct 15, 2024
5e76c40
lib: test_runner#mock:timers respeced timeout_max behaviour
badkeyy Oct 15, 2024
0f375db
tools: fix typos
NathanBaulch Oct 15, 2024
231d5e4
buffer: make Buffer work with resizable ArrayBuffer
jasnell Oct 15, 2024
4dc76a9
deps: update simdutf to 5.6.0
nodejs-github-bot Oct 15, 2024
c0aebed
esm: fix inconsistency with `importAssertion` in `resolve` hook
yesmeck Oct 15, 2024
2545b9e
test_runner: add support for scheduler.wait on mock timers
ErickWendel Oct 15, 2024
019efe1
lib: runtime deprecate SlowBuffer
RafaelGSS Oct 15, 2024
fa8f149
2024-10-16, Version 23.0.0 (Current)
RafaelGSS Oct 9, 2024
73414f3
doc: spell out condition restrictions
jkrems Sep 30, 2024
e2242b4
2024-10-16, Version 22.10.0 (Current)
aduh95 Oct 9, 2024
5e5af29
tools: add `polyfilled` option to `prefer-primordials` rule
aduh95 Oct 17, 2024
70fcb87
build: fix path concatenation
VoltrexKeyva Oct 17, 2024
123982d
dns: honor the order option
lpinca Oct 17, 2024
ddfef05
test: remove duplicate tests
lpinca Oct 17, 2024
cf74069
lib: add flag to drop connection when running in cluster mode
theanarkh Oct 17, 2024
d458b93
meta: change color to blue notify review-wanted
RafaelGSS Oct 17, 2024
4d6d7d6
assert: make assertion_error use Myers diff algorithm
puskin94 Oct 17, 2024
142e405
meta: assign CODEOWNERS for /deps/ncrypto/*
panva Oct 17, 2024
f772040
test_runner: mark mockTimers as stable
ErickWendel Oct 15, 2024
0c68991
doc: add changelog for mocktimers
ErickWendel Oct 16, 2024
31e1341
doc: move Beth Griggs keys to old gpg keys
RafaelGSS Oct 15, 2024
d2f4729
doc: move Bryan English key to old gpg keys
RafaelGSS Oct 15, 2024
8ac867f
doc: move Danielle Adams key to old gpg keys
RafaelGSS Oct 15, 2024
d7a0b56
test: update `console` wpt
RedYetiDev Oct 18, 2024
56e5bd8
fs: use `wstring` on Windows paths
jazelly Oct 6, 2024
7ae193d
url: handle "unsafe" characters properly in `pathToFileURL`
aduh95 Oct 18, 2024
7c0cc12
benchmark: add --runs support to run.js
RafaelGSS Oct 18, 2024
9f5000e
src: remove icu based `ToASCII` and `ToUnicode`
anonrig Oct 18, 2024
bb8cc65
lib: replace `createDeferredPromise` util with `Promise.withResolvers`
anonrig Oct 19, 2024
8ed50bc
lib: remove startsWith/endsWith primordials for char checks
gurgunday Oct 19, 2024
99c6e4e
crypto: include openssl/rand.h explicitly
codebytere Oct 19, 2024
7d0a490
test,crypto: update WebCryptoAPI WPT
panva Oct 19, 2024
61e52c8
src,lib: introduce `util.getSystemErrorMessage(err)`
juanarbol Oct 19, 2024
78b72ca
cli: add `--heap-prof` flag available to `NODE_OPTIONS`
juanarbol Oct 20, 2024
b0ffe9e
module: simplify ts under node_modules check
marco-ippolito Oct 20, 2024
4bf115a
tools: add script to synch c-ares source lists
richardlau Oct 18, 2024
236ecd7
build: synchronize list of c-ares source files
richardlau Oct 18, 2024
c124cfb
build: tidy up cares.gyp
richardlau Oct 18, 2024
11fbdd8
url: runtime deprecate url.parse
anonrig Oct 20, 2024
7e60b5e
test: fix invalid `file:` URL in `test-fs-path-dir`
aduh95 Oct 21, 2024
ee46d22
Revert "path: fix bugs and inconsistencies"
RedYetiDev Oct 21, 2024
6a02c27
lib: add UV_UDP_REUSEPORT for udp
theanarkh Oct 21, 2024
7bc3e16
net: add UV_TCP_REUSEPORT for tcp
theanarkh Oct 21, 2024
0717f18
meta: move one or more collaborators to emeritus
nodejs-github-bot Oct 21, 2024
4d51c60
deps: update ada to 2.9.1
nodejs-github-bot Oct 21, 2024
e924465
build: conditionally compile bundled sqlite
richardlau Oct 21, 2024
fed28bf
build: fix uninstall script for AIX 7.1
cloorc Oct 21, 2024
4320e1a
doc: remove outdated remarks about `highWaterMark` in fs
isker Oct 22, 2024
34aba11
deps: update c-ares to v1.34.2
nodejs-github-bot Oct 22, 2024
b76bcb3
deps: update googletest to df1544b
nodejs-github-bot Oct 22, 2024
d3526af
test: deflake `test-cluster-shared-handle-bind-privileged-port`
RedYetiDev Oct 22, 2024
5983110
doc: add `isBigIntObject` to documentation
leviscar Oct 22, 2024
1c2eecd
doc: add note about stdio streams in child_process
Ed-roro Oct 22, 2024
e4ca097
src: switch from `Get/SetPrototype` to `Get/SetPrototypeV2`
RedYetiDev Oct 22, 2024
eb63cd2
test: update wpt test for webmessaging/broadcastchannel
Nahee-Park Oct 22, 2024
47ad609
test: fix addons and node-api test assumptions
aduh95 Oct 22, 2024
864ff62
typings: add missing type of `ArrayBufferPrototypeGetByteLength`
iwuliz Oct 22, 2024
7ae73b9
fs: pass correct path to `DirentFromStats` during `glob`
RedYetiDev Oct 22, 2024
a3693d2
tools: update gyp-next to 0.18.3
nodejs-github-bot Oct 22, 2024
90b5a2e
tools: update lint-md-dependencies
nodejs-github-bot Oct 22, 2024
d448368
test: make test-node-output-v8-warning more flexible
codebytere Oct 22, 2024
603e55d
esm: add a fallback when importer in not a file
aduh95 Oct 22, 2024
4a00f9a
stream: propagate AbortSignal reason
marvinroger Oct 22, 2024
dacbfb1
module: include module information in require(esm) warning
joyeecheung Oct 22, 2024
f6cfdb9
doc: move dual package shipping docs to separate repo
joyeecheung Oct 22, 2024
e90704c
build: fix GN build for cares/uv deps
zcbenz Oct 23, 2024
025d8ad
lib: ensure FORCE_COLOR forces color output in non-TTY environments
pmarchini Oct 23, 2024
c1bbd63
doc: changed the command used to verify SHASUMS256
adriancuadrado Oct 23, 2024
f630fde
deps: V8: cherry-pick f915fa4c9f41
legendecas Oct 21, 2024
7b5d660
test: add repl preview timeout test
legendecas Oct 21, 2024
cbb72eb
test,crypto: make crypto tests work with BoringSSL
codebytere Oct 24, 2024
53b1050
module: add module.stripTypeScriptTypes
marco-ippolito Oct 24, 2024
7ddd2c2
2024-10-24, Version 23.1.0 (Current)
aduh95 Oct 24, 2024
2505e21
doc: add jazelly to collaborators
jazelly Oct 25, 2024
1ba8fbe
test: increase test coverage for `http.OutgoingMessage.appendHeader()`
juanarbol Oct 25, 2024
e312d60
module: add `findPackageJSON` util
JakobJingleheimer Oct 25, 2024
0668e64
sqlite: refactor open options
tniessen Oct 26, 2024
c63255b
test,crypto: update WebCryptoAPI WPT
panva Oct 26, 2024
f0e5b6a
deps: update undici to 6.20.1
nodejs-github-bot Oct 26, 2024
5e27e59
test: avoid `apply()` calls with large amount of elements
LiviaMedeiros Oct 26, 2024
51eb4c0
doc: add esm examples to node:string_decoder
mfdebian Oct 26, 2024
5d4fee8
test: increase coverage of `pathToFileURL`
aduh95 Oct 27, 2024
c35cbcd
build: fix GN build for sqlite and nghttp2
codebytere Oct 27, 2024
bca53e8
doc: add suggested tsconfig for type stripping
marco-ippolito Oct 27, 2024
2a96549
doc: move typescript support to active development
marco-ippolito Oct 27, 2024
7270f84
fs: make `dirent.path` writable
aduh95 Oct 28, 2024
4b48f9b
build: fix GN arg used in generate_config_gypi.py
codebytere Oct 28, 2024
7cb3a66
module: allow ESM that failed to be required to be re-imported
joyeecheung Oct 28, 2024
5633c62
http: don't emit error after destroy
ronag Oct 28, 2024
45c6a9e
src: migrate `String::Value` to `String::ValueView`
RedYetiDev Oct 29, 2024
21d6f53
deps: update acorn to 8.13.0
nodejs-github-bot Oct 29, 2024
ece37bc
deps: update nghttp2 to 1.64.0
nodejs-github-bot Oct 29, 2024
e160e54
src: do not run IsWindowsBatchFile on non-windows
anonrig Oct 29, 2024
4354a1d
2024-10-29, Version 22.11.0 'Jod' (LTS)
richardlau Oct 23, 2024
3b3a95a
module: trim off internal stack frames for require(esm) warnings
joyeecheung Oct 18, 2024
8aac7da
module: fix error thrown from require(esm) hitting TLA repeatedly
joyeecheung Oct 29, 2024
84fe809
test: remove unneeded listeners
lpinca Oct 29, 2024
81517fa
build: fix building with system icu 76
cho-m Oct 29, 2024
6dea41d
test: split up test-runner-mock-timers test
badkeyy Oct 30, 2024
26dae59
doc: capitalize "MIT License"
RedYetiDev Oct 30, 2024
8807549
dns: stop using deprecated `ares_query`
RedYetiDev Oct 30, 2024
9967080
src: use NewFromUtf8Literal in NODE_DEFINE_CONSTANT
ckerr Oct 31, 2024
a465b20
sqlite: add readOnly option
tniessen Oct 31, 2024
4379dfb
http: add diagnostic channel `http.client.request.created`
marco-ippolito Oct 31, 2024
d080f0d
module: unify TypeScript and .mjs handling in CommonJS
joyeecheung Oct 31, 2024
f67e45e
http2: fix client async storage persistence
orgads Oct 31, 2024
e2bd64d
url: refactor `pathToFileURL` to native
aduh95 Oct 31, 2024
a53c0cc
src: fix dns crash when failed to create NodeAresTask
theanarkh Nov 1, 2024
824c149
doc: improve c++ embedder API doc
gireeshpunathil Nov 1, 2024
3d979dd
deps: update amaro to 0.2.0
nodejs-github-bot Nov 1, 2024
9b6cea6
test_runner: pass `options` directly to `TestCoverage`
RedYetiDev Nov 1, 2024
2d6f9c6
src,lib: optimize nodeTiming.uvMetricsInfo
RafaelGSS Oct 30, 2024
d83e9fa
benchmark: add nodeTiming.uvmetricsinfo bench
RafaelGSS Oct 31, 2024
413975a
meta: show PR/issue title on review-wanted
RedYetiDev Nov 1, 2024
5ce3d10
build: stop pre-compiling `lint-md`
RedYetiDev Nov 1, 2024
d37214b
build: use rclone instead of aws CLI
targos Nov 2, 2024
4bf5731
src: refactor ECDHBitsJob signature
panva Nov 2, 2024
ba8fc73
doc: remove mention of ECDH-ES in crypto.diffieHellman
panva Nov 2, 2024
44afd67
doc: add a note on console stream behavior
gireeshpunathil Nov 2, 2024
560b2a1
http: add diagnostic channel `http.server.response.created`
marco-ippolito Nov 2, 2024
91bce94
tools: lint README lists more strictly
aduh95 Nov 2, 2024
5b9bf39
src: move more key related stuff to ncrypto
jasnell Nov 2, 2024
81859cf
os: improve path check with direct index access
mertcanaltin Nov 2, 2024
10cce65
assert: fix the string length check for printing the simple diff
puskin94 Nov 2, 2024
c0db893
module: simplify `findPackageJSON` implementation
aduh95 Nov 2, 2024
51ae576
lib: make ALS default to AsyncContextFrame
Qard Nov 2, 2024
9a16fde
meta: make review-wanted message minimal
RedYetiDev Nov 2, 2024
68dc15e
util: fix util.getCallSites plurality
legendecas Nov 2, 2024
7b01758
Revert "fs,win: fix bug in paths with trailing slashes"
rvagg Nov 2, 2024
df4a0c9
typings: fix `ModulesBinding` types
aduh95 Nov 2, 2024
7f6ea83
doc: add write flag when open file as the demo code's intention
robberfree Nov 2, 2024
e124b0f
doc: broken `PerformanceObserver` code sample
domharrington Nov 2, 2024
57d0ea6
tools: run daily WPT.fyi report on all supported releases
panva Nov 2, 2024
7fefa36
tools: compact jq output in daily-wpt-fyi.yml action
panva Nov 2, 2024
c1b3531
deps: update sqlite to 3.47.0
nodejs-github-bot Nov 2, 2024
c2ff449
crypto: fix `RSA_PKCS1_PADDING` error message
richardlau Nov 3, 2024
8ab3140
module: simplify --inspect-brk handling
joyeecheung Nov 3, 2024
8bf99f1
meta: bump github/codeql-action from 3.26.10 to 3.27.0
dependabot[bot] Nov 3, 2024
ba907d6
meta: bump actions/checkout from 4.2.0 to 4.2.2
dependabot[bot] Nov 3, 2024
40d9ca2
meta: bump actions/cache from 4.0.2 to 4.1.2
dependabot[bot] Nov 3, 2024
f03d914
meta: bump actions/upload-artifact from 4.4.0 to 4.4.3
dependabot[bot] Nov 3, 2024
9aa694f
meta: bump rtCamp/action-slack-notify from 2.3.0 to 2.3.2
dependabot[bot] Nov 3, 2024
7f392d4
meta: bump actions/setup-node from 4.0.4 to 4.1.0
dependabot[bot] Nov 3, 2024
8dd0819
meta: bump actions/setup-python from 5.2.0 to 5.3.0
dependabot[bot] Nov 3, 2024
794cb51
tools: fix root certificate updater
richardlau Nov 1, 2024
32ff100
crypto: update root certificates to NSS 3.104
richardlau Nov 1, 2024
bdc2662
sqlite: improve error handling using MaybeLocal
tniessen Nov 4, 2024
d35cde6
util: add sourcemap support to getCallSites
marco-ippolito Nov 4, 2024
0b58160
tools: use `util.parseArgs` in `lint-md`
RedYetiDev Nov 4, 2024
73cfaba
deps: update acorn to 8.14.0
nodejs-github-bot Nov 5, 2024
58a7b00
test,crypto: update WebCryptoAPI WPT
panva Nov 5, 2024
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
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
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
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,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
4 changes: 3 additions & 1 deletion .github/workflows/coverage-windows.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-windows.yml
- codecov.yml
push:
branches:
- main
Expand All @@ -24,6 +25,7 @@ on:
- 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