Skip to content

Commit cf0623e

Browse files
committed
chore: fix what chatgpt did wrong
1 parent 8a81ba4 commit cf0623e

File tree

4 files changed

+30
-23
lines changed

4 files changed

+30
-23
lines changed

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/sqlite.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ const { READ } = require("@eslint-community/eslint-utils")
88
const sqlite = {
99
constants: {
1010
[READ]: { supported: ["22.13.0", "23.5.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"] } },
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
},
1519
backup: { [READ]: { supported: ["22.16.0", "23.8.0"] } },
1620
DatabaseSync: { [READ]: { supported: ["22.5.0"] } },

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ const util = {
137137
[READ]: { experimental: ["19.7.0", "18.16.0"], supported: ["22.16.0"] },
138138
},
139139
MIMEType: {
140-
[READ]: { experimental: ["19.1.0", "18.13.0"], supported: ["22.15.0"] },
140+
[READ]: {
141+
experimental: ["19.1.0", "18.13.0"],
142+
supported: ["22.15.0", "23.11.0"],
143+
},
141144
},
142145
MIMEParams: { [READ]: { supported: ["19.1.0", "18.13.0"] } },
143146
TextDecoder: { [READ]: { experimental: ["8.3.0"], supported: ["8.9.0"] } },

lib/unsupported-features/node-globals.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -192,71 +192,71 @@ const nodeGlobals = {
192192
// module.stream
193193
ReadableStream: {
194194
...WebStream.ReadableStream,
195-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
195+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
196196
},
197197
ReadableStreamDefaultReader: {
198198
...WebStream.ReadableStreamDefaultReader,
199-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
199+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
200200
},
201201
ReadableStreamBYOBReader: {
202202
...WebStream.ReadableStreamBYOBReader,
203-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
203+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
204204
},
205205
ReadableStreamDefaultController: {
206206
...WebStream.ReadableStreamDefaultController,
207-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
207+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
208208
},
209209
ReadableByteStreamController: {
210210
...WebStream.ReadableByteStreamController,
211-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
211+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
212212
},
213213
ReadableStreamBYOBRequest: {
214214
...WebStream.ReadableStreamBYOBRequest,
215-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
215+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
216216
},
217217
WritableStream: {
218218
...WebStream.WritableStream,
219-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
219+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
220220
},
221221
WritableStreamDefaultWriter: {
222222
...WebStream.WritableStreamDefaultWriter,
223-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
223+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
224224
},
225225
WritableStreamDefaultController: {
226226
...WebStream.WritableStreamDefaultController,
227-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
227+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
228228
},
229229
TransformStream: {
230230
...WebStream.TransformStream,
231-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
231+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
232232
},
233233
TransformStreamDefaultController: {
234234
...WebStream.TransformStreamDefaultController,
235-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
235+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
236236
},
237237
ByteLengthQueuingStrategy: {
238238
...WebStream.ByteLengthQueuingStrategy,
239-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
239+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
240240
},
241241
CountQueuingStrategy: {
242242
...WebStream.CountQueuingStrategy,
243-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
243+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
244244
},
245245
TextEncoderStream: {
246246
...WebStream.TextEncoderStream,
247-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
247+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
248248
},
249249
TextDecoderStream: {
250250
...WebStream.TextDecoderStream,
251-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
251+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
252252
},
253253
CompressionStream: {
254254
...WebStream.CompressionStream,
255-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
255+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
256256
},
257257
DecompressionStream: {
258258
...WebStream.DecompressionStream,
259-
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0"] },
259+
[READ]: { experimental: ["18.0.0"], supported: ["22.15.0", "23.11.0"] },
260260
},
261261

262262
// module.timers

0 commit comments

Comments
 (0)