diff --git a/.pnp.cjs b/.pnp.cjs index ef87c4d..a3fa7ff 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -29,7 +29,7 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["@actions/core", "npm:1.11.1"],\ ["@actions/github", "npm:6.0.0"],\ - ["@types/node", "npm:20.17.10"],\ + ["@types/node", "npm:20.17.11"],\ ["@vercel/ncc", "npm:0.38.3"],\ ["typescript", "patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=5786d5"]\ ],\ @@ -320,10 +320,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@types/node", [\ - ["npm:20.17.10", {\ - "packageLocation": "./.yarn/cache/@types-node-npm-20.17.10-0c13d298c2-9a1bcb2f25.zip/node_modules/@types/node/",\ + ["npm:20.17.11", {\ + "packageLocation": "./.yarn/cache/@types-node-npm-20.17.11-26be9e64df-286ee7f9ae.zip/node_modules/@types/node/",\ "packageDependencies": [\ - ["@types/node", "npm:20.17.10"],\ + ["@types/node", "npm:20.17.11"],\ ["undici-types", "npm:6.19.8"]\ ],\ "linkType": "HARD"\ @@ -1012,7 +1012,7 @@ const RAW_RUNTIME_STATE = ["setup-msvc-dev", "workspace:."],\ ["@actions/core", "npm:1.11.1"],\ ["@actions/github", "npm:6.0.0"],\ - ["@types/node", "npm:20.17.10"],\ + ["@types/node", "npm:20.17.11"],\ ["@vercel/ncc", "npm:0.38.3"],\ ["typescript", "patch:typescript@npm%3A5.7.2#optional!builtin::version=5.7.2&hash=5786d5"]\ ],\ @@ -6906,18 +6906,20 @@ Require stack: } return false; }; - const originalExtensionJSFunction = require$$0.Module._extensions[`.js`]; - require$$0.Module._extensions[`.js`] = function(module, filename) { - if (filename.endsWith(`.js`)) { - const pkg = readPackageScope(filename); - if (pkg && pkg.data?.type === `module`) { - const err = ERR_REQUIRE_ESM(filename, module.parent?.filename); - Error.captureStackTrace(err); - throw err; + if (!process.features.require_module) { + const originalExtensionJSFunction = require$$0.Module._extensions[`.js`]; + require$$0.Module._extensions[`.js`] = function(module, filename) { + if (filename.endsWith(`.js`)) { + const pkg = readPackageScope(filename); + if (pkg && pkg.data?.type === `module`) { + const err = ERR_REQUIRE_ESM(filename, module.parent?.filename); + Error.captureStackTrace(err); + throw err; + } } - } - originalExtensionJSFunction.call(this, module, filename); - }; + originalExtensionJSFunction.call(this, module, filename); + }; + } const originalDlopen = process.dlopen; process.dlopen = function(...args) { const [module, filename, ...rest] = args; diff --git a/.yarn/cache/@types-node-npm-20.17.10-0c13d298c2-9a1bcb2f25.zip b/.yarn/cache/@types-node-npm-20.17.11-26be9e64df-286ee7f9ae.zip similarity index 98% rename from .yarn/cache/@types-node-npm-20.17.10-0c13d298c2-9a1bcb2f25.zip rename to .yarn/cache/@types-node-npm-20.17.11-26be9e64df-286ee7f9ae.zip index 8f9287f..23a3c92 100644 Binary files a/.yarn/cache/@types-node-npm-20.17.10-0c13d298c2-9a1bcb2f25.zip and b/.yarn/cache/@types-node-npm-20.17.11-26be9e64df-286ee7f9ae.zip differ diff --git a/yarn.lock b/yarn.lock index 73c5ff7..82cf006 100644 --- a/yarn.lock +++ b/yarn.lock @@ -233,11 +233,11 @@ __metadata: linkType: hard "@types/node@npm:^20.17.4": - version: 20.17.10 - resolution: "@types/node@npm:20.17.10" + version: 20.17.11 + resolution: "@types/node@npm:20.17.11" dependencies: undici-types: "npm:~6.19.2" - checksum: 10/9a1bcb2f25ce1ad249497e5f10ed984bf0ec476439fad2e965c3d6cc4642abb23c5e8400f7e48e55ff121d2b80b14bdc1bd4eac7ff6848154033a2be25fffb17 + checksum: 10/286ee7f9aeda720933a13d6f9060beb1cc07b5a11f2fee02b3436ab4b9bb38d0121795b955209f21eb2c3b3748c1090b14df6f15219cb0d277c619343304baf9 languageName: node linkType: hard