Skip to content

Commit

Permalink
feat(no-unsupported): support Node 20.18.0 (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Nov 1, 2024
1 parent 8a8104e commit d39d99a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions lib/unsupported-features/node-builtins-modules/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ const { READ } = require("@eslint-community/eslint-utils")
*/
const common_objects = {
Network: {
requestWillBeSent: { [READ]: { experimental: ["22.6.0"] } },
responseReceived: { [READ]: { experimental: ["22.6.0"] } },
loadingFinished: { [READ]: { experimental: ["22.6.0"] } },
loadingFailed: { [READ]: { experimental: ["22.7.0"] } },
loadingFailed: { [READ]: { experimental: ["22.7.0", "20.18.0"] } },
loadingFinished: { [READ]: { experimental: ["22.6.0", "20.18.0"] } },
requestWillBeSent: { [READ]: { experimental: ["22.6.0", "20.18.0"] } },
responseReceived: { [READ]: { experimental: ["22.6.0", "20.18.0"] } },
},
console: { [READ]: { supported: ["8.0.0"] } },
close: { [READ]: { supported: ["9.0.0"] } },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const perf_hooks = {
loopExit: { [READ]: { supported: ["8.5.0"] } },
loopStart: { [READ]: { supported: ["8.5.0"] } },
nodeStart: { [READ]: { supported: ["8.5.0"] } },
uvMetricsInfo: { [READ]: { supported: ["22.8.0"] } },
uvMetricsInfo: { [READ]: { supported: ["22.8.0", "20.18.0"] } },
v8Start: { [READ]: { supported: ["8.5.0"] } },
},
now: { [READ]: { supported: ["8.5.0"] } },
Expand Down
7 changes: 5 additions & 2 deletions lib/unsupported-features/node-builtins-modules/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ const test = {
setResolveSnapshotPath: { [READ]: { experimental: ["22.3.0"] } },
},
MockFunctionContext: { [READ]: { supported: ["19.1.0", "18.13.0"] } },
MockModuleContext: { [READ]: { experimental: ["22.3.0"] } },
MockTracker: { [READ]: { supported: ["19.1.0", "18.13.0"] } },
MockModuleContext: { [READ]: { experimental: ["22.3.0", "20.18.0"] } },
MockTracker: {
[READ]: { supported: ["19.1.0", "18.13.0"] },
module: { [READ]: { experimental: ["20.18.0"] } },
},
MockTimers: { [READ]: { experimental: ["20.4.0"], supported: ["23.1.0"] } },
TestsStream: { [READ]: { supported: ["18.9.0", "16.19.0"] } },
TestContext: { [READ]: { supported: ["18.0.0", "16.17.0"] } },
Expand Down
1 change: 1 addition & 0 deletions lib/unsupported-features/node-globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ const nodeGlobals = {
[READ]: { experimental: ["18.7.0", "16.17.0"], supported: ["23.0.0"] },
},
Event: events.Event,
EventSource: { [READ]: { experimental: ["10.18.0"] } },
EventTarget: events.EventTarget,

// module.perf_hooks
Expand Down

0 comments on commit d39d99a

Please sign in to comment.