Skip to content

Commit c86191b

Browse files
authored
Merge branch 'main' into coverage-spec-table-format
2 parents c101bbb + 3323528 commit c86191b

File tree

2,890 files changed

+163328
-93392
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,890 files changed

+163328
-93392
lines changed

.github/CODEOWNERS

+38-23
Original file line numberDiff line numberDiff line change
@@ -11,53 +11,58 @@
1111
# tsc
1212

1313
/.github/CODEOWNERS @nodejs/tsc
14-
/GOVERNANCE.md @nodejs/tsc
15-
/onboarding.md @nodejs/tsc
1614
/CODE_OF_CONDUCT.md @nodejs/tsc
1715
/CONTRIBUTING.md @nodejs/tsc
18-
/LICENSE @nodejs/tsc
1916
/doc/contributing/*.md @nodejs/tsc
17+
/GOVERNANCE.md @nodejs/tsc
18+
/LICENSE @nodejs/tsc
19+
/onboarding.md @nodejs/tsc
20+
21+
# website
22+
/doc/api_assets @nodejs/website
23+
/doc/template.html @nodejs/website
24+
/tools/doc @nodejs/website
2025

2126
# streams
2227

2328
/lib/_stream* @nodejs/streams
29+
/lib/internal/streams/* @nodejs/streams
2430
/lib/stream.js @nodejs/streams
2531
/lib/stream/* @nodejs/streams
26-
/lib/internal/streams/* @nodejs/streams
2732

2833
# net
2934

3035
/deps/ada @nodejs/url
3136
/deps/cares @nodejs/net
32-
/doc/api/dns.md @nodejs/net
3337
/doc/api/dgram.md @nodejs/net
38+
/doc/api/dns.md @nodejs/net
3439
/doc/api/net.md @nodejs/net
3540
/lib/dgram.js @nodejs/net
3641
/lib/dns.js @nodejs/net
37-
/lib/net.js @nodejs/net
38-
/lib/url.js @nodejs/url
3942
/lib/internal/dgram.js @nodejs/net
4043
/lib/internal/dns/* @nodejs/net
44+
/lib/internal/js_stream_socket.js @nodejs/net
4145
/lib/internal/net.js @nodejs/net
4246
/lib/internal/socket_list.js @nodejs/net
43-
/lib/internal/js_stream_socket.js @nodejs/net
4447
/lib/internal/url.js @nodejs/url
45-
/src/node_url.* @nodejs/url
48+
/lib/net.js @nodejs/net
49+
/lib/url.js @nodejs/url
4650
/src/cares_wrap.cc @nodejs/net
4751
/src/connect_wrap.* @nodejs/net
4852
/src/connection_wrap.* @nodejs/net
4953
/src/node_sockaddr* @nodejs/net
54+
/src/node_url.* @nodejs/url
5055
/src/tcp_wrap.* @nodejs/net
5156
/src/udp_wrap.* @nodejs/net
5257

5358
# tls/crypto
5459

60+
/lib/crypto.js @nodejs/crypto
5561
/lib/internal/crypto/* @nodejs/crypto
5662
/lib/internal/tls/* @nodejs/crypto @nodejs/net
57-
/lib/crypto.js @nodejs/crypto
5863
/lib/tls.js @nodejs/crypto @nodejs/net
59-
/src/node_crypto* @nodejs/crypto
6064
/src/crypto/* @nodejs/crypto
65+
/src/node_crypto* @nodejs/crypto
6166

6267
# http
6368

@@ -93,10 +98,10 @@
9398

9499
# Node-API
95100

96-
/src/node_api* @nodejs/node-api
97-
/src/js_native_api* @nodejs/node-api
98-
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
99101
/doc/api/n-api.md @nodejs/node-api
102+
/doc/contributing/adding-new-napi-api.md @nodejs/node-api
103+
/src/js_native_api* @nodejs/node-api
104+
/src/node_api* @nodejs/node-api
100105

101106
# gyp
102107

@@ -110,17 +115,19 @@
110115
/doc/api/wasi.md @nodejs/wasi
111116
/lib/wasi.js @nodejs/wasi
112117
/src/node_wasi* @nodejs/wasi
113-
/test/wasi/ @nodejs/wasi
114118
/test/fixtures/wasi/ @nodejs/wasi
119+
/test/wasi/ @nodejs/wasi
115120

116121
# Startup
117122

118123
/benchmark/misc/startup.js @nodejs/startup
119-
/src/node.cc @nodejs/startup
120-
/src/node_realm* @nodejs/startup @nodejs/realm
124+
/lib/internal/bootstrap/* @nodejs/startup
121125
/src/node_builtins* @nodejs/startup
126+
/src/node_realm* @nodejs/startup @nodejs/realm
122127
/src/node_snapshot* @nodejs/startup
123-
/lib/internal/bootstrap/* @nodejs/startup
128+
/src/node.cc @nodejs/startup
129+
/test/parallel/test-bootstrap-* @nodejs/startup
130+
/test/parallel/test-snapshot-* @nodejs/startup
124131
/tools/snapshot/* @nodejs/startup
125132

126133
# V8
@@ -135,22 +142,30 @@
135142

136143
# Test runner
137144

138-
/test/parallel/test-runner-* @nodejs/test_runner
139145
/doc/api/test.md @nodejs/test_runner
140-
/lib/test.js @nodejs/test_runner
141146
/lib/internal/main/test_runner.js @nodejs/test_runner
142147
/lib/internal/test_runner/* @nodejs/test_runner
148+
/lib/test.js @nodejs/test_runner
149+
/test/parallel/test-runner-* @nodejs/test_runner
143150

144151
# Single Executable Applications
145152
/deps/postject @nodejs/single-executable
146153
/doc/api/single-executable-applications.md @nodejs/single-executable
147-
/doc/contributing/maintaining-postject.md @nodejs/single-executable
148-
/doc/contributing/maintaining-single-executable-application-support.md @nodejs/single-executable
154+
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
149155
/src/node_sea* @nodejs/single-executable
150156
/test/fixtures/postject-copy @nodejs/single-executable
151157
/test/parallel/test-single-executable-* @nodejs/single-executable
158+
/test/sequential/test-single-executable-* @nodejs/single-executable
152159
/tools/dep_updaters/update-postject.sh @nodejs/single-executable
153160

154161
# Permission Model
155-
/src/permission/* @nodejs/security-wg
156162
/doc/api/permissions.md @nodejs/security-wg
163+
/lib/internal/process/permission.js @nodejs/security-wg
164+
/src/permission/* @nodejs/security-wg
165+
166+
# Dependency Update Tools
167+
168+
/.github/workflows/tools.yml @nodejs/security-wg
169+
/.github/workflows/update-openssl.yml @nodejs/security-wg
170+
/.github/workflows/update-v8.yml @nodejs/security-wg @nodejs/v8-update
171+
/tools/dep_updaters/* @nodejs/security-wg

.github/dependabot.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ updates:
66
directory: /
77
schedule:
88
interval: monthly
9+
commit-message:
10+
prefix: meta
911
open-pull-requests-limit: 10

.github/label-pr-config.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ subSystemLabels:
3030
/^src\/node_report/: c++, report
3131
/^src\/node_wasi/: c++, wasi
3232
/^src\/node_worker/: c++, worker
33-
/^src\/quic\/*/: c++, quic, dont-land-on-v14.x
34-
/^src\/node_bob*/: c++, quic, dont-land-on-v14.x
33+
/^src\/quic\/*/: c++, quic
34+
/^src\/node_bob*/: c++, quic
3535
/^src\/node_sea/: single-executable
3636

3737
# Properly label changes to V8 inspector integration-related files
@@ -51,7 +51,7 @@ subSystemLabels:
5151
/^vcbuild\.bat$/: build, windows, needs-ci
5252
/^(?:android-)?configure|node\.gyp|common\.gypi$/: build, needs-ci
5353
# More specific tools
54-
/^tools\/gyp/: tools, build, gyp, needs-ci, dont-land-on-v14.x
54+
/^tools\/gyp/: tools, build, gyp, needs-ci
5555
/^tools\/doc\//: tools, doc
5656
/^tools\/icu\//: tools, i18n-api, icu, needs-ci
5757
/^tools\/osx-/: tools, macos
@@ -76,10 +76,10 @@ subSystemLabels:
7676
/^deps\/v8\/tools\/gen-postmortem-metadata\.py/: v8 engine, python, post-mortem
7777
/^deps\/v8\//: v8 engine
7878
/^deps\/uvwasi\//: wasi
79-
/^deps\/npm\//: npm, fast-track, dont-land-on-v14.x
79+
/^deps\/npm\//: npm, fast-track
8080
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2
8181
/^deps\/nghttp2\//: http2
82-
/^deps\/ngtcp2\//: quic, dont-land-on-v14.x
82+
/^deps\/ngtcp2\//: quic
8383
/^deps\/([^/]+)/: dependencies, $1
8484

8585
## JS subsystems
@@ -94,11 +94,11 @@ subSystemLabels:
9494
/^lib\/\w+\/streams$/: stream
9595
/^lib\/.*http2/: http2
9696
/^lib\/worker_threads.js$/: worker
97-
/^lib\/test.js$/: test_runner, dont-land-on-v14.x
97+
/^lib\/test.js$/: test_runner
9898
/^lib\/internal\/url\.js$/: whatwg-url
9999
/^lib\/internal\/modules\/esm/: esm
100100
/^lib\/internal\/webstreams/: web streams
101-
/^lib\/internal\/test_runner/: test_runner, dont-land-on-v14.x
101+
/^lib\/internal\/test_runner/: test_runner
102102

103103
# All other lib/ files map directly
104104
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
@@ -134,7 +134,7 @@ exlusiveLabels:
134134
# Add worker label to PRs that affect doc/api/worker_threads.md
135135
/^doc\/api\/worker_threads.md$/: doc, worker
136136
# test_runner documentation
137-
/^doc\/api\/test.md$/: doc, test_runner, dont-land-on-v14.x
137+
/^doc\/api\/test.md$/: doc, test_runner
138138
# Automatically tag JS subsystem-specific API doc changes
139139
/^doc\/api\/(\w+)\.md$/: doc, $1
140140
# Add deprecations label to PRs that affect doc/api/deprecations.md

.github/workflows/auto-start-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if: needs.get-prs-for-ci.outputs.numbers != ''
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
49+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
5050
with:
5151
persist-credentials: false
5252

.github/workflows/build-tarball.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
if: github.event.pull_request.draft == false
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
42+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
4343
with:
4444
persist-credentials: false
4545
- name: Set up Python ${{ env.PYTHON_VERSION }}
46-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
46+
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
4747
with:
4848
python-version: ${{ env.PYTHON_VERSION }}
4949
- name: Environment Information
@@ -65,11 +65,11 @@ jobs:
6565
needs: build-tarball
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
68+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
6969
with:
7070
persist-credentials: false
7171
- name: Set up Python ${{ env.PYTHON_VERSION }}
72-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
72+
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
7373
with:
7474
python-version: ${{ env.PYTHON_VERSION }}
7575
- name: Environment Information

.github/workflows/build-windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
fail-fast: false
3939
runs-on: ${{ matrix.windows }}
4040
steps:
41-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
41+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
4242
with:
4343
persist-credentials: false
4444
- name: Set up Python ${{ env.PYTHON_VERSION }}
45-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
45+
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
4646
with:
4747
python-version: ${{ env.PYTHON_VERSION }}
4848
- name: Install deps
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Close stale pull requests
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
endDate:
6+
description: stop processing PRs after this date
7+
required: false
8+
type: string
9+
10+
# yamllint disable rule:empty-lines
11+
env:
12+
CLOSE_MESSAGE: >
13+
This pull request was opened more than a year ago and there has
14+
been no activity in the last 6 months. We value your contribution
15+
but since it has not progressed in the last 6 months it is being
16+
closed. If you feel closing this pull request is not the right thing
17+
to do, please leave a comment.
18+
19+
WARN_MESSAGE: >
20+
This pull request was opened more than a year ago and there has
21+
been no activity in the last 5 months. We value your contribution
22+
but since it has not progressed in the last 5 months it is being
23+
marked stale and will be closed if there is no progress in the
24+
next month. If you feel that is not the right thing to do please
25+
comment on the pull request.
26+
# yamllint enable
27+
28+
permissions:
29+
contents: read
30+
31+
jobs:
32+
stale:
33+
permissions:
34+
pull-requests: write # for actions/stale to close stale PRs
35+
if: github.repository == 'nodejs/node'
36+
runs-on: ubuntu-latest
37+
steps:
38+
- name: Set default end date which is 1 year ago
39+
run: echo "END_DATE=$(date --date='525600 minutes ago' --rfc-2822)" >> "$GITHUB_ENV"
40+
- name: if date set in event override the default end date
41+
env:
42+
END_DATE_INPUT_VALUE: ${{ github.event.inputs.endDate }}
43+
if: ${{ github.event.inputs.endDate != '' }}
44+
run: echo "END_DATE=$END_DATE_INPUT_VALUE" >> "$GITHUB_ENV"
45+
- uses: mhdawson/stale@453d6581568dc43dbe345757f24408d7b451c651 # PR to add support for endDate
46+
with:
47+
repo-token: ${{ secrets.GITHUB_TOKEN }}
48+
end-date: ${{ env.END_DATE }}
49+
days-before-issue-stale: -1
50+
days-before-issue-close: -1
51+
days-before-stale: 150
52+
days-before-close: 30
53+
stale-issue-label: stale
54+
close-issue-message: ${{ env.CLOSE_MESSAGE }}
55+
stale-issue-message: ${{ env.WARN_MESSAGE }}
56+
exempt-pr-labels: never-stale
57+
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
58+
operations-per-run: 500
59+
remove-stale-when-updated: true

.github/workflows/commit-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: |
1818
echo "plusOne=$((${{ github.event.pull_request.commits }} + 1))" >> $GITHUB_OUTPUT
1919
echo "minusOne=$((${{ github.event.pull_request.commits }} - 1))" >> $GITHUB_OUTPUT
20-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
20+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
2121
with:
2222
fetch-depth: ${{ steps.nb-of-commits.outputs.plusOne }}
2323
persist-credentials: false

.github/workflows/commit-queue.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
if: needs.get_mergeable_prs.outputs.numbers != ''
5959
runs-on: ubuntu-latest
6060
steps:
61-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
61+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
6262
with:
6363
# Needs the whole git history for ncu to work
6464
# See https://github.com/nodejs/node-core-utils/pull/486

.github/workflows/coverage-linux-without-intl.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
if: github.event.pull_request.draft == false
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
40+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
4141
with:
4242
persist-credentials: false
4343
- name: Set up Python ${{ env.PYTHON_VERSION }}
44-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
44+
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
4545
with:
4646
python-version: ${{ env.PYTHON_VERSION }}
4747
- name: Environment Information
@@ -64,6 +64,6 @@ jobs:
6464
- name: Clean tmp
6565
run: rm -rf coverage/tmp && rm -rf out
6666
- name: Upload
67-
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
67+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
6868
with:
6969
directory: ./coverage

.github/workflows/coverage-linux.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
if: github.event.pull_request.draft == false
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
40+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
4141
with:
4242
persist-credentials: false
4343
- name: Set up Python ${{ env.PYTHON_VERSION }}
44-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
44+
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
4545
with:
4646
python-version: ${{ env.PYTHON_VERSION }}
4747
- name: Environment Information
@@ -64,6 +64,6 @@ jobs:
6464
- name: Clean tmp
6565
run: rm -rf coverage/tmp && rm -rf out
6666
- name: Upload
67-
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
67+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
6868
with:
6969
directory: ./coverage

0 commit comments

Comments
 (0)