@prisma/fetch-engine 7.7.0-integration-feat-bootstrap-ux-fixes.9 → 7.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-4MDZEOKU.js → chunk-2S6LPEDI.js} +6 -7
- package/dist/{chunk-IZ3QFMX6.js → chunk-64BZFG2Y.js} +18 -18
- package/dist/{chunk-4GGGRRIN.js → chunk-JZJA4MCU.js} +5 -5
- package/dist/{chunk-FNYZ6ABB.js → chunk-NT25DW6B.js} +405 -59
- package/dist/{chunk-XMX7WAFC.js → chunk-T73LLGWA.js} +19 -19
- package/dist/cleanupCache.js +3 -3
- package/dist/download.js +10 -10
- package/dist/downloadZip.js +3 -3
- package/dist/index.js +12 -12
- package/dist/utils.js +5 -5
- package/package.json +3 -3
|
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_2S6LPEDI_exports = {};
|
|
30
|
+
__export(chunk_2S6LPEDI_exports, {
|
|
31
31
|
getCacheDir: () => getCacheDir,
|
|
32
32
|
getDownloadUrl: () => getDownloadUrl,
|
|
33
33
|
getRootCacheDir: () => getRootCacheDir,
|
|
34
34
|
overwriteFile: () => overwriteFile,
|
|
35
35
|
require_lib: () => require_lib
|
|
36
36
|
});
|
|
37
|
-
module.exports = __toCommonJS(
|
|
37
|
+
module.exports = __toCommonJS(chunk_2S6LPEDI_exports);
|
|
38
38
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
39
39
|
var import_node_fs = __toESM(require("node:fs"));
|
|
40
40
|
var import_node_os = __toESM(require("node:os"));
|
|
@@ -1851,7 +1851,7 @@ var require_ensure = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1851
1851
|
}
|
|
1852
1852
|
});
|
|
1853
1853
|
var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1854
|
-
"../../node_modules/.pnpm/jsonfile@6.
|
|
1854
|
+
"../../node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/utils.js"(exports, module2) {
|
|
1855
1855
|
"use strict";
|
|
1856
1856
|
function stringify(obj, { EOL = "\n", finalEOL = true, replacer = null, spaces } = {}) {
|
|
1857
1857
|
const EOF = finalEOL ? EOL : "";
|
|
@@ -1866,7 +1866,7 @@ var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1866
1866
|
}
|
|
1867
1867
|
});
|
|
1868
1868
|
var require_jsonfile = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1869
|
-
"../../node_modules/.pnpm/jsonfile@6.
|
|
1869
|
+
"../../node_modules/.pnpm/jsonfile@6.2.0/node_modules/jsonfile/index.js"(exports, module2) {
|
|
1870
1870
|
"use strict";
|
|
1871
1871
|
var _fs;
|
|
1872
1872
|
try {
|
|
@@ -1928,13 +1928,12 @@ var require_jsonfile = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1928
1928
|
const str = stringify(obj, options);
|
|
1929
1929
|
return fs4.writeFileSync(file, str, options);
|
|
1930
1930
|
}
|
|
1931
|
-
|
|
1931
|
+
module2.exports = {
|
|
1932
1932
|
readFile,
|
|
1933
1933
|
readFileSync,
|
|
1934
1934
|
writeFile,
|
|
1935
1935
|
writeFileSync
|
|
1936
1936
|
};
|
|
1937
|
-
module2.exports = jsonfile;
|
|
1938
1937
|
}
|
|
1939
1938
|
});
|
|
1940
1939
|
var require_jsonfile2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_64BZFG2Y_exports = {};
|
|
30
|
+
__export(chunk_64BZFG2Y_exports, {
|
|
31
31
|
download: () => download,
|
|
32
32
|
getBinaryName: () => getBinaryName,
|
|
33
33
|
getVersion: () => getVersion,
|
|
@@ -35,12 +35,12 @@ __export(chunk_IZ3QFMX6_exports, {
|
|
|
35
35
|
plusX: () => plusX,
|
|
36
36
|
vercelPkgPathRegex: () => vercelPkgPathRegex
|
|
37
37
|
});
|
|
38
|
-
module.exports = __toCommonJS(
|
|
38
|
+
module.exports = __toCommonJS(chunk_64BZFG2Y_exports);
|
|
39
39
|
var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
|
|
40
40
|
var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var import_chunk_JZJA4MCU = require("./chunk-JZJA4MCU.js");
|
|
42
|
+
var import_chunk_NT25DW6B = require("./chunk-NT25DW6B.js");
|
|
43
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
44
44
|
var import_chunk_XNR2KDTK = require("./chunk-XNR2KDTK.js");
|
|
45
45
|
var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
|
|
46
46
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
@@ -2140,7 +2140,7 @@ function create$(options) {
|
|
|
2140
2140
|
return $2;
|
|
2141
2141
|
}
|
|
2142
2142
|
var $ = create$();
|
|
2143
|
-
var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
2143
|
+
var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_2S6LPEDI.require_lib)());
|
|
2144
2144
|
async function pMap(iterable, mapper, {
|
|
2145
2145
|
concurrency = Number.POSITIVE_INFINITY,
|
|
2146
2146
|
stopOnError = true,
|
|
@@ -2270,7 +2270,7 @@ async function pFilter(iterable, filterer, options) {
|
|
|
2270
2270
|
);
|
|
2271
2271
|
return values.filter((value) => Boolean(value[0])).map((value) => value[1]);
|
|
2272
2272
|
}
|
|
2273
|
-
var import_temp_dir = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
2273
|
+
var import_temp_dir = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_NT25DW6B.require_temp_dir)());
|
|
2274
2274
|
var { enginesOverride } = require_package();
|
|
2275
2275
|
var debug = (0, import_debug.default)("prisma:fetch-engine:download");
|
|
2276
2276
|
var exists = (0, import_node_util.promisify)(import_node_fs.default.exists);
|
|
@@ -2335,7 +2335,7 @@ async function download(options) {
|
|
|
2335
2335
|
return shouldDownload;
|
|
2336
2336
|
});
|
|
2337
2337
|
if (binariesToDownload.length > 0) {
|
|
2338
|
-
const cleanupPromise = (0,
|
|
2338
|
+
const cleanupPromise = (0, import_chunk_JZJA4MCU.cleanupCache)();
|
|
2339
2339
|
let finishBar;
|
|
2340
2340
|
let setProgress;
|
|
2341
2341
|
if (opts.showProgress) {
|
|
@@ -2344,7 +2344,7 @@ async function download(options) {
|
|
|
2344
2344
|
setProgress = collectiveBar.setProgress;
|
|
2345
2345
|
}
|
|
2346
2346
|
const promises = binariesToDownload.map((job) => {
|
|
2347
|
-
const downloadUrl = (0,
|
|
2347
|
+
const downloadUrl = (0, import_chunk_2S6LPEDI.getDownloadUrl)({
|
|
2348
2348
|
channel: "all_commits",
|
|
2349
2349
|
version: opts.version,
|
|
2350
2350
|
binaryTarget: job.binaryTarget,
|
|
@@ -2422,7 +2422,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
|
2422
2422
|
});
|
|
2423
2423
|
if (cachedFile) {
|
|
2424
2424
|
if (job.skipCacheIntegrityCheck === true) {
|
|
2425
|
-
await (0,
|
|
2425
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2426
2426
|
return false;
|
|
2427
2427
|
}
|
|
2428
2428
|
const sha256FilePath = cachedFile + ".sha256";
|
|
@@ -2433,12 +2433,12 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
|
2433
2433
|
if (!targetExists) {
|
|
2434
2434
|
debug(`copying ${cachedFile} to ${job.targetFilePath}`);
|
|
2435
2435
|
await import_node_fs.default.promises.utimes(cachedFile, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date());
|
|
2436
|
-
await (0,
|
|
2436
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2437
2437
|
}
|
|
2438
2438
|
const targetSha256 = await (0, import_chunk_FKGWOTGU.getHash)(job.targetFilePath);
|
|
2439
2439
|
if (sha256File !== targetSha256) {
|
|
2440
2440
|
debug(`overwriting ${job.targetFilePath} with ${cachedFile} as hashes do not match`);
|
|
2441
|
-
await (0,
|
|
2441
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2442
2442
|
}
|
|
2443
2443
|
return false;
|
|
2444
2444
|
} else {
|
|
@@ -2453,7 +2453,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
|
2453
2453
|
}
|
|
2454
2454
|
if (cachedFile) {
|
|
2455
2455
|
debug(`copying ${cachedFile} to ${job.targetFilePath}`);
|
|
2456
|
-
await (0,
|
|
2456
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2457
2457
|
return false;
|
|
2458
2458
|
}
|
|
2459
2459
|
return true;
|
|
@@ -2491,7 +2491,7 @@ async function getCachedBinaryPath({
|
|
|
2491
2491
|
binaryTarget,
|
|
2492
2492
|
binaryName
|
|
2493
2493
|
}) {
|
|
2494
|
-
const cacheDir = await (0,
|
|
2494
|
+
const cacheDir = await (0, import_chunk_2S6LPEDI.getCacheDir)(channel, version, binaryTarget);
|
|
2495
2495
|
if (!cacheDir) {
|
|
2496
2496
|
return null;
|
|
2497
2497
|
}
|
|
@@ -2524,7 +2524,7 @@ async function downloadBinary(options) {
|
|
|
2524
2524
|
if (progressCb) {
|
|
2525
2525
|
progressCb(0);
|
|
2526
2526
|
}
|
|
2527
|
-
const { sha256, zippedSha256 } = await (0,
|
|
2527
|
+
const { sha256, zippedSha256 } = await (0, import_chunk_NT25DW6B.downloadZip)(downloadUrl, targetFilePath, progressCb);
|
|
2528
2528
|
if (progressCb) {
|
|
2529
2529
|
progressCb(1);
|
|
2530
2530
|
}
|
|
@@ -2532,7 +2532,7 @@ async function downloadBinary(options) {
|
|
|
2532
2532
|
await saveFileToCache(options, version, sha256, zippedSha256);
|
|
2533
2533
|
}
|
|
2534
2534
|
async function saveFileToCache(job, version, sha256, zippedSha256) {
|
|
2535
|
-
const cacheDir = await (0,
|
|
2535
|
+
const cacheDir = await (0, import_chunk_2S6LPEDI.getCacheDir)(channel, version, job.binaryTarget);
|
|
2536
2536
|
if (!cacheDir) {
|
|
2537
2537
|
return;
|
|
2538
2538
|
}
|
|
@@ -2540,7 +2540,7 @@ async function saveFileToCache(job, version, sha256, zippedSha256) {
|
|
|
2540
2540
|
const cachedSha256Path = import_node_path.default.join(cacheDir, job.binaryName + ".sha256");
|
|
2541
2541
|
const cachedSha256ZippedPath = import_node_path.default.join(cacheDir, job.binaryName + ".gz.sha256");
|
|
2542
2542
|
try {
|
|
2543
|
-
await (0,
|
|
2543
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(job.targetFilePath, cachedTargetPath);
|
|
2544
2544
|
if (sha256 != null) {
|
|
2545
2545
|
await import_node_fs.default.promises.writeFile(cachedSha256Path, sha256);
|
|
2546
2546
|
}
|
|
@@ -26,13 +26,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_JZJA4MCU_exports = {};
|
|
30
|
+
__export(chunk_JZJA4MCU_exports, {
|
|
31
31
|
cleanupCache: () => cleanupCache
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_JZJA4MCU_exports);
|
|
34
34
|
var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
|
|
35
|
-
var
|
|
35
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
36
36
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
37
37
|
var import_node_fs = __toESM(require("node:fs"));
|
|
38
38
|
var import_node_path = __toESM(require("node:path"));
|
|
@@ -41,7 +41,7 @@ var import_p_map = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_7AOUSONO.
|
|
|
41
41
|
var debug = (0, import_debug.default)("cleanupCache");
|
|
42
42
|
async function cleanupCache(n = 5) {
|
|
43
43
|
try {
|
|
44
|
-
const rootCacheDir = await (0,
|
|
44
|
+
const rootCacheDir = await (0, import_chunk_2S6LPEDI.getRootCacheDir)();
|
|
45
45
|
if (!rootCacheDir) {
|
|
46
46
|
debug("no rootCacheDir found");
|
|
47
47
|
return;
|
|
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_NT25DW6B_exports = {};
|
|
30
|
+
__export(chunk_NT25DW6B_exports, {
|
|
31
31
|
downloadZip: () => downloadZip,
|
|
32
32
|
require_temp_dir: () => require_temp_dir
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(chunk_NT25DW6B_exports);
|
|
35
35
|
var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
|
|
36
36
|
var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
|
|
37
|
-
var
|
|
37
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
38
38
|
var import_chunk_CTLNI6CP = require("./chunk-CTLNI6CP.js");
|
|
39
39
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
40
40
|
var import_node_fs = __toESM(require("node:fs"));
|
|
@@ -1986,11 +1986,12 @@ var require_braces = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1986
1986
|
}
|
|
1987
1987
|
});
|
|
1988
1988
|
var require_constants2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1989
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
1989
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module2) {
|
|
1990
1990
|
"use strict";
|
|
1991
1991
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
1992
1992
|
var WIN_SLASH = "\\\\/";
|
|
1993
1993
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
1994
|
+
var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
|
|
1994
1995
|
var DOT_LITERAL = "\\.";
|
|
1995
1996
|
var PLUS_LITERAL = "\\+";
|
|
1996
1997
|
var QMARK_LITERAL = "\\?";
|
|
@@ -2038,6 +2039,7 @@ var require_constants2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2038
2039
|
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
|
|
2039
2040
|
};
|
|
2040
2041
|
var POSIX_REGEX_SOURCE = {
|
|
2042
|
+
__proto__: null,
|
|
2041
2043
|
alnum: "a-zA-Z0-9",
|
|
2042
2044
|
alpha: "a-zA-Z",
|
|
2043
2045
|
ascii: "\\x00-\\x7F",
|
|
@@ -2054,6 +2056,7 @@ var require_constants2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2054
2056
|
xdigit: "A-Fa-f0-9"
|
|
2055
2057
|
};
|
|
2056
2058
|
module2.exports = {
|
|
2059
|
+
DEFAULT_MAX_EXTGLOB_RECURSION,
|
|
2057
2060
|
MAX_LENGTH: 1024 * 64,
|
|
2058
2061
|
POSIX_REGEX_SOURCE,
|
|
2059
2062
|
// regular expressions
|
|
@@ -2065,6 +2068,7 @@ var require_constants2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2065
2068
|
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
2066
2069
|
// Replace globs with equivalent patterns to reduce parsing time.
|
|
2067
2070
|
REPLACEMENTS: {
|
|
2071
|
+
__proto__: null,
|
|
2068
2072
|
"***": "*",
|
|
2069
2073
|
"**/**": "**",
|
|
2070
2074
|
"**/**/**": "**"
|
|
@@ -2181,7 +2185,7 @@ var require_constants2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2181
2185
|
}
|
|
2182
2186
|
});
|
|
2183
2187
|
var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2184
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
2188
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
|
|
2185
2189
|
"use strict";
|
|
2186
2190
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
2187
2191
|
var win32 = process.platform === "win32";
|
|
@@ -2240,7 +2244,7 @@ var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2240
2244
|
}
|
|
2241
2245
|
});
|
|
2242
2246
|
var require_scan = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2243
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
2247
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module2) {
|
|
2244
2248
|
"use strict";
|
|
2245
2249
|
var utils = require_utils2();
|
|
2246
2250
|
var {
|
|
@@ -2568,7 +2572,7 @@ var require_scan = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2568
2572
|
}
|
|
2569
2573
|
});
|
|
2570
2574
|
var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2571
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
2575
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module2) {
|
|
2572
2576
|
"use strict";
|
|
2573
2577
|
var constants = require_constants2();
|
|
2574
2578
|
var utils = require_utils2();
|
|
@@ -2595,6 +2599,213 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2595
2599
|
var syntaxError = (type, char) => {
|
|
2596
2600
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
2597
2601
|
};
|
|
2602
|
+
var splitTopLevel = (input) => {
|
|
2603
|
+
const parts = [];
|
|
2604
|
+
let bracket = 0;
|
|
2605
|
+
let paren = 0;
|
|
2606
|
+
let quote = 0;
|
|
2607
|
+
let value = "";
|
|
2608
|
+
let escaped = false;
|
|
2609
|
+
for (const ch of input) {
|
|
2610
|
+
if (escaped === true) {
|
|
2611
|
+
value += ch;
|
|
2612
|
+
escaped = false;
|
|
2613
|
+
continue;
|
|
2614
|
+
}
|
|
2615
|
+
if (ch === "\\") {
|
|
2616
|
+
value += ch;
|
|
2617
|
+
escaped = true;
|
|
2618
|
+
continue;
|
|
2619
|
+
}
|
|
2620
|
+
if (ch === '"') {
|
|
2621
|
+
quote = quote === 1 ? 0 : 1;
|
|
2622
|
+
value += ch;
|
|
2623
|
+
continue;
|
|
2624
|
+
}
|
|
2625
|
+
if (quote === 0) {
|
|
2626
|
+
if (ch === "[") {
|
|
2627
|
+
bracket++;
|
|
2628
|
+
} else if (ch === "]" && bracket > 0) {
|
|
2629
|
+
bracket--;
|
|
2630
|
+
} else if (bracket === 0) {
|
|
2631
|
+
if (ch === "(") {
|
|
2632
|
+
paren++;
|
|
2633
|
+
} else if (ch === ")" && paren > 0) {
|
|
2634
|
+
paren--;
|
|
2635
|
+
} else if (ch === "|" && paren === 0) {
|
|
2636
|
+
parts.push(value);
|
|
2637
|
+
value = "";
|
|
2638
|
+
continue;
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
value += ch;
|
|
2643
|
+
}
|
|
2644
|
+
parts.push(value);
|
|
2645
|
+
return parts;
|
|
2646
|
+
};
|
|
2647
|
+
var isPlainBranch = (branch) => {
|
|
2648
|
+
let escaped = false;
|
|
2649
|
+
for (const ch of branch) {
|
|
2650
|
+
if (escaped === true) {
|
|
2651
|
+
escaped = false;
|
|
2652
|
+
continue;
|
|
2653
|
+
}
|
|
2654
|
+
if (ch === "\\") {
|
|
2655
|
+
escaped = true;
|
|
2656
|
+
continue;
|
|
2657
|
+
}
|
|
2658
|
+
if (/[?*+@!()[\]{}]/.test(ch)) {
|
|
2659
|
+
return false;
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
return true;
|
|
2663
|
+
};
|
|
2664
|
+
var normalizeSimpleBranch = (branch) => {
|
|
2665
|
+
let value = branch.trim();
|
|
2666
|
+
let changed = true;
|
|
2667
|
+
while (changed === true) {
|
|
2668
|
+
changed = false;
|
|
2669
|
+
if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
|
|
2670
|
+
value = value.slice(2, -1);
|
|
2671
|
+
changed = true;
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
if (!isPlainBranch(value)) {
|
|
2675
|
+
return;
|
|
2676
|
+
}
|
|
2677
|
+
return value.replace(/\\(.)/g, "$1");
|
|
2678
|
+
};
|
|
2679
|
+
var hasRepeatedCharPrefixOverlap = (branches) => {
|
|
2680
|
+
const values = branches.map(normalizeSimpleBranch).filter(Boolean);
|
|
2681
|
+
for (let i = 0; i < values.length; i++) {
|
|
2682
|
+
for (let j = i + 1; j < values.length; j++) {
|
|
2683
|
+
const a = values[i];
|
|
2684
|
+
const b = values[j];
|
|
2685
|
+
const char = a[0];
|
|
2686
|
+
if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
|
|
2687
|
+
continue;
|
|
2688
|
+
}
|
|
2689
|
+
if (a === b || a.startsWith(b) || b.startsWith(a)) {
|
|
2690
|
+
return true;
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
return false;
|
|
2695
|
+
};
|
|
2696
|
+
var parseRepeatedExtglob = (pattern, requireEnd = true) => {
|
|
2697
|
+
if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") {
|
|
2698
|
+
return;
|
|
2699
|
+
}
|
|
2700
|
+
let bracket = 0;
|
|
2701
|
+
let paren = 0;
|
|
2702
|
+
let quote = 0;
|
|
2703
|
+
let escaped = false;
|
|
2704
|
+
for (let i = 1; i < pattern.length; i++) {
|
|
2705
|
+
const ch = pattern[i];
|
|
2706
|
+
if (escaped === true) {
|
|
2707
|
+
escaped = false;
|
|
2708
|
+
continue;
|
|
2709
|
+
}
|
|
2710
|
+
if (ch === "\\") {
|
|
2711
|
+
escaped = true;
|
|
2712
|
+
continue;
|
|
2713
|
+
}
|
|
2714
|
+
if (ch === '"') {
|
|
2715
|
+
quote = quote === 1 ? 0 : 1;
|
|
2716
|
+
continue;
|
|
2717
|
+
}
|
|
2718
|
+
if (quote === 1) {
|
|
2719
|
+
continue;
|
|
2720
|
+
}
|
|
2721
|
+
if (ch === "[") {
|
|
2722
|
+
bracket++;
|
|
2723
|
+
continue;
|
|
2724
|
+
}
|
|
2725
|
+
if (ch === "]" && bracket > 0) {
|
|
2726
|
+
bracket--;
|
|
2727
|
+
continue;
|
|
2728
|
+
}
|
|
2729
|
+
if (bracket > 0) {
|
|
2730
|
+
continue;
|
|
2731
|
+
}
|
|
2732
|
+
if (ch === "(") {
|
|
2733
|
+
paren++;
|
|
2734
|
+
continue;
|
|
2735
|
+
}
|
|
2736
|
+
if (ch === ")") {
|
|
2737
|
+
paren--;
|
|
2738
|
+
if (paren === 0) {
|
|
2739
|
+
if (requireEnd === true && i !== pattern.length - 1) {
|
|
2740
|
+
return;
|
|
2741
|
+
}
|
|
2742
|
+
return {
|
|
2743
|
+
type: pattern[0],
|
|
2744
|
+
body: pattern.slice(2, i),
|
|
2745
|
+
end: i
|
|
2746
|
+
};
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2750
|
+
};
|
|
2751
|
+
var getStarExtglobSequenceOutput = (pattern) => {
|
|
2752
|
+
let index = 0;
|
|
2753
|
+
const chars = [];
|
|
2754
|
+
while (index < pattern.length) {
|
|
2755
|
+
const match = parseRepeatedExtglob(pattern.slice(index), false);
|
|
2756
|
+
if (!match || match.type !== "*") {
|
|
2757
|
+
return;
|
|
2758
|
+
}
|
|
2759
|
+
const branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
|
|
2760
|
+
if (branches.length !== 1) {
|
|
2761
|
+
return;
|
|
2762
|
+
}
|
|
2763
|
+
const branch = normalizeSimpleBranch(branches[0]);
|
|
2764
|
+
if (!branch || branch.length !== 1) {
|
|
2765
|
+
return;
|
|
2766
|
+
}
|
|
2767
|
+
chars.push(branch);
|
|
2768
|
+
index += match.end + 1;
|
|
2769
|
+
}
|
|
2770
|
+
if (chars.length < 1) {
|
|
2771
|
+
return;
|
|
2772
|
+
}
|
|
2773
|
+
const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
|
|
2774
|
+
return `${source}*`;
|
|
2775
|
+
};
|
|
2776
|
+
var repeatedExtglobRecursion = (pattern) => {
|
|
2777
|
+
let depth = 0;
|
|
2778
|
+
let value = pattern.trim();
|
|
2779
|
+
let match = parseRepeatedExtglob(value);
|
|
2780
|
+
while (match) {
|
|
2781
|
+
depth++;
|
|
2782
|
+
value = match.body.trim();
|
|
2783
|
+
match = parseRepeatedExtglob(value);
|
|
2784
|
+
}
|
|
2785
|
+
return depth;
|
|
2786
|
+
};
|
|
2787
|
+
var analyzeRepeatedExtglob = (body, options) => {
|
|
2788
|
+
if (options.maxExtglobRecursion === false) {
|
|
2789
|
+
return { risky: false };
|
|
2790
|
+
}
|
|
2791
|
+
const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants.DEFAULT_MAX_EXTGLOB_RECURSION;
|
|
2792
|
+
const branches = splitTopLevel(body).map((branch) => branch.trim());
|
|
2793
|
+
if (branches.length > 1) {
|
|
2794
|
+
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) {
|
|
2795
|
+
return { risky: true };
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
for (const branch of branches) {
|
|
2799
|
+
const safeOutput = getStarExtglobSequenceOutput(branch);
|
|
2800
|
+
if (safeOutput) {
|
|
2801
|
+
return { risky: true, safeOutput };
|
|
2802
|
+
}
|
|
2803
|
+
if (repeatedExtglobRecursion(branch) > max) {
|
|
2804
|
+
return { risky: true };
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2807
|
+
return { risky: false };
|
|
2808
|
+
};
|
|
2598
2809
|
var parse = (input, options) => {
|
|
2599
2810
|
if (typeof input !== "string") {
|
|
2600
2811
|
throw new TypeError("Expected a string");
|
|
@@ -2726,6 +2937,8 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2726
2937
|
token.prev = prev;
|
|
2727
2938
|
token.parens = state.parens;
|
|
2728
2939
|
token.output = state.output;
|
|
2940
|
+
token.startIndex = state.index;
|
|
2941
|
+
token.tokensIndex = tokens.length;
|
|
2729
2942
|
const output = (opts.capture ? "(" : "") + token.open;
|
|
2730
2943
|
increment("parens");
|
|
2731
2944
|
push({ type, value: value2, output: state.output ? "" : ONE_CHAR });
|
|
@@ -2733,6 +2946,26 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2733
2946
|
extglobs.push(token);
|
|
2734
2947
|
};
|
|
2735
2948
|
const extglobClose = (token) => {
|
|
2949
|
+
const literal = input.slice(token.startIndex, state.index + 1);
|
|
2950
|
+
const body = input.slice(token.startIndex + 2, state.index);
|
|
2951
|
+
const analysis = analyzeRepeatedExtglob(body, opts);
|
|
2952
|
+
if ((token.type === "plus" || token.type === "star") && analysis.risky) {
|
|
2953
|
+
const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
|
|
2954
|
+
const open = tokens[token.tokensIndex];
|
|
2955
|
+
open.type = "text";
|
|
2956
|
+
open.value = literal;
|
|
2957
|
+
open.output = safeOutput || utils.escapeRegex(literal);
|
|
2958
|
+
for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
|
|
2959
|
+
tokens[i].value = "";
|
|
2960
|
+
tokens[i].output = "";
|
|
2961
|
+
delete tokens[i].suffix;
|
|
2962
|
+
}
|
|
2963
|
+
state.output = token.output + open.output;
|
|
2964
|
+
state.backtrack = true;
|
|
2965
|
+
push({ type: "paren", extglob: true, value, output: "" });
|
|
2966
|
+
decrement("parens");
|
|
2967
|
+
return;
|
|
2968
|
+
}
|
|
2736
2969
|
let output = token.close + (opts.capture ? ")" : "");
|
|
2737
2970
|
let rest;
|
|
2738
2971
|
if (token.type === "negate") {
|
|
@@ -3339,7 +3572,7 @@ var require_parse2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3339
3572
|
}
|
|
3340
3573
|
});
|
|
3341
3574
|
var require_picomatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3342
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
3575
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module2) {
|
|
3343
3576
|
"use strict";
|
|
3344
3577
|
var path2 = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
3345
3578
|
var scan = require_scan();
|
|
@@ -3478,7 +3711,7 @@ var require_picomatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3478
3711
|
}
|
|
3479
3712
|
});
|
|
3480
3713
|
var require_picomatch2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3481
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
3714
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module2) {
|
|
3482
3715
|
"use strict";
|
|
3483
3716
|
module2.exports = require_picomatch();
|
|
3484
3717
|
}
|
|
@@ -5951,7 +6184,7 @@ var require_dir_glob = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5951
6184
|
}
|
|
5952
6185
|
});
|
|
5953
6186
|
var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
5954
|
-
"../../node_modules/.pnpm/ignore@5.2
|
|
6187
|
+
"../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js"(exports, module2) {
|
|
5955
6188
|
"use strict";
|
|
5956
6189
|
function makeArray(subject) {
|
|
5957
6190
|
return Array.isArray(subject) ? subject : [subject];
|
|
@@ -5983,18 +6216,32 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
5983
6216
|
return slashes.slice(0, length - length % 2);
|
|
5984
6217
|
};
|
|
5985
6218
|
var REPLACERS = [
|
|
6219
|
+
[
|
|
6220
|
+
// remove BOM
|
|
6221
|
+
// TODO:
|
|
6222
|
+
// Other similar zero-width characters?
|
|
6223
|
+
/^\uFEFF/,
|
|
6224
|
+
() => EMPTY
|
|
6225
|
+
],
|
|
5986
6226
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
5987
6227
|
[
|
|
5988
6228
|
// (a\ ) -> (a )
|
|
5989
6229
|
// (a ) -> (a)
|
|
6230
|
+
// (a ) -> (a)
|
|
5990
6231
|
// (a \ ) -> (a )
|
|
5991
|
-
|
|
5992
|
-
(
|
|
6232
|
+
/((?:\\\\)*?)(\\?\s+)$/,
|
|
6233
|
+
(_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
|
|
5993
6234
|
],
|
|
5994
6235
|
// replace (\ ) with ' '
|
|
6236
|
+
// (\ ) -> ' '
|
|
6237
|
+
// (\\ ) -> '\\ '
|
|
6238
|
+
// (\\\ ) -> '\\ '
|
|
5995
6239
|
[
|
|
5996
|
-
|
|
5997
|
-
() =>
|
|
6240
|
+
/(\\+?)\s/g,
|
|
6241
|
+
(_, m1) => {
|
|
6242
|
+
const { length } = m1;
|
|
6243
|
+
return m1.slice(0, length - length % 2) + SPACE;
|
|
6244
|
+
}
|
|
5998
6245
|
],
|
|
5999
6246
|
// Escape metacharacters
|
|
6000
6247
|
// which is written down by users but means special for regular expressions.
|
|
@@ -6129,7 +6376,7 @@ var require_ignore = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
6129
6376
|
let source = regexCache[pattern];
|
|
6130
6377
|
if (!source) {
|
|
6131
6378
|
source = REPLACERS.reduce(
|
|
6132
|
-
(prev,
|
|
6379
|
+
(prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
|
|
6133
6380
|
pattern
|
|
6134
6381
|
);
|
|
6135
6382
|
regexCache[pattern] = source;
|
|
@@ -7736,7 +7983,7 @@ var require_balanced_match = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7736
7983
|
}
|
|
7737
7984
|
});
|
|
7738
7985
|
var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
7739
|
-
"../../node_modules/.pnpm/brace-expansion@1.1.
|
|
7986
|
+
"../../node_modules/.pnpm/brace-expansion@1.1.12/node_modules/brace-expansion/index.js"(exports, module2) {
|
|
7740
7987
|
"use strict";
|
|
7741
7988
|
var concatMap = require_concat_map();
|
|
7742
7989
|
var balanced = require_balanced_match();
|
|
@@ -7804,7 +8051,7 @@ var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7804
8051
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
7805
8052
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
7806
8053
|
if (!isSequence && !isOptions) {
|
|
7807
|
-
if (m.post.match(
|
|
8054
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
7808
8055
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
7809
8056
|
return expand(str);
|
|
7810
8057
|
}
|
|
@@ -7879,7 +8126,7 @@ var require_brace_expansion = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7879
8126
|
}
|
|
7880
8127
|
});
|
|
7881
8128
|
var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
7882
|
-
"../../node_modules/.pnpm/minimatch@3.1.
|
|
8129
|
+
"../../node_modules/.pnpm/minimatch@3.1.5/node_modules/minimatch/minimatch.js"(exports, module2) {
|
|
7883
8130
|
"use strict";
|
|
7884
8131
|
module2.exports = minimatch;
|
|
7885
8132
|
minimatch.Minimatch = Minimatch;
|
|
@@ -7984,6 +8231,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
7984
8231
|
pattern = pattern.split(path2.sep).join("/");
|
|
7985
8232
|
}
|
|
7986
8233
|
this.options = options;
|
|
8234
|
+
this.maxGlobstarRecursion = options.maxGlobstarRecursion !== void 0 ? options.maxGlobstarRecursion : 200;
|
|
7987
8235
|
this.set = [];
|
|
7988
8236
|
this.pattern = pattern;
|
|
7989
8237
|
this.regexp = null;
|
|
@@ -8141,6 +8389,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8141
8389
|
re += c;
|
|
8142
8390
|
continue;
|
|
8143
8391
|
}
|
|
8392
|
+
if (c === "*" && stateChar === "*") continue;
|
|
8144
8393
|
self.debug("call clearStateChar %j", stateChar);
|
|
8145
8394
|
clearStateChar();
|
|
8146
8395
|
stateChar = c;
|
|
@@ -8379,50 +8628,147 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
8379
8628
|
return this.negate;
|
|
8380
8629
|
};
|
|
8381
8630
|
Minimatch.prototype.matchOne = function(file, pattern, partial) {
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8631
|
+
if (pattern.indexOf(GLOBSTAR) !== -1) {
|
|
8632
|
+
return this._matchGlobstar(file, pattern, partial, 0, 0);
|
|
8633
|
+
}
|
|
8634
|
+
return this._matchOne(file, pattern, partial, 0, 0);
|
|
8635
|
+
};
|
|
8636
|
+
Minimatch.prototype._matchGlobstar = function(file, pattern, partial, fileIndex, patternIndex) {
|
|
8637
|
+
var i;
|
|
8638
|
+
var firstgs = -1;
|
|
8639
|
+
for (i = patternIndex; i < pattern.length; i++) {
|
|
8640
|
+
if (pattern[i] === GLOBSTAR) {
|
|
8641
|
+
firstgs = i;
|
|
8642
|
+
break;
|
|
8643
|
+
}
|
|
8644
|
+
}
|
|
8645
|
+
var lastgs = -1;
|
|
8646
|
+
for (i = pattern.length - 1; i >= 0; i--) {
|
|
8647
|
+
if (pattern[i] === GLOBSTAR) {
|
|
8648
|
+
lastgs = i;
|
|
8649
|
+
break;
|
|
8650
|
+
}
|
|
8651
|
+
}
|
|
8652
|
+
var head = pattern.slice(patternIndex, firstgs);
|
|
8653
|
+
var body = partial ? pattern.slice(firstgs + 1) : pattern.slice(firstgs + 1, lastgs);
|
|
8654
|
+
var tail = partial ? [] : pattern.slice(lastgs + 1);
|
|
8655
|
+
if (head.length) {
|
|
8656
|
+
var fileHead = file.slice(fileIndex, fileIndex + head.length);
|
|
8657
|
+
if (!this._matchOne(fileHead, head, partial, 0, 0)) {
|
|
8658
|
+
return false;
|
|
8659
|
+
}
|
|
8660
|
+
fileIndex += head.length;
|
|
8661
|
+
}
|
|
8662
|
+
var fileTailMatch = 0;
|
|
8663
|
+
if (tail.length) {
|
|
8664
|
+
if (tail.length + fileIndex > file.length) return false;
|
|
8665
|
+
var tailStart = file.length - tail.length;
|
|
8666
|
+
if (this._matchOne(file, tail, partial, tailStart, 0)) {
|
|
8667
|
+
fileTailMatch = tail.length;
|
|
8668
|
+
} else {
|
|
8669
|
+
if (file[file.length - 1] !== "" || fileIndex + tail.length === file.length) {
|
|
8670
|
+
return false;
|
|
8404
8671
|
}
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8408
|
-
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
|
8409
|
-
this.debug("globstar found match!", fr, fl, swallowee);
|
|
8410
|
-
return true;
|
|
8411
|
-
} else {
|
|
8412
|
-
if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
|
|
8413
|
-
this.debug("dot detected!", file, fr, pattern, pr);
|
|
8414
|
-
break;
|
|
8415
|
-
}
|
|
8416
|
-
this.debug("globstar swallow a segment, and continue");
|
|
8417
|
-
fr++;
|
|
8418
|
-
}
|
|
8672
|
+
tailStart--;
|
|
8673
|
+
if (!this._matchOne(file, tail, partial, tailStart, 0)) {
|
|
8674
|
+
return false;
|
|
8419
8675
|
}
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8676
|
+
fileTailMatch = tail.length + 1;
|
|
8677
|
+
}
|
|
8678
|
+
}
|
|
8679
|
+
if (!body.length) {
|
|
8680
|
+
var sawSome = !!fileTailMatch;
|
|
8681
|
+
for (i = fileIndex; i < file.length - fileTailMatch; i++) {
|
|
8682
|
+
var f = String(file[i]);
|
|
8683
|
+
sawSome = true;
|
|
8684
|
+
if (f === "." || f === ".." || !this.options.dot && f.charAt(0) === ".") {
|
|
8685
|
+
return false;
|
|
8423
8686
|
}
|
|
8687
|
+
}
|
|
8688
|
+
return partial || sawSome;
|
|
8689
|
+
}
|
|
8690
|
+
var bodySegments = [[[], 0]];
|
|
8691
|
+
var currentBody = bodySegments[0];
|
|
8692
|
+
var nonGsParts = 0;
|
|
8693
|
+
var nonGsPartsSums = [0];
|
|
8694
|
+
for (var bi = 0; bi < body.length; bi++) {
|
|
8695
|
+
var b = body[bi];
|
|
8696
|
+
if (b === GLOBSTAR) {
|
|
8697
|
+
nonGsPartsSums.push(nonGsParts);
|
|
8698
|
+
currentBody = [[], 0];
|
|
8699
|
+
bodySegments.push(currentBody);
|
|
8700
|
+
} else {
|
|
8701
|
+
currentBody[0].push(b);
|
|
8702
|
+
nonGsParts++;
|
|
8703
|
+
}
|
|
8704
|
+
}
|
|
8705
|
+
var idx = bodySegments.length - 1;
|
|
8706
|
+
var fileLength = file.length - fileTailMatch;
|
|
8707
|
+
for (var si = 0; si < bodySegments.length; si++) {
|
|
8708
|
+
bodySegments[si][1] = fileLength - (nonGsPartsSums[idx--] + bodySegments[si][0].length);
|
|
8709
|
+
}
|
|
8710
|
+
return !!this._matchGlobStarBodySections(
|
|
8711
|
+
file,
|
|
8712
|
+
bodySegments,
|
|
8713
|
+
fileIndex,
|
|
8714
|
+
0,
|
|
8715
|
+
partial,
|
|
8716
|
+
0,
|
|
8717
|
+
!!fileTailMatch
|
|
8718
|
+
);
|
|
8719
|
+
};
|
|
8720
|
+
Minimatch.prototype._matchGlobStarBodySections = function(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
|
|
8721
|
+
var bs = bodySegments[bodyIndex];
|
|
8722
|
+
if (!bs) {
|
|
8723
|
+
for (var i = fileIndex; i < file.length; i++) {
|
|
8724
|
+
sawTail = true;
|
|
8725
|
+
var f = file[i];
|
|
8726
|
+
if (f === "." || f === ".." || !this.options.dot && f.charAt(0) === ".") {
|
|
8727
|
+
return false;
|
|
8728
|
+
}
|
|
8729
|
+
}
|
|
8730
|
+
return sawTail;
|
|
8731
|
+
}
|
|
8732
|
+
var body = bs[0];
|
|
8733
|
+
var after = bs[1];
|
|
8734
|
+
while (fileIndex <= after) {
|
|
8735
|
+
var m = this._matchOne(
|
|
8736
|
+
file.slice(0, fileIndex + body.length),
|
|
8737
|
+
body,
|
|
8738
|
+
partial,
|
|
8739
|
+
fileIndex,
|
|
8740
|
+
0
|
|
8741
|
+
);
|
|
8742
|
+
if (m && globStarDepth < this.maxGlobstarRecursion) {
|
|
8743
|
+
var sub = this._matchGlobStarBodySections(
|
|
8744
|
+
file,
|
|
8745
|
+
bodySegments,
|
|
8746
|
+
fileIndex + body.length,
|
|
8747
|
+
bodyIndex + 1,
|
|
8748
|
+
partial,
|
|
8749
|
+
globStarDepth + 1,
|
|
8750
|
+
sawTail
|
|
8751
|
+
);
|
|
8752
|
+
if (sub !== false) {
|
|
8753
|
+
return sub;
|
|
8754
|
+
}
|
|
8755
|
+
}
|
|
8756
|
+
var f = file[fileIndex];
|
|
8757
|
+
if (f === "." || f === ".." || !this.options.dot && f.charAt(0) === ".") {
|
|
8424
8758
|
return false;
|
|
8425
8759
|
}
|
|
8760
|
+
fileIndex++;
|
|
8761
|
+
}
|
|
8762
|
+
return partial || null;
|
|
8763
|
+
};
|
|
8764
|
+
Minimatch.prototype._matchOne = function(file, pattern, partial, fileIndex, patternIndex) {
|
|
8765
|
+
var fi, pi, fl, pl;
|
|
8766
|
+
for (fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
8767
|
+
this.debug("matchOne loop");
|
|
8768
|
+
var p = pattern[pi];
|
|
8769
|
+
var f = file[fi];
|
|
8770
|
+
this.debug(pattern, p, f);
|
|
8771
|
+
if (p === false || p === GLOBSTAR) return false;
|
|
8426
8772
|
var hit;
|
|
8427
8773
|
if (typeof p === "string") {
|
|
8428
8774
|
hit = f === p;
|
|
@@ -11517,7 +11863,7 @@ async function downloadZip(url, target, progressCb) {
|
|
|
11517
11863
|
onFailedAttempt: (err) => debug("An error occurred while downloading the engine file", err)
|
|
11518
11864
|
}
|
|
11519
11865
|
);
|
|
11520
|
-
await (0,
|
|
11866
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(partial, target);
|
|
11521
11867
|
try {
|
|
11522
11868
|
await rimraf(partial);
|
|
11523
11869
|
await rimraf(tmpDir);
|
|
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_T73LLGWA_exports = {};
|
|
30
|
+
__export(chunk_T73LLGWA_exports, {
|
|
31
31
|
download: () => download,
|
|
32
32
|
getBinaryName: () => getBinaryName,
|
|
33
33
|
getVersion: () => getVersion,
|
|
@@ -35,12 +35,12 @@ __export(chunk_XMX7WAFC_exports, {
|
|
|
35
35
|
plusX: () => plusX,
|
|
36
36
|
vercelPkgPathRegex: () => vercelPkgPathRegex
|
|
37
37
|
});
|
|
38
|
-
module.exports = __toCommonJS(
|
|
38
|
+
module.exports = __toCommonJS(chunk_T73LLGWA_exports);
|
|
39
39
|
var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
|
|
40
40
|
var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var import_chunk_JZJA4MCU = require("./chunk-JZJA4MCU.js");
|
|
42
|
+
var import_chunk_NT25DW6B = require("./chunk-NT25DW6B.js");
|
|
43
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
44
44
|
var import_chunk_XNR2KDTK = require("./chunk-XNR2KDTK.js");
|
|
45
45
|
var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
|
|
46
46
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
@@ -585,7 +585,7 @@ var require_package = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
585
585
|
"package.json"(exports, module2) {
|
|
586
586
|
module2.exports = {
|
|
587
587
|
name: "@prisma/fetch-engine",
|
|
588
|
-
version: "7.7.0
|
|
588
|
+
version: "7.7.0",
|
|
589
589
|
description: "This package is intended for Prisma's internal use",
|
|
590
590
|
main: "dist/index.js",
|
|
591
591
|
types: "dist/index.d.ts",
|
|
@@ -2140,7 +2140,7 @@ function create$(options) {
|
|
|
2140
2140
|
return $2;
|
|
2141
2141
|
}
|
|
2142
2142
|
var $ = create$();
|
|
2143
|
-
var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
2143
|
+
var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_2S6LPEDI.require_lib)());
|
|
2144
2144
|
async function pMap(iterable, mapper, {
|
|
2145
2145
|
concurrency = Number.POSITIVE_INFINITY,
|
|
2146
2146
|
stopOnError = true,
|
|
@@ -2270,7 +2270,7 @@ async function pFilter(iterable, filterer, options) {
|
|
|
2270
2270
|
);
|
|
2271
2271
|
return values.filter((value) => Boolean(value[0])).map((value) => value[1]);
|
|
2272
2272
|
}
|
|
2273
|
-
var import_temp_dir = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
2273
|
+
var import_temp_dir = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_NT25DW6B.require_temp_dir)());
|
|
2274
2274
|
var { enginesOverride } = require_package();
|
|
2275
2275
|
var debug = (0, import_debug.default)("prisma:fetch-engine:download");
|
|
2276
2276
|
var exists = (0, import_node_util.promisify)(import_node_fs.default.exists);
|
|
@@ -2335,7 +2335,7 @@ async function download(options) {
|
|
|
2335
2335
|
return shouldDownload;
|
|
2336
2336
|
});
|
|
2337
2337
|
if (binariesToDownload.length > 0) {
|
|
2338
|
-
const cleanupPromise = (0,
|
|
2338
|
+
const cleanupPromise = (0, import_chunk_JZJA4MCU.cleanupCache)();
|
|
2339
2339
|
let finishBar;
|
|
2340
2340
|
let setProgress;
|
|
2341
2341
|
if (opts.showProgress) {
|
|
@@ -2344,7 +2344,7 @@ async function download(options) {
|
|
|
2344
2344
|
setProgress = collectiveBar.setProgress;
|
|
2345
2345
|
}
|
|
2346
2346
|
const promises = binariesToDownload.map((job) => {
|
|
2347
|
-
const downloadUrl = (0,
|
|
2347
|
+
const downloadUrl = (0, import_chunk_2S6LPEDI.getDownloadUrl)({
|
|
2348
2348
|
channel: "all_commits",
|
|
2349
2349
|
version: opts.version,
|
|
2350
2350
|
binaryTarget: job.binaryTarget,
|
|
@@ -2422,7 +2422,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
|
2422
2422
|
});
|
|
2423
2423
|
if (cachedFile) {
|
|
2424
2424
|
if (job.skipCacheIntegrityCheck === true) {
|
|
2425
|
-
await (0,
|
|
2425
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2426
2426
|
return false;
|
|
2427
2427
|
}
|
|
2428
2428
|
const sha256FilePath = cachedFile + ".sha256";
|
|
@@ -2433,12 +2433,12 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
|
2433
2433
|
if (!targetExists) {
|
|
2434
2434
|
debug(`copying ${cachedFile} to ${job.targetFilePath}`);
|
|
2435
2435
|
await import_node_fs.default.promises.utimes(cachedFile, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date());
|
|
2436
|
-
await (0,
|
|
2436
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2437
2437
|
}
|
|
2438
2438
|
const targetSha256 = await (0, import_chunk_FKGWOTGU.getHash)(job.targetFilePath);
|
|
2439
2439
|
if (sha256File !== targetSha256) {
|
|
2440
2440
|
debug(`overwriting ${job.targetFilePath} with ${cachedFile} as hashes do not match`);
|
|
2441
|
-
await (0,
|
|
2441
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2442
2442
|
}
|
|
2443
2443
|
return false;
|
|
2444
2444
|
} else {
|
|
@@ -2453,7 +2453,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
|
2453
2453
|
}
|
|
2454
2454
|
if (cachedFile) {
|
|
2455
2455
|
debug(`copying ${cachedFile} to ${job.targetFilePath}`);
|
|
2456
|
-
await (0,
|
|
2456
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(cachedFile, job.targetFilePath);
|
|
2457
2457
|
return false;
|
|
2458
2458
|
}
|
|
2459
2459
|
return true;
|
|
@@ -2491,7 +2491,7 @@ async function getCachedBinaryPath({
|
|
|
2491
2491
|
binaryTarget,
|
|
2492
2492
|
binaryName
|
|
2493
2493
|
}) {
|
|
2494
|
-
const cacheDir = await (0,
|
|
2494
|
+
const cacheDir = await (0, import_chunk_2S6LPEDI.getCacheDir)(channel, version, binaryTarget);
|
|
2495
2495
|
if (!cacheDir) {
|
|
2496
2496
|
return null;
|
|
2497
2497
|
}
|
|
@@ -2524,7 +2524,7 @@ async function downloadBinary(options) {
|
|
|
2524
2524
|
if (progressCb) {
|
|
2525
2525
|
progressCb(0);
|
|
2526
2526
|
}
|
|
2527
|
-
const { sha256, zippedSha256 } = await (0,
|
|
2527
|
+
const { sha256, zippedSha256 } = await (0, import_chunk_NT25DW6B.downloadZip)(downloadUrl, targetFilePath, progressCb);
|
|
2528
2528
|
if (progressCb) {
|
|
2529
2529
|
progressCb(1);
|
|
2530
2530
|
}
|
|
@@ -2532,7 +2532,7 @@ async function downloadBinary(options) {
|
|
|
2532
2532
|
await saveFileToCache(options, version, sha256, zippedSha256);
|
|
2533
2533
|
}
|
|
2534
2534
|
async function saveFileToCache(job, version, sha256, zippedSha256) {
|
|
2535
|
-
const cacheDir = await (0,
|
|
2535
|
+
const cacheDir = await (0, import_chunk_2S6LPEDI.getCacheDir)(channel, version, job.binaryTarget);
|
|
2536
2536
|
if (!cacheDir) {
|
|
2537
2537
|
return;
|
|
2538
2538
|
}
|
|
@@ -2540,7 +2540,7 @@ async function saveFileToCache(job, version, sha256, zippedSha256) {
|
|
|
2540
2540
|
const cachedSha256Path = import_node_path.default.join(cacheDir, job.binaryName + ".sha256");
|
|
2541
2541
|
const cachedSha256ZippedPath = import_node_path.default.join(cacheDir, job.binaryName + ".gz.sha256");
|
|
2542
2542
|
try {
|
|
2543
|
-
await (0,
|
|
2543
|
+
await (0, import_chunk_2S6LPEDI.overwriteFile)(job.targetFilePath, cachedTargetPath);
|
|
2544
2544
|
if (sha256 != null) {
|
|
2545
2545
|
await import_node_fs.default.promises.writeFile(cachedSha256Path, sha256);
|
|
2546
2546
|
}
|
package/dist/cleanupCache.js
CHANGED
|
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var cleanupCache_exports = {};
|
|
20
20
|
__export(cleanupCache_exports, {
|
|
21
|
-
cleanupCache: () =>
|
|
21
|
+
cleanupCache: () => import_chunk_JZJA4MCU.cleanupCache
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(cleanupCache_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_JZJA4MCU = require("./chunk-JZJA4MCU.js");
|
|
25
25
|
var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
|
|
26
|
-
var
|
|
26
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
27
27
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
package/dist/download.js
CHANGED
|
@@ -18,22 +18,22 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var download_exports = {};
|
|
20
20
|
__export(download_exports, {
|
|
21
|
-
download: () =>
|
|
22
|
-
getBinaryName: () =>
|
|
23
|
-
getVersion: () =>
|
|
24
|
-
maybeCopyToTmp: () =>
|
|
25
|
-
plusX: () =>
|
|
26
|
-
vercelPkgPathRegex: () =>
|
|
21
|
+
download: () => import_chunk_T73LLGWA.download,
|
|
22
|
+
getBinaryName: () => import_chunk_T73LLGWA.getBinaryName,
|
|
23
|
+
getVersion: () => import_chunk_T73LLGWA.getVersion,
|
|
24
|
+
maybeCopyToTmp: () => import_chunk_T73LLGWA.maybeCopyToTmp,
|
|
25
|
+
plusX: () => import_chunk_T73LLGWA.plusX,
|
|
26
|
+
vercelPkgPathRegex: () => import_chunk_T73LLGWA.vercelPkgPathRegex
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(download_exports);
|
|
29
|
-
var
|
|
29
|
+
var import_chunk_T73LLGWA = require("./chunk-T73LLGWA.js");
|
|
30
30
|
var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
|
|
31
31
|
var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var import_chunk_JZJA4MCU = require("./chunk-JZJA4MCU.js");
|
|
33
|
+
var import_chunk_NT25DW6B = require("./chunk-NT25DW6B.js");
|
|
34
34
|
var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
|
|
35
35
|
var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
37
37
|
var import_chunk_XNR2KDTK = require("./chunk-XNR2KDTK.js");
|
|
38
38
|
var import_chunk_66KG5WKV = require("./chunk-66KG5WKV.js");
|
|
39
39
|
var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
|
package/dist/downloadZip.js
CHANGED
|
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var downloadZip_exports = {};
|
|
20
20
|
__export(downloadZip_exports, {
|
|
21
|
-
downloadZip: () =>
|
|
21
|
+
downloadZip: () => import_chunk_NT25DW6B.downloadZip
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(downloadZip_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_NT25DW6B = require("./chunk-NT25DW6B.js");
|
|
25
25
|
var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
|
|
26
26
|
var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
|
|
27
|
-
var
|
|
27
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
28
28
|
var import_chunk_CTLNI6CP = require("./chunk-CTLNI6CP.js");
|
|
29
29
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
package/dist/index.js
CHANGED
|
@@ -21,27 +21,27 @@ __export(index_exports, {
|
|
|
21
21
|
BinaryType: () => import_chunk_66KG5WKV.BinaryType,
|
|
22
22
|
allEngineEnvVarsSet: () => import_chunk_XNR2KDTK.allEngineEnvVarsSet,
|
|
23
23
|
deprecatedEnvVarMap: () => import_chunk_XNR2KDTK.deprecatedEnvVarMap,
|
|
24
|
-
download: () =>
|
|
24
|
+
download: () => import_chunk_T73LLGWA.download,
|
|
25
25
|
engineEnvVarMap: () => import_chunk_XNR2KDTK.engineEnvVarMap,
|
|
26
26
|
getBinaryEnvVarPath: () => import_chunk_XNR2KDTK.getBinaryEnvVarPath,
|
|
27
|
-
getBinaryName: () =>
|
|
28
|
-
getCacheDir: () =>
|
|
27
|
+
getBinaryName: () => import_chunk_T73LLGWA.getBinaryName,
|
|
28
|
+
getCacheDir: () => import_chunk_2S6LPEDI.getCacheDir,
|
|
29
29
|
getProxyAgent: () => import_chunk_CTLNI6CP.getProxyAgent,
|
|
30
|
-
getVersion: () =>
|
|
31
|
-
maybeCopyToTmp: () =>
|
|
32
|
-
overwriteFile: () =>
|
|
33
|
-
plusX: () =>
|
|
34
|
-
vercelPkgPathRegex: () =>
|
|
30
|
+
getVersion: () => import_chunk_T73LLGWA.getVersion,
|
|
31
|
+
maybeCopyToTmp: () => import_chunk_T73LLGWA.maybeCopyToTmp,
|
|
32
|
+
overwriteFile: () => import_chunk_2S6LPEDI.overwriteFile,
|
|
33
|
+
plusX: () => import_chunk_T73LLGWA.plusX,
|
|
34
|
+
vercelPkgPathRegex: () => import_chunk_T73LLGWA.vercelPkgPathRegex
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(index_exports);
|
|
37
|
-
var
|
|
37
|
+
var import_chunk_T73LLGWA = require("./chunk-T73LLGWA.js");
|
|
38
38
|
var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
|
|
39
39
|
var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
|
|
40
|
-
var
|
|
41
|
-
var
|
|
40
|
+
var import_chunk_JZJA4MCU = require("./chunk-JZJA4MCU.js");
|
|
41
|
+
var import_chunk_NT25DW6B = require("./chunk-NT25DW6B.js");
|
|
42
42
|
var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
|
|
43
43
|
var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
|
|
44
|
-
var
|
|
44
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
45
45
|
var import_chunk_XNR2KDTK = require("./chunk-XNR2KDTK.js");
|
|
46
46
|
var import_chunk_66KG5WKV = require("./chunk-66KG5WKV.js");
|
|
47
47
|
var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
|
package/dist/utils.js
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var utils_exports = {};
|
|
20
20
|
__export(utils_exports, {
|
|
21
|
-
getCacheDir: () =>
|
|
22
|
-
getDownloadUrl: () =>
|
|
23
|
-
getRootCacheDir: () =>
|
|
24
|
-
overwriteFile: () =>
|
|
21
|
+
getCacheDir: () => import_chunk_2S6LPEDI.getCacheDir,
|
|
22
|
+
getDownloadUrl: () => import_chunk_2S6LPEDI.getDownloadUrl,
|
|
23
|
+
getRootCacheDir: () => import_chunk_2S6LPEDI.getRootCacheDir,
|
|
24
|
+
overwriteFile: () => import_chunk_2S6LPEDI.overwriteFile
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(utils_exports);
|
|
27
|
-
var
|
|
27
|
+
var import_chunk_2S6LPEDI = require("./chunk-2S6LPEDI.js");
|
|
28
28
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/fetch-engine",
|
|
3
|
-
"version": "7.7.0
|
|
3
|
+
"version": "7.7.0",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@prisma/engines-version": "7.6.0-1.75cbdc1eb7150937890ad5465d861175c6624711",
|
|
40
|
-
"@prisma/debug": "7.7.0
|
|
41
|
-
"@prisma/get-platform": "7.7.0
|
|
40
|
+
"@prisma/debug": "7.7.0",
|
|
41
|
+
"@prisma/get-platform": "7.7.0"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"README.md",
|