Skip to content

Commit 6516414

Browse files
authored
feat: Support latest node v23.x ✨ (#478)
1 parent cfeed38 commit 6516414

File tree

15 files changed

+199
-126
lines changed

15 files changed

+199
-126
lines changed

lib/unsupported-features/node-builtins-modules/assert.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ const assert = {
3232
notEqual: { [READ]: { supported: ["0.1.21"] } },
3333
notStrictEqual: { [READ]: { supported: ["0.1.21"] } },
3434
ok: { [READ]: { supported: ["0.1.21"] } },
35-
partialDeepStrictEqual: { [READ]: { experimental: ["22.13.0"] } },
35+
partialDeepStrictEqual: {
36+
[READ]: {
37+
experimental: ["22.13.0", "23.4.0"],
38+
},
39+
},
3640
rejects: { [READ]: { supported: ["10.0.0"] } },
3741
strictEqual: { [READ]: { supported: ["0.1.21"] } },
3842
throws: { [READ]: { supported: ["0.1.21"] } },

lib/unsupported-features/node-builtins-modules/async_hooks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ const async_hooks = {
1818
bind: {
1919
[READ]: {
2020
experimental: ["19.8.0", "18.16.0"],
21-
supported: ["22.15.0"],
21+
supported: ["22.15.0", "23.11.0"],
2222
},
2323
},
2424
snapshot: {
2525
[READ]: {
2626
experimental: ["19.8.0", "18.16.0"],
27-
supported: ["22.15.0"],
27+
supported: ["22.15.0", "23.11.0"],
2828
},
2929
},
3030
},

lib/unsupported-features/node-builtins-modules/dns.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const dns = {
2222
resolvePtr: { [READ]: { supported: ["6.0.0"] } },
2323
resolveSoa: { [READ]: { supported: ["0.11.10"] } },
2424
resolveSrv: { [READ]: { supported: ["0.1.27"] } },
25-
resolveTlsa: { [READ]: { supported: ["22.15.0"] } },
25+
resolveTlsa: { [READ]: { supported: ["22.15.0", "23.9.0"] } },
2626
resolveTxt: { [READ]: { supported: ["0.1.27"] } },
2727
reverse: { [READ]: { supported: ["0.1.16"] } },
2828
setDefaultResultOrder: { [READ]: { supported: ["16.4.0", "14.18.0"] } },
@@ -51,7 +51,7 @@ const dns = {
5151
resolvePtr: { [READ]: { supported: ["10.6.0"] } },
5252
resolveSoa: { [READ]: { supported: ["10.6.0"] } },
5353
resolveSrv: { [READ]: { supported: ["10.6.0"] } },
54-
resolveTlsa: { [READ]: { supported: ["22.15.0"] } },
54+
resolveTlsa: { [READ]: { supported: ["22.15.0", "23.9.0"] } },
5555
resolveTxt: { [READ]: { supported: ["10.6.0"] } },
5656
reverse: { [READ]: { supported: ["10.6.0"] } },
5757
setDefaultResultOrder: { [READ]: { supported: ["16.4.0", "14.18.0"] } },

lib/unsupported-features/node-builtins-modules/module.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ const Module = {
2323
findPackageJSON: { [READ]: { experimental: ["23.2.0", "22.14.0"] } },
2424
flushCompileCache: { [READ]: { experimental: ["23.0.0", "22.10.0"] } },
2525
getCompileCacheDir: { [READ]: { experimental: ["22.8.0"] } },
26-
getSourceMapsSupport: { [READ]: { supported: ["22.14.0"] } },
26+
getSourceMapsSupport: { [READ]: { supported: ["22.14.0", "23.7.0"] } },
2727
isBuiltin: { [READ]: { supported: ["18.6.0", "16.17.0"] } },
28-
registerHooks: { [READ]: { experimental: ["22.15.0"] } },
28+
registerHooks: { [READ]: { experimental: ["22.15.0", "23.5.0"] } },
2929
register: { [READ]: { experimental: ["20.6.0"] } },
30-
setSourceMapsSupport: { [READ]: { supported: ["22.14.0"] } },
30+
setSourceMapsSupport: { [READ]: { supported: ["22.14.0", "23.7.0"] } },
3131
stripTypeScriptTypes: { [READ]: { experimental: ["23.2.0", "22.13.0"] } },
3232
syncBuiltinESMExports: { [READ]: { supported: ["12.12.0"] } },
3333
findSourceMap: { [READ]: { supported: ["13.7.0", "12.17.0"] } },

lib/unsupported-features/node-builtins-modules/net.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ const net = {
2222
isIPv6: { [READ]: { supported: ["0.3.0"] } },
2323
BlockList: {
2424
[READ]: { supported: ["15.0.0", "14.18.0"] },
25-
isBlockList: { [READ]: { supported: ["22.13.0"] } },
25+
isBlockList: { [READ]: { supported: ["22.13.0", "23.4.0"] } },
2626
},
2727
SocketAddress: {
2828
[READ]: { supported: ["15.14.0", "14.18.0"] },
29-
parse: { [READ]: { supported: ["22.13.0"] } },
29+
parse: { [READ]: { supported: ["22.13.0", "23.4.0"] } },
3030
},
3131
Server: { [READ]: { supported: ["0.1.90"] } },
3232
Socket: { [READ]: { supported: ["0.3.4"] } },

lib/unsupported-features/node-builtins-modules/process.js

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const process = {
2020
env: { [READ]: { supported: ["0.1.27"] } },
2121
execArgv: { [READ]: { supported: ["0.7.7"] } },
2222
execPath: { [READ]: { supported: ["0.1.100"] } },
23-
execve: { [READ]: { experimental: ["22.15.0"] } },
23+
execve: { [READ]: { experimental: ["22.15.0", "23.11.0"] } },
2424
exitCode: { [READ]: { supported: ["0.11.8"] } },
2525
features: {
2626
cached_builtins: { [READ]: { supported: ["12.0.0"] } },
@@ -29,20 +29,31 @@ const process = {
2929
ipv6: {
3030
[READ]: {
3131
supported: ["0.5.3"],
32-
deprecated: ["22.13.0"],
32+
deprecated: ["22.13.0", "23.4.0"],
3333
},
3434
},
3535
require_module: {
3636
[READ]: { supported: ["23.0.0", "22.10.0", "20.19.0"] },
3737
},
38-
tls: { [READ]: { supported: ["0.5.3"], deprecated: ["22.13.0"] } },
39-
tls_alpn: { [READ]: { supported: ["4.8.0"], deprecated: ["22.13.0"] } },
38+
tls: {
39+
[READ]: { supported: ["0.5.3"], deprecated: ["22.13.0", "23.4.0"] },
40+
},
41+
tls_alpn: {
42+
[READ]: { supported: ["4.8.0"], deprecated: ["22.13.0", "23.4.0"] },
43+
},
4044
tls_ocsp: {
41-
[READ]: { supported: ["0.11.13"], deprecated: ["22.13.0"] },
45+
[READ]: {
46+
supported: ["0.11.13"],
47+
deprecated: ["22.13.0", "23.4.0"],
48+
},
49+
},
50+
tls_sni: {
51+
[READ]: { supported: ["0.5.3"], deprecated: ["22.13.0", "23.4.0"] },
4252
},
43-
tls_sni: { [READ]: { supported: ["0.5.3"], deprecated: ["22.13.0"] } },
4453
typescript: { [READ]: { experimental: ["23.0.0", "22.10.0"] } },
45-
uv: { [READ]: { supported: ["0.5.3"], deprecated: ["22.13.0"] } },
54+
uv: {
55+
[READ]: { supported: ["0.5.3"], deprecated: ["22.13.0", "23.4.0"] },
56+
},
4657
},
4758
finalization: {
4859
register: { [READ]: { experimental: ["22.5.0"] } },
@@ -61,7 +72,7 @@ const process = {
6172
pid: { [READ]: { supported: ["0.1.15"] } },
6273
platform: { [READ]: { supported: ["0.1.16"] } },
6374
ppid: { [READ]: { supported: ["9.2.0", "8.10.0", "6.13.0"] } },
64-
ref: { [READ]: { experimental: ["22.14.0"] } },
75+
ref: { [READ]: { experimental: ["22.14.0", "23.6.0"] } },
6576
release: { [READ]: { supported: ["3.0.0"] } },
6677
report: {
6778
[READ]: {
@@ -109,7 +120,7 @@ const process = {
109120
moveCursor: { [READ]: { supported: ["0.7.7"] } },
110121
rows: { [READ]: { supported: ["0.7.7"] } },
111122
},
112-
threadCpuUsage: { [READ]: { supported: ["22.19.0"] } },
123+
threadCpuUsage: { [READ]: { supported: ["22.19.0", "23.9.0"] } },
113124
throwDeprecation: { [READ]: { supported: ["0.9.12"] } },
114125
title: { [READ]: { supported: ["0.1.104"] } },
115126
traceDeprecation: { [READ]: { supported: ["0.8.0"] } },
@@ -156,7 +167,7 @@ const process = {
156167
setSourceMapsEnabled: { [READ]: { experimental: ["16.6.0", "14.18.0"] } },
157168
setUncaughtExceptionCaptureCallback: { [READ]: { supported: ["9.3.0"] } },
158169
umask: { [READ]: { supported: ["0.1.19"] } },
159-
unref: { [READ]: { experimental: ["22.14.0"] } },
170+
unref: { [READ]: { experimental: ["22.14.0", "23.6.0"] } },
160171
uptime: { [READ]: { supported: ["0.5.0"] } },
161172
}
162173

lib/unsupported-features/node-builtins-modules/sqlite.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ const { READ } = require("@eslint-community/eslint-utils")
77
*/
88
const sqlite = {
99
constants: {
10-
[READ]: { supported: ["22.13.0"] },
11-
SQLITE_CHANGESET_OMIT: { [READ]: { supported: ["22.13.0"] } },
12-
SQLITE_CHANGESET_REPLACE: { [READ]: { supported: ["22.13.0"] } },
13-
SQLITE_CHANGESET_ABORT: { [READ]: { supported: ["22.13.0"] } },
10+
[READ]: { supported: ["22.13.0", "23.5.0"] },
11+
SQLITE_CHANGESET_OMIT: { [READ]: { supported: ["22.13.0", "23.5.0"] } },
12+
SQLITE_CHANGESET_REPLACE: {
13+
[READ]: { supported: ["22.13.0", "23.5.0"] },
14+
},
15+
SQLITE_CHANGESET_ABORT: {
16+
[READ]: { supported: ["22.13.0", "23.5.0"] },
17+
},
1418
},
15-
backup: { [READ]: { supported: ["22.16.0"] } },
19+
backup: { [READ]: { supported: ["22.16.0", "23.8.0"] } },
1620
DatabaseSync: { [READ]: { supported: ["22.5.0"] } },
1721
StatementSync: { [READ]: { supported: ["22.5.0"] } },
1822
SQLITE_CHANGESET_OMIT: {

lib/unsupported-features/node-builtins-modules/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ const test = {
220220
after: { [READ]: { supported: ["18.8.0", "16.18.0"] } },
221221
afterEach: { [READ]: { supported: ["18.8.0", "16.18.0"] } },
222222
assert: {
223-
[READ]: { supported: ["22.14.0"] },
224-
register: { [READ]: { supported: ["22.14.0"] } },
223+
[READ]: { supported: ["22.14.0", "23.7.0"] },
224+
register: { [READ]: { supported: ["22.14.0", "23.7.0"] } },
225225
},
226226
before: { [READ]: { supported: ["18.8.0", "16.18.0"] } },
227227
beforeEach: { [READ]: { supported: ["18.8.0", "16.18.0"] } },

lib/unsupported-features/node-builtins-modules/tls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const tls = {
1818
DEFAULT_ECDH_CURVE: { [READ]: { supported: ["0.11.13"] } },
1919
DEFAULT_MAX_VERSION: { [READ]: { supported: ["11.4.0"] } },
2020
DEFAULT_MIN_VERSION: { [READ]: { supported: ["11.4.0"] } },
21-
getCACertificates: { [READ]: { supported: ["22.15.0"] } },
21+
getCACertificates: { [READ]: { supported: ["22.15.0", "23.10.0"] } },
2222
getCiphers: { [READ]: { supported: ["0.10.2"] } },
2323
rootCertificates: { [READ]: { supported: ["12.3.0"] } },
2424
SecureContext: { [READ]: { supported: ["0.11.13"] } },

lib/unsupported-features/node-builtins-modules/url.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ const url = {
1515
URL: {
1616
[READ]: { supported: ["7.0.0", "6.13.0"] },
1717
canParse: { [READ]: { supported: ["19.9.0"] } },
18-
createObjectURL: { [READ]: { experimental: ["16.7.0"], supported: ["22.17.0"] } },
19-
revokeObjectURL: { [READ]: { experimental: ["16.7.0"], supported: ["22.17.0"] } },
18+
createObjectURL: {
19+
[READ]: { experimental: ["16.7.0"], supported: ["22.17.0"] },
20+
},
21+
revokeObjectURL: {
22+
[READ]: { experimental: ["16.7.0"], supported: ["22.17.0"] },
23+
},
2024
},
25+
URLPattern: { [READ]: { experimental: ["23.8.0"] } },
2126
URLSearchParams: { [READ]: { supported: ["7.5.0", "6.13.0"] } },
2227
Url: { [READ]: { supported: ["0.1.25"] } },
2328
}

0 commit comments

Comments
 (0)