1
1
"use strict"
2
2
3
- const { READ } = require ( "@eslint-community/eslint-utils" )
3
+ const { READ , CALL , CONSTRUCT } = require ( "@eslint-community/eslint-utils" )
4
4
5
5
/** @type {import('../types.js').SupportVersionTraceMap } */
6
6
const promises_api = {
7
- constants : { [ READ ] : { supported : [ "18.4.0" , "16.17 .0"] } } ,
7
+ FileHandle : { [ READ ] : { supported : [ "10.0 .0" ] } } ,
8
8
access : { [ READ ] : { supported : [ "10.0.0" ] } } ,
9
9
appendFile : { [ READ ] : { supported : [ "10.0.0" ] } } ,
10
10
chmod : { [ READ ] : { supported : [ "10.0.0" ] } } ,
11
11
chown : { [ READ ] : { supported : [ "10.0.0" ] } } ,
12
+ constants : { [ READ ] : { supported : [ "18.4.0" , "16.17.0" ] } } ,
12
13
copyFile : { [ READ ] : { supported : [ "10.0.0" ] } } ,
13
14
cp : { [ READ ] : { experimental : [ "16.7.0" ] } } ,
15
+ glob : { [ READ ] : { experimental : [ "22.0.0" ] } } ,
14
16
lchmod : { [ READ ] : { supported : [ "10.0.0" ] , deprecated : [ "10.0.0" ] } } ,
15
17
lchown : { [ READ ] : { supported : [ "10.0.0" ] } } ,
16
- lutimes : { [ READ ] : { supported : [ "14.5.0" , "12.19.0" ] } } ,
17
18
link : { [ READ ] : { supported : [ "10.0.0" ] } } ,
18
19
lstat : { [ READ ] : { supported : [ "10.0.0" ] } } ,
20
+ lutimes : { [ READ ] : { supported : [ "14.5.0" , "12.19.0" ] } } ,
19
21
mkdir : { [ READ ] : { supported : [ "10.0.0" ] } } ,
20
22
mkdtemp : { [ READ ] : { supported : [ "10.0.0" ] } } ,
21
23
open : { [ READ ] : { supported : [ "10.0.0" ] } } ,
22
24
opendir : { [ READ ] : { supported : [ "12.12.0" ] } } ,
23
- readdir : { [ READ ] : { supported : [ "10.0.0" ] } } ,
24
25
readFile : { [ READ ] : { supported : [ "10.0.0" ] } } ,
26
+ readdir : { [ READ ] : { supported : [ "10.0.0" ] } } ,
25
27
readlink : { [ READ ] : { supported : [ "10.0.0" ] } } ,
26
28
realpath : { [ READ ] : { supported : [ "10.0.0" ] } } ,
27
29
rename : { [ READ ] : { supported : [ "10.0.0" ] } } ,
28
- rmdir : { [ READ ] : { supported : [ "10.0.0" ] } } ,
29
30
rm : { [ READ ] : { supported : [ "14.14.0" ] } } ,
31
+ rmdir : { [ READ ] : { supported : [ "10.0.0" ] } } ,
30
32
stat : { [ READ ] : { supported : [ "10.0.0" ] } } ,
31
33
statfs : { [ READ ] : { supported : [ "19.6.0" , "18.15.0" ] } } ,
32
34
symlink : { [ READ ] : { supported : [ "10.0.0" ] } } ,
@@ -35,7 +37,6 @@ const promises_api = {
35
37
utimes : { [ READ ] : { supported : [ "10.0.0" ] } } ,
36
38
watch : { [ READ ] : { supported : [ "15.9.0" , "14.18.0" ] } } ,
37
39
writeFile : { [ READ ] : { supported : [ "10.0.0" ] } } ,
38
- FileHandle : { [ READ ] : { supported : [ "10.0.0" ] } } ,
39
40
}
40
41
41
42
/** @type {import('../types.js').SupportVersionTraceMap } */
@@ -57,13 +58,15 @@ const callback_api = {
57
58
fsync : { [ READ ] : { supported : [ "0.1.96" ] } } ,
58
59
ftruncate : { [ READ ] : { supported : [ "0.8.6" ] } } ,
59
60
futimes : { [ READ ] : { supported : [ "0.4.2" ] } } ,
61
+ glob : { [ READ ] : { experimental : [ "22.0.0" ] } } ,
60
62
lchmod : { [ READ ] : { supported : [ "0.1.8" ] , deprecated : [ "0.4.7" ] } } ,
61
63
lchown : { [ READ ] : { supported : [ "0.1.8" ] } } ,
62
- lutimes : { [ READ ] : { supported : [ "14.5.0" , "12.19.0" ] } } ,
63
64
link : { [ READ ] : { supported : [ "0.1.31" ] } } ,
64
65
lstat : { [ READ ] : { supported : [ "0.1.30" ] } } ,
66
+ lutimes : { [ READ ] : { supported : [ "14.5.0" , "12.19.0" ] } } ,
65
67
mkdir : { [ READ ] : { supported : [ "0.1.8" ] } } ,
66
68
mkdtemp : { [ READ ] : { supported : [ "5.10.0" ] } } ,
69
+ native : { [ READ ] : { supported : [ "9.2.0" ] } } ,
67
70
open : { [ READ ] : { supported : [ "0.0.2" ] } } ,
68
71
openAsBlob : { [ READ ] : { experimental : [ "19.8.0" ] } } ,
69
72
opendir : { [ READ ] : { supported : [ "12.12.0" ] } } ,
@@ -76,10 +79,9 @@ const callback_api = {
76
79
[ READ ] : { supported : [ "0.1.31" ] } ,
77
80
native : { [ READ ] : { supported : [ "9.2.0" ] } } ,
78
81
} ,
79
- native : { [ READ ] : { supported : [ "9.2.0" ] } } ,
80
82
rename : { [ READ ] : { supported : [ "0.0.2" ] } } ,
81
- rmdir : { [ READ ] : { supported : [ "0.0.2" ] } } ,
82
83
rm : { [ READ ] : { supported : [ "14.14.0" ] } } ,
84
+ rmdir : { [ READ ] : { supported : [ "0.0.2" ] } } ,
83
85
stat : { [ READ ] : { supported : [ "0.0.2" ] } } ,
84
86
statfs : { [ READ ] : { supported : [ "19.6.0" , "18.15.0" ] } } ,
85
87
symlink : { [ READ ] : { supported : [ "0.1.31" ] } } ,
@@ -111,13 +113,15 @@ const synchronous_api = {
111
113
fsyncSync : { [ READ ] : { supported : [ "0.1.96" ] } } ,
112
114
ftruncateSync : { [ READ ] : { supported : [ "0.8.6" ] } } ,
113
115
futimesSync : { [ READ ] : { supported : [ "0.4.2" ] } } ,
116
+ globSync : { [ READ ] : { experimental : [ "22.0.0" ] } } ,
114
117
lchmodSync : { [ READ ] : { supported : [ "0.1.8" ] , deprecated : [ "0.4.7" ] } } ,
115
118
lchownSync : { [ READ ] : { supported : [ "0.1.8" ] } } ,
116
- lutimesSync : { [ READ ] : { supported : [ "14.5.0" , "12.19.0" ] } } ,
117
119
linkSync : { [ READ ] : { supported : [ "0.1.31" ] } } ,
118
120
lstatSync : { [ READ ] : { supported : [ "0.1.30" ] } } ,
121
+ lutimesSync : { [ READ ] : { supported : [ "14.5.0" , "12.19.0" ] } } ,
119
122
mkdirSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
120
123
mkdtempSync : { [ READ ] : { supported : [ "5.10.0" ] } } ,
124
+ native : { [ READ ] : { supported : [ "9.2.0" ] } } ,
121
125
opendirSync : { [ READ ] : { supported : [ "12.12.0" ] } } ,
122
126
openSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
123
127
readdirSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
@@ -129,12 +133,11 @@ const synchronous_api = {
129
133
[ READ ] : { supported : [ "0.1.31" ] } ,
130
134
native : { [ READ ] : { supported : [ "9.2.0" ] } } ,
131
135
} ,
132
- native : { [ READ ] : { supported : [ "9.2.0" ] } } ,
133
136
renameSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
134
137
rmdirSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
135
138
rmSync : { [ READ ] : { supported : [ "14.14.0" ] } } ,
136
- statSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
137
139
statfsSync : { [ READ ] : { supported : [ "19.6.0" , "18.15.0" ] } } ,
140
+ statSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
138
141
symlinkSync : { [ READ ] : { supported : [ "0.1.31" ] } } ,
139
142
truncateSync : { [ READ ] : { supported : [ "0.8.6" ] } } ,
140
143
unlinkSync : { [ READ ] : { supported : [ "0.1.21" ] } } ,
@@ -161,7 +164,11 @@ const fs = {
161
164
FSWatcher : { [ READ ] : { supported : [ "0.5.8" ] } } ,
162
165
StatWatcher : { [ READ ] : { supported : [ "14.3.0" , "12.20.0" ] } } ,
163
166
ReadStream : { [ READ ] : { supported : [ "0.1.93" ] } } ,
164
- Stats : { [ READ ] : { supported : [ "0.1.21" ] } } ,
167
+ Stats : {
168
+ [ READ ] : { supported : [ "0.1.21" ] } ,
169
+ [ CALL ] : { deprecated : [ "22.0.0" , "20.13.0" ] } ,
170
+ [ CONSTRUCT ] : { deprecated : [ "22.0.0" , "20.13.0" ] } ,
171
+ } ,
165
172
StatFs : { [ READ ] : { supported : [ "19.6.0" , "18.15.0" ] } } ,
166
173
WriteStream : { [ READ ] : { supported : [ "0.1.93" ] } } ,
167
174
common_objects : { [ READ ] : { supported : [ "0.1.8" ] } } ,
0 commit comments