From a52c96813496c346cd9cacc23df8ade2567012af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Thu, 21 Nov 2024 21:03:43 +0100 Subject: [PATCH] feat(no-unsupported): support Node 23.2.0 & 23.3.0 (#390) --- lib/unsupported-features/node-builtins-modules/module.js | 2 ++ lib/unsupported-features/node-builtins-modules/process.js | 1 + lib/unsupported-features/node-builtins-modules/util.js | 5 ++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/unsupported-features/node-builtins-modules/module.js b/lib/unsupported-features/node-builtins-modules/module.js index 12150c3e..a8a2513f 100644 --- a/lib/unsupported-features/node-builtins-modules/module.js +++ b/lib/unsupported-features/node-builtins-modules/module.js @@ -20,10 +20,12 @@ const Module = { }, }, enableCompileCache: { [READ]: { experimental: ["22.8.0"] } }, + findPackageJSON: { [READ]: { experimental: ["23.2.0"] } }, flushCompileCache: { [READ]: { experimental: ["23.0.0", "22.10.0"] } }, getCompileCacheDir: { [READ]: { experimental: ["22.8.0"] } }, isBuiltin: { [READ]: { supported: ["18.6.0", "16.17.0"] } }, register: { [READ]: { experimental: ["20.6.0"] } }, + stripTypeScriptTypes: { [READ]: { experimental: ["23.2.0"] } }, syncBuiltinESMExports: { [READ]: { supported: ["12.12.0"] } }, findSourceMap: { [READ]: { supported: ["13.7.0", "12.17.0"] } }, SourceMap: { [READ]: { supported: ["13.7.0", "12.17.0"] } }, diff --git a/lib/unsupported-features/node-builtins-modules/process.js b/lib/unsupported-features/node-builtins-modules/process.js index bb99b7b8..37379da7 100644 --- a/lib/unsupported-features/node-builtins-modules/process.js +++ b/lib/unsupported-features/node-builtins-modules/process.js @@ -55,6 +55,7 @@ const process = { experimental: ["11.8.0"], supported: ["13.12.0", "12.17.0"], }, + excludeEnv: { [READ]: { supported: ["23.3.0"] } }, }, sourceMapsEnabled: { [READ]: { experimental: ["20.7.0"] } }, stdin: { diff --git a/lib/unsupported-features/node-builtins-modules/util.js b/lib/unsupported-features/node-builtins-modules/util.js index 7e7251b0..752de056 100644 --- a/lib/unsupported-features/node-builtins-modules/util.js +++ b/lib/unsupported-features/node-builtins-modules/util.js @@ -94,7 +94,10 @@ const util = { deprecate: { [READ]: { supported: ["0.8.0"] } }, format: { [READ]: { supported: ["0.5.3"] } }, formatWithOptions: { [READ]: { supported: ["10.0.0"] } }, - getCallSite: { [READ]: { experimental: ["22.9.0"] } }, + getCallSite: { + [READ]: { deprecated: ["23.3.0"], experimental: ["22.9.0"] }, + }, + getCallSites: { [READ]: { experimental: ["23.3.0"] } }, getSystemErrorName: { [READ]: { supported: ["9.7.0", "8.12.0"] } }, getSystemErrorMap: { [READ]: { supported: ["16.0.0", "14.17.0"] } }, getSystemErrorMessage: { [READ]: { supported: ["23.1.0"] } },