Skip to content

Commit 71c5d32

Browse files
committed
update all dependencies to support v20
1 parent d4cf1b8 commit 71c5d32

13 files changed

+38085
-9698
lines changed

.github/pr-labels.yml

Lines changed: 95 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,164 @@
1-
## This configuration file acts as an example and used in the test suite.
2-
## git repositories using this GitHub Action, will not be using this particular
3-
## configuration file directly, but provide a similar file, located in those
4-
## repositories themselves.
5-
61
## Order of entries in this map *does* matter for the resolved labels
72
## earlier entries override later entries
83
subSystemLabels:
94
# src subsystems
10-
/^src\/async-wrap/: c++, async_wrap
5+
/^src\/async_wrap/: c++, async_wrap
116
/^src\/(?:base64|node_buffer|string_)/: c++, buffer
127
/^src\/cares/: c++, cares
138
/^src\/(?:process_wrap|spawn_)/: c++, child_process
149
/^src\/(?:node_)?crypto/: c++, crypto
15-
/^src\/(?:debug-|node_debug)/: c++, debugger
10+
/^src\/debug_/: c++, debugger
1611
/^src\/udp_/: c++, dgram
1712
/^src\/(?:fs_|node_file|node_stat_watcher)/: c++, fs
1813
/^src\/node_http_parser/: c++, http_parser
19-
/^src\/node_i18n/: c++, intl
14+
/^src\/node_i18n/: c++, i18n-api
2015
/^src\/uv\./: c++, libuv
2116
/^src\/(?:connect(?:ion)?|pipe|tcp)_/: c++, net
2217
/^src\/node_os/: c++, os
2318
/^src\/(?:node_main|signal_)/: c++, process
24-
/^src\/timer_/: c++, timers
25-
/^src\/(?:CNNICHashWhitelist|node_root_certs|tls_)/: c++, tls
19+
/^src\/timer[_s]/: c++, timers
20+
/^src\/node_root_certs/: c++, tls
2621
/^src\/tty_/: c++, tty
27-
/^src\/node_url/: c++, url-whatwg
22+
/^src\/node_url/: c++, whatwg-url
2823
/^src\/node_util/: c++, util
29-
/^src\/(?:node_v8|v8abbr)/: c++, V8 Engine
24+
/^src\/node_v8/: c++, v8 engine
3025
/^src\/node_contextify/: c++, vm
31-
/^src\/.*win32.*/: c++, windows
3226
/^src\/node_zlib/: c++, zlib
3327
/^src\/tracing/: c++, tracing
34-
/^src\/node_api/: c++, n-api
35-
/^src\/node_http2/: c++, http2, dont-land-on-v6.x
28+
/^src\/(?:node_api|js_native_api)/: c++, node-api
29+
/^src\/node_http2/: c++, http2
3630
/^src\/node_report/: c++, report
3731
/^src\/node_wasi/: c++, wasi
3832
/^src\/node_worker/: c++, worker
39-
/^src\/quic\/*/: c++, quic, dont-land-on-v14.x, dont-land-on-v12.x
40-
/^src\/node_bob*/: c++, quic, dont-land-on-v14.x, dont-land-on-v12.x
41-
42-
# don't label python files as c++
43-
/^src\/.+\.py$/: lib / src, needs-ci
33+
/^src\/quic\/*/: c++, quic
34+
/^src\/node_bob*/: c++, quic
35+
/^src\/node_sea/: single-executable
36+
/^src\/node_sqlite.*/: c++, sqlite
4437

45-
# properly label changes to v8 inspector integration-related files
38+
# Properly label changes to V8 inspector integration-related files
4639
/^src\/inspector_/: c++, inspector, needs-ci
4740

48-
# don't want to label it a c++ update when we're "only" bumping the Node.js version
41+
# Don't want to label it a C++ update when we're "only" bumping the Node.js version
4942
/^src\/(?!node_version\.h)/: c++
5043
# BUILDING.md should be marked as 'build' in addition to 'doc'
5144
/^BUILDING\.md$/: build, doc
52-
# meta is a very specific label for things that are policy and or meta-info related
53-
/^([A-Z]+$|CODE_OF_CONDUCT|ROADMAP|WORKING_GROUPS|GOVERNANCE|CHANGELOG|\.mail|\.git.+)/: meta
54-
# things that edit top-level .md files are always a doc change
45+
# 'meta' is a very specific label for things that are policy and or meta-info related
46+
/^(?:[A-Z]+$|CODE_OF_CONDUCT|GOVERNANCE|CHANGELOG|\.mail|\.git.+)/: meta
47+
# Things that edit top-level .md files are always a doc change
5548
/^\w+\.md$/: doc
56-
# different variants of *Makefile and build files
57-
/^(tools\/)?(Makefile|BSDmakefile|create_android_makefiles|\.travis\.yml)$/: build, needs-ci
58-
/^tools\/(install\.py|genv8constants\.py|getnodeversion\.py|js2c\.py|utils\.py|configure\.d\/.*)$/: build, needs-ci
49+
# Different variants of Makefile and build files
50+
/^(?:tools\/)?(?:Makefile|BSDmakefile|create_android_makefiles)$/: build, needs-ci
51+
/^tools\/(?:install\.py|getnodeversion\.py|js2c\.py|utils\.py|configure\.d\/.*)$/: build, python, needs-ci
5952
/^vcbuild\.bat$/: build, windows, needs-ci
60-
/^(android-)?configure|node\.gyp|common\.gypi$/: build, needs-ci
61-
# more specific tools
62-
/^tools\/gyp/: tools, build, needs-ci
53+
/^(?:android-)?configure|node\.gyp|common\.gypi$/: build, needs-ci
54+
# More specific tools
55+
/^tools\/gyp/: tools, build, gyp, needs-ci
6356
/^tools\/doc\//: tools, doc
64-
/^tools\/icu\//: tools, intl, needs-ci
65-
/^tools\/(?:osx-pkg\.pmdoc|pkgsrc)\//: tools, macos, install
66-
/^tools\/(?:(?:mac)?osx-)/: tools, macos
57+
/^tools\/icu\//: tools, i18n-api, icu, needs-ci
58+
/^tools\/osx-/: tools, macos
6759
/^tools\/test-npm/: tools, test, npm
6860
/^tools\/test/: tools, test
6961
/^tools\/(?:certdata|mkssldef|mk-ca-bundle)/: tools, openssl, tls
7062
/^tools\/msvs\//: tools, windows, install, needs-ci
7163
/^tools\/[^/]+\.bat$/: tools, windows, needs-ci
72-
/^tools\/make-v8/: tools, V8 Engine, needs-ci
73-
/^tools\/(code_cache|snapshot|v8_gypfiles)/: needs-ci,
74-
/^tools\/build-addons.js/: needs-ci,
75-
# all other tool changes should be marked as such
64+
/^tools\/make-v8/: tools, v8 engine, needs-ci
65+
/^tools\/v8_gypfiles/: tools, v8 engine, needs-ci
66+
/^tools\/snapshot/: needs-ci
67+
/^tools\/build-addons.mjs/: needs-ci
68+
# All other tool changes should be marked as such
7669
/^tools\//: tools
77-
/^\.eslint|\.remark|\.editorconfig/: tools
70+
/^eslint\.config|\.editorconfig/: tools
71+
/^typings\//: typings
7872

7973
## Dependencies
8074
# libuv needs an explicit mapping, as the ordinary /deps/ mapping below would
81-
# end up as libuv changes labeled with "uv" (which is a non-existing label)
75+
# end up as libuv changes labeled with 'uv' (which is a non-existing label)
8276
/^deps\/uv\//: libuv
83-
/^deps\/v8\/tools\/gen-postmortem-metadata\.py/: V8 Engine, post-mortem
84-
/^deps\/v8\//: V8 Engine
77+
/^deps\/v8\/tools\/gen-postmortem-metadata\.py/: v8 engine, python, post-mortem
78+
/^deps\/v8\//: v8 engine
8579
/^deps\/uvwasi\//: wasi
86-
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2, dont-land-on-v6.x
87-
/^deps\/nghttp2\//: http2, dont-land-on-v6.x
88-
/^deps\/ngtcp2\//: quic, dont-land-on-v14.x, dont-land-on-v12.x
89-
/^deps\/nghttp3\//: quic, dont-land-on-v14.x, dont-land-on-v12.x
90-
/^deps\/([^/]+)/: $1
80+
/^deps\/npm\//: npm, fast-track
81+
/^deps\/nghttp2\/nghttp2\.gyp/: build, http2
82+
/^deps\/nghttp2\//: http2
83+
/^deps\/ngtcp2\//: quic
84+
/^deps\/amaro\//: strip-types
85+
/^deps\/([^/]+)/: dependencies, $1
9186

9287
## JS subsystems
9388
# Oddities first
94-
/^lib\/(punycode|\w+\/freelist|sys\.js)/: ''
89+
/^lib\/(?:punycode|\w+\/freelist|sys\.js)/: ''
9590
/^lib\/constants\.js$/: lib / src
96-
/^lib\/_(debug_agent|debugger)\.js$/: debugger
97-
/^lib(\/\w+)?\/(_)?link(ed)?list/: timers
98-
/^lib\/\w+\/bootstrap_node/: lib / src
99-
/^lib\/\w+\/v8_prof_/: tools
100-
/^lib\/\w+\/socket_list/: net
101-
/^lib\/\w+\/streams$/: stream
102-
/^lib\/.*http2/: http2, dont-land-on-v6.x
91+
/^lib\/internal\/debugger$/: debugger
92+
/^lib\/internal\/linkedlist\.js$/: timers
93+
/^lib\/internal\/bootstrap/: lib / src
94+
/^lib\/internal\/v8_prof_/: tools
95+
/^lib\/internal\/socket(?:_list|address)\.js$/: net
96+
/^lib\/(_stream.*|internal\/streams\/.*|stream\.js|stream\/.*)$/: stream
97+
/^lib\/.*http2/: http2
10398
/^lib\/worker_threads.js$/: worker
104-
/^lib\/internal\/url\.js$/: url-whatwg
105-
/^lib\/internal\/modules\/esm/: ES Modules
106-
/^lib\/internal\/quic\/*/: quic, dont-land-on-v14.x, dont-land-on-v12.x
99+
/^lib\/test.js$/: test_runner
100+
/^lib\/internal\/url\.js$/: whatwg-url
101+
/^lib\/internal\/modules\/esm/: esm
102+
/^lib\/internal\/modules/: module
103+
/^lib\/internal\/webstreams/: web streams
104+
/^lib\/internal\/test_runner/: test_runner
107105

108106
# All other lib/ files map directly
109-
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
110-
/^lib(\/internal)?\/(\w+)\.js?$/: $2 # other .js files
111-
/^lib\/internal\/(\w+)(?:\/|$)/: $1 # internal subfolders
107+
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
108+
/^lib(?:\/internal)?\/(\w+)\.js?$/: $1 # Other .js files
109+
/^lib(?:\/internal)?\/(\w+)(?:\/|$)/: $1 # Subfolders
112110

113111
exlusiveLabels:
114-
# more specific tests
112+
# More specific tests
115113
/^test\/addons\//: test, addons
116-
/^test\/debugger\//: test, debugger
114+
/^test\/debugger/: test, debugger
117115
/^test\/doctool\//: test, doc, tools
118-
/^test\/timers\//: test, timers
116+
/^test\/timers/: test, timers
119117
/^test\/pseudo-tty\//: test, tty
120-
/^test\/inspector\//: test, inspector
118+
/^test\/inspector/: test, inspector
121119
/^test\/cctest\/test_inspector/: test, inspector
122-
/^test\/cctest\/test_url/: test, url-whatwg
123-
/^test\/addons-napi\//: test, n-api
120+
/^test\/node-api\//: test, node-api
121+
/^test\/js-native-api\//: test, node-api
124122
/^test\/async-hooks\//: test, async_hooks
125123
/^test\/report\//: test, report
126-
/^test\/fixtures\/es-module/: test, ES Modules
127-
/^test\/es-module\//: test, ES Modules
124+
/^test\/fixtures\/es-module/: test, esm
125+
/^test\/es-module\//: test, esm
126+
/^test\/fixtures\/wpt\/streams\//: test, web streams
127+
/^test\/fixtures\/typescript/: test, strip-types
128128

129129
/^test\//: test
130130

131-
# specific map for webcrypto.md as it should be labeled 'crypto'
131+
# Specific map for webcrypto.md as it should be labeled 'crypto'
132132
/^doc\/api\/webcrypto.md$/: doc, crypto
133-
# specific map for modules.md as it should be labeled 'module' not 'modules'
133+
# Specific map for modules.md as it should be labeled 'module' not 'modules'
134134
/^doc\/api\/modules.md$/: doc, module
135-
# specific map for esm.md as it should be labeled 'ES Modules' not 'esm'
136-
/^doc\/api\/esm.md$/: doc, ES Modules
137-
# n-api is treated separately since it is not a JS core module but is still
138-
# considered a subsystem of sorts
139-
/^doc\/api\/n-api.md$/: doc, n-api
140-
# quic
141-
/^doc\/api\/quic.md$/: doc, quic, dont-land-on-v14.x, dont-land-on-v12.x
142-
# add worker label to PRs that affect doc/api/worker_threads.md
135+
# node-api is treated separately since it is not a JS core module but is still
136+
# considered a subsystem of sorts
137+
/^doc\/api\/n-api.md$/: doc, node-api
138+
# Add worker label to PRs that affect doc/api/worker_threads.md
143139
/^doc\/api\/worker_threads.md$/: doc, worker
144-
# automatically tag JS subsystem-specific API doc changes
140+
# test_runner documentation
141+
/^doc\/api\/test.md$/: doc, test_runner
142+
# Automatically tag JS subsystem-specific API doc changes
145143
/^doc\/api\/(\w+)\.md$/: doc, $1
146-
# add deprecations label to PRs that affect doc/api/deprecations.md
144+
# Add deprecations label to PRs that affect doc/api/deprecations.md
147145
/^doc\/api\/deprecations.md$/: doc, deprecations
146+
/^doc\/changelogs\//: release
147+
# Specific map for typescript.md as it should be labeled 'strip-types'
148+
/^doc\/api\/typescript.md$/: doc, strip-types
148149

149150
/^doc\//: doc
150151

151-
# more specific benchmarks
152+
# More specific benchmarks
152153
/^benchmark\/buffers\//: benchmark, buffer
153-
/^benchmark\/(?:arrays|es)\//: benchmark, V8 Engine
154+
/^benchmark\/es\//: benchmark, v8 engine
154155
/^benchmark\/_http/: benchmark, http
155156
/^benchmark\/(?:misc|fixtures)\//: benchmark
156157
/^benchmark\/streams\//: benchmark, stream
158+
/^benchmark\/url\//: benchmark, url, whatwg-url
157159
/^benchmark\/([^/]+)\//: benchmark, $1
158160

159-
/^benchmark\//: benchmark
161+
/^benchmark\//: benchmark, performance
160162

161163
allJsSubSystems:
162164
- assert
@@ -168,6 +170,7 @@ allJsSubSystems:
168170
- crypto
169171
- debugger
170172
- dgram
173+
- diagnostics_channel
171174
- dns
172175
- domain
173176
- events
@@ -176,25 +179,32 @@ allJsSubSystems:
176179
- http
177180
- https
178181
- http2
182+
- inspector
179183
- module
180184
- net
181185
- os
182186
- path
187+
- perf_hooks
183188
- process
189+
- punycode
184190
- querystring
185191
- quic
186192
- readline
187193
- repl
188194
- report
195+
- sqlite
189196
- stream
190197
- string_decoder
198+
- strip-types
191199
- timers
192200
- tls
201+
- trace_events
193202
- tty
203+
- typings
194204
- url
195205
- util
196206
- v8
197207
- vm
198208
- wasi
199209
- worker
200-
- zlib
210+
- zlib

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [14.x, 15.x]
11+
node-version: [20.x]
1212

1313
steps:
1414
- uses: actions/checkout@v2
@@ -30,11 +30,11 @@ jobs:
3030
TAG: v1
3131

3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v4
3434
- name: Setup Node.js
35-
uses: actions/setup-node@v1
35+
uses: actions/setup-node@v4
3636
with:
37-
node-version: 14.x
37+
node-version: 20.x
3838

3939
- name: npm install and build
4040
run: |

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ npm-debug.log
33

44
.DS_Store
55
.env
6-
.vscode
7-
.nyc_output
6+
.vscode

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ inputs:
1010
description: 'The path inside the target repository where the .yml config file with filepaths -> labels mapping exists.'
1111
required: true
1212
runs:
13-
using: 'node12'
13+
using: 'node20'
1414
main: 'dist/index.js'

0 commit comments

Comments
 (0)