@prisma/fetch-engine 7.3.0-integration-prisma6-fix-cloudflare-engine.2 → 7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.1

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.
@@ -1,5 +1,3 @@
1
1
  export declare enum BinaryType {
2
- QueryEngineBinary = "query-engine",
3
- QueryEngineLibrary = "libquery-engine",
4
2
  SchemaEngineBinary = "schema-engine"
5
3
  }
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var BinaryType_exports = {};
20
20
  __export(BinaryType_exports, {
21
- BinaryType: () => import_chunk_X37PZICB.BinaryType
21
+ BinaryType: () => import_chunk_66KG5WKV.BinaryType
22
22
  });
23
23
  module.exports = __toCommonJS(BinaryType_exports);
24
- var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
25
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
24
+ var import_chunk_66KG5WKV = require("./chunk-66KG5WKV.js");
25
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -22,4 +22,4 @@ __export(chmodPlusX_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(chmodPlusX_exports);
24
24
  var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
25
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
25
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -16,13 +16,16 @@ 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_QGM4M3NI_exports = {};
20
- __export(chunk_QGM4M3NI_exports, {
19
+ var chunk_2ESYSVXG_exports = {};
20
+ __export(chunk_2ESYSVXG_exports, {
21
21
  __commonJS: () => __commonJS,
22
+ __esm: () => __esm,
23
+ __export: () => __export2,
22
24
  __require: () => __require,
25
+ __toCommonJS: () => __toCommonJS2,
23
26
  __toESM: () => __toESM
24
27
  });
25
- module.exports = __toCommonJS(chunk_QGM4M3NI_exports);
28
+ module.exports = __toCommonJS(chunk_2ESYSVXG_exports);
26
29
  var __create = Object.create;
27
30
  var __defProp2 = Object.defineProperty;
28
31
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -35,9 +38,16 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
35
38
  if (typeof require !== "undefined") return require.apply(this, arguments);
36
39
  throw Error('Dynamic require of "' + x + '" is not supported');
37
40
  });
41
+ var __esm = (fn, res) => function __init() {
42
+ return fn && (res = (0, fn[__getOwnPropNames2(fn)[0]])(fn = 0)), res;
43
+ };
38
44
  var __commonJS = (cb, mod) => function __require2() {
39
45
  return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
40
46
  };
47
+ var __export2 = (target, all) => {
48
+ for (var name in all)
49
+ __defProp2(target, name, { get: all[name], enumerable: true });
50
+ };
41
51
  var __copyProps2 = (to, from, except, desc) => {
42
52
  if (from && typeof from === "object" || typeof from === "function") {
43
53
  for (let key of __getOwnPropNames2(from))
@@ -54,3 +64,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
54
64
  isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
55
65
  mod
56
66
  ));
67
+ var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
@@ -26,22 +26,22 @@ 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_3VVCXIQ5_exports = {};
30
- __export(chunk_3VVCXIQ5_exports, {
29
+ var chunk_4GGGRRIN_exports = {};
30
+ __export(chunk_4GGGRRIN_exports, {
31
31
  cleanupCache: () => cleanupCache
32
32
  });
33
- module.exports = __toCommonJS(chunk_3VVCXIQ5_exports);
34
- var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
35
- var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
36
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
33
+ module.exports = __toCommonJS(chunk_4GGGRRIN_exports);
34
+ var import_chunk_7AOUSONO = require("./chunk-7AOUSONO.js");
35
+ var import_chunk_4MDZEOKU = require("./chunk-4MDZEOKU.js");
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"));
39
39
  var import_debug = __toESM(require("@prisma/debug"));
40
- var import_p_map = (0, import_chunk_QGM4M3NI.__toESM)((0, import_chunk_FSAAZH62.require_p_map)());
40
+ var import_p_map = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_7AOUSONO.require_p_map)());
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_LONQL55G.getRootCacheDir)();
44
+ const rootCacheDir = await (0, import_chunk_4MDZEOKU.getRootCacheDir)();
45
45
  if (!rootCacheDir) {
46
46
  debug("no rootCacheDir found");
47
47
  return;
@@ -26,21 +26,20 @@ 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_LONQL55G_exports = {};
30
- __export(chunk_LONQL55G_exports, {
29
+ var chunk_4MDZEOKU_exports = {};
30
+ __export(chunk_4MDZEOKU_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_LONQL55G_exports);
38
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
37
+ module.exports = __toCommonJS(chunk_4MDZEOKU_exports);
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"));
41
41
  var import_node_path = __toESM(require("node:path"));
42
42
  var import_debug = __toESM(require("@prisma/debug"));
43
- var import_get_platform = require("@prisma/get-platform");
44
43
  var import_node_process = __toESM(require("node:process"));
45
44
  var import_node_path2 = __toESM(require("node:path"));
46
45
  var import_node_fs2 = __toESM(require("node:fs"));
@@ -51,10 +50,10 @@ var import_node_process2 = __toESM(require("node:process"));
51
50
  var import_node_path5 = __toESM(require("node:path"));
52
51
  var import_node_fs3 = __toESM(require("node:fs"));
53
52
  var import_node_url2 = require("node:url");
54
- var require_common_path_prefix = (0, import_chunk_QGM4M3NI.__commonJS)({
53
+ var require_common_path_prefix = (0, import_chunk_2ESYSVXG.__commonJS)({
55
54
  "../../node_modules/.pnpm/common-path-prefix@3.0.0/node_modules/common-path-prefix/index.js"(exports, module2) {
56
55
  "use strict";
57
- var { sep: DEFAULT_SEPARATOR } = (0, import_chunk_QGM4M3NI.__require)("path");
56
+ var { sep: DEFAULT_SEPARATOR } = (0, import_chunk_2ESYSVXG.__require)("path");
58
57
  var determineSeparator = (paths) => {
59
58
  for (const path6 of paths) {
60
59
  const match = /(\/|\\)/.exec(path6);
@@ -81,7 +80,7 @@ var require_common_path_prefix = (0, import_chunk_QGM4M3NI.__commonJS)({
81
80
  };
82
81
  }
83
82
  });
84
- var require_universalify = (0, import_chunk_QGM4M3NI.__commonJS)({
83
+ var require_universalify = (0, import_chunk_2ESYSVXG.__commonJS)({
85
84
  "../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports) {
86
85
  "use strict";
87
86
  exports.fromCallback = function(fn) {
@@ -107,10 +106,10 @@ var require_universalify = (0, import_chunk_QGM4M3NI.__commonJS)({
107
106
  };
108
107
  }
109
108
  });
110
- var require_polyfills = (0, import_chunk_QGM4M3NI.__commonJS)({
109
+ var require_polyfills = (0, import_chunk_2ESYSVXG.__commonJS)({
111
110
  "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports, module2) {
112
111
  "use strict";
113
- var constants = (0, import_chunk_QGM4M3NI.__require)("constants");
112
+ var constants = (0, import_chunk_2ESYSVXG.__require)("constants");
114
113
  var origCwd = process.cwd;
115
114
  var cwd2 = null;
116
115
  var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
@@ -394,10 +393,10 @@ var require_polyfills = (0, import_chunk_QGM4M3NI.__commonJS)({
394
393
  }
395
394
  }
396
395
  });
397
- var require_legacy_streams = (0, import_chunk_QGM4M3NI.__commonJS)({
396
+ var require_legacy_streams = (0, import_chunk_2ESYSVXG.__commonJS)({
398
397
  "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
399
398
  "use strict";
400
- var Stream = (0, import_chunk_QGM4M3NI.__require)("stream").Stream;
399
+ var Stream = (0, import_chunk_2ESYSVXG.__require)("stream").Stream;
401
400
  module2.exports = legacy;
402
401
  function legacy(fs4) {
403
402
  return {
@@ -489,7 +488,7 @@ var require_legacy_streams = (0, import_chunk_QGM4M3NI.__commonJS)({
489
488
  }
490
489
  }
491
490
  });
492
- var require_clone = (0, import_chunk_QGM4M3NI.__commonJS)({
491
+ var require_clone = (0, import_chunk_2ESYSVXG.__commonJS)({
493
492
  "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports, module2) {
494
493
  "use strict";
495
494
  module2.exports = clone;
@@ -510,14 +509,14 @@ var require_clone = (0, import_chunk_QGM4M3NI.__commonJS)({
510
509
  }
511
510
  }
512
511
  });
513
- var require_graceful_fs = (0, import_chunk_QGM4M3NI.__commonJS)({
512
+ var require_graceful_fs = (0, import_chunk_2ESYSVXG.__commonJS)({
514
513
  "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
515
514
  "use strict";
516
- var fs4 = (0, import_chunk_QGM4M3NI.__require)("fs");
515
+ var fs4 = (0, import_chunk_2ESYSVXG.__require)("fs");
517
516
  var polyfills = require_polyfills();
518
517
  var legacy = require_legacy_streams();
519
518
  var clone = require_clone();
520
- var util = (0, import_chunk_QGM4M3NI.__require)("util");
519
+ var util = (0, import_chunk_2ESYSVXG.__require)("util");
521
520
  var gracefulQueue;
522
521
  var previousSymbol;
523
522
  if (typeof Symbol === "function" && typeof Symbol.for === "function") {
@@ -576,7 +575,7 @@ var require_graceful_fs = (0, import_chunk_QGM4M3NI.__commonJS)({
576
575
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
577
576
  process.on("exit", function() {
578
577
  debug2(fs4[gracefulQueue]);
579
- (0, import_chunk_QGM4M3NI.__require)("assert").equal(fs4[gracefulQueue].length, 0);
578
+ (0, import_chunk_2ESYSVXG.__require)("assert").equal(fs4[gracefulQueue].length, 0);
580
579
  });
581
580
  }
582
581
  }
@@ -879,7 +878,7 @@ var require_graceful_fs = (0, import_chunk_QGM4M3NI.__commonJS)({
879
878
  }
880
879
  }
881
880
  });
882
- var require_fs = (0, import_chunk_QGM4M3NI.__commonJS)({
881
+ var require_fs = (0, import_chunk_2ESYSVXG.__commonJS)({
883
882
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/fs/index.js"(exports) {
884
883
  "use strict";
885
884
  var u = require_universalify().fromCallback;
@@ -993,10 +992,10 @@ var require_fs = (0, import_chunk_QGM4M3NI.__commonJS)({
993
992
  }
994
993
  }
995
994
  });
996
- var require_utils = (0, import_chunk_QGM4M3NI.__commonJS)({
995
+ var require_utils = (0, import_chunk_2ESYSVXG.__commonJS)({
997
996
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module2) {
998
997
  "use strict";
999
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
998
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1000
999
  module2.exports.checkPath = function checkPath(pth) {
1001
1000
  if (process.platform === "win32") {
1002
1001
  const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path6.parse(pth).root, ""));
@@ -1009,7 +1008,7 @@ var require_utils = (0, import_chunk_QGM4M3NI.__commonJS)({
1009
1008
  };
1010
1009
  }
1011
1010
  });
1012
- var require_make_dir = (0, import_chunk_QGM4M3NI.__commonJS)({
1011
+ var require_make_dir = (0, import_chunk_2ESYSVXG.__commonJS)({
1013
1012
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports, module2) {
1014
1013
  "use strict";
1015
1014
  var fs4 = require_fs();
@@ -1035,7 +1034,7 @@ var require_make_dir = (0, import_chunk_QGM4M3NI.__commonJS)({
1035
1034
  };
1036
1035
  }
1037
1036
  });
1038
- var require_mkdirs = (0, import_chunk_QGM4M3NI.__commonJS)({
1037
+ var require_mkdirs = (0, import_chunk_2ESYSVXG.__commonJS)({
1039
1038
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/index.js"(exports, module2) {
1040
1039
  "use strict";
1041
1040
  var u = require_universalify().fromPromise;
@@ -1052,7 +1051,7 @@ var require_mkdirs = (0, import_chunk_QGM4M3NI.__commonJS)({
1052
1051
  };
1053
1052
  }
1054
1053
  });
1055
- var require_path_exists = (0, import_chunk_QGM4M3NI.__commonJS)({
1054
+ var require_path_exists = (0, import_chunk_2ESYSVXG.__commonJS)({
1056
1055
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/path-exists/index.js"(exports, module2) {
1057
1056
  "use strict";
1058
1057
  var u = require_universalify().fromPromise;
@@ -1066,7 +1065,7 @@ var require_path_exists = (0, import_chunk_QGM4M3NI.__commonJS)({
1066
1065
  };
1067
1066
  }
1068
1067
  });
1069
- var require_utimes = (0, import_chunk_QGM4M3NI.__commonJS)({
1068
+ var require_utimes = (0, import_chunk_2ESYSVXG.__commonJS)({
1070
1069
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/util/utimes.js"(exports, module2) {
1071
1070
  "use strict";
1072
1071
  var fs4 = require_fs();
@@ -1098,11 +1097,11 @@ var require_utimes = (0, import_chunk_QGM4M3NI.__commonJS)({
1098
1097
  };
1099
1098
  }
1100
1099
  });
1101
- var require_stat = (0, import_chunk_QGM4M3NI.__commonJS)({
1100
+ var require_stat = (0, import_chunk_2ESYSVXG.__commonJS)({
1102
1101
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/util/stat.js"(exports, module2) {
1103
1102
  "use strict";
1104
1103
  var fs4 = require_fs();
1105
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1104
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1106
1105
  var u = require_universalify().fromPromise;
1107
1106
  function getStats(src, dest, opts) {
1108
1107
  const statFunc = opts.dereference ? (file) => fs4.stat(file, { bigint: true }) : (file) => fs4.lstat(file, { bigint: true });
@@ -1228,11 +1227,11 @@ var require_stat = (0, import_chunk_QGM4M3NI.__commonJS)({
1228
1227
  };
1229
1228
  }
1230
1229
  });
1231
- var require_copy = (0, import_chunk_QGM4M3NI.__commonJS)({
1230
+ var require_copy = (0, import_chunk_2ESYSVXG.__commonJS)({
1232
1231
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy.js"(exports, module2) {
1233
1232
  "use strict";
1234
1233
  var fs4 = require_fs();
1235
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1234
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1236
1235
  var { mkdirs } = require_mkdirs();
1237
1236
  var { pathExists: pathExists2 } = require_path_exists();
1238
1237
  var { utimesMillis } = require_utimes();
@@ -1355,11 +1354,11 @@ var require_copy = (0, import_chunk_QGM4M3NI.__commonJS)({
1355
1354
  module2.exports = copy;
1356
1355
  }
1357
1356
  });
1358
- var require_copy_sync = (0, import_chunk_QGM4M3NI.__commonJS)({
1357
+ var require_copy_sync = (0, import_chunk_2ESYSVXG.__commonJS)({
1359
1358
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/copy-sync.js"(exports, module2) {
1360
1359
  "use strict";
1361
1360
  var fs4 = require_graceful_fs();
1362
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1361
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1363
1362
  var mkdirsSync = require_mkdirs().mkdirsSync;
1364
1363
  var utimesMillisSync = require_utimes().utimesMillisSync;
1365
1364
  var stat = require_stat();
@@ -1489,7 +1488,7 @@ var require_copy_sync = (0, import_chunk_QGM4M3NI.__commonJS)({
1489
1488
  module2.exports = copySync;
1490
1489
  }
1491
1490
  });
1492
- var require_copy2 = (0, import_chunk_QGM4M3NI.__commonJS)({
1491
+ var require_copy2 = (0, import_chunk_2ESYSVXG.__commonJS)({
1493
1492
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/copy/index.js"(exports, module2) {
1494
1493
  "use strict";
1495
1494
  var u = require_universalify().fromPromise;
@@ -1499,7 +1498,7 @@ var require_copy2 = (0, import_chunk_QGM4M3NI.__commonJS)({
1499
1498
  };
1500
1499
  }
1501
1500
  });
1502
- var require_remove = (0, import_chunk_QGM4M3NI.__commonJS)({
1501
+ var require_remove = (0, import_chunk_2ESYSVXG.__commonJS)({
1503
1502
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/remove/index.js"(exports, module2) {
1504
1503
  "use strict";
1505
1504
  var fs4 = require_graceful_fs();
@@ -1516,12 +1515,12 @@ var require_remove = (0, import_chunk_QGM4M3NI.__commonJS)({
1516
1515
  };
1517
1516
  }
1518
1517
  });
1519
- var require_empty = (0, import_chunk_QGM4M3NI.__commonJS)({
1518
+ var require_empty = (0, import_chunk_2ESYSVXG.__commonJS)({
1520
1519
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/empty/index.js"(exports, module2) {
1521
1520
  "use strict";
1522
1521
  var u = require_universalify().fromPromise;
1523
1522
  var fs4 = require_fs();
1524
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1523
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1525
1524
  var mkdir = require_mkdirs();
1526
1525
  var remove = require_remove();
1527
1526
  var emptyDir = u(async function emptyDir2(dir) {
@@ -1553,11 +1552,11 @@ var require_empty = (0, import_chunk_QGM4M3NI.__commonJS)({
1553
1552
  };
1554
1553
  }
1555
1554
  });
1556
- var require_file = (0, import_chunk_QGM4M3NI.__commonJS)({
1555
+ var require_file = (0, import_chunk_2ESYSVXG.__commonJS)({
1557
1556
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/file.js"(exports, module2) {
1558
1557
  "use strict";
1559
1558
  var u = require_universalify().fromPromise;
1560
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1559
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1561
1560
  var fs4 = require_fs();
1562
1561
  var mkdir = require_mkdirs();
1563
1562
  async function createFile(file) {
@@ -1610,11 +1609,11 @@ var require_file = (0, import_chunk_QGM4M3NI.__commonJS)({
1610
1609
  };
1611
1610
  }
1612
1611
  });
1613
- var require_link = (0, import_chunk_QGM4M3NI.__commonJS)({
1612
+ var require_link = (0, import_chunk_2ESYSVXG.__commonJS)({
1614
1613
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/link.js"(exports, module2) {
1615
1614
  "use strict";
1616
1615
  var u = require_universalify().fromPromise;
1617
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1616
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1618
1617
  var fs4 = require_fs();
1619
1618
  var mkdir = require_mkdirs();
1620
1619
  var { pathExists: pathExists2 } = require_path_exists();
@@ -1665,10 +1664,10 @@ var require_link = (0, import_chunk_QGM4M3NI.__commonJS)({
1665
1664
  };
1666
1665
  }
1667
1666
  });
1668
- var require_symlink_paths = (0, import_chunk_QGM4M3NI.__commonJS)({
1667
+ var require_symlink_paths = (0, import_chunk_2ESYSVXG.__commonJS)({
1669
1668
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module2) {
1670
1669
  "use strict";
1671
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1670
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1672
1671
  var fs4 = require_fs();
1673
1672
  var { pathExists: pathExists2 } = require_path_exists();
1674
1673
  var u = require_universalify().fromPromise;
@@ -1736,7 +1735,7 @@ var require_symlink_paths = (0, import_chunk_QGM4M3NI.__commonJS)({
1736
1735
  };
1737
1736
  }
1738
1737
  });
1739
- var require_symlink_type = (0, import_chunk_QGM4M3NI.__commonJS)({
1738
+ var require_symlink_type = (0, import_chunk_2ESYSVXG.__commonJS)({
1740
1739
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports, module2) {
1741
1740
  "use strict";
1742
1741
  var fs4 = require_fs();
@@ -1767,11 +1766,11 @@ var require_symlink_type = (0, import_chunk_QGM4M3NI.__commonJS)({
1767
1766
  };
1768
1767
  }
1769
1768
  });
1770
- var require_symlink = (0, import_chunk_QGM4M3NI.__commonJS)({
1769
+ var require_symlink = (0, import_chunk_2ESYSVXG.__commonJS)({
1771
1770
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports, module2) {
1772
1771
  "use strict";
1773
1772
  var u = require_universalify().fromPromise;
1774
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1773
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1775
1774
  var fs4 = require_fs();
1776
1775
  var { mkdirs, mkdirsSync } = require_mkdirs();
1777
1776
  var { symlinkPaths, symlinkPathsSync } = require_symlink_paths();
@@ -1826,7 +1825,7 @@ var require_symlink = (0, import_chunk_QGM4M3NI.__commonJS)({
1826
1825
  };
1827
1826
  }
1828
1827
  });
1829
- var require_ensure = (0, import_chunk_QGM4M3NI.__commonJS)({
1828
+ var require_ensure = (0, import_chunk_2ESYSVXG.__commonJS)({
1830
1829
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/ensure/index.js"(exports, module2) {
1831
1830
  "use strict";
1832
1831
  var { createFile, createFileSync } = require_file();
@@ -1851,7 +1850,7 @@ var require_ensure = (0, import_chunk_QGM4M3NI.__commonJS)({
1851
1850
  };
1852
1851
  }
1853
1852
  });
1854
- var require_utils2 = (0, import_chunk_QGM4M3NI.__commonJS)({
1853
+ var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
1855
1854
  "../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports, module2) {
1856
1855
  "use strict";
1857
1856
  function stringify(obj, { EOL = "\n", finalEOL = true, replacer = null, spaces } = {}) {
@@ -1866,14 +1865,14 @@ var require_utils2 = (0, import_chunk_QGM4M3NI.__commonJS)({
1866
1865
  module2.exports = { stringify, stripBom };
1867
1866
  }
1868
1867
  });
1869
- var require_jsonfile = (0, import_chunk_QGM4M3NI.__commonJS)({
1868
+ var require_jsonfile = (0, import_chunk_2ESYSVXG.__commonJS)({
1870
1869
  "../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js"(exports, module2) {
1871
1870
  "use strict";
1872
1871
  var _fs;
1873
1872
  try {
1874
1873
  _fs = require_graceful_fs();
1875
1874
  } catch (_) {
1876
- _fs = (0, import_chunk_QGM4M3NI.__require)("fs");
1875
+ _fs = (0, import_chunk_2ESYSVXG.__require)("fs");
1877
1876
  }
1878
1877
  var universalify = require_universalify();
1879
1878
  var { stringify, stripBom } = require_utils2();
@@ -1938,7 +1937,7 @@ var require_jsonfile = (0, import_chunk_QGM4M3NI.__commonJS)({
1938
1937
  module2.exports = jsonfile;
1939
1938
  }
1940
1939
  });
1941
- var require_jsonfile2 = (0, import_chunk_QGM4M3NI.__commonJS)({
1940
+ var require_jsonfile2 = (0, import_chunk_2ESYSVXG.__commonJS)({
1942
1941
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/jsonfile.js"(exports, module2) {
1943
1942
  "use strict";
1944
1943
  var jsonFile = require_jsonfile();
@@ -1951,12 +1950,12 @@ var require_jsonfile2 = (0, import_chunk_QGM4M3NI.__commonJS)({
1951
1950
  };
1952
1951
  }
1953
1952
  });
1954
- var require_output_file = (0, import_chunk_QGM4M3NI.__commonJS)({
1953
+ var require_output_file = (0, import_chunk_2ESYSVXG.__commonJS)({
1955
1954
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/output-file/index.js"(exports, module2) {
1956
1955
  "use strict";
1957
1956
  var u = require_universalify().fromPromise;
1958
1957
  var fs4 = require_fs();
1959
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
1958
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
1960
1959
  var mkdir = require_mkdirs();
1961
1960
  var pathExists2 = require_path_exists().pathExists;
1962
1961
  async function outputFile(file, data, encoding = "utf-8") {
@@ -1979,7 +1978,7 @@ var require_output_file = (0, import_chunk_QGM4M3NI.__commonJS)({
1979
1978
  };
1980
1979
  }
1981
1980
  });
1982
- var require_output_json = (0, import_chunk_QGM4M3NI.__commonJS)({
1981
+ var require_output_json = (0, import_chunk_2ESYSVXG.__commonJS)({
1983
1982
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/output-json.js"(exports, module2) {
1984
1983
  "use strict";
1985
1984
  var { stringify } = require_utils2();
@@ -1991,7 +1990,7 @@ var require_output_json = (0, import_chunk_QGM4M3NI.__commonJS)({
1991
1990
  module2.exports = outputJson;
1992
1991
  }
1993
1992
  });
1994
- var require_output_json_sync = (0, import_chunk_QGM4M3NI.__commonJS)({
1993
+ var require_output_json_sync = (0, import_chunk_2ESYSVXG.__commonJS)({
1995
1994
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/output-json-sync.js"(exports, module2) {
1996
1995
  "use strict";
1997
1996
  var { stringify } = require_utils2();
@@ -2003,7 +2002,7 @@ var require_output_json_sync = (0, import_chunk_QGM4M3NI.__commonJS)({
2003
2002
  module2.exports = outputJsonSync;
2004
2003
  }
2005
2004
  });
2006
- var require_json = (0, import_chunk_QGM4M3NI.__commonJS)({
2005
+ var require_json = (0, import_chunk_2ESYSVXG.__commonJS)({
2007
2006
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/json/index.js"(exports, module2) {
2008
2007
  "use strict";
2009
2008
  var u = require_universalify().fromPromise;
@@ -2019,11 +2018,11 @@ var require_json = (0, import_chunk_QGM4M3NI.__commonJS)({
2019
2018
  module2.exports = jsonFile;
2020
2019
  }
2021
2020
  });
2022
- var require_move = (0, import_chunk_QGM4M3NI.__commonJS)({
2021
+ var require_move = (0, import_chunk_2ESYSVXG.__commonJS)({
2023
2022
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move.js"(exports, module2) {
2024
2023
  "use strict";
2025
2024
  var fs4 = require_fs();
2026
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
2025
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
2027
2026
  var { copy } = require_copy2();
2028
2027
  var { remove } = require_remove();
2029
2028
  var { mkdirp } = require_mkdirs();
@@ -2069,11 +2068,11 @@ var require_move = (0, import_chunk_QGM4M3NI.__commonJS)({
2069
2068
  module2.exports = move;
2070
2069
  }
2071
2070
  });
2072
- var require_move_sync = (0, import_chunk_QGM4M3NI.__commonJS)({
2071
+ var require_move_sync = (0, import_chunk_2ESYSVXG.__commonJS)({
2073
2072
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/move-sync.js"(exports, module2) {
2074
2073
  "use strict";
2075
2074
  var fs4 = require_graceful_fs();
2076
- var path6 = (0, import_chunk_QGM4M3NI.__require)("path");
2075
+ var path6 = (0, import_chunk_2ESYSVXG.__require)("path");
2077
2076
  var copySync = require_copy2().copySync;
2078
2077
  var removeSync = require_remove().removeSync;
2079
2078
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -2120,7 +2119,7 @@ var require_move_sync = (0, import_chunk_QGM4M3NI.__commonJS)({
2120
2119
  module2.exports = moveSync;
2121
2120
  }
2122
2121
  });
2123
- var require_move2 = (0, import_chunk_QGM4M3NI.__commonJS)({
2122
+ var require_move2 = (0, import_chunk_2ESYSVXG.__commonJS)({
2124
2123
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/move/index.js"(exports, module2) {
2125
2124
  "use strict";
2126
2125
  var u = require_universalify().fromPromise;
@@ -2130,7 +2129,7 @@ var require_move2 = (0, import_chunk_QGM4M3NI.__commonJS)({
2130
2129
  };
2131
2130
  }
2132
2131
  });
2133
- var require_lib = (0, import_chunk_QGM4M3NI.__commonJS)({
2132
+ var require_lib = (0, import_chunk_2ESYSVXG.__commonJS)({
2134
2133
  "../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/index.js"(exports, module2) {
2135
2134
  "use strict";
2136
2135
  module2.exports = {
@@ -2149,7 +2148,7 @@ var require_lib = (0, import_chunk_QGM4M3NI.__commonJS)({
2149
2148
  };
2150
2149
  }
2151
2150
  });
2152
- var import_common_path_prefix = (0, import_chunk_QGM4M3NI.__toESM)(require_common_path_prefix(), 1);
2151
+ var import_common_path_prefix = (0, import_chunk_2ESYSVXG.__toESM)(require_common_path_prefix(), 1);
2153
2152
  var typeMappings = {
2154
2153
  directory: "isDirectory",
2155
2154
  file: "isFile"
@@ -2270,7 +2269,7 @@ function findCacheDirectory(options = {}) {
2270
2269
  }
2271
2270
  return useDirectory(import_node_path2.default.join(directory, "node_modules", ".cache", options.name), options);
2272
2271
  }
2273
- var import_fs_extra = (0, import_chunk_QGM4M3NI.__toESM)(require_lib());
2272
+ var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)(require_lib());
2274
2273
  var debug = (0, import_debug.default)("prisma:fetch-engine:cache-dir");
2275
2274
  async function getRootCacheDir() {
2276
2275
  if (import_node_os.default.platform() === "win32") {
@@ -2318,13 +2317,7 @@ function getDownloadUrl({
2318
2317
  }) {
2319
2318
  const baseUrl = process.env.PRISMA_BINARIES_MIRROR || // TODO: remove this
2320
2319
  process.env.PRISMA_ENGINES_MIRROR || "https://binaries.prisma.sh";
2321
- const finalExtension = (
2322
- // eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
2323
- binaryTarget === "windows" && "libquery-engine" !== binaryName ? `.exe${extension}` : extension
2324
- );
2325
- if (binaryName === "libquery-engine") {
2326
- binaryName = (0, import_get_platform.getNodeAPIName)(binaryTarget, "url");
2327
- }
2320
+ const finalExtension = binaryTarget === "windows" ? `.exe${extension}` : extension;
2328
2321
  return `${baseUrl}/${channel}/${version}/${binaryTarget}/${binaryName}${finalExtension}`;
2329
2322
  }
2330
2323
  async function overwriteFile(sourcePath, targetPath) {
@@ -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 chunk_MWVY55RY_exports = {};
20
- __export(chunk_MWVY55RY_exports, {
19
+ var chunk_5564WBCW_exports = {};
20
+ __export(chunk_5564WBCW_exports, {
21
21
  getBar: () => getBar
22
22
  });
23
- module.exports = __toCommonJS(chunk_MWVY55RY_exports);
24
- var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
25
- var require_node_progress = (0, import_chunk_QGM4M3NI.__commonJS)({
23
+ module.exports = __toCommonJS(chunk_5564WBCW_exports);
24
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
25
+ var require_node_progress = (0, import_chunk_2ESYSVXG.__commonJS)({
26
26
  "../../node_modules/.pnpm/progress@2.0.3/node_modules/progress/lib/node-progress.js"(exports, module2) {
27
27
  "use strict";
28
28
  exports = module2.exports = ProgressBar;
@@ -132,13 +132,13 @@ var require_node_progress = (0, import_chunk_QGM4M3NI.__commonJS)({
132
132
  };
133
133
  }
134
134
  });
135
- var require_progress = (0, import_chunk_QGM4M3NI.__commonJS)({
135
+ var require_progress = (0, import_chunk_2ESYSVXG.__commonJS)({
136
136
  "../../node_modules/.pnpm/progress@2.0.3/node_modules/progress/index.js"(exports, module2) {
137
137
  "use strict";
138
138
  module2.exports = require_node_progress();
139
139
  }
140
140
  });
141
- var import_progress = (0, import_chunk_QGM4M3NI.__toESM)(require_progress());
141
+ var import_progress = (0, import_chunk_2ESYSVXG.__toESM)(require_progress());
142
142
  function getBar(text) {
143
143
  return new import_progress.default(`> ${text} [:bar] :percent`, {
144
144
  stream: process.stdout,
@@ -16,14 +16,12 @@ 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_X37PZICB_exports = {};
20
- __export(chunk_X37PZICB_exports, {
19
+ var chunk_66KG5WKV_exports = {};
20
+ __export(chunk_66KG5WKV_exports, {
21
21
  BinaryType: () => BinaryType
22
22
  });
23
- module.exports = __toCommonJS(chunk_X37PZICB_exports);
23
+ module.exports = __toCommonJS(chunk_66KG5WKV_exports);
24
24
  var BinaryType = /* @__PURE__ */ ((BinaryType2) => {
25
- BinaryType2["QueryEngineBinary"] = "query-engine";
26
- BinaryType2["QueryEngineLibrary"] = "libquery-engine";
27
25
  BinaryType2["SchemaEngineBinary"] = "schema-engine";
28
26
  return BinaryType2;
29
27
  })(BinaryType || {});