@prisma/fetch-engine 6.20.0-integration-next.20 → 7.0.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.
@@ -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 chunk_ZMA4WSU3_exports = {};
30
- __export(chunk_ZMA4WSU3_exports, {
29
+ var chunk_HLVJU3A5_exports = {};
30
+ __export(chunk_HLVJU3A5_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,15 +35,15 @@ __export(chunk_ZMA4WSU3_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_ZMA4WSU3_exports);
39
- var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
38
+ module.exports = __toCommonJS(chunk_HLVJU3A5_exports);
39
+ var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
40
40
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
41
- var import_chunk_TB7KGAWO = require("./chunk-TB7KGAWO.js");
42
- var import_chunk_M7DAFQLF = require("./chunk-M7DAFQLF.js");
43
- var import_chunk_7DQIGMPT = require("./chunk-7DQIGMPT.js");
41
+ var import_chunk_4GGGRRIN = require("./chunk-4GGGRRIN.js");
42
+ var import_chunk_FNYZ6ABB = require("./chunk-FNYZ6ABB.js");
43
+ var import_chunk_4MDZEOKU = require("./chunk-4MDZEOKU.js");
44
44
  var import_chunk_XNR2KDTK = require("./chunk-XNR2KDTK.js");
45
45
  var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
46
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
46
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
47
47
  var import_node_fs = __toESM(require("node:fs"));
48
48
  var import_node_path = __toESM(require("node:path"));
49
49
  var import_node_util = require("node:util");
@@ -68,12 +68,12 @@ var import_node_buffer2 = require("node:buffer");
68
68
  var import_node_child_process3 = require("node:child_process");
69
69
  var import_node_util2 = require("node:util");
70
70
  var import_node_process4 = __toESM(require("node:process"));
71
- var require_windows = (0, import_chunk_QGM4M3NI.__commonJS)({
71
+ var require_windows = (0, import_chunk_2ESYSVXG.__commonJS)({
72
72
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module2) {
73
73
  "use strict";
74
74
  module2.exports = isexe;
75
75
  isexe.sync = sync;
76
- var fs2 = (0, import_chunk_QGM4M3NI.__require)("fs");
76
+ var fs2 = (0, import_chunk_2ESYSVXG.__require)("fs");
77
77
  function checkPathExt(path4, options) {
78
78
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
79
79
  if (!pathext) {
@@ -107,12 +107,12 @@ var require_windows = (0, import_chunk_QGM4M3NI.__commonJS)({
107
107
  }
108
108
  }
109
109
  });
110
- var require_mode = (0, import_chunk_QGM4M3NI.__commonJS)({
110
+ var require_mode = (0, import_chunk_2ESYSVXG.__commonJS)({
111
111
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module2) {
112
112
  "use strict";
113
113
  module2.exports = isexe;
114
114
  isexe.sync = sync;
115
- var fs2 = (0, import_chunk_QGM4M3NI.__require)("fs");
115
+ var fs2 = (0, import_chunk_2ESYSVXG.__require)("fs");
116
116
  function isexe(path4, options, cb) {
117
117
  fs2.stat(path4, function(er, stat) {
118
118
  cb(er, er ? false : checkStat(stat, options));
@@ -139,10 +139,10 @@ var require_mode = (0, import_chunk_QGM4M3NI.__commonJS)({
139
139
  }
140
140
  }
141
141
  });
142
- var require_isexe = (0, import_chunk_QGM4M3NI.__commonJS)({
142
+ var require_isexe = (0, import_chunk_2ESYSVXG.__commonJS)({
143
143
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module2) {
144
144
  "use strict";
145
- var fs2 = (0, import_chunk_QGM4M3NI.__require)("fs");
145
+ var fs2 = (0, import_chunk_2ESYSVXG.__require)("fs");
146
146
  var core;
147
147
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
148
148
  core = require_windows();
@@ -193,11 +193,11 @@ var require_isexe = (0, import_chunk_QGM4M3NI.__commonJS)({
193
193
  }
194
194
  }
195
195
  });
196
- var require_which = (0, import_chunk_QGM4M3NI.__commonJS)({
196
+ var require_which = (0, import_chunk_2ESYSVXG.__commonJS)({
197
197
  "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module2) {
198
198
  "use strict";
199
199
  var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
200
- var path4 = (0, import_chunk_QGM4M3NI.__require)("path");
200
+ var path4 = (0, import_chunk_2ESYSVXG.__require)("path");
201
201
  var COLON = isWindows ? ";" : ":";
202
202
  var isexe = require_isexe();
203
203
  var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -288,7 +288,7 @@ var require_which = (0, import_chunk_QGM4M3NI.__commonJS)({
288
288
  which.sync = whichSync;
289
289
  }
290
290
  });
291
- var require_path_key = (0, import_chunk_QGM4M3NI.__commonJS)({
291
+ var require_path_key = (0, import_chunk_2ESYSVXG.__commonJS)({
292
292
  "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module2) {
293
293
  "use strict";
294
294
  var pathKey2 = (options = {}) => {
@@ -303,10 +303,10 @@ var require_path_key = (0, import_chunk_QGM4M3NI.__commonJS)({
303
303
  module2.exports.default = pathKey2;
304
304
  }
305
305
  });
306
- var require_resolveCommand = (0, import_chunk_QGM4M3NI.__commonJS)({
306
+ var require_resolveCommand = (0, import_chunk_2ESYSVXG.__commonJS)({
307
307
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
308
308
  "use strict";
309
- var path4 = (0, import_chunk_QGM4M3NI.__require)("path");
309
+ var path4 = (0, import_chunk_2ESYSVXG.__require)("path");
310
310
  var which = require_which();
311
311
  var getPathKey = require_path_key();
312
312
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -343,7 +343,7 @@ var require_resolveCommand = (0, import_chunk_QGM4M3NI.__commonJS)({
343
343
  module2.exports = resolveCommand;
344
344
  }
345
345
  });
346
- var require_escape = (0, import_chunk_QGM4M3NI.__commonJS)({
346
+ var require_escape = (0, import_chunk_2ESYSVXG.__commonJS)({
347
347
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
348
348
  "use strict";
349
349
  var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
@@ -366,13 +366,13 @@ var require_escape = (0, import_chunk_QGM4M3NI.__commonJS)({
366
366
  module2.exports.argument = escapeArgument;
367
367
  }
368
368
  });
369
- var require_shebang_regex = (0, import_chunk_QGM4M3NI.__commonJS)({
369
+ var require_shebang_regex = (0, import_chunk_2ESYSVXG.__commonJS)({
370
370
  "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module2) {
371
371
  "use strict";
372
372
  module2.exports = /^#!(.*)/;
373
373
  }
374
374
  });
375
- var require_shebang_command = (0, import_chunk_QGM4M3NI.__commonJS)({
375
+ var require_shebang_command = (0, import_chunk_2ESYSVXG.__commonJS)({
376
376
  "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module2) {
377
377
  "use strict";
378
378
  var shebangRegex = require_shebang_regex();
@@ -390,10 +390,10 @@ var require_shebang_command = (0, import_chunk_QGM4M3NI.__commonJS)({
390
390
  };
391
391
  }
392
392
  });
393
- var require_readShebang = (0, import_chunk_QGM4M3NI.__commonJS)({
393
+ var require_readShebang = (0, import_chunk_2ESYSVXG.__commonJS)({
394
394
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
395
395
  "use strict";
396
- var fs2 = (0, import_chunk_QGM4M3NI.__require)("fs");
396
+ var fs2 = (0, import_chunk_2ESYSVXG.__require)("fs");
397
397
  var shebangCommand = require_shebang_command();
398
398
  function readShebang(command) {
399
399
  const size = 150;
@@ -410,10 +410,10 @@ var require_readShebang = (0, import_chunk_QGM4M3NI.__commonJS)({
410
410
  module2.exports = readShebang;
411
411
  }
412
412
  });
413
- var require_parse = (0, import_chunk_QGM4M3NI.__commonJS)({
413
+ var require_parse = (0, import_chunk_2ESYSVXG.__commonJS)({
414
414
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
415
415
  "use strict";
416
- var path4 = (0, import_chunk_QGM4M3NI.__require)("path");
416
+ var path4 = (0, import_chunk_2ESYSVXG.__require)("path");
417
417
  var resolveCommand = require_resolveCommand();
418
418
  var escape = require_escape();
419
419
  var readShebang = require_readShebang();
@@ -470,7 +470,7 @@ var require_parse = (0, import_chunk_QGM4M3NI.__commonJS)({
470
470
  module2.exports = parse;
471
471
  }
472
472
  });
473
- var require_enoent = (0, import_chunk_QGM4M3NI.__commonJS)({
473
+ var require_enoent = (0, import_chunk_2ESYSVXG.__commonJS)({
474
474
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
475
475
  "use strict";
476
476
  var isWin = process.platform === "win32";
@@ -518,10 +518,10 @@ var require_enoent = (0, import_chunk_QGM4M3NI.__commonJS)({
518
518
  };
519
519
  }
520
520
  });
521
- var require_cross_spawn = (0, import_chunk_QGM4M3NI.__commonJS)({
521
+ var require_cross_spawn = (0, import_chunk_2ESYSVXG.__commonJS)({
522
522
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module2) {
523
523
  "use strict";
524
- var cp = (0, import_chunk_QGM4M3NI.__require)("child_process");
524
+ var cp = (0, import_chunk_2ESYSVXG.__require)("child_process");
525
525
  var parse = require_parse();
526
526
  var enoent = require_enoent();
527
527
  function spawn(command, args, options) {
@@ -543,10 +543,10 @@ var require_cross_spawn = (0, import_chunk_QGM4M3NI.__commonJS)({
543
543
  module2.exports._enoent = enoent;
544
544
  }
545
545
  });
546
- var require_merge_stream = (0, import_chunk_QGM4M3NI.__commonJS)({
546
+ var require_merge_stream = (0, import_chunk_2ESYSVXG.__commonJS)({
547
547
  "../../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js"(exports, module2) {
548
548
  "use strict";
549
- var { PassThrough } = (0, import_chunk_QGM4M3NI.__require)("stream");
549
+ var { PassThrough } = (0, import_chunk_2ESYSVXG.__require)("stream");
550
550
  module2.exports = function() {
551
551
  var sources = [];
552
552
  var output = new PassThrough({ objectMode: true });
@@ -581,7 +581,7 @@ var require_merge_stream = (0, import_chunk_QGM4M3NI.__commonJS)({
581
581
  };
582
582
  }
583
583
  });
584
- var require_package = (0, import_chunk_QGM4M3NI.__commonJS)({
584
+ var require_package = (0, import_chunk_2ESYSVXG.__commonJS)({
585
585
  "package.json"(exports, module2) {
586
586
  module2.exports = {
587
587
  name: "@prisma/fetch-engine",
@@ -639,7 +639,7 @@ var require_package = (0, import_chunk_QGM4M3NI.__commonJS)({
639
639
  };
640
640
  }
641
641
  });
642
- var import_cross_spawn = (0, import_chunk_QGM4M3NI.__toESM)(require_cross_spawn(), 1);
642
+ var import_cross_spawn = (0, import_chunk_2ESYSVXG.__toESM)(require_cross_spawn(), 1);
643
643
  function stripFinalNewline(input) {
644
644
  const LF = typeof input === "string" ? "\n" : "\n".charCodeAt();
645
645
  const CR = typeof input === "string" ? "\r" : "\r".charCodeAt();
@@ -1739,7 +1739,7 @@ var stringMethods = {
1739
1739
  getFinalChunk: getFinalStringChunk,
1740
1740
  finalize: getContentsProp
1741
1741
  };
1742
- var import_merge_stream = (0, import_chunk_QGM4M3NI.__toESM)(require_merge_stream(), 1);
1742
+ var import_merge_stream = (0, import_chunk_2ESYSVXG.__toESM)(require_merge_stream(), 1);
1743
1743
  var validateInputOptions = (input) => {
1744
1744
  if (input !== void 0) {
1745
1745
  throw new TypeError("The `input` and `inputFile` options cannot be both set.");
@@ -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_QGM4M3NI.__toESM)((0, import_chunk_7DQIGMPT.require_lib)());
2143
+ var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_4MDZEOKU.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_QGM4M3NI.__toESM)((0, import_chunk_M7DAFQLF.require_temp_dir)());
2273
+ var import_temp_dir = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_FNYZ6ABB.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, import_chunk_TB7KGAWO.cleanupCache)();
2338
+ const cleanupPromise = (0, import_chunk_4GGGRRIN.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, import_chunk_7DQIGMPT.getDownloadUrl)({
2347
+ const downloadUrl = (0, import_chunk_4MDZEOKU.getDownloadUrl)({
2348
2348
  channel: "all_commits",
2349
2349
  version: opts.version,
2350
2350
  binaryTarget: job.binaryTarget,
@@ -2378,7 +2378,7 @@ async function download(options) {
2378
2378
  return binaryPaths;
2379
2379
  }
2380
2380
  function getCollectiveBar(options) {
2381
- const bar = (0, import_chunk_MWVY55RY.getBar)(`Downloading Prisma engines for ${options.binaryTargets?.map((p) => (0, import_chunk_XNR2KDTK.bold)(p)).join(" and ")}`);
2381
+ const bar = (0, import_chunk_5564WBCW.getBar)(`Downloading Prisma engines for ${options.binaryTargets?.map((p) => (0, import_chunk_XNR2KDTK.bold)(p)).join(" and ")}`);
2382
2382
  const progressMap = {};
2383
2383
  const numDownloads = Object.values(options.binaries).length * Object.values(options?.binaryTargets ?? []).length;
2384
2384
  const setProgress = (sourcePath) => (progress) => {
@@ -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, import_chunk_7DQIGMPT.overwriteFile)(cachedFile, job.targetFilePath);
2425
+ await (0, import_chunk_4MDZEOKU.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, import_chunk_7DQIGMPT.overwriteFile)(cachedFile, job.targetFilePath);
2436
+ await (0, import_chunk_4MDZEOKU.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, import_chunk_7DQIGMPT.overwriteFile)(cachedFile, job.targetFilePath);
2441
+ await (0, import_chunk_4MDZEOKU.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, import_chunk_7DQIGMPT.overwriteFile)(cachedFile, job.targetFilePath);
2456
+ await (0, import_chunk_4MDZEOKU.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, import_chunk_7DQIGMPT.getCacheDir)(channel, version, binaryTarget);
2494
+ const cacheDir = await (0, import_chunk_4MDZEOKU.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, import_chunk_M7DAFQLF.downloadZip)(downloadUrl, targetFilePath, progressCb);
2527
+ const { sha256, zippedSha256 } = await (0, import_chunk_FNYZ6ABB.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, import_chunk_7DQIGMPT.getCacheDir)(channel, version, job.binaryTarget);
2535
+ const cacheDir = await (0, import_chunk_4MDZEOKU.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, import_chunk_7DQIGMPT.overwriteFile)(job.targetFilePath, cachedTargetPath);
2543
+ await (0, import_chunk_4MDZEOKU.overwriteFile)(job.targetFilePath, cachedTargetPath);
2544
2544
  if (sha256 != null) {
2545
2545
  await import_node_fs.default.promises.writeFile(cachedSha256Path, sha256);
2546
2546
  }
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_RXM4EBGR_exports = {};
20
- __export(chunk_RXM4EBGR_exports, {
19
+ var chunk_VLGS4WJI_exports = {};
20
+ __export(chunk_VLGS4WJI_exports, {
21
21
  FormData: () => FormData,
22
22
  fetch_blob_default: () => fetch_blob_default,
23
23
  file_default: () => file_default,
24
24
  formDataToBlob: () => formDataToBlob
25
25
  });
26
- module.exports = __toCommonJS(chunk_RXM4EBGR_exports);
27
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
26
+ module.exports = __toCommonJS(chunk_VLGS4WJI_exports);
27
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
28
28
  var import_node_fs = require("node:fs");
29
- var require_ponyfill_es2018 = (0, import_chunk_QGM4M3NI.__commonJS)({
29
+ var require_ponyfill_es2018 = (0, import_chunk_2ESYSVXG.__commonJS)({
30
30
  "../../node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports, module2) {
31
31
  "use strict";
32
32
  (function(global2, factory) {
@@ -3835,18 +3835,18 @@ var require_ponyfill_es2018 = (0, import_chunk_QGM4M3NI.__commonJS)({
3835
3835
  });
3836
3836
  }
3837
3837
  });
3838
- var require_streams = (0, import_chunk_QGM4M3NI.__commonJS)({
3838
+ var require_streams = (0, import_chunk_2ESYSVXG.__commonJS)({
3839
3839
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/streams.cjs"() {
3840
3840
  "use strict";
3841
3841
  var POOL_SIZE2 = 65536;
3842
3842
  if (!globalThis.ReadableStream) {
3843
3843
  try {
3844
- const process = (0, import_chunk_QGM4M3NI.__require)("node:process");
3844
+ const process = (0, import_chunk_2ESYSVXG.__require)("node:process");
3845
3845
  const { emitWarning } = process;
3846
3846
  try {
3847
3847
  process.emitWarning = () => {
3848
3848
  };
3849
- Object.assign(globalThis, (0, import_chunk_QGM4M3NI.__require)("node:stream/web"));
3849
+ Object.assign(globalThis, (0, import_chunk_2ESYSVXG.__require)("node:stream/web"));
3850
3850
  process.emitWarning = emitWarning;
3851
3851
  } catch (error) {
3852
3852
  process.emitWarning = emitWarning;
@@ -3857,7 +3857,7 @@ var require_streams = (0, import_chunk_QGM4M3NI.__commonJS)({
3857
3857
  }
3858
3858
  }
3859
3859
  try {
3860
- const { Blob: Blob3 } = (0, import_chunk_QGM4M3NI.__require)("buffer");
3860
+ const { Blob: Blob3 } = (0, import_chunk_2ESYSVXG.__require)("buffer");
3861
3861
  if (Blob3 && !Blob3.prototype.stream) {
3862
3862
  Blob3.prototype.stream = function name(params) {
3863
3863
  let position = 0;
@@ -3880,12 +3880,12 @@ var require_streams = (0, import_chunk_QGM4M3NI.__commonJS)({
3880
3880
  }
3881
3881
  }
3882
3882
  });
3883
- var require_node_domexception = (0, import_chunk_QGM4M3NI.__commonJS)({
3883
+ var require_node_domexception = (0, import_chunk_2ESYSVXG.__commonJS)({
3884
3884
  "../../node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js"(exports, module2) {
3885
3885
  "use strict";
3886
3886
  if (!globalThis.DOMException) {
3887
3887
  try {
3888
- const { MessageChannel } = (0, import_chunk_QGM4M3NI.__require)("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer();
3888
+ const { MessageChannel } = (0, import_chunk_2ESYSVXG.__require)("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer();
3889
3889
  port.postMessage(ab, [ab, ab]);
3890
3890
  } catch (err) {
3891
3891
  err.constructor.name === "DOMException" && (globalThis.DOMException = err.constructor);
@@ -3894,7 +3894,7 @@ var require_node_domexception = (0, import_chunk_QGM4M3NI.__commonJS)({
3894
3894
  module2.exports = globalThis.DOMException;
3895
3895
  }
3896
3896
  });
3897
- var import_streams = (0, import_chunk_QGM4M3NI.__toESM)(require_streams(), 1);
3897
+ var import_streams = (0, import_chunk_2ESYSVXG.__toESM)(require_streams(), 1);
3898
3898
  var POOL_SIZE = 65536;
3899
3899
  async function* toIterator(parts, clone = true) {
3900
3900
  for (const part of parts) {
@@ -4215,7 +4215,7 @@ Content-Type: ${v.type || "application/octet-stream"}\r
4215
4215
  c.push(`--${b}--`);
4216
4216
  return new B(c, { type: "multipart/form-data; boundary=" + b });
4217
4217
  }
4218
- var import_node_domexception = (0, import_chunk_QGM4M3NI.__toESM)(require_node_domexception(), 1);
4218
+ var import_node_domexception = (0, import_chunk_2ESYSVXG.__toESM)(require_node_domexception(), 1);
4219
4219
  var { stat } = import_node_fs.promises;
4220
4220
  /*! Bundled license information:
4221
4221
 
@@ -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: () => import_chunk_TB7KGAWO.cleanupCache
21
+ cleanupCache: () => import_chunk_4GGGRRIN.cleanupCache
22
22
  });
23
23
  module.exports = __toCommonJS(cleanupCache_exports);
24
- var import_chunk_TB7KGAWO = require("./chunk-TB7KGAWO.js");
25
- var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
26
- var import_chunk_7DQIGMPT = require("./chunk-7DQIGMPT.js");
27
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
24
+ var import_chunk_4GGGRRIN = require("./chunk-4GGGRRIN.js");
25
+ var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
26
+ var import_chunk_4MDZEOKU = require("./chunk-4MDZEOKU.js");
27
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
package/dist/download.js CHANGED
@@ -18,24 +18,24 @@ 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: () => import_chunk_CHRICIOM.download,
22
- getBinaryName: () => import_chunk_CHRICIOM.getBinaryName,
23
- getVersion: () => import_chunk_CHRICIOM.getVersion,
24
- maybeCopyToTmp: () => import_chunk_CHRICIOM.maybeCopyToTmp,
25
- plusX: () => import_chunk_CHRICIOM.plusX,
26
- vercelPkgPathRegex: () => import_chunk_CHRICIOM.vercelPkgPathRegex
21
+ download: () => import_chunk_D77PM4KJ.download,
22
+ getBinaryName: () => import_chunk_D77PM4KJ.getBinaryName,
23
+ getVersion: () => import_chunk_D77PM4KJ.getVersion,
24
+ maybeCopyToTmp: () => import_chunk_D77PM4KJ.maybeCopyToTmp,
25
+ plusX: () => import_chunk_D77PM4KJ.plusX,
26
+ vercelPkgPathRegex: () => import_chunk_D77PM4KJ.vercelPkgPathRegex
27
27
  });
28
28
  module.exports = __toCommonJS(download_exports);
29
- var import_chunk_CHRICIOM = require("./chunk-CHRICIOM.js");
30
- var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
29
+ var import_chunk_D77PM4KJ = require("./chunk-D77PM4KJ.js");
30
+ var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
31
31
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
32
- var import_chunk_TB7KGAWO = require("./chunk-TB7KGAWO.js");
33
- var import_chunk_M7DAFQLF = require("./chunk-M7DAFQLF.js");
34
- var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
35
- var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
36
- var import_chunk_7DQIGMPT = require("./chunk-7DQIGMPT.js");
32
+ var import_chunk_4GGGRRIN = require("./chunk-4GGGRRIN.js");
33
+ var import_chunk_FNYZ6ABB = require("./chunk-FNYZ6ABB.js");
34
+ var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
35
+ var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
36
+ var import_chunk_4MDZEOKU = require("./chunk-4MDZEOKU.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");
40
- var import_chunk_VAPNG6TS = require("./chunk-VAPNG6TS.js");
41
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
40
+ var import_chunk_CTLNI6CP = require("./chunk-CTLNI6CP.js");
41
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -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: () => import_chunk_M7DAFQLF.downloadZip
21
+ downloadZip: () => import_chunk_FNYZ6ABB.downloadZip
22
22
  });
23
23
  module.exports = __toCommonJS(downloadZip_exports);
24
- var import_chunk_M7DAFQLF = require("./chunk-M7DAFQLF.js");
25
- var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
26
- var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
27
- var import_chunk_7DQIGMPT = require("./chunk-7DQIGMPT.js");
28
- var import_chunk_VAPNG6TS = require("./chunk-VAPNG6TS.js");
29
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
24
+ var import_chunk_FNYZ6ABB = require("./chunk-FNYZ6ABB.js");
25
+ var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
26
+ var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
27
+ var import_chunk_4MDZEOKU = require("./chunk-4MDZEOKU.js");
28
+ var import_chunk_CTLNI6CP = require("./chunk-CTLNI6CP.js");
29
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
package/dist/env.js CHANGED
@@ -26,4 +26,4 @@ __export(env_exports, {
26
26
  module.exports = __toCommonJS(env_exports);
27
27
  var import_chunk_XNR2KDTK = require("./chunk-XNR2KDTK.js");
28
28
  var import_chunk_66KG5WKV = require("./chunk-66KG5WKV.js");
29
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
29
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
package/dist/getHash.js CHANGED
@@ -22,4 +22,4 @@ __export(getHash_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(getHash_exports);
24
24
  var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
25
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
25
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getProxyAgent_exports = {};
20
20
  __export(getProxyAgent_exports, {
21
- getProxyAgent: () => import_chunk_VAPNG6TS.getProxyAgent
21
+ getProxyAgent: () => import_chunk_CTLNI6CP.getProxyAgent
22
22
  });
23
23
  module.exports = __toCommonJS(getProxyAgent_exports);
24
- var import_chunk_VAPNG6TS = require("./chunk-VAPNG6TS.js");
25
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
24
+ var import_chunk_CTLNI6CP = require("./chunk-CTLNI6CP.js");
25
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
package/dist/index.js CHANGED
@@ -21,29 +21,29 @@ __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: () => import_chunk_CHRICIOM.download,
24
+ download: () => import_chunk_D77PM4KJ.download,
25
25
  engineEnvVarMap: () => import_chunk_XNR2KDTK.engineEnvVarMap,
26
26
  getBinaryEnvVarPath: () => import_chunk_XNR2KDTK.getBinaryEnvVarPath,
27
- getBinaryName: () => import_chunk_CHRICIOM.getBinaryName,
28
- getCacheDir: () => import_chunk_7DQIGMPT.getCacheDir,
29
- getProxyAgent: () => import_chunk_VAPNG6TS.getProxyAgent,
30
- getVersion: () => import_chunk_CHRICIOM.getVersion,
31
- maybeCopyToTmp: () => import_chunk_CHRICIOM.maybeCopyToTmp,
32
- overwriteFile: () => import_chunk_7DQIGMPT.overwriteFile,
33
- plusX: () => import_chunk_CHRICIOM.plusX,
34
- vercelPkgPathRegex: () => import_chunk_CHRICIOM.vercelPkgPathRegex
27
+ getBinaryName: () => import_chunk_D77PM4KJ.getBinaryName,
28
+ getCacheDir: () => import_chunk_4MDZEOKU.getCacheDir,
29
+ getProxyAgent: () => import_chunk_CTLNI6CP.getProxyAgent,
30
+ getVersion: () => import_chunk_D77PM4KJ.getVersion,
31
+ maybeCopyToTmp: () => import_chunk_D77PM4KJ.maybeCopyToTmp,
32
+ overwriteFile: () => import_chunk_4MDZEOKU.overwriteFile,
33
+ plusX: () => import_chunk_D77PM4KJ.plusX,
34
+ vercelPkgPathRegex: () => import_chunk_D77PM4KJ.vercelPkgPathRegex
35
35
  });
36
36
  module.exports = __toCommonJS(index_exports);
37
- var import_chunk_CHRICIOM = require("./chunk-CHRICIOM.js");
38
- var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
37
+ var import_chunk_D77PM4KJ = require("./chunk-D77PM4KJ.js");
38
+ var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
39
39
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
40
- var import_chunk_TB7KGAWO = require("./chunk-TB7KGAWO.js");
41
- var import_chunk_M7DAFQLF = require("./chunk-M7DAFQLF.js");
42
- var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
43
- var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
44
- var import_chunk_7DQIGMPT = require("./chunk-7DQIGMPT.js");
40
+ var import_chunk_4GGGRRIN = require("./chunk-4GGGRRIN.js");
41
+ var import_chunk_FNYZ6ABB = require("./chunk-FNYZ6ABB.js");
42
+ var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
43
+ var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
44
+ var import_chunk_4MDZEOKU = require("./chunk-4MDZEOKU.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");
48
- var import_chunk_VAPNG6TS = require("./chunk-VAPNG6TS.js");
49
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
48
+ var import_chunk_CTLNI6CP = require("./chunk-CTLNI6CP.js");
49
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
package/dist/log.js CHANGED
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var log_exports = {};
20
20
  __export(log_exports, {
21
- getBar: () => import_chunk_MWVY55RY.getBar
21
+ getBar: () => import_chunk_5564WBCW.getBar
22
22
  });
23
23
  module.exports = __toCommonJS(log_exports);
24
- var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
25
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
24
+ var import_chunk_5564WBCW = require("./chunk-5564WBCW.js");
25
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -16,13 +16,13 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var multipart_parser_ASKQAOL4_exports = {};
20
- __export(multipart_parser_ASKQAOL4_exports, {
19
+ var multipart_parser_3E7JBBYS_exports = {};
20
+ __export(multipart_parser_3E7JBBYS_exports, {
21
21
  toFormData: () => toFormData
22
22
  });
23
- module.exports = __toCommonJS(multipart_parser_ASKQAOL4_exports);
24
- var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
25
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
23
+ module.exports = __toCommonJS(multipart_parser_3E7JBBYS_exports);
24
+ var import_chunk_VLGS4WJI = require("./chunk-VLGS4WJI.js");
25
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
26
26
  var s = 0;
27
27
  var S = {
28
28
  START_BOUNDARY: s++,
@@ -314,7 +314,7 @@ async function toFormData(Body, ct) {
314
314
  let contentType;
315
315
  let filename;
316
316
  const entryChunks = [];
317
- const formData = new import_chunk_RXM4EBGR.FormData();
317
+ const formData = new import_chunk_VLGS4WJI.FormData();
318
318
  const onPartData = (ui8a) => {
319
319
  entryValue += decoder.decode(ui8a, { stream: true });
320
320
  };
@@ -322,7 +322,7 @@ async function toFormData(Body, ct) {
322
322
  entryChunks.push(ui8a);
323
323
  };
324
324
  const appendFileToFormData = () => {
325
- const file = new import_chunk_RXM4EBGR.file_default(entryChunks, filename, { type: contentType });
325
+ const file = new import_chunk_VLGS4WJI.file_default(entryChunks, filename, { type: contentType });
326
326
  formData.append(entryName, file);
327
327
  };
328
328
  const appendEntryToFormData = () => {
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: () => import_chunk_7DQIGMPT.getCacheDir,
22
- getDownloadUrl: () => import_chunk_7DQIGMPT.getDownloadUrl,
23
- getRootCacheDir: () => import_chunk_7DQIGMPT.getRootCacheDir,
24
- overwriteFile: () => import_chunk_7DQIGMPT.overwriteFile
21
+ getCacheDir: () => import_chunk_4MDZEOKU.getCacheDir,
22
+ getDownloadUrl: () => import_chunk_4MDZEOKU.getDownloadUrl,
23
+ getRootCacheDir: () => import_chunk_4MDZEOKU.getRootCacheDir,
24
+ overwriteFile: () => import_chunk_4MDZEOKU.overwriteFile
25
25
  });
26
26
  module.exports = __toCommonJS(utils_exports);
27
- var import_chunk_7DQIGMPT = require("./chunk-7DQIGMPT.js");
28
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
27
+ var import_chunk_4MDZEOKU = require("./chunk-4MDZEOKU.js");
28
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");