Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(no-unsupported): support Node 20.18.0 #374

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"] } },
},
scagood marked this conversation as resolved.
Show resolved Hide resolved
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