@prisma/fetch-engine 6.17.0-dev.22 → 6.17.0-dev.23

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,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 chunk_2DPMENYP_exports = {};
30
- __export(chunk_2DPMENYP_exports, {
29
+ var chunk_3VVCXIQ5_exports = {};
30
+ __export(chunk_3VVCXIQ5_exports, {
31
31
  cleanupCache: () => cleanupCache
32
32
  });
33
- module.exports = __toCommonJS(chunk_2DPMENYP_exports);
33
+ module.exports = __toCommonJS(chunk_3VVCXIQ5_exports);
34
34
  var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
35
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
35
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
36
36
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.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_QGM4M3NI.__toESM)((0, import_chunk_FSAAZH62.
41
41
  var debug = (0, import_debug.default)("cleanupCache");
42
42
  async function cleanupCache(n = 5) {
43
43
  try {
44
- const rootCacheDir = await (0, import_chunk_7KB2WQ67.getRootCacheDir)();
44
+ const rootCacheDir = await (0, import_chunk_LONQL55G.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 chunk_TT7KVFVK_exports = {};
30
- __export(chunk_TT7KVFVK_exports, {
29
+ var chunk_CY52DY2B_exports = {};
30
+ __export(chunk_CY52DY2B_exports, {
31
31
  downloadZip: () => downloadZip,
32
32
  require_temp_dir: () => require_temp_dir
33
33
  });
34
- module.exports = __toCommonJS(chunk_TT7KVFVK_exports);
34
+ module.exports = __toCommonJS(chunk_CY52DY2B_exports);
35
35
  var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
36
36
  var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
37
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
37
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
38
38
  var import_chunk_VAPNG6TS = require("./chunk-VAPNG6TS.js");
39
39
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
40
40
  var import_node_fs = __toESM(require("node:fs"));
@@ -11517,7 +11517,7 @@ async function downloadZip(url, target, progressCb) {
11517
11517
  onFailedAttempt: (err) => debug("An error occurred while downloading the engine file", err)
11518
11518
  }
11519
11519
  );
11520
- await (0, import_chunk_7KB2WQ67.overwriteFile)(partial, target);
11520
+ await (0, import_chunk_LONQL55G.overwriteFile)(partial, target);
11521
11521
  try {
11522
11522
  await rimraf(partial);
11523
11523
  await rimraf(tmpDir);
@@ -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 chunk_7KB2WQ67_exports = {};
30
- __export(chunk_7KB2WQ67_exports, {
29
+ var chunk_LONQL55G_exports = {};
30
+ __export(chunk_LONQL55G_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(chunk_7KB2WQ67_exports);
37
+ module.exports = __toCommonJS(chunk_LONQL55G_exports);
38
38
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
39
39
  var import_node_fs = __toESM(require("node:fs"));
40
40
  var import_node_os = __toESM(require("node:os"));
@@ -2290,7 +2290,7 @@ async function getRootCacheDir() {
2290
2290
  return null;
2291
2291
  }
2292
2292
  }
2293
- return import_node_path.default.join(import_node_os.default.homedir(), ".cache/prisma");
2293
+ return process.env.XDG_CACHE_HOME ? import_node_path.default.join(process.env.XDG_CACHE_HOME, "prisma") : import_node_path.default.join(import_node_os.default.homedir(), ".cache/prisma");
2294
2294
  }
2295
2295
  async function getCacheDir(channel, version, binaryTarget) {
2296
2296
  const rootCacheDir = await getRootCacheDir();
@@ -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_HPJ6EVRD_exports = {};
30
- __export(chunk_HPJ6EVRD_exports, {
29
+ var chunk_P6XXWT7H_exports = {};
30
+ __export(chunk_P6XXWT7H_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,12 +35,12 @@ __export(chunk_HPJ6EVRD_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_HPJ6EVRD_exports);
38
+ module.exports = __toCommonJS(chunk_P6XXWT7H_exports);
39
39
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
40
40
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
41
- var import_chunk_2DPMENYP = require("./chunk-2DPMENYP.js");
42
- var import_chunk_TT7KVFVK = require("./chunk-TT7KVFVK.js");
43
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
41
+ var import_chunk_3VVCXIQ5 = require("./chunk-3VVCXIQ5.js");
42
+ var import_chunk_CY52DY2B = require("./chunk-CY52DY2B.js");
43
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
44
44
  var import_chunk_QFA3XBMW = require("./chunk-QFA3XBMW.js");
45
45
  var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
46
46
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
@@ -585,7 +585,7 @@ var require_package = (0, import_chunk_QGM4M3NI.__commonJS)({
585
585
  "package.json"(exports, module2) {
586
586
  module2.exports = {
587
587
  name: "@prisma/fetch-engine",
588
- version: "6.17.0-dev.22",
588
+ version: "6.17.0-dev.23",
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_QGM4M3NI.__toESM)((0, import_chunk_7KB2WQ67.require_lib)());
2143
+ var import_fs_extra = (0, import_chunk_QGM4M3NI.__toESM)((0, import_chunk_LONQL55G.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_TT7KVFVK.require_temp_dir)());
2273
+ var import_temp_dir = (0, import_chunk_QGM4M3NI.__toESM)((0, import_chunk_CY52DY2B.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);
@@ -2337,7 +2337,7 @@ async function download(options) {
2337
2337
  return shouldDownload;
2338
2338
  });
2339
2339
  if (binariesToDownload.length > 0) {
2340
- const cleanupPromise = (0, import_chunk_2DPMENYP.cleanupCache)();
2340
+ const cleanupPromise = (0, import_chunk_3VVCXIQ5.cleanupCache)();
2341
2341
  let finishBar;
2342
2342
  let setProgress;
2343
2343
  if (opts.showProgress) {
@@ -2346,7 +2346,7 @@ async function download(options) {
2346
2346
  setProgress = collectiveBar.setProgress;
2347
2347
  }
2348
2348
  const promises = binariesToDownload.map((job) => {
2349
- const downloadUrl = (0, import_chunk_7KB2WQ67.getDownloadUrl)({
2349
+ const downloadUrl = (0, import_chunk_LONQL55G.getDownloadUrl)({
2350
2350
  channel: "all_commits",
2351
2351
  version: opts.version,
2352
2352
  binaryTarget: job.binaryTarget,
@@ -2427,7 +2427,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2427
2427
  });
2428
2428
  if (cachedFile) {
2429
2429
  if (job.skipCacheIntegrityCheck === true) {
2430
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2430
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2431
2431
  return false;
2432
2432
  }
2433
2433
  const sha256FilePath = cachedFile + ".sha256";
@@ -2438,12 +2438,12 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2438
2438
  if (!targetExists) {
2439
2439
  debug(`copying ${cachedFile} to ${job.targetFilePath}`);
2440
2440
  await import_node_fs.default.promises.utimes(cachedFile, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date());
2441
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2441
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2442
2442
  }
2443
2443
  const targetSha256 = await (0, import_chunk_FKGWOTGU.getHash)(job.targetFilePath);
2444
2444
  if (sha256File !== targetSha256) {
2445
2445
  debug(`overwriting ${job.targetFilePath} with ${cachedFile} as hashes do not match`);
2446
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2446
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2447
2447
  }
2448
2448
  return false;
2449
2449
  } else {
@@ -2458,7 +2458,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2458
2458
  }
2459
2459
  if (cachedFile) {
2460
2460
  debug(`copying ${cachedFile} to ${job.targetFilePath}`);
2461
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2461
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2462
2462
  return false;
2463
2463
  }
2464
2464
  return true;
@@ -2505,7 +2505,7 @@ async function getCachedBinaryPath({
2505
2505
  binaryTarget,
2506
2506
  binaryName
2507
2507
  }) {
2508
- const cacheDir = await (0, import_chunk_7KB2WQ67.getCacheDir)(channel, version, binaryTarget);
2508
+ const cacheDir = await (0, import_chunk_LONQL55G.getCacheDir)(channel, version, binaryTarget);
2509
2509
  if (!cacheDir) {
2510
2510
  return null;
2511
2511
  }
@@ -2538,7 +2538,7 @@ async function downloadBinary(options) {
2538
2538
  if (progressCb) {
2539
2539
  progressCb(0);
2540
2540
  }
2541
- const { sha256, zippedSha256 } = await (0, import_chunk_TT7KVFVK.downloadZip)(downloadUrl, targetFilePath, progressCb);
2541
+ const { sha256, zippedSha256 } = await (0, import_chunk_CY52DY2B.downloadZip)(downloadUrl, targetFilePath, progressCb);
2542
2542
  if (progressCb) {
2543
2543
  progressCb(1);
2544
2544
  }
@@ -2546,7 +2546,7 @@ async function downloadBinary(options) {
2546
2546
  await saveFileToCache(options, version, sha256, zippedSha256);
2547
2547
  }
2548
2548
  async function saveFileToCache(job, version, sha256, zippedSha256) {
2549
- const cacheDir = await (0, import_chunk_7KB2WQ67.getCacheDir)(channel, version, job.binaryTarget);
2549
+ const cacheDir = await (0, import_chunk_LONQL55G.getCacheDir)(channel, version, job.binaryTarget);
2550
2550
  if (!cacheDir) {
2551
2551
  return;
2552
2552
  }
@@ -2554,7 +2554,7 @@ async function saveFileToCache(job, version, sha256, zippedSha256) {
2554
2554
  const cachedSha256Path = import_node_path.default.join(cacheDir, job.binaryName + ".sha256");
2555
2555
  const cachedSha256ZippedPath = import_node_path.default.join(cacheDir, job.binaryName + ".gz.sha256");
2556
2556
  try {
2557
- await (0, import_chunk_7KB2WQ67.overwriteFile)(job.targetFilePath, cachedTargetPath);
2557
+ await (0, import_chunk_LONQL55G.overwriteFile)(job.targetFilePath, cachedTargetPath);
2558
2558
  if (sha256 != null) {
2559
2559
  await import_node_fs.default.promises.writeFile(cachedSha256Path, sha256);
2560
2560
  }
@@ -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_HIKUXD5O_exports = {};
30
- __export(chunk_HIKUXD5O_exports, {
29
+ var chunk_ZUWQNWY2_exports = {};
30
+ __export(chunk_ZUWQNWY2_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,12 +35,12 @@ __export(chunk_HIKUXD5O_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_HIKUXD5O_exports);
38
+ module.exports = __toCommonJS(chunk_ZUWQNWY2_exports);
39
39
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
40
40
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
41
- var import_chunk_2DPMENYP = require("./chunk-2DPMENYP.js");
42
- var import_chunk_TT7KVFVK = require("./chunk-TT7KVFVK.js");
43
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
41
+ var import_chunk_3VVCXIQ5 = require("./chunk-3VVCXIQ5.js");
42
+ var import_chunk_CY52DY2B = require("./chunk-CY52DY2B.js");
43
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
44
44
  var import_chunk_QFA3XBMW = require("./chunk-QFA3XBMW.js");
45
45
  var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
46
46
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.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_QGM4M3NI.__toESM)((0, import_chunk_7KB2WQ67.require_lib)());
2143
+ var import_fs_extra = (0, import_chunk_QGM4M3NI.__toESM)((0, import_chunk_LONQL55G.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_TT7KVFVK.require_temp_dir)());
2273
+ var import_temp_dir = (0, import_chunk_QGM4M3NI.__toESM)((0, import_chunk_CY52DY2B.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);
@@ -2337,7 +2337,7 @@ async function download(options) {
2337
2337
  return shouldDownload;
2338
2338
  });
2339
2339
  if (binariesToDownload.length > 0) {
2340
- const cleanupPromise = (0, import_chunk_2DPMENYP.cleanupCache)();
2340
+ const cleanupPromise = (0, import_chunk_3VVCXIQ5.cleanupCache)();
2341
2341
  let finishBar;
2342
2342
  let setProgress;
2343
2343
  if (opts.showProgress) {
@@ -2346,7 +2346,7 @@ async function download(options) {
2346
2346
  setProgress = collectiveBar.setProgress;
2347
2347
  }
2348
2348
  const promises = binariesToDownload.map((job) => {
2349
- const downloadUrl = (0, import_chunk_7KB2WQ67.getDownloadUrl)({
2349
+ const downloadUrl = (0, import_chunk_LONQL55G.getDownloadUrl)({
2350
2350
  channel: "all_commits",
2351
2351
  version: opts.version,
2352
2352
  binaryTarget: job.binaryTarget,
@@ -2427,7 +2427,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2427
2427
  });
2428
2428
  if (cachedFile) {
2429
2429
  if (job.skipCacheIntegrityCheck === true) {
2430
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2430
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2431
2431
  return false;
2432
2432
  }
2433
2433
  const sha256FilePath = cachedFile + ".sha256";
@@ -2438,12 +2438,12 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2438
2438
  if (!targetExists) {
2439
2439
  debug(`copying ${cachedFile} to ${job.targetFilePath}`);
2440
2440
  await import_node_fs.default.promises.utimes(cachedFile, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date());
2441
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2441
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2442
2442
  }
2443
2443
  const targetSha256 = await (0, import_chunk_FKGWOTGU.getHash)(job.targetFilePath);
2444
2444
  if (sha256File !== targetSha256) {
2445
2445
  debug(`overwriting ${job.targetFilePath} with ${cachedFile} as hashes do not match`);
2446
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2446
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2447
2447
  }
2448
2448
  return false;
2449
2449
  } else {
@@ -2458,7 +2458,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2458
2458
  }
2459
2459
  if (cachedFile) {
2460
2460
  debug(`copying ${cachedFile} to ${job.targetFilePath}`);
2461
- await (0, import_chunk_7KB2WQ67.overwriteFile)(cachedFile, job.targetFilePath);
2461
+ await (0, import_chunk_LONQL55G.overwriteFile)(cachedFile, job.targetFilePath);
2462
2462
  return false;
2463
2463
  }
2464
2464
  return true;
@@ -2505,7 +2505,7 @@ async function getCachedBinaryPath({
2505
2505
  binaryTarget,
2506
2506
  binaryName
2507
2507
  }) {
2508
- const cacheDir = await (0, import_chunk_7KB2WQ67.getCacheDir)(channel, version, binaryTarget);
2508
+ const cacheDir = await (0, import_chunk_LONQL55G.getCacheDir)(channel, version, binaryTarget);
2509
2509
  if (!cacheDir) {
2510
2510
  return null;
2511
2511
  }
@@ -2538,7 +2538,7 @@ async function downloadBinary(options) {
2538
2538
  if (progressCb) {
2539
2539
  progressCb(0);
2540
2540
  }
2541
- const { sha256, zippedSha256 } = await (0, import_chunk_TT7KVFVK.downloadZip)(downloadUrl, targetFilePath, progressCb);
2541
+ const { sha256, zippedSha256 } = await (0, import_chunk_CY52DY2B.downloadZip)(downloadUrl, targetFilePath, progressCb);
2542
2542
  if (progressCb) {
2543
2543
  progressCb(1);
2544
2544
  }
@@ -2546,7 +2546,7 @@ async function downloadBinary(options) {
2546
2546
  await saveFileToCache(options, version, sha256, zippedSha256);
2547
2547
  }
2548
2548
  async function saveFileToCache(job, version, sha256, zippedSha256) {
2549
- const cacheDir = await (0, import_chunk_7KB2WQ67.getCacheDir)(channel, version, job.binaryTarget);
2549
+ const cacheDir = await (0, import_chunk_LONQL55G.getCacheDir)(channel, version, job.binaryTarget);
2550
2550
  if (!cacheDir) {
2551
2551
  return;
2552
2552
  }
@@ -2554,7 +2554,7 @@ async function saveFileToCache(job, version, sha256, zippedSha256) {
2554
2554
  const cachedSha256Path = import_node_path.default.join(cacheDir, job.binaryName + ".sha256");
2555
2555
  const cachedSha256ZippedPath = import_node_path.default.join(cacheDir, job.binaryName + ".gz.sha256");
2556
2556
  try {
2557
- await (0, import_chunk_7KB2WQ67.overwriteFile)(job.targetFilePath, cachedTargetPath);
2557
+ await (0, import_chunk_LONQL55G.overwriteFile)(job.targetFilePath, cachedTargetPath);
2558
2558
  if (sha256 != null) {
2559
2559
  await import_node_fs.default.promises.writeFile(cachedSha256Path, sha256);
2560
2560
  }
@@ -18,11 +18,11 @@ 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_2DPMENYP.cleanupCache
21
+ cleanupCache: () => import_chunk_3VVCXIQ5.cleanupCache
22
22
  });
23
23
  module.exports = __toCommonJS(cleanupCache_exports);
24
- var import_chunk_2DPMENYP = require("./chunk-2DPMENYP.js");
24
+ var import_chunk_3VVCXIQ5 = require("./chunk-3VVCXIQ5.js");
25
25
  var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
26
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
26
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
27
27
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
28
28
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.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: () => import_chunk_HPJ6EVRD.download,
22
- getBinaryName: () => import_chunk_HPJ6EVRD.getBinaryName,
23
- getVersion: () => import_chunk_HPJ6EVRD.getVersion,
24
- maybeCopyToTmp: () => import_chunk_HPJ6EVRD.maybeCopyToTmp,
25
- plusX: () => import_chunk_HPJ6EVRD.plusX,
26
- vercelPkgPathRegex: () => import_chunk_HPJ6EVRD.vercelPkgPathRegex
21
+ download: () => import_chunk_P6XXWT7H.download,
22
+ getBinaryName: () => import_chunk_P6XXWT7H.getBinaryName,
23
+ getVersion: () => import_chunk_P6XXWT7H.getVersion,
24
+ maybeCopyToTmp: () => import_chunk_P6XXWT7H.maybeCopyToTmp,
25
+ plusX: () => import_chunk_P6XXWT7H.plusX,
26
+ vercelPkgPathRegex: () => import_chunk_P6XXWT7H.vercelPkgPathRegex
27
27
  });
28
28
  module.exports = __toCommonJS(download_exports);
29
- var import_chunk_HPJ6EVRD = require("./chunk-HPJ6EVRD.js");
29
+ var import_chunk_P6XXWT7H = require("./chunk-P6XXWT7H.js");
30
30
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
31
31
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
32
- var import_chunk_2DPMENYP = require("./chunk-2DPMENYP.js");
33
- var import_chunk_TT7KVFVK = require("./chunk-TT7KVFVK.js");
32
+ var import_chunk_3VVCXIQ5 = require("./chunk-3VVCXIQ5.js");
33
+ var import_chunk_CY52DY2B = require("./chunk-CY52DY2B.js");
34
34
  var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
35
35
  var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
36
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
36
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
37
37
  var import_chunk_QFA3XBMW = require("./chunk-QFA3XBMW.js");
38
38
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
39
39
  var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
@@ -18,13 +18,13 @@ 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_TT7KVFVK.downloadZip
21
+ downloadZip: () => import_chunk_CY52DY2B.downloadZip
22
22
  });
23
23
  module.exports = __toCommonJS(downloadZip_exports);
24
- var import_chunk_TT7KVFVK = require("./chunk-TT7KVFVK.js");
24
+ var import_chunk_CY52DY2B = require("./chunk-CY52DY2B.js");
25
25
  var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
26
26
  var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
27
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
27
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
28
28
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
29
29
  var import_chunk_VAPNG6TS = require("./chunk-VAPNG6TS.js");
30
30
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
package/dist/index.js CHANGED
@@ -21,27 +21,27 @@ __export(index_exports, {
21
21
  BinaryType: () => import_chunk_X37PZICB.BinaryType,
22
22
  allEngineEnvVarsSet: () => import_chunk_QFA3XBMW.allEngineEnvVarsSet,
23
23
  deprecatedEnvVarMap: () => import_chunk_QFA3XBMW.deprecatedEnvVarMap,
24
- download: () => import_chunk_HPJ6EVRD.download,
24
+ download: () => import_chunk_P6XXWT7H.download,
25
25
  engineEnvVarMap: () => import_chunk_QFA3XBMW.engineEnvVarMap,
26
26
  getBinaryEnvVarPath: () => import_chunk_QFA3XBMW.getBinaryEnvVarPath,
27
- getBinaryName: () => import_chunk_HPJ6EVRD.getBinaryName,
28
- getCacheDir: () => import_chunk_7KB2WQ67.getCacheDir,
27
+ getBinaryName: () => import_chunk_P6XXWT7H.getBinaryName,
28
+ getCacheDir: () => import_chunk_LONQL55G.getCacheDir,
29
29
  getProxyAgent: () => import_chunk_VAPNG6TS.getProxyAgent,
30
- getVersion: () => import_chunk_HPJ6EVRD.getVersion,
31
- maybeCopyToTmp: () => import_chunk_HPJ6EVRD.maybeCopyToTmp,
32
- overwriteFile: () => import_chunk_7KB2WQ67.overwriteFile,
33
- plusX: () => import_chunk_HPJ6EVRD.plusX,
34
- vercelPkgPathRegex: () => import_chunk_HPJ6EVRD.vercelPkgPathRegex
30
+ getVersion: () => import_chunk_P6XXWT7H.getVersion,
31
+ maybeCopyToTmp: () => import_chunk_P6XXWT7H.maybeCopyToTmp,
32
+ overwriteFile: () => import_chunk_LONQL55G.overwriteFile,
33
+ plusX: () => import_chunk_P6XXWT7H.plusX,
34
+ vercelPkgPathRegex: () => import_chunk_P6XXWT7H.vercelPkgPathRegex
35
35
  });
36
36
  module.exports = __toCommonJS(index_exports);
37
- var import_chunk_HPJ6EVRD = require("./chunk-HPJ6EVRD.js");
37
+ var import_chunk_P6XXWT7H = require("./chunk-P6XXWT7H.js");
38
38
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
39
39
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
40
- var import_chunk_2DPMENYP = require("./chunk-2DPMENYP.js");
41
- var import_chunk_TT7KVFVK = require("./chunk-TT7KVFVK.js");
40
+ var import_chunk_3VVCXIQ5 = require("./chunk-3VVCXIQ5.js");
41
+ var import_chunk_CY52DY2B = require("./chunk-CY52DY2B.js");
42
42
  var import_chunk_RXM4EBGR = require("./chunk-RXM4EBGR.js");
43
43
  var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
44
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
44
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
45
45
  var import_chunk_QFA3XBMW = require("./chunk-QFA3XBMW.js");
46
46
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
47
47
  var import_chunk_FKGWOTGU = require("./chunk-FKGWOTGU.js");
package/dist/utils.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 utils_exports = {};
20
20
  __export(utils_exports, {
21
- getCacheDir: () => import_chunk_7KB2WQ67.getCacheDir,
22
- getDownloadUrl: () => import_chunk_7KB2WQ67.getDownloadUrl,
23
- getRootCacheDir: () => import_chunk_7KB2WQ67.getRootCacheDir,
24
- overwriteFile: () => import_chunk_7KB2WQ67.overwriteFile
21
+ getCacheDir: () => import_chunk_LONQL55G.getCacheDir,
22
+ getDownloadUrl: () => import_chunk_LONQL55G.getDownloadUrl,
23
+ getRootCacheDir: () => import_chunk_LONQL55G.getRootCacheDir,
24
+ overwriteFile: () => import_chunk_LONQL55G.overwriteFile
25
25
  });
26
26
  module.exports = __toCommonJS(utils_exports);
27
- var import_chunk_7KB2WQ67 = require("./chunk-7KB2WQ67.js");
27
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
28
28
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
29
29
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/fetch-engine",
3
- "version": "6.17.0-dev.22",
3
+ "version": "6.17.0-dev.23",
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": "6.17.0-9.12b56ce9a668d64ffb8e8d40021d982d39f96e3b",
40
- "@prisma/debug": "6.17.0-dev.22",
41
- "@prisma/get-platform": "6.17.0-dev.22"
40
+ "@prisma/debug": "6.17.0-dev.23",
41
+ "@prisma/get-platform": "6.17.0-dev.23"
42
42
  },
43
43
  "files": [
44
44
  "README.md",