|
|
|
@ -26,8 +26,8 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
[null, {\
|
|
|
|
|
"packageLocation": "./",\
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["@types/jest", "npm:29.5.11"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/jest", "npm:29.5.12"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
|
|
|
|
|
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.1.2"],\
|
|
|
|
|
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
|
|
|
|
@ -880,7 +880,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["@jest/console", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["jest-message-util", "npm:29.7.0"],\
|
|
|
|
|
["jest-util", "npm:29.7.0"],\
|
|
|
|
@ -906,7 +906,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/test-result", "npm:29.7.0"],\
|
|
|
|
|
["@jest/transform", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["@types/node-notifier", null],\
|
|
|
|
|
["ansi-escapes", "npm:4.3.2"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
@ -946,7 +946,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/environment", "npm:29.7.0"],\
|
|
|
|
|
["@jest/fake-timers", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["jest-mock", "npm:29.7.0"]\
|
|
|
|
|
],\
|
|
|
|
|
"linkType": "HARD"\
|
|
|
|
@ -988,7 +988,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/fake-timers", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@sinonjs/fake-timers", "npm:10.3.0"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["jest-message-util", "npm:29.7.0"],\
|
|
|
|
|
["jest-mock", "npm:29.7.0"],\
|
|
|
|
|
["jest-util", "npm:29.7.0"]\
|
|
|
|
@ -1027,7 +1027,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/transform", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@jridgewell/trace-mapping", "npm:0.3.19"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["@types/node-notifier", null],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["collect-v8-coverage", "npm:1.0.2"],\
|
|
|
|
@ -1135,7 +1135,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/schemas", "npm:29.6.3"],\
|
|
|
|
|
["@types/istanbul-lib-coverage", "npm:2.0.4"],\
|
|
|
|
|
["@types/istanbul-reports", "npm:3.0.1"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["@types/yargs", "npm:17.0.24"],\
|
|
|
|
|
["chalk", "npm:4.1.2"]\
|
|
|
|
|
],\
|
|
|
|
@ -1344,7 +1344,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
"packageLocation": "../../../../cache/others/berry/cache/@types-graceful-fs-npm-4.1.6-1eadcf742d-10c0.zip/node_modules/@types/graceful-fs/",\
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["@types/graceful-fs", "npm:4.1.6"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"]\
|
|
|
|
|
["@types/node", "npm:20.11.21"]\
|
|
|
|
|
],\
|
|
|
|
|
"linkType": "HARD"\
|
|
|
|
|
}]\
|
|
|
|
@ -1379,10 +1379,10 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
}]\
|
|
|
|
|
]],\
|
|
|
|
|
["@types/jest", [\
|
|
|
|
|
["npm:29.5.11", {\
|
|
|
|
|
"packageLocation": "../../../../cache/others/berry/cache/@types-jest-npm-29.5.11-1ede28257d-10c0.zip/node_modules/@types/jest/",\
|
|
|
|
|
["npm:29.5.12", {\
|
|
|
|
|
"packageLocation": "../../../../cache/others/berry/cache/@types-jest-npm-29.5.12-6459b9d012-10c0.zip/node_modules/@types/jest/",\
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["@types/jest", "npm:29.5.11"],\
|
|
|
|
|
["@types/jest", "npm:29.5.12"],\
|
|
|
|
|
["expect", "npm:29.6.4"],\
|
|
|
|
|
["pretty-format", "npm:29.6.3"]\
|
|
|
|
|
],\
|
|
|
|
@ -1390,10 +1390,10 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
}]\
|
|
|
|
|
]],\
|
|
|
|
|
["@types/node", [\
|
|
|
|
|
["npm:20.11.13", {\
|
|
|
|
|
"packageLocation": "../../../../cache/others/berry/cache/@types-node-npm-20.11.13-8a5bd5c659-10c0.zip/node_modules/@types/node/",\
|
|
|
|
|
["npm:20.11.21", {\
|
|
|
|
|
"packageLocation": "../../../../cache/others/berry/cache/@types-node-npm-20.11.21-0adac022b0-10c0.zip/node_modules/@types/node/",\
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["undici-types", "npm:5.26.5"]\
|
|
|
|
|
],\
|
|
|
|
|
"linkType": "HARD"\
|
|
|
|
@ -1927,8 +1927,8 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
"packageLocation": "./",\
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["clean-architecture", "workspace:."],\
|
|
|
|
|
["@types/jest", "npm:29.5.11"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/jest", "npm:29.5.12"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
|
|
|
|
|
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.1.2"],\
|
|
|
|
|
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
|
|
|
|
@ -2916,7 +2916,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/expect", "npm:29.7.0"],\
|
|
|
|
|
["@jest/test-result", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["co", "npm:4.6.0"],\
|
|
|
|
|
["dedent", "virtual:f7679858c638e2e5ade31901dd2b1e5007918fdc7d84fefb11f4200f46ba2e43b9d662fb793507b517bb1e725144e51f6d68f60f9f6100fd52144f042f58f0bc#npm:1.5.1"],\
|
|
|
|
@ -3021,7 +3021,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@babel/core", "npm:7.22.15"],\
|
|
|
|
|
["@jest/test-sequencer", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["@types/ts-node", null],\
|
|
|
|
|
["babel-jest", "virtual:939a7fe9ef9185d9378b96533b42cb7bd61bd3e34d0edd537f69a76537c5748d3b4733d3050f6f18ab17ac63143f81e7f121e602a5d38c959251dc0768083e9b#npm:29.7.0"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
@ -3108,7 +3108,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/environment", "npm:29.7.0"],\
|
|
|
|
|
["@jest/fake-timers", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["jest-mock", "npm:29.7.0"],\
|
|
|
|
|
["jest-util", "npm:29.7.0"]\
|
|
|
|
|
],\
|
|
|
|
@ -3131,7 +3131,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["jest-haste-map", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/graceful-fs", "npm:4.1.6"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["anymatch", "npm:3.1.3"],\
|
|
|
|
|
["fb-watchman", "npm:2.0.2"],\
|
|
|
|
|
["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"],\
|
|
|
|
@ -3220,7 +3220,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["jest-mock", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["jest-util", "npm:29.7.0"]\
|
|
|
|
|
],\
|
|
|
|
|
"linkType": "HARD"\
|
|
|
|
@ -3296,7 +3296,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/test-result", "npm:29.7.0"],\
|
|
|
|
|
["@jest/transform", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["emittery", "npm:0.13.1"],\
|
|
|
|
|
["graceful-fs", "npm:4.2.11"],\
|
|
|
|
@ -3328,7 +3328,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@jest/test-result", "npm:29.7.0"],\
|
|
|
|
|
["@jest/transform", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["cjs-module-lexer", "npm:1.2.3"],\
|
|
|
|
|
["collect-v8-coverage", "npm:1.0.2"],\
|
|
|
|
@ -3382,7 +3382,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["jest-util", "npm:29.6.3"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["ci-info", "npm:3.8.0"],\
|
|
|
|
|
["graceful-fs", "npm:4.2.11"],\
|
|
|
|
@ -3395,7 +3395,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["jest-util", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["ci-info", "npm:3.8.0"],\
|
|
|
|
|
["graceful-fs", "npm:4.2.11"],\
|
|
|
|
@ -3426,7 +3426,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["jest-watcher", "npm:29.7.0"],\
|
|
|
|
|
["@jest/test-result", "npm:29.7.0"],\
|
|
|
|
|
["@jest/types", "npm:29.6.3"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["ansi-escapes", "npm:4.3.2"],\
|
|
|
|
|
["chalk", "npm:4.1.2"],\
|
|
|
|
|
["emittery", "npm:0.13.1"],\
|
|
|
|
@ -3441,7 +3441,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
"packageLocation": "../../../../cache/others/berry/cache/jest-worker-npm-29.7.0-4d3567fed6-10c0.zip/node_modules/jest-worker/",\
|
|
|
|
|
"packageDependencies": [\
|
|
|
|
|
["jest-worker", "npm:29.7.0"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["jest-util", "npm:29.7.0"],\
|
|
|
|
|
["merge-stream", "npm:2.0.0"],\
|
|
|
|
|
["supports-color", "npm:8.1.1"]\
|
|
|
|
@ -4564,7 +4564,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@types/babel-jest", null],\
|
|
|
|
|
["@types/babel__core", null],\
|
|
|
|
|
["@types/esbuild", null],\
|
|
|
|
|
["@types/jest", "npm:29.5.11"],\
|
|
|
|
|
["@types/jest", "npm:29.5.12"],\
|
|
|
|
|
["@types/jest__types", null],\
|
|
|
|
|
["@types/typescript", null],\
|
|
|
|
|
["babel-jest", null],\
|
|
|
|
@ -4616,7 +4616,7 @@ const RAW_RUNTIME_STATE =
|
|
|
|
|
["@tsconfig/node12", "npm:1.0.11"],\
|
|
|
|
|
["@tsconfig/node14", "npm:1.0.3"],\
|
|
|
|
|
["@tsconfig/node16", "npm:1.0.4"],\
|
|
|
|
|
["@types/node", "npm:20.11.13"],\
|
|
|
|
|
["@types/node", "npm:20.11.21"],\
|
|
|
|
|
["@types/swc__core", null],\
|
|
|
|
|
["@types/swc__wasm", null],\
|
|
|
|
|
["@types/typescript", null],\
|
|
|
|
@ -5286,10 +5286,9 @@ async function copyImpl(prelayout, postlayout, destinationFs, destination, sourc
|
|
|
|
|
updated = await copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts);
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
{
|
|
|
|
|
throw new Error(`Unsupported file type (${sourceStat.mode})`);
|
|
|
|
|
}
|
|
|
|
|
default: {
|
|
|
|
|
throw new Error(`Unsupported file type (${sourceStat.mode})`);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (opts.linkStrategy?.type !== `HardlinkFromIndex` || !sourceStat.isFile()) {
|
|
|
|
|
if (updated || destinationStat?.mtime?.getTime() !== mtime.getTime() || destinationStat?.atime?.getTime() !== atime.getTime()) {
|
|
|
|
@ -5352,7 +5351,10 @@ async function copyFolder(prelayout, postlayout, destinationFs, destination, des
|
|
|
|
|
}
|
|
|
|
|
async function copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, linkStrategy) {
|
|
|
|
|
const sourceHash = await sourceFs.checksumFilePromise(source, { algorithm: `sha1` });
|
|
|
|
|
const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${sourceHash}.dat`);
|
|
|
|
|
const defaultMode = 420;
|
|
|
|
|
const sourceMode = sourceStat.mode & 511;
|
|
|
|
|
const indexFileName = `${sourceHash}${sourceMode !== defaultMode ? sourceMode.toString(8) : ``}`;
|
|
|
|
|
const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${indexFileName}.dat`);
|
|
|
|
|
let AtomicBehavior;
|
|
|
|
|
((AtomicBehavior2) => {
|
|
|
|
|
AtomicBehavior2[AtomicBehavior2["Lock"] = 0] = "Lock";
|
|
|
|
@ -5408,8 +5410,12 @@ async function copyFileViaIndex(prelayout, postlayout, destinationFs, destinatio
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
postlayout.push(async () => {
|
|
|
|
|
if (!indexStat)
|
|
|
|
|
if (!indexStat) {
|
|
|
|
|
await destinationFs.lutimesPromise(indexPath, defaultTime, defaultTime);
|
|
|
|
|
if (sourceMode !== defaultMode) {
|
|
|
|
|
await destinationFs.chmodPromise(indexPath, sourceMode);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (tempPath && !tempPathCleaned) {
|
|
|
|
|
await destinationFs.unlinkPromise(tempPath);
|
|
|
|
|
}
|
|
|
|
@ -7613,6 +7619,8 @@ class VirtualFS extends ProxiedFS {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const URL = Number(process.versions.node.split('.', 1)[0]) < 20 ? url.URL : globalThis.URL;
|
|
|
|
|
|
|
|
|
|
class NodePathFS extends ProxiedFS {
|
|
|
|
|
constructor(baseFs) {
|
|
|
|
|
super(npath);
|
|
|
|
@ -7624,7 +7632,7 @@ class NodePathFS extends ProxiedFS {
|
|
|
|
|
mapToBase(path) {
|
|
|
|
|
if (typeof path === `string`)
|
|
|
|
|
return path;
|
|
|
|
|
if (path instanceof url.URL)
|
|
|
|
|
if (path instanceof URL)
|
|
|
|
|
return url.fileURLToPath(path);
|
|
|
|
|
if (Buffer.isBuffer(path)) {
|
|
|
|
|
const str = path.toString();
|
|
|
|
@ -9190,8 +9198,10 @@ class ZipFS extends BasePortableFakeFS {
|
|
|
|
|
throw new Error(`Incomplete read`);
|
|
|
|
|
else if (rc > size)
|
|
|
|
|
throw new Error(`Overread`);
|
|
|
|
|
const memory = this.libzip.HEAPU8.subarray(buffer, buffer + size);
|
|
|
|
|
return Buffer.from(memory);
|
|
|
|
|
let result = Buffer.from(this.libzip.HEAPU8.subarray(buffer, buffer + size));
|
|
|
|
|
if (process.env.YARN_IS_TEST_ENV && process.env.YARN_ZIP_DATA_EPILOGUE)
|
|
|
|
|
result = Buffer.concat([result, Buffer.from(process.env.YARN_ZIP_DATA_EPILOGUE)]);
|
|
|
|
|
return result;
|
|
|
|
|
} finally {
|
|
|
|
|
this.libzip.free(buffer);
|
|
|
|
|
}
|
|
|
|
@ -10249,7 +10259,7 @@ function applyPatch(pnpapi, opts) {
|
|
|
|
|
process.versions.pnp = String(pnpapi.VERSIONS.std);
|
|
|
|
|
const moduleExports = require$$0__default.default;
|
|
|
|
|
moduleExports.findPnpApi = (lookupSource) => {
|
|
|
|
|
const lookupPath = lookupSource instanceof url.URL ? url.fileURLToPath(lookupSource) : lookupSource;
|
|
|
|
|
const lookupPath = lookupSource instanceof URL ? url.fileURLToPath(lookupSource) : lookupSource;
|
|
|
|
|
const apiPath = opts.manager.findApiPathFor(lookupPath);
|
|
|
|
|
if (apiPath === null)
|
|
|
|
|
return null;
|
|
|
|
@ -10671,28 +10681,6 @@ function getPackageScopeConfig(resolved, readFileSyncFn) {
|
|
|
|
|
return packageConfig;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@license
|
|
|
|
|
Copyright Node.js contributors. All rights reserved.
|
|
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
of this software and associated documentation files (the "Software"), to
|
|
|
|
|
deal in the Software without restriction, including without limitation the
|
|
|
|
|
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
|
sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
|
|
IN THE SOFTWARE.
|
|
|
|
|
*/
|
|
|
|
|
function throwImportNotDefined(specifier, packageJSONUrl, base) {
|
|
|
|
|
throw new ERR_PACKAGE_IMPORT_NOT_DEFINED(
|
|
|
|
|
specifier,
|
|
|
|
|