From d27e586dc83c639e69f587d4ab94df5a059801c6 Mon Sep 17 00:00:00 2001 From: Sebastian Good <2230835+scagood@users.noreply.github.com> Date: Wed, 25 Sep 2024 21:14:48 +0200 Subject: [PATCH] feat: Node v22.8.0 #335 --- lib/unsupported-features/node-builtins-modules/module.js | 7 +++++++ .../node-builtins-modules/perf_hooks.js | 1 + 2 files changed, 8 insertions(+) diff --git a/lib/unsupported-features/node-builtins-modules/module.js b/lib/unsupported-features/node-builtins-modules/module.js index 359206f2..78b468e7 100644 --- a/lib/unsupported-features/node-builtins-modules/module.js +++ b/lib/unsupported-features/node-builtins-modules/module.js @@ -5,6 +5,11 @@ const { READ } = require("@eslint-community/eslint-utils") /** @type {import('../types.js').SupportVersionTraceMap} */ const Module = { builtinModules: { [READ]: { supported: ["9.3.0", "8.10.0", "6.13.0"] } }, + constants: { + compileCacheStatus: { + [READ]: { experimental: ["22.8.0"] }, + }, + }, createRequire: { [READ]: { supported: ["12.2.0"] } }, createRequireFromPath: { [READ]: { @@ -12,6 +17,8 @@ const Module = { deprecated: ["12.2.0"], }, }, + enableCompileCache: { [READ]: { experimental: ["22.8.0"] } }, + getCompileCacheDir: { [READ]: { experimental: ["22.8.0"] } }, isBuiltin: { [READ]: { supported: ["18.6.0", "16.17.0"] } }, register: { [READ]: { experimental: ["20.6.0"] } }, syncBuiltinESMExports: { [READ]: { supported: ["12.12.0"] } }, diff --git a/lib/unsupported-features/node-builtins-modules/perf_hooks.js b/lib/unsupported-features/node-builtins-modules/perf_hooks.js index e50b5b77..6408bd01 100644 --- a/lib/unsupported-features/node-builtins-modules/perf_hooks.js +++ b/lib/unsupported-features/node-builtins-modules/perf_hooks.js @@ -24,6 +24,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"] } }, v8Start: { [READ]: { supported: ["8.5.0"] } }, }, now: { [READ]: { supported: ["8.5.0"] } },