diff --git a/lib/unsupported-features/node-builtins-modules/inspector.js b/lib/unsupported-features/node-builtins-modules/inspector.js index 137b15a3..5402f222 100644 --- a/lib/unsupported-features/node-builtins-modules/inspector.js +++ b/lib/unsupported-features/node-builtins-modules/inspector.js @@ -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"] } }, diff --git a/lib/unsupported-features/node-builtins-modules/perf_hooks.js b/lib/unsupported-features/node-builtins-modules/perf_hooks.js index eeac6f65..f35f7eb4 100644 --- a/lib/unsupported-features/node-builtins-modules/perf_hooks.js +++ b/lib/unsupported-features/node-builtins-modules/perf_hooks.js @@ -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"] } }, diff --git a/lib/unsupported-features/node-builtins-modules/test.js b/lib/unsupported-features/node-builtins-modules/test.js index 139c138d..94618cba 100644 --- a/lib/unsupported-features/node-builtins-modules/test.js +++ b/lib/unsupported-features/node-builtins-modules/test.js @@ -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"] } }, diff --git a/lib/unsupported-features/node-globals.js b/lib/unsupported-features/node-globals.js index a7478449..e9d7a168 100644 --- a/lib/unsupported-features/node-globals.js +++ b/lib/unsupported-features/node-globals.js @@ -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