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

Yagiz/implement url pattern #15

Open
wants to merge 240 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
4fd5db4
module: use buffer.toString base64
legendecas Dec 21, 2024
821ab6f
tools: add release line label when opening release proposal
aduh95 Dec 21, 2024
b814038
doc: add entry to changelog about SQLite Session Extension
louwers Dec 21, 2024
31c20f6
build: fix GN build for ngtcp2
zcbenz Dec 18, 2024
48c75bc
tools: fix `require-common-first` lint rule from subfolder
aduh95 Dec 22, 2024
56d5865
test: check typescript loader
marco-ippolito Dec 23, 2024
6577166
deps: update simdutf to 5.7.0
nodejs-github-bot Dec 24, 2024
270a2f1
deps: update ngtcp2 to 1.10.0
nodejs-github-bot Dec 24, 2024
a9e65f6
test: migrate message eval tests from Python to JS
yiyunlei Oct 31, 2023
6156f8a
Revert "stream: handle generator destruction from Duplex.from()"
jakecastelli Dec 17, 2024
5ea6fa7
test: add coverage for pipeline
jakecastelli Dec 17, 2024
be9dc2d
test: increase spin for eventloop test on s390
mhdawson Dec 10, 2024
da3f388
module: support eval with ts syntax detection
marco-ippolito Dec 24, 2024
49acdc8
test: skip `test-sqlite-extensions` when SQLite is not built by us
aduh95 Dec 24, 2024
bd0b704
doc: fix the `crc32` documentation
kevinuehara Dec 24, 2024
821b0a7
src: use starts_with in fs_permission.cc
IlyasShabi Dec 25, 2024
3147ec2
doc: update macOS and Xcode versions for releases
targos Dec 25, 2024
d00710d
test: deflake test-watch-file-shared-dependency
lpinca Dec 25, 2024
7ca7531
doc: clarify that WASM is trusted
mcollina Dec 25, 2024
f9fb410
doc: use `<ul>` instead of `<ol>` in `SECURITY.md`
aduh95 Dec 23, 2024
b420c8f
meta: move one or more collaborators to emeritus
nodejs-github-bot Dec 25, 2024
1d1d8f2
url: use resolved path to convert UNC paths to URL
aduh95 Dec 25, 2024
c0edd30
test: enable ts test on win arm64
marco-ippolito Dec 26, 2024
c94a9db
test: improve abort signal dropping test
geeksilva97 Dec 26, 2024
ba59928
module: unflag --experimental-strip-types
marco-ippolito Dec 26, 2024
94191f7
doc: expand description of `parseArg`'s `default`
bakkot Dec 27, 2024
38cd81a
test: remove test-net-write-fully-async-hex-string flaky designation
lpinca Dec 28, 2024
7d7e2ce
test: remove test-worker-arraybuffer-zerofill flaky designation
lpinca Dec 28, 2024
91c6b8a
assert: make partialDeepStrictEqual throw when comparing [0] with [-0]
puskin94 Dec 12, 2024
ca3c8f1
deps: update googletest to e54519b
nodejs-github-bot Dec 28, 2024
cef15f8
test: remove flaky designation
lpinca Dec 28, 2024
67b647e
deps: update undici to 7.2.0
nodejs-github-bot Dec 28, 2024
0dbbaba
sqlite: pass conflict type to conflict resolution handler
louwers Dec 29, 2024
ecc9fb2
lib: add typescript support to STDIN eval
marco-ippolito Dec 29, 2024
d2af881
test: use unusual chars in the path to ensure our tests are robust
aduh95 Dec 30, 2024
0e04aea
test: remove empty lines from snapshots
marco-ippolito Dec 24, 2024
eca22a4
lib: refactor execution.js
marco-ippolito Dec 24, 2024
b3f82fe
test: add ts eval snapshots
marco-ippolito Dec 25, 2024
4633e5d
deps: update googletest to 7d76a23
nodejs-github-bot Dec 31, 2024
4afb0e2
deps: update amaro to 0.2.1
nodejs-github-bot Dec 31, 2024
19d58c5
module: fix async resolution error within the sync `findPackageJSON`
JakobJingleheimer Dec 31, 2024
c5aa8b8
node-api: define version 10
gabrielschulhof Dec 31, 2024
35742a2
process: add process.ref() and process.unref() methods
jasnell Dec 29, 2024
9731d64
doc: add example for piping ReadableStream
gabrielschulhof Jan 1, 2025
98d4ebc
src: use v8::LocalVector consistently with other minor cleanups
jasnell Dec 31, 2024
639db21
deps: update simdutf to 5.7.2
nodejs-github-bot Jan 2, 2025
76b80b1
worker: add eval ts input
marco-ippolito Jan 3, 2025
bf3bc4e
src: drop --experimental-permission in favour of --permission
RafaelGSS Jan 3, 2025
afafee2
test_runner: finish marking snapshot testing as stable
cjihrig Jan 3, 2025
ccf45f6
tools: bump the eslint group in /tools/eslint with 4 updates
dependabot[bot] Jan 3, 2025
01554f3
tools: use a configurable value for number of open dependabot PRs
aduh95 Jan 3, 2025
804d41f
tools: disable unneeded rule ignoring in Python linting
Trott Jan 3, 2025
7e08cca
test: update test-child-process-windows-hide to use node:test
cjihrig Jan 4, 2025
4a7b815
test_runner: add assert.register() API
cjihrig Jan 4, 2025
221040b
test: update test-set-http-max-http-headers to use node:test
cjihrig Jan 4, 2025
f97a7b6
test: add initial test426 coverage
legendecas Jan 4, 2025
d0ff34f
test: update compiled sqlite tests to match other tests
cjihrig Jan 5, 2025
338d70b
sqlite: enable SQL math functions
cjihrig Jan 5, 2025
383e1a2
test_runner: differentiate test types in enqueue dequeue events
EddieAbbondanzio Jan 5, 2025
08b7d38
sqlite: support TypedArray and DataView in `StatementSync`
himself65 Jan 5, 2025
9400eae
inspector: report loadingFinished until the response data is consumed
legendecas Jan 5, 2025
b736028
src: use LocalVector in more places
jasnell Jan 3, 2025
b0c65bb
worker: flush stdout and stderr on exit
mcollina Jan 6, 2025
984a472
test: remove test-runner-watch-mode-complex flaky designation
lpinca Jan 6, 2025
7895b8e
test: update error code in tls-psk-circuit for for OpenSSL 3.4
sebastianas Jan 6, 2025
72537f5
test: remove flaky test-pipe-file-to-http designation
lpinca Jan 4, 2025
062ae6f
src, quic: refine more of the quic implementation
jasnell Nov 24, 2024
52c6449
src: drain platform tasks before creating startup snapshot
legendecas Jan 7, 2025
8c19a5c
tools: fix loong64 build failed
Xiao-Tao Jan 7, 2025
75b9c1c
test: remove test-macos-app-sandbox flaky designation
lpinca Jan 7, 2025
7c3aa9f
src: lock the thread properly in snapshot builder
joyeecheung Jan 7, 2025
36c53c6
2025-01-07, Version 23.6.0 (Current)
nodejs-github-bot Jan 3, 2025
a344300
2025-01-07, Version 22.13.0 'Jod' (LTS)
ruyadorno Jan 5, 2025
3b5f235
src: make some minor ToLocalChecked cleanups
jasnell Jan 7, 2025
8d9dac4
src: fixup more ToLocalChecked uses in node_file
jasnell Jan 5, 2025
5119049
doc: fix faulty YAML metadata
aduh95 Jan 7, 2025
ea493c1
crypto: make generatePrime/checkPrime interruptible
jasnell Jan 3, 2025
799d920
assert: show diff when doing partial comparisons
puskin94 Jan 8, 2025
c0ad193
src: move more crypto impl detail to ncrypto dep
jasnell Dec 31, 2024
7b472fd
src: minor cleanups on OneByteString usage
jasnell Jan 5, 2025
4f45ace
inspector: add undici http tracking support
legendecas Jan 8, 2025
5747828
doc: allow request for TSC reviews via the GitHub UI
aduh95 Jan 8, 2025
dc5d0f9
fs: allow `exclude` option in globs to accept glob patterns
daeyeon Jan 8, 2025
8975748
test_runner: run single test file benchmark
pmarchini Jan 9, 2025
6b3937a
src: refactor --trace-env to reuse option selection and handling
joyeecheung Jan 9, 2025
483e3d5
src: fix undefined script name in error source
legendecas Jan 9, 2025
b8f6d84
test: mark test-http-server-request-timeouts-mixed as flaky
joyeecheung Jan 9, 2025
24ed8da
assert: make partialDeepStrictEqual work with urls and File prototypes
puskin94 Jan 9, 2025
19c8cc1
test_runner: add t.assert.fileSnapshot()
cjihrig Jan 9, 2025
e1df1e0
tools: validate commit list as part of `lint-release-commit`
aduh95 Jan 9, 2025
2f35b1f
doc: add message for Ambassadors to promote
mhdawson Dec 11, 2024
9be9348
doc: reserve NMV 133 for Electron 35
VerteDinde Jan 10, 2025
a627a99
doc: add esm examples to node:trace_events
mfdebian Jan 10, 2025
529b56e
fs: deprecate passing invalid types in `fs.existsSync`
Ceres6 Jan 10, 2025
ba6800d
esm: fix jsdoc type refs to `ModuleJobBase` in esm/loader
JakobJingleheimer Jan 10, 2025
3946f16
process: fix symbol key and mark experimental new `node:process` methods
aduh95 Jan 10, 2025
25b22e4
deps: upgrade npm to 11.0.0
npm-cli-bot Jan 10, 2025
649da3b
doc: include CVE to EOL lines as sec release process
RafaelGSS Jan 10, 2025
ad68d08
doc: fix location of NO_COLOR in CLI docs
cjihrig Jan 11, 2025
0576deb
test: add error only reporter for node:test
Ceres6 Jan 11, 2025
8ca2956
crypto: fix warning of ignoring return value
zcbenz Jan 11, 2025
7154b32
assert: make myers_diff function more performant
puskin94 Jan 11, 2025
808e6b3
test: clarify fork inherit permission flags
RafaelGSS Jan 11, 2025
7409a1d
tools: edit `create-release-proposal` workflow
aduh95 Jan 11, 2025
c61504b
sqlite: disable memstatus APIs at build time
cjihrig Jan 12, 2025
9230f22
process: remove support for undocumented symbol
aduh95 Jan 12, 2025
046be6d
doc: fix parentheses in options
tniessen Jan 12, 2025
4c27393
doc: update gcc-version for ubuntu-lts
KunalKumar-1 Jan 12, 2025
99099d6
benchmark: add validateStream to styleText bench
RafaelGSS Jan 12, 2025
f4fcf0e
tls: fix error stack conversion in cryptoErrorListToException()
joyeecheung Jan 12, 2025
b22c3d3
doc: add section about using npx with permission model
RafaelGSS Jan 13, 2025
af89b53
util: expose CallSite.scriptId
legendecas Jan 13, 2025
db7a31e
diagnostics_channel: capture console messages
Qard Jan 13, 2025
464f335
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
MattiasBuelens Jan 13, 2025
d5bea71
tools: update doc to new version
nodejs-github-bot Dec 15, 2024
496e17e
src: add --disable-sigusr1 to prevent signal i/o thread
RafaelGSS Jan 13, 2025
e799722
test: make test-crypto-hash compatible with OpenSSL > 3.4.0
jelly Dec 6, 2024
e6a988d
test: disable openssl 3.4.0 incompatible tests
jelly Dec 6, 2024
93c15bf
test: update test-child-process-bad-stdio to use node:test
cjihrig Jan 13, 2025
187007a
doc: document CLI way to open the nodejs/bluesky PR
aduh95 Jan 13, 2025
7a9d783
crypto: fix checkPrime crash with large buffers
santigimeno Jan 11, 2025
4ef7749
crypto: update root certificates to NSS 3.107
nodejs-github-bot Jan 14, 2025
f537efd
deps: update simdutf to 6.0.3
nodejs-github-bot Jan 14, 2025
5770972
deps: update undici to 7.2.1
nodejs-github-bot Jan 14, 2025
fc11189
doc: correct customization hook types & clarify descriptions
JakobJingleheimer Jan 14, 2025
732744c
src,worker: add isInternalWorker
Ceres6 Jan 14, 2025
7b60bcb
quic: fixup errant LocalVector usage
jasnell Jan 11, 2025
afaa14b
tools: remove github reporter
Ceres6 Jan 14, 2025
6879ab9
src: cleaning up more crypto internals for ncrypto
jasnell Jan 8, 2025
6e23885
src: update ECDASSigPointer implementation in ncrypto
jasnell Jan 8, 2025
d3cb7c0
src: update ECGroupPointer in ncrypto
jasnell Jan 8, 2025
08fa9ed
src: update ECPointPointer in ncrypto
jasnell Jan 8, 2025
294abc2
src: update ECKeyPointer in ncrypto
jasnell Jan 9, 2025
2570f95
util: do not crash on inspecting function with `Symbol` name
ljharb Jan 15, 2025
f16cd10
meta: add codeowners of security release document
RafaelGSS Jan 15, 2025
dd26064
deps: update amaro to 0.2.2
nodejs-github-bot Jan 12, 2025
e52440b
test: update ts eval snapshots
marco-ippolito Jan 13, 2025
d1a3f30
deps: update amaro to 0.3.0
nodejs-github-bot Jan 14, 2025
e799ebd
module: rethrow amaro error message
marco-ippolito Jan 14, 2025
c8df98d
module: fix jsdoc for `format` parameter in cjs/loader
pacexy Jan 15, 2025
97caa4c
test: mark test-worker-prof as flaky on smartos
joyeecheung Jan 15, 2025
1238f0a
util: rename CallSite.column to columnNumber
legendecas Jan 15, 2025
58ac655
doc: improve internal documentation on built-in snapshot
joyeecheung Jan 15, 2025
e96072a
util: inspect: do not crash on an Error with a regex `name`
ljharb Jan 15, 2025
0e7ec5e
test_runner: add TestContext.prototype.waitFor()
cjihrig Jan 16, 2025
c6960ee
src: handle duplicate paths granted
RafaelGSS Jan 16, 2025
3fe8027
test: add line break at end of file
RafaelGSS Jan 16, 2025
b3641fe
doc: add type stripping to ambassadors program
marco-ippolito Jan 16, 2025
00d4964
doc: tweak info on reposts in ambassador program
mhdawson Jan 16, 2025
22f1518
test_runner: remove unused errors
pmarchini Jan 17, 2025
cee63dc
module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX
marco-ippolito Jan 17, 2025
5d93002
test: add maxCount and gcOptions to gcUntil()
joyeecheung Jan 14, 2025
74717cb
src: use cppgc to manage ContextifyContext
joyeecheung Jan 9, 2025
90840cc
tools: fix permissions in `lint-release-proposal` workflow
aduh95 Jan 17, 2025
2e45656
crypto: add missing return value check
mhdawson Jan 17, 2025
a500382
deps: update libuv to 1.50.0
nodejs-github-bot Jan 17, 2025
6f946c9
doc: mention prepare --security
RafaelGSS Jan 17, 2025
840f952
punycode: limit deprecation warning
cjihrig Jan 18, 2025
009d53e
child_process: fix parsing messages with splitted length field
MGorkov Jan 18, 2025
322056d
src: initialize FSReqWrapSync in path that uses it
targos Jan 19, 2025
a5ed762
deps: fixup some minor coverity warnings
jasnell Jan 19, 2025
da5f7ac
test: test-stream-compose.js doesn't need internals
nektro Jan 19, 2025
fdad2fa
http2: omit server name when HTTP2 host is IP address
islandryu Dec 29, 2024
7bc2946
doc: `WeakSet` and `WeakMap` comparison details
ishon19 Jan 20, 2025
b845dc6
2025-01-21, Version 23.6.1 (Current)
RafaelGSS Jan 15, 2025
e81c809
2025-01-21, Version 22.13.1 'Jod' (LTS)
RafaelGSS Jan 15, 2025
3efbb0d
2025-01-21, Version 20.18.2 'Iron' (LTS)
RafaelGSS Jan 16, 2025
d07c60b
2025-01-21, Version 18.20.6 'Hydrogen' (LTS)
RafaelGSS Jan 16, 2025
23c2d33
doc: clarify cjs/esm diff in `queueMicrotask()` vs `process.nextTick()`
dario-piotrowicz Jan 21, 2025
1b693fa
src: fix HTTP2 mem leak on premature close and ERR_PROTO
RafaelGSS Dec 17, 2024
8306457
path: fix path traversal in normalize() on Windows
RafaelGSS Jan 20, 2025
bf59539
src,loader,permission: throw on InternalWorker use
RafaelGSS Aug 27, 2024
1c5b7e1
tools: do not throw on missing `create-release-proposal.sh`
aduh95 Jan 22, 2025
01dd7c4
test: use --permission instead of --experimental-permission
RafaelGSS Jan 22, 2025
9ec7bed
module: fixing url change in load sync hook chain
awto Dec 29, 2024
309924f
doc: add history info for Permission Model
aduh95 Jan 22, 2025
a4895e2
doc: add note for features using `InternalWorker` with permission model
aduh95 Jan 23, 2025
d978610
worker: refactor stdio to improve performance
mcollina Jan 23, 2025
905e4b4
module: use more defensive code when handling SWC errors
aduh95 Jan 23, 2025
a1c9c1a
doc: add RafaelGSS as latest sec release stewards
RafaelGSS Jan 23, 2025
3d861c4
doc: fix inconsistencies in `WeakSet` and `WeakMap` comparison details
ishon19 Jan 23, 2025
a954602
tools: fix tools-deps-update
lemire Jan 23, 2025
869d0cb
test: fix localization data for ICU 74.2
aduh95 Jan 23, 2025
b11ee4c
lib: allow skipping source maps in node_modules
legendecas Jan 23, 2025
869ea33
src: replace NoArrayBufferZeroFillScope with v8 option
jasnell Jan 19, 2025
08eeddf
test: enforce strict mode in test-zlib-const
Trott Jan 24, 2025
e55b02b
build: drop support for python 3.8
avivkeller Jan 24, 2025
1921371
tools: do not throw on missing `create-release-proposal.sh`
aduh95 Jan 24, 2025
19fabc0
util: inspect: do not crash on an Error stack that contains a Symbol
ljharb Jan 12, 2025
01a5aa2
test: add missing test for env file
JonasBa Jan 24, 2025
c752615
test_runner: print failing assertion only once with spec reporter
pmarchini Jan 19, 2025
761de81
test: move crypto related common utilities in common/crypto
jasnell Jan 25, 2025
f07300c
test: move hasMultiLocalhost to common/net
jasnell Jan 25, 2025
4a5d2c7
module: integrate TypeScript into compile cache
joyeecheung Jan 25, 2025
0713ee3
test: simplify common/index.js
jasnell Jan 22, 2025
8caa1dc
test: rely less on duplicative common test harness utilities
jasnell Jan 22, 2025
552362a
test: make common/index slightly less node.js specific
jasnell Jan 22, 2025
97a3a82
test: replace more uses of `global` with `globalThis`
jasnell Jan 22, 2025
687be59
test: add test that uses multibyte for path and resolves modules
yamachu Jan 22, 2025
1760024
src: fix to generate path from wchar_t via wstring
yamachu Jan 22, 2025
bade7a1
src: fix build with GCC 15
tjuhaszrh Jan 25, 2025
da1ca7d
doc: fix typo in example code for util.styleText
rmehner Jan 25, 2025
db5a2b5
src: add default value for RSACipherConfig mode field
wooffie Jan 22, 2025
23d0a7f
test: make some requires lazy in common/index
jasnell Jan 23, 2025
59b3a8b
watch: reload env file for --env-file-if-exists
JonasBa Jan 25, 2025
7119303
module: fix bad `require.resolve` with option paths for `.` and `..`
dario-piotrowicz Jan 25, 2025
ce6a628
doc: add note regarding commit message trailers
dario-piotrowicz Jan 26, 2025
e0a7151
src: move more crypto to ncrypto
jasnell Jan 15, 2025
1c7c32f
src: add nullptr handling from X509_STORE_new()
wooffie Jan 22, 2025
80c70ee
test: do not use common.isMainThread
lpinca Jan 26, 2025
ea7ab16
test: cleanup and simplify test-crypto-aes-wrap
jasnell Jan 26, 2025
a6c5ce2
doc: improve accessibility of expandable lists
aduh95 Jan 26, 2025
f1196ee
doc: add "Skip to content" button
aduh95 Jan 26, 2025
e1e1ada
deps: macro ENODATA is deprecated in libc++
zcbenz Jan 26, 2025
43daa9b
doc: fix styles of the expandable TOC
aduh95 Jan 26, 2025
6d22fce
tools: update inspector_protocol roller
legendecas Jan 15, 2025
744c2f5
inspector: roll inspector_protocol
legendecas Jan 15, 2025
0aa5874
deps: move inspector_protocol to deps
legendecas Jan 17, 2025
1263efd
test: use strict mode in global setters test
Trott Jan 27, 2025
04f147b
test: fix invalid common.mustSucceed() usage
lpinca Jan 27, 2025
50d405a
test: reduce number of written chunks
lpinca Jan 27, 2025
33dc9bc
doc: move anatoli to emeritus
mhdawson Jan 27, 2025
532fff6
meta: move one or more collaborators to emeritus
nodejs-github-bot Jan 27, 2025
64ee8a0
deps: update corepack to 0.31.0
nodejs-github-bot Jan 28, 2025
efe698e
crypto: added support for reading certificates from macOS system store
timja Jan 28, 2025
0741d69
test: remove duplicate error reporter from ci
Ceres6 Jan 28, 2025
f2d2747
crypto: add api to get openssl security level
mhdawson Jan 14, 2025
e6f1ddf
build: add build option suppress_all_error_on_warn
mhdawson Jan 17, 2025
e346323
test: update WPT for url to a23788b77a
nodejs-github-bot Jan 29, 2025
adf8e97
test: mark `test-esm-loader-hooks-inspect-wait` flaky
richardlau Jan 29, 2025
f4fba08
util: enforce shouldColorize in styleText array arg
marco-ippolito Jan 29, 2025
a7f8b23
meta: add @nodejs/url as codeowner
legendecas Jan 29, 2025
e46f2c1
tools: fix license-builder for inspector_protocol
targos Jan 29, 2025
b185d12
test: remove unnecessary code
lpinca Jan 29, 2025
f2001e3
deps: update amaro to 0.3.1
nodejs-github-bot Jan 29, 2025
671d058
doc: clarify sqlite user-defined function behaviour
Renegade334 Jan 29, 2025
f5b673c
deps: update ada to v3.0.1
anonrig Dec 20, 2024
630c5d8
url: add URLPattern implementation
anonrig Jan 30, 2025
a0b10cd
test: add WPT for URLPattern
anonrig Jan 30, 2025
49d1fd7
fixup! url: add URLPattern implementation
anonrig Jan 31, 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
  •  
  •  
  •  
14 changes: 10 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

# net

/deps/ada @nodejs/url
/deps/cares @nodejs/net
/doc/api/dgram.md @nodejs/net
/doc/api/dns.md @nodejs/net
Expand All @@ -47,14 +46,11 @@
/lib/internal/js_stream_socket.js @nodejs/net
/lib/internal/net.js @nodejs/net
/lib/internal/socket_list.js @nodejs/net
/lib/internal/url.js @nodejs/url
/lib/net.js @nodejs/net
/lib/url.js @nodejs/url
/src/cares_wrap.cc @nodejs/net
/src/connect_wrap.* @nodejs/net
/src/connection_wrap.* @nodejs/net
/src/node_sockaddr* @nodejs/net
/src/node_url.* @nodejs/url
/src/tcp_wrap.* @nodejs/net
/src/udp_wrap.* @nodejs/net

Expand Down Expand Up @@ -171,6 +167,9 @@
/src/permission/* @nodejs/security-wg
/test/parallel/test-permission-* @nodejs/security-wg

# Security Release
/doc/contributing/security-release-process.md @nodejs/security-stewards

# Dependency Update Tools

/.github/workflows/tools.yml @nodejs/security-wg
Expand All @@ -194,3 +193,10 @@

# Performance
/benchmark/* @nodejs/performance

# URL
/deps/ada @nodejs/url
/lib/internal/url.js @nodejs/url
/lib/url.js @nodejs/url
/src/node_url.* @nodejs/url
/test/fixtures/wpt/url @nodejs/url
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ updates:
interval: monthly
commit-message:
prefix: meta
open-pull-requests-limit: 10
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}

- package-ecosystem: npm
directory: /tools/eslint
schedule:
interval: monthly
commit-message:
prefix: tools
open-pull-requests-limit: 10
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
groups:
eslint:
applies-to: version-updates
Expand All @@ -29,7 +29,7 @@ updates:
interval: monthly
commit-message:
prefix: tools
open-pull-requests-limit: 10
open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
groups:
lint-md:
applies-to: version-updates
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ jobs:
- name: Test
run: |
cd $TAR_DIR
make run-ci -j4 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 --measure-flakiness 9"
2 changes: 1 addition & 1 deletion .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# 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 -j4 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 --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# 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 -j4 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 --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/create-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Set up ghauth config (Ubuntu)
run: |
mkdir -p "${XDG_CONFIG_HOME:-~/.config}/changelog-maker"
echo '{}' | jq '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
jq --null-input '{user: env.GITHUB_ACTOR, token: env.TOKEN}' > "${XDG_CONFIG_HOME:-~/.config}/changelog-maker/config.json"
env:
TOKEN: ${{ github.token }}

Expand All @@ -73,9 +73,8 @@ jobs:
- name: Start git node release prepare
# The curl command is to make sure we run the version of the script corresponding to the current workflow.
run: |
git update-index --assume-unchanged tools/actions/create-release.sh
curl -fsSLo tools/actions/create-release.sh https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release.sh
./tools/actions/create-release.sh "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
curl -fsSL https://github.com/${GITHUB_REPOSITORY}/raw/${GITHUB_SHA}/tools/actions/create-release-proposal.sh |\
sh -s -- "${RELEASE_DATE}" "${RELEASE_LINE}" "${GITHUB_ACTOR}"
env:
GH_TOKEN: ${{ github.token }}
# We want the bot to push the push the release commit so CI runs on it.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
name: docs
path: out/doc
- name: Test
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --measure-flakiness 9"
37 changes: 26 additions & 11 deletions .github/workflows/lint-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ permissions:
jobs:
lint-release-commit:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand All @@ -33,30 +35,43 @@ jobs:
echo "COMMIT_SUBJECT=$COMMIT_SUBJECT" >> "$GITHUB_ENV"
- name: Lint release commit message trailers
run: |
EXPECTED_TRAILER="^PR-URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pull/[[:digit:]]+\$"
EXPECTED_TRAILER="^$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pull/[[:digit:]]+\$"
echo "Expected trailer format: $EXPECTED_TRAILER"
ACTUAL="$(git --no-pager log -1 --format=%b | git interpret-trailers --parse --no-divider)"
PR_URL="$(git --no-pager log -1 --format='%(trailers:key=PR-URL,valueonly)')"
echo "Actual: $ACTUAL"
echo "$ACTUAL" | grep -E -q "$EXPECTED_TRAILER"
echo "$PR_URL" | grep -E -q "$EXPECTED_TRAILER"
PR_URL="${ACTUAL:8}"
PR_HEAD="$(gh pr view "$PR_URL" --json headRefOid -q .headRefOid)"
echo "Head of $PR_URL: $PR_HEAD"
echo "Current commit: $GITHUB_SHA"
[ "$PR_HEAD" = "$GITHUB_SHA" ]
env:
GH_TOKEN: ${{ github.token }}
- name: Verify it's release-ready
run: |
SKIP_XZ=1 make release-only
- name: Validate CHANGELOG
id: releaser-info
run: |
EXPECTED_CHANGELOG_TITLE_INTRO="## $COMMIT_SUBJECT, @"
echo "Expected CHANGELOG section title: $EXPECTED_CHANGELOG_TITLE_INTRO"
CHANGELOG_TITLE="$(grep "$EXPECTED_CHANGELOG_TITLE_INTRO" "doc/changelogs/CHANGELOG_V${COMMIT_SUBJECT:20:2}.md")"
MAJOR="$(awk '/^#define NODE_MAJOR_VERSION / { print $3 }' src/node_version.h)"
CHANGELOG_PATH="doc/changelogs/CHANGELOG_V${MAJOR}.md"
CHANGELOG_TITLE="$(grep "$EXPECTED_CHANGELOG_TITLE_INTRO" "$CHANGELOG_PATH")"
echo "Actual: $CHANGELOG_TITLE"
[ "${CHANGELOG_TITLE%%@*}@" = "$EXPECTED_CHANGELOG_TITLE_INTRO" ]
- name: Verify NODE_VERSION_IS_RELEASE bit is correctly set
run: |
grep -q '^#define NODE_VERSION_IS_RELEASE 1$' src/node_version.h
- name: Check for placeholders in documentation
run: |
! grep "REPLACEME" doc/api/*.md
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
--jq '.commits.[] | { smallSha: .sha[0:10] } + (.commit.message|capture("^(?<title>.+)\n\n(.*\n)*PR-URL: (?<prURL>.+)\n"))' \
"/repos/${GITHUB_REPOSITORY}/compare/v${MAJOR}.x...$GITHUB_SHA" --paginate \
| node tools/actions/lint-release-proposal-commit-list.mjs "$CHANGELOG_PATH" "$GITHUB_SHA" \
| while IFS= read -r PR_URL; do
LABEL="dont-land-on-v${MAJOR}.x" gh pr view \
--json labels,url \
--jq 'if (.labels|map(.name==env.LABEL)|any) then error("\(.url) has the \(env.LABEL) label, forbidding it to be in this release proposal") end' \
"$PR_URL" > /dev/null
done
shell: bash # See https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference, we want the pipefail option.
env:
GH_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
- name: Build
run: make build-ci -j4 V=1
- name: Test
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions -t 300 --measure-flakiness 9"
12 changes: 10 additions & 2 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: node
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
Expand All @@ -51,6 +52,13 @@ jobs:
- name: Environment Information
run: npx envinfo
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
- name: Re-run test in a folder whose name contains unusual chars
run: |
mv node "$DIR"
cd "$DIR"
./tools/test.py --flaky-tests keep_retrying -p actions -j 4
env:
DIR: dir%20with $unusual"chars?'åß∂ƒ©∆¬…`
14 changes: 11 additions & 3 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
path: node
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
Expand All @@ -68,7 +69,7 @@ jobs:
# happen anymore running this step here first, that's also useful
# information.)
- name: tools/doc/node_modules workaround
run: make tools/doc/node_modules
run: make -C node tools/doc/node_modules
# This is needed due to https://github.com/nodejs/build/issues/3878
- name: Cleanup
run: |
Expand All @@ -84,8 +85,15 @@ jobs:
df -h
echo "::endgroup::"
- name: Build
run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
run: make -C node build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
- name: Free Space After Build
run: df -h
- name: Test
run: make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
run: make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
- name: Re-run test in a folder whose name contains unusual chars
run: |
mv node "$DIR"
cd "$DIR"
./tools/test.py --flaky-tests keep_retrying -p actions -j 4
env:
DIR: dir%20with $unusual"chars?'åß∂ƒ©∆¬…`
2 changes: 1 addition & 1 deletion .github/workflows/test-ubsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ jobs:
- name: Build
run: make build-ci -j2 V=1
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions -t 300 --measure-flakiness 9"
23 changes: 8 additions & 15 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ on:
- cjs-module-lexer
- corepack
- doc
- github_reporter
- googletest
- gyp-next
- histogram
Expand Down Expand Up @@ -135,14 +134,6 @@ jobs:
npm install --ignore-scripts $NEW_VERSION
npm install --ignore-scripts
fi
- id: github_reporter
subsystem: tools
label: tools
run: |
./tools/dep_updaters/update-github-reporter.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: googletest
subsystem: deps
label: dependencies, test
Expand Down Expand Up @@ -293,6 +284,10 @@ jobs:
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
steps:
- name: Setup Git config
run: |
git config --global user.name "Node.js GitHub Bot"
git config --global user.email "github-bot@iojs.org"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
with:
Expand All @@ -310,17 +305,15 @@ jobs:
if: env.COMMIT_MSG == '' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
run: |
echo "COMMIT_MSG=${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}" >> "$GITHUB_ENV"
- uses: gr2m/create-or-update-pull-request-action@86ec1766034c8173518f61d2075cc2a173fb8c97 # v1.9.4
- uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
# Creates a PR or update the Action's existing PR, or
# no-op if the base branch is already up-to-date.
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <github-bot@iojs.org>
body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}.
token: ${{ secrets.GH_USER_TOKEN }}
branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
delete-branch: true
commit-message: ${{ env.COMMIT_MSG }}
labels: ${{ matrix.label }}
title: '${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}'
update-pull-request-title-and-body: true
body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}.
7 changes: 4 additions & 3 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ Binaries at <https://nodejs.org/download/release/> are produced on:
| Binary package | Platform and Toolchain |
| ----------------------- | ------------------------------------------------------------------------------------------------------------- |
| aix-ppc64 | AIX 7.2 TL04 on PPC64BE with GCC 12[^5] |
| darwin-x64 | macOS 11, Xcode 13 with -mmacosx-version-min=11.0 |
| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode 13 with -mmacosx-version-min=11.0 |
| darwin-x64 | macOS 13, Xcode 16 with -mmacosx-version-min=11.0 |
| darwin-arm64 (and .pkg) | macOS 13 (arm64), Xcode 14 with -mmacosx-version-min=11.0 |
| linux-arm64 | RHEL 8 with gcc-toolset-12[^6] |
| linux-armv7l | Cross-compiled on RHEL 9 x64 with a [custom GCC toolchain](https://github.com/rvagg/rpi-newer-crosstools)[^7] |
| linux-ppc64le | RHEL 8 with gcc-toolset-12[^6] |
Expand Down Expand Up @@ -241,7 +241,7 @@ Consult previous versions of this document for older versions of Node.js:

Installation via Linux package manager can be achieved with:

* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip`
* Ubuntu, Debian: `sudo apt-get install python3 g++-12 gcc-12 make python3-pip`
* Fedora: `sudo dnf install python3 gcc-c++ make python3-pip`
* CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip`
* OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip`
Expand Down Expand Up @@ -269,6 +269,7 @@ fail.
To build Node.js:

```bash
export CXX=g++-12
./configure
make -j4
```
Expand Down
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,19 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V23.md#23.5.0">23.5.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V23.md#23.6.1">23.6.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.6.0">23.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.5.0">23.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.4.0">23.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.3.0">23.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.2.0">23.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.1.0">23.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V23.md#23.0.0">23.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.12.0">22.12.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.13.1">22.13.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.13.0">22.13.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.12.0">22.12.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.11.0">22.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.10.0">22.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.9.0">22.9.0</a><br/>
Expand All @@ -64,7 +68,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V22.md#22.0.0">22.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.18.1">20.18.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.18.2">20.18.2</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.18.1">20.18.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.18.0">20.18.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.16.0">20.16.0</a><br/>
Expand Down Expand Up @@ -95,7 +100,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V20.md#20.0.0">20.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.20.5">18.20.5</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.20.6">18.20.6</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.20.5">18.20.5</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.20.4">18.20.4</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.20.3">18.20.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.20.2">18.20.2</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2098,7 +2098,7 @@ The externally maintained libraries used by Node.js are:
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

- inspector_protocol, located at tools/inspector_protocol, is licensed as follows:
- inspector_protocol, located at deps/inspector_protocol, is licensed as follows:
"""
// Copyright 2016 The Chromium Authors. All rights reserved.
//
Expand Down
Loading
Loading