Skip to content

Commit def55fa

Browse files
committed
feat: support node 22.17
1 parent cb24c66 commit def55fa

File tree

5 files changed

+28
-16
lines changed

5 files changed

+28
-16
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const promises_api = {
1414
constants: { [READ]: { supported: ["18.4.0", "16.17.0"] } },
1515
copyFile: { [READ]: { supported: ["10.0.0"] } },
1616
cp: { [READ]: { supported: ["22.3.0"], experimental: ["16.7.0"] } },
17-
glob: { [READ]: { experimental: ["22.0.0"] } },
17+
glob: { [READ]: { experimental: ["22.0.0"], supported: ["22.17.0"] } },
1818
lchmod: { [READ]: { supported: ["10.0.0"], deprecated: ["10.0.0"] } },
1919
lchown: { [READ]: { supported: ["10.0.0"] } },
2020
link: { [READ]: { supported: ["10.0.0"] } },
@@ -62,7 +62,7 @@ const callback_api = {
6262
fsync: { [READ]: { supported: ["0.1.96"] } },
6363
ftruncate: { [READ]: { supported: ["0.8.6"] } },
6464
futimes: { [READ]: { supported: ["0.4.2"] } },
65-
glob: { [READ]: { experimental: ["22.0.0"] } },
65+
glob: { [READ]: { experimental: ["22.0.0"], supported: ["22.17.0"] } },
6666
lchmod: { [READ]: { supported: ["0.1.8"], deprecated: ["0.4.7"] } },
6767
lchown: { [READ]: { supported: ["0.1.8"] } },
6868
link: { [READ]: { supported: ["0.1.31"] } },
@@ -72,7 +72,9 @@ const callback_api = {
7272
mkdtemp: { [READ]: { supported: ["5.10.0"] } },
7373
native: { [READ]: { supported: ["9.2.0"] } },
7474
open: { [READ]: { supported: ["0.0.2"] } },
75-
openAsBlob: { [READ]: { experimental: ["19.8.0"] } },
75+
openAsBlob: {
76+
[READ]: { experimental: ["19.8.0"], supported: ["22.17.0"] },
77+
},
7678
opendir: { [READ]: { supported: ["12.12.0"] } },
7779
read: { [READ]: { supported: ["0.0.2"] } },
7880
readdir: { [READ]: { supported: ["0.1.8"] } },
@@ -119,7 +121,7 @@ const synchronous_api = {
119121
fsyncSync: { [READ]: { supported: ["0.1.96"] } },
120122
ftruncateSync: { [READ]: { supported: ["0.8.6"] } },
121123
futimesSync: { [READ]: { supported: ["0.4.2"] } },
122-
globSync: { [READ]: { experimental: ["22.0.0"] } },
124+
globSync: { [READ]: { experimental: ["22.0.0"], supported: ["22.17.0"] } },
123125
lchmodSync: { [READ]: { supported: ["0.1.8"], deprecated: ["0.4.7"] } },
124126
lchownSync: { [READ]: { supported: ["0.1.8"] } },
125127
linkSync: { [READ]: { supported: ["0.1.31"] } },

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const { READ } = require("@eslint-community/eslint-utils")
77
*/
88
const common_objects = {
99
Network: {
10+
dataReceived: { [READ]: { supported: ["22.17.0"] } },
1011
loadingFailed: { [READ]: { experimental: ["22.7.0", "20.18.0"] } },
1112
loadingFinished: { [READ]: { experimental: ["22.6.0", "20.18.0"] } },
1213
requestWillBeSent: { [READ]: { experimental: ["22.6.0", "20.18.0"] } },

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ module.exports = {
4343
},
4444

4545
"readline/promises": {
46-
[READ]: { experimental: ["17.0.0"] },
46+
[READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] },
4747
...promises_api,
4848
},
4949
"node:readline/promises": {
50-
[READ]: { experimental: ["17.0.0"] },
50+
[READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] },
5151
...promises_api,
5252
},
5353
}

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@ const { READ } = require("@eslint-community/eslint-utils")
88
const Readable = {
99
[READ]: { supported: ["0.9.4"] },
1010
from: { [READ]: { supported: ["12.3.0", "10.17.0"] } },
11-
isDisturbed: { [READ]: { experimental: ["16.8.0"] } },
12-
fromWeb: { [READ]: { experimental: ["17.0.0"] } },
13-
toWeb: { [READ]: { experimental: ["17.0.0"] } },
11+
isDisturbed: {
12+
[READ]: { experimental: ["16.8.0"], supported: ["22.17.0"] },
13+
},
14+
fromWeb: { [READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] } },
15+
toWeb: { [READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] } },
1416
}
1517

1618
/**
1719
* @satisfies {import('../types.js').SupportVersionTraceMap}
1820
*/
1921
const Writable = {
2022
[READ]: { supported: ["0.9.4"] },
21-
fromWeb: { [READ]: { experimental: ["17.0.0"] } },
22-
toWeb: { [READ]: { experimental: ["17.0.0"] } },
23+
fromWeb: { [READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] } },
24+
toWeb: { [READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] } },
2325
}
2426

2527
/**
@@ -28,8 +30,8 @@ const Writable = {
2830
const Duplex = {
2931
[READ]: { supported: ["0.9.4"] },
3032
from: { [READ]: { supported: ["16.8.0"] } },
31-
fromWeb: { [READ]: { experimental: ["17.0.0"] } },
32-
toWeb: { [READ]: { experimental: ["17.0.0"] } },
33+
fromWeb: { [READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] } },
34+
toWeb: { [READ]: { experimental: ["17.0.0"], supported: ["22.17.0"] } },
3335
}
3436

3537
const Transform = Duplex
@@ -60,8 +62,12 @@ const Stream = {
6062
Duplex,
6163
Transform,
6264

63-
isErrored: { [READ]: { experimental: ["17.3.0", "16.14.0"] } },
64-
isReadable: { [READ]: { experimental: ["17.4.0", "16.14.0"] } },
65+
isErrored: {
66+
[READ]: { experimental: ["17.3.0", "16.14.0"], supported: ["22.17.0"] },
67+
},
68+
isReadable: {
69+
[READ]: { experimental: ["17.4.0", "16.14.0"], supported: ["22.17.0"] },
70+
},
6571
addAbortSignal: { [READ]: { supported: ["15.4.0"] } },
6672
getDefaultHighWaterMark: { [READ]: { supported: ["19.9.0", "18.17.0"] } },
6773
setDefaultHighWaterMark: { [READ]: { supported: ["19.9.0", "18.17.0"] } },

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ const v8 = {
4343
takeCoverage: { [READ]: { supported: ["15.1.0", "14.18.0", "12.22.0"] } },
4444
writeHeapSnapshot: { [READ]: { supported: ["11.13.0"] } },
4545
setHeapSnapshotNearHeapLimit: {
46-
[READ]: { experimental: ["18.10.0", "16.18.0"] },
46+
[READ]: {
47+
experimental: ["18.10.0", "16.18.0"],
48+
supported: ["22.17.0"],
49+
},
4750
},
4851
GCProfiler: { [READ]: { supported: ["19.6.0", "18.15.0"] } },
4952
}

0 commit comments

Comments
 (0)