Skip to content

Commit a146d6f

Browse files
Merge branch 'main' into actions/tools-update-nghttp2
2 parents 8b94d2a + a7c16b2 commit a146d6f

File tree

7,401 files changed

+862287
-741017
lines changed

Some content is hidden

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

7,401 files changed

+862287
-741017
lines changed

.devcontainer/.devcontainer.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "Node.js Core Developer Environment",
3+
"extensions": [
4+
"github.vscode-pull-request-github",
5+
"ms-vsliveshare.vsliveshare",
6+
"vscode-icons-team.vscode-icons",
7+
"visualstudioexptteam.vscodeintellicode"
8+
],
9+
"dockerFile": "Dockerfile",
10+
"initializeCommand": "docker system prune -f -a",
11+
"settings": {
12+
"terminal.integrated.profiles.linux": {
13+
"zsh (login)": {
14+
"path": "zsh",
15+
"args": ["-l"]
16+
}
17+
}
18+
}
19+
}

.devcontainer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM nodejs/devcontainer:nightly

.flake8

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,22 @@
2727

2828
# net
2929

30+
/deps/ada @nodejs/url
3031
/deps/cares @nodejs/net
3132
/doc/api/dns.md @nodejs/net
3233
/doc/api/dgram.md @nodejs/net
3334
/doc/api/net.md @nodejs/net
3435
/lib/dgram.js @nodejs/net
3536
/lib/dns.js @nodejs/net
3637
/lib/net.js @nodejs/net
38+
/lib/url.js @nodejs/url
3739
/lib/internal/dgram.js @nodejs/net
3840
/lib/internal/dns/* @nodejs/net
3941
/lib/internal/net.js @nodejs/net
4042
/lib/internal/socket_list.js @nodejs/net
4143
/lib/internal/js_stream_socket.js @nodejs/net
44+
/lib/internal/url.js @nodejs/url
45+
/src/node_url.* @nodejs/url
4246
/src/cares_wrap.cc @nodejs/net
4347
/src/connect_wrap.* @nodejs/net
4448
/src/connection_wrap.* @nodejs/net
@@ -80,7 +84,7 @@
8084
/doc/api/module.md @nodejs/modules @nodejs/loaders
8185
/doc/api/modules.md @nodejs/modules @nodejs/loaders
8286
/doc/api/packages.md @nodejs/modules @nodejs/loaders
83-
/lib/internal/bootstrap/loaders.js @nodejs/modules @nodejs/loaders
87+
/lib/internal/bootstrap/realm.js @nodejs/modules @nodejs/loaders
8488
/lib/internal/modules/* @nodejs/modules @nodejs/loaders
8589
/lib/internal/process/esm_loader.js @nodejs/modules @nodejs/loaders
8690
/lib/internal/process/execution.js @nodejs/modules @nodejs/loaders
@@ -111,8 +115,11 @@
111115

112116
# Startup
113117

118+
/test/parallel/test-snapshot-* @nodejs/startup
119+
/test/parallel/test-bootstrap-* @nodejs/startup
114120
/benchmark/misc/startup.js @nodejs/startup
115121
/src/node.cc @nodejs/startup
122+
/src/node_realm* @nodejs/startup @nodejs/realm
116123
/src/node_builtins* @nodejs/startup
117124
/src/node_snapshot* @nodejs/startup
118125
/lib/internal/bootstrap/* @nodejs/startup
@@ -130,9 +137,23 @@
130137

131138
# Test runner
132139

133-
/test/message/test_runner_* @nodejs/test_runner
134140
/test/parallel/test-runner-* @nodejs/test_runner
135141
/doc/api/test.md @nodejs/test_runner
136142
/lib/test.js @nodejs/test_runner
137143
/lib/internal/main/test_runner.js @nodejs/test_runner
138144
/lib/internal/test_runner/* @nodejs/test_runner
145+
146+
# Single Executable Applications
147+
/deps/postject @nodejs/single-executable
148+
/doc/api/single-executable-applications.md @nodejs/single-executable
149+
/doc/contributing/maintaining/maintaining-single-executable-application-support.md @nodejs/single-executable
150+
/src/node_sea* @nodejs/single-executable
151+
/test/fixtures/postject-copy @nodejs/single-executable
152+
/test/parallel/test-single-executable-* @nodejs/single-executable
153+
/test/sequential/test-single-executable-* @nodejs/single-executable
154+
/tools/dep_updaters/update-postject.sh @nodejs/single-executable
155+
156+
# Permission Model
157+
/src/permission/* @nodejs/security-wg
158+
/doc/api/permissions.md @nodejs/security-wg
159+
/lib/internal/process/permission.js @nodejs/security-wg

.github/ISSUE_TEMPLATE/1-bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ body:
3333
label: How often does it reproduce? Is there a required condition?
3434
- type: textarea
3535
attributes:
36-
label: What is the expected behavior?
36+
label: What is the expected behavior? Why is that the expected behavior?
3737
description: If possible please provide textual output instead of screenshots.
3838
- type: textarea
3939
attributes:

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
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

Lines changed: 40 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
## earlier entries override later entries
33
subSystemLabels:
44
# src subsystems
5-
/^src\/async-wrap/: c++, async_wrap
5+
/^src\/async_wrap/: c++, async_wrap
66
/^src\/(?:base64|node_buffer|string_)/: c++, buffer
77
/^src\/cares/: c++, cares
88
/^src\/(?:process_wrap|spawn_)/: c++, child_process
99
/^src\/(?:node_)?crypto/: c++, crypto
10-
/^src\/(?:debug-|node_debug)/: c++, debugger
10+
/^src\/debug_/: c++, debugger
1111
/^src\/udp_/: c++, dgram
1212
/^src\/(?:fs_|node_file|node_stat_watcher)/: c++, fs
1313
/^src\/node_http_parser/: c++, http_parser
@@ -16,14 +16,13 @@ subSystemLabels:
1616
/^src\/(?:connect(?:ion)?|pipe|tcp)_/: c++, net
1717
/^src\/node_os/: c++, os
1818
/^src\/(?:node_main|signal_)/: c++, process
19-
/^src\/timer_/: c++, timers
20-
/^src\/(?:CNNICHashWhitelist|node_root_certs|tls_)/: c++, tls
19+
/^src\/timer[_s]/: c++, timers
20+
/^src\/node_root_certs/: c++, tls
2121
/^src\/tty_/: c++, tty
2222
/^src\/node_url/: c++, whatwg-url
2323
/^src\/node_util/: c++, util
2424
/^src\/node_v8/: c++, v8 engine
2525
/^src\/node_contextify/: c++, vm
26-
/^src\/.*win32.*/: c++, windows
2726
/^src\/node_zlib/: c++, zlib
2827
/^src\/tracing/: c++, tracing
2928
/^src\/(?:node_api|js_native_api)/: c++, node-api
@@ -33,49 +32,46 @@ subSystemLabels:
3332
/^src\/node_worker/: c++, worker
3433
/^src\/quic\/*/: c++, quic, dont-land-on-v14.x
3534
/^src\/node_bob*/: c++, quic, dont-land-on-v14.x
35+
/^src\/node_sea/: single-executable
3636

37-
# don't label python files as c++
38-
/^src\/.+\.py$/: python, needs-ci
39-
40-
# properly label changes to v8 inspector integration-related files
37+
# Properly label changes to V8 inspector integration-related files
4138
/^src\/inspector_/: c++, inspector, needs-ci
4239

43-
# don't want to label it a c++ update when we're "only" bumping the Node.js version
40+
# Don't want to label it a C++ update when we're "only" bumping the Node.js version
4441
/^src\/(?!node_version\.h)/: c++
4542
# BUILDING.md should be marked as 'build' in addition to 'doc'
4643
/^BUILDING\.md$/: build, doc
47-
# meta is a very specific label for things that are policy and or meta-info related
48-
/^([A-Z]+$|CODE_OF_CONDUCT|ROADMAP|WORKING_GROUPS|GOVERNANCE|CHANGELOG|\.mail|\.git.+)/: meta
49-
# things that edit top-level .md files are always a doc change
44+
# 'meta' is a very specific label for things that are policy and or meta-info related
45+
/^(?:[A-Z]+$|CODE_OF_CONDUCT|GOVERNANCE|CHANGELOG|\.mail|\.git.+)/: meta
46+
# Things that edit top-level .md files are always a doc change
5047
/^\w+\.md$/: doc
51-
# different variants of *Makefile and build files
52-
/^(tools\/)?(Makefile|BSDmakefile|create_android_makefiles|\.travis\.yml)$/: build, needs-ci
53-
/^tools\/(install\.py|genv8constants\.py|getnodeversion\.py|js2c\.py|utils\.py|configure\.d\/.*)$/: build, python, needs-ci
48+
# Different variants of Makefile and build files
49+
/^(?:tools\/)?(?:Makefile|BSDmakefile|create_android_makefiles)$/: build, needs-ci
50+
/^tools\/(?:install\.py|genv8constants\.py|getnodeversion\.py|js2c\.py|utils\.py|configure\.d\/.*)$/: build, python, needs-ci
5451
/^vcbuild\.bat$/: build, windows, needs-ci
55-
/^(android-)?configure|node\.gyp|common\.gypi$/: build, needs-ci
56-
# more specific tools
52+
/^(?:android-)?configure|node\.gyp|common\.gypi$/: build, needs-ci
53+
# More specific tools
5754
/^tools\/gyp/: tools, build, gyp, needs-ci, dont-land-on-v14.x
5855
/^tools\/doc\//: tools, doc
5956
/^tools\/icu\//: tools, i18n-api, icu, needs-ci
60-
/^tools\/(?:osx-pkg\.pmdoc|pkgsrc)\//: tools, macos, install
61-
/^tools\/(?:(?:mac)?osx-)/: tools, macos
57+
/^tools\/osx-/: tools, macos
6258
/^tools\/test-npm/: tools, test, npm
6359
/^tools\/test/: tools, test
6460
/^tools\/(?:certdata|mkssldef|mk-ca-bundle)/: tools, openssl, tls
6561
/^tools\/msvs\//: tools, windows, install, needs-ci
6662
/^tools\/[^/]+\.bat$/: tools, windows, needs-ci
6763
/^tools\/make-v8/: tools, v8 engine, needs-ci
6864
/^tools\/v8_gypfiles/: tools, v8 engine, needs-ci
69-
/^tools\/(code_cache|snapshot)/: needs-ci
65+
/^tools\/snapshot/: needs-ci
7066
/^tools\/build-addons.mjs/: needs-ci
71-
# all other tool changes should be marked as such
67+
# All other tool changes should be marked as such
7268
/^tools\//: tools
73-
/^\.eslint|\.remark|\.editorconfig/: tools
69+
/^\.eslint|\.editorconfig/: tools
7470
/^typings\//: typings
7571

7672
## Dependencies
7773
# libuv needs an explicit mapping, as the ordinary /deps/ mapping below would
78-
# end up as libuv changes labeled with "uv" (which is a non-existing label)
74+
# end up as libuv changes labeled with 'uv' (which is a non-existing label)
7975
/^deps\/uv\//: libuv
8076
/^deps\/v8\/tools\/gen-postmortem-metadata\.py/: v8 engine, python, post-mortem
8177
/^deps\/v8\//: v8 engine
@@ -84,18 +80,17 @@ subSystemLabels:
8480
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2
8581
/^deps\/nghttp2\//: http2
8682
/^deps\/ngtcp2\//: quic, dont-land-on-v14.x
87-
/^deps\/nghttp3\//: quic, dont-land-on-v14.x
8883
/^deps\/([^/]+)/: dependencies, $1
8984

9085
## JS subsystems
9186
# Oddities first
92-
/^lib\/(punycode|\w+\/freelist|sys\.js)/: ''
87+
/^lib\/(?:punycode|\w+\/freelist|sys\.js)/: ''
9388
/^lib\/constants\.js$/: lib / src
94-
/^lib\/_(debug_agent|debugger)\.js$/: debugger
95-
/^lib(\/\w+)?\/(_)?link(ed)?list/: timers
96-
/^lib\/\w+\/bootstrap_node/: lib / src
97-
/^lib\/\w+\/v8_prof_/: tools
98-
/^lib\/\w+\/socket_list/: net
89+
/^lib\/internal/debugger$/: debugger
90+
/^lib\/internal\/linkedlist\.js$/: timers
91+
/^lib\/internal\/bootstrap/: lib / src
92+
/^lib\/internal\/v8_prof_/: tools
93+
/^lib\/internal\/socket(?:_list|address)\.js$/: net
9994
/^lib\/\w+\/streams$/: stream
10095
/^lib\/.*http2/: http2
10196
/^lib\/worker_threads.js$/: worker
@@ -111,22 +106,21 @@ subSystemLabels:
111106
/^lib(?:\/internal)?\/(\w+)(?:\/|$)/: $1 # Subfolders
112107

113108
exlusiveLabels:
114-
# more specific tests
109+
# More specific tests
115110
/^test\/addons\//: test, addons
116-
/^test\/debugger\//: test, debugger
111+
/^test\/debugger/: test, debugger
117112
/^test\/doctool\//: test, doc, tools
118-
/^test\/timers\//: test, timers
113+
/^test\/timers/: test, timers
119114
/^test\/pseudo-tty\//: test, tty
120-
/^test\/inspector\//: test, inspector
115+
/^test\/inspector/: test, inspector
121116
/^test\/cctest\/test_inspector/: test, inspector
122-
/^test\/cctest\/test_url/: test, whatwg-url
123117
/^test\/node-api\//: test, node-api
124118
/^test\/js-native-api\//: test, node-api
125119
/^test\/async-hooks\//: test, async_hooks
126120
/^test\/report\//: test, report
127121
/^test\/fixtures\/es-module/: test, esm
128122
/^test\/es-module\//: test, esm
129-
/^test\/fixtures\/wpt\/streams//: test, web streams
123+
/^test\/fixtures\/wpt\/streams\//: test, web streams
130124

131125
/^test\//: test
132126

@@ -137,11 +131,9 @@ exlusiveLabels:
137131
# node-api is treated separately since it is not a JS core module but is still
138132
# considered a subsystem of sorts
139133
/^doc\/api\/n-api.md$/: doc, node-api
140-
# quic
141-
/^doc\/api\/quic.md$/: doc, quic, dont-land-on-v14.x
142134
# Add worker label to PRs that affect doc/api/worker_threads.md
143135
/^doc\/api\/worker_threads.md$/: doc, worker
144-
# test runner documentation
136+
# test_runner documentation
145137
/^doc\/api\/test.md$/: doc, test_runner, dont-land-on-v14.x
146138
# Automatically tag JS subsystem-specific API doc changes
147139
/^doc\/api\/(\w+)\.md$/: doc, $1
@@ -153,13 +145,14 @@ exlusiveLabels:
153145

154146
# More specific benchmarks
155147
/^benchmark\/buffers\//: benchmark, buffer
156-
/^benchmark\/(?:arrays|es)\//: benchmark, v8 engine
148+
/^benchmark\/es\//: benchmark, v8 engine
157149
/^benchmark\/_http/: benchmark, http
158150
/^benchmark\/(?:misc|fixtures)\//: benchmark
159151
/^benchmark\/streams\//: benchmark, stream
152+
/^benchmark\/url\//: benchmark, url, whatwg-url
160153
/^benchmark\/([^/]+)\//: benchmark, $1
161154

162-
/^benchmark\//: benchmark
155+
/^benchmark\//: benchmark, performance
163156

164157
allJsSubSystems:
165158
- assert
@@ -171,6 +164,7 @@ allJsSubSystems:
171164
- crypto
172165
- debugger
173166
- dgram
167+
- diagnostics_channel
174168
- dns
175169
- domain
176170
- events
@@ -179,11 +173,14 @@ allJsSubSystems:
179173
- http
180174
- https
181175
- http2
176+
- inspector
182177
- module
183178
- net
184179
- os
185180
- path
181+
- perf_hooks
186182
- process
183+
- punycode
187184
- querystring
188185
- quic
189186
- readline
@@ -193,6 +190,7 @@ allJsSubSystems:
193190
- string_decoder
194191
- timers
195192
- tls
193+
- trace_events
196194
- tty
197195
- typings
198196
- url

.github/workflows/authors.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

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

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

5353
- name: Install Node.js
54-
uses: actions/setup-node@v3
54+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
5555
with:
5656
node-version: ${{ env.NODE_VERSION }}
5757

0 commit comments

Comments
 (0)