@prisma/fetch-engine 6.5.0-integration-feat-get-rid-of-patches.1 → 6.5.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.
@@ -22,4 +22,4 @@ __export(BinaryType_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(BinaryType_exports);
24
24
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
25
- var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
25
+ var import_chunk_OSFPEEC6 = require("./chunk-OSFPEEC6.js");
@@ -22,4 +22,4 @@ __export(chmodPlusX_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(chmodPlusX_exports);
24
24
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
25
- var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
25
+ var import_chunk_OSFPEEC6 = require("./chunk-OSFPEEC6.js");
@@ -26,8 +26,8 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_XSNM3AMV_exports = {};
30
- __export(chunk_XSNM3AMV_exports, {
29
+ var chunk_7QDSDNVI_exports = {};
30
+ __export(chunk_7QDSDNVI_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,26 +35,26 @@ __export(chunk_XSNM3AMV_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_XSNM3AMV_exports);
39
- var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
38
+ module.exports = __toCommonJS(chunk_7QDSDNVI_exports);
39
+ var import_chunk_FXSJF4XA = require("./chunk-FXSJF4XA.js");
40
40
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
41
- var import_chunk_I3P4GT6A = require("./chunk-I3P4GT6A.js");
42
- var import_chunk_ORVVLJ4G = require("./chunk-ORVVLJ4G.js");
43
- var import_chunk_HACCWU3B = require("./chunk-HACCWU3B.js");
41
+ var import_chunk_SXLYQ75W = require("./chunk-SXLYQ75W.js");
42
+ var import_chunk_QWMYWBXN = require("./chunk-QWMYWBXN.js");
43
+ var import_chunk_TEEFYD2G = require("./chunk-TEEFYD2G.js");
44
44
  var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
45
45
  var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
46
- var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
46
+ var import_chunk_OSFPEEC6 = require("./chunk-OSFPEEC6.js");
47
47
  var import_debug = __toESM2(require("@prisma/debug"));
48
48
  var import_get_platform = require("@prisma/get-platform");
49
49
  var import_fs = __toESM2(require("fs"));
50
50
  var import_path = __toESM2(require("path"));
51
51
  var import_util = require("util");
52
- var require_windows = (0, import_chunk_AH6QHEOA.__commonJS)({
52
+ var require_windows = (0, import_chunk_OSFPEEC6.__commonJS)({
53
53
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module2) {
54
54
  "use strict";
55
55
  module2.exports = isexe;
56
56
  isexe.sync = sync;
57
- var fs2 = (0, import_chunk_AH6QHEOA.__require)("fs");
57
+ var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
58
58
  function checkPathExt(path2, options2) {
59
59
  var pathext = options2.pathExt !== void 0 ? options2.pathExt : process.env.PATHEXT;
60
60
  if (!pathext) {
@@ -88,12 +88,12 @@ var require_windows = (0, import_chunk_AH6QHEOA.__commonJS)({
88
88
  }
89
89
  }
90
90
  });
91
- var require_mode = (0, import_chunk_AH6QHEOA.__commonJS)({
91
+ var require_mode = (0, import_chunk_OSFPEEC6.__commonJS)({
92
92
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module2) {
93
93
  "use strict";
94
94
  module2.exports = isexe;
95
95
  isexe.sync = sync;
96
- var fs2 = (0, import_chunk_AH6QHEOA.__require)("fs");
96
+ var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
97
97
  function isexe(path2, options2, cb) {
98
98
  fs2.stat(path2, function(er, stat) {
99
99
  cb(er, er ? false : checkStat(stat, options2));
@@ -120,10 +120,10 @@ var require_mode = (0, import_chunk_AH6QHEOA.__commonJS)({
120
120
  }
121
121
  }
122
122
  });
123
- var require_isexe = (0, import_chunk_AH6QHEOA.__commonJS)({
123
+ var require_isexe = (0, import_chunk_OSFPEEC6.__commonJS)({
124
124
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module2) {
125
125
  "use strict";
126
- var fs2 = (0, import_chunk_AH6QHEOA.__require)("fs");
126
+ var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
127
127
  var core;
128
128
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
129
129
  core = require_windows();
@@ -174,11 +174,11 @@ var require_isexe = (0, import_chunk_AH6QHEOA.__commonJS)({
174
174
  }
175
175
  }
176
176
  });
177
- var require_which = (0, import_chunk_AH6QHEOA.__commonJS)({
177
+ var require_which = (0, import_chunk_OSFPEEC6.__commonJS)({
178
178
  "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module2) {
179
179
  "use strict";
180
180
  var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
181
- var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
181
+ var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
182
182
  var COLON = isWindows ? ";" : ":";
183
183
  var isexe = require_isexe();
184
184
  var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -269,7 +269,7 @@ var require_which = (0, import_chunk_AH6QHEOA.__commonJS)({
269
269
  which.sync = whichSync;
270
270
  }
271
271
  });
272
- var require_path_key = (0, import_chunk_AH6QHEOA.__commonJS)({
272
+ var require_path_key = (0, import_chunk_OSFPEEC6.__commonJS)({
273
273
  "../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module2) {
274
274
  "use strict";
275
275
  var pathKey = (options2 = {}) => {
@@ -284,10 +284,10 @@ var require_path_key = (0, import_chunk_AH6QHEOA.__commonJS)({
284
284
  module2.exports.default = pathKey;
285
285
  }
286
286
  });
287
- var require_resolveCommand = (0, import_chunk_AH6QHEOA.__commonJS)({
287
+ var require_resolveCommand = (0, import_chunk_OSFPEEC6.__commonJS)({
288
288
  "../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
289
289
  "use strict";
290
- var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
290
+ var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
291
291
  var which = require_which();
292
292
  var getPathKey = require_path_key();
293
293
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -324,7 +324,7 @@ var require_resolveCommand = (0, import_chunk_AH6QHEOA.__commonJS)({
324
324
  module2.exports = resolveCommand;
325
325
  }
326
326
  });
327
- var require_escape = (0, import_chunk_AH6QHEOA.__commonJS)({
327
+ var require_escape = (0, import_chunk_OSFPEEC6.__commonJS)({
328
328
  "../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
329
329
  "use strict";
330
330
  var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
@@ -347,13 +347,13 @@ var require_escape = (0, import_chunk_AH6QHEOA.__commonJS)({
347
347
  module2.exports.argument = escapeArgument;
348
348
  }
349
349
  });
350
- var require_shebang_regex = (0, import_chunk_AH6QHEOA.__commonJS)({
350
+ var require_shebang_regex = (0, import_chunk_OSFPEEC6.__commonJS)({
351
351
  "../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module2) {
352
352
  "use strict";
353
353
  module2.exports = /^#!(.*)/;
354
354
  }
355
355
  });
356
- var require_shebang_command = (0, import_chunk_AH6QHEOA.__commonJS)({
356
+ var require_shebang_command = (0, import_chunk_OSFPEEC6.__commonJS)({
357
357
  "../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module2) {
358
358
  "use strict";
359
359
  var shebangRegex = require_shebang_regex();
@@ -371,10 +371,10 @@ var require_shebang_command = (0, import_chunk_AH6QHEOA.__commonJS)({
371
371
  };
372
372
  }
373
373
  });
374
- var require_readShebang = (0, import_chunk_AH6QHEOA.__commonJS)({
374
+ var require_readShebang = (0, import_chunk_OSFPEEC6.__commonJS)({
375
375
  "../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
376
376
  "use strict";
377
- var fs2 = (0, import_chunk_AH6QHEOA.__require)("fs");
377
+ var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
378
378
  var shebangCommand = require_shebang_command();
379
379
  function readShebang(command) {
380
380
  const size = 150;
@@ -391,10 +391,10 @@ var require_readShebang = (0, import_chunk_AH6QHEOA.__commonJS)({
391
391
  module2.exports = readShebang;
392
392
  }
393
393
  });
394
- var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
394
+ var require_parse = (0, import_chunk_OSFPEEC6.__commonJS)({
395
395
  "../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
396
396
  "use strict";
397
- var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
397
+ var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
398
398
  var resolveCommand = require_resolveCommand();
399
399
  var escape = require_escape();
400
400
  var readShebang = require_readShebang();
@@ -451,7 +451,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
451
451
  module2.exports = parse;
452
452
  }
453
453
  });
454
- var require_enoent = (0, import_chunk_AH6QHEOA.__commonJS)({
454
+ var require_enoent = (0, import_chunk_OSFPEEC6.__commonJS)({
455
455
  "../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
456
456
  "use strict";
457
457
  var isWin = process.platform === "win32";
@@ -499,10 +499,10 @@ var require_enoent = (0, import_chunk_AH6QHEOA.__commonJS)({
499
499
  };
500
500
  }
501
501
  });
502
- var require_cross_spawn = (0, import_chunk_AH6QHEOA.__commonJS)({
502
+ var require_cross_spawn = (0, import_chunk_OSFPEEC6.__commonJS)({
503
503
  "../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js"(exports, module2) {
504
504
  "use strict";
505
- var cp = (0, import_chunk_AH6QHEOA.__require)("child_process");
505
+ var cp = (0, import_chunk_OSFPEEC6.__require)("child_process");
506
506
  var parse = require_parse();
507
507
  var enoent = require_enoent();
508
508
  function spawn(command, args, options2) {
@@ -524,7 +524,7 @@ var require_cross_spawn = (0, import_chunk_AH6QHEOA.__commonJS)({
524
524
  module2.exports._enoent = enoent;
525
525
  }
526
526
  });
527
- var require_strip_final_newline = (0, import_chunk_AH6QHEOA.__commonJS)({
527
+ var require_strip_final_newline = (0, import_chunk_OSFPEEC6.__commonJS)({
528
528
  "../../node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js"(exports, module2) {
529
529
  "use strict";
530
530
  module2.exports = (input) => {
@@ -540,10 +540,10 @@ var require_strip_final_newline = (0, import_chunk_AH6QHEOA.__commonJS)({
540
540
  };
541
541
  }
542
542
  });
543
- var require_npm_run_path = (0, import_chunk_AH6QHEOA.__commonJS)({
543
+ var require_npm_run_path = (0, import_chunk_OSFPEEC6.__commonJS)({
544
544
  "../../node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js"(exports, module2) {
545
545
  "use strict";
546
- var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
546
+ var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
547
547
  var pathKey = require_path_key();
548
548
  var npmRunPath = (options2) => {
549
549
  options2 = {
@@ -579,7 +579,7 @@ var require_npm_run_path = (0, import_chunk_AH6QHEOA.__commonJS)({
579
579
  };
580
580
  }
581
581
  });
582
- var require_mimic_fn = (0, import_chunk_AH6QHEOA.__commonJS)({
582
+ var require_mimic_fn = (0, import_chunk_OSFPEEC6.__commonJS)({
583
583
  "../../node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js"(exports, module2) {
584
584
  "use strict";
585
585
  var mimicFn = (to, from) => {
@@ -592,7 +592,7 @@ var require_mimic_fn = (0, import_chunk_AH6QHEOA.__commonJS)({
592
592
  module2.exports.default = mimicFn;
593
593
  }
594
594
  });
595
- var require_onetime = (0, import_chunk_AH6QHEOA.__commonJS)({
595
+ var require_onetime = (0, import_chunk_OSFPEEC6.__commonJS)({
596
596
  "../../node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js"(exports, module2) {
597
597
  "use strict";
598
598
  var mimicFn = require_mimic_fn();
@@ -628,7 +628,7 @@ var require_onetime = (0, import_chunk_AH6QHEOA.__commonJS)({
628
628
  };
629
629
  }
630
630
  });
631
- var require_core = (0, import_chunk_AH6QHEOA.__commonJS)({
631
+ var require_core = (0, import_chunk_OSFPEEC6.__commonJS)({
632
632
  "../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/core.js"(exports) {
633
633
  "use strict";
634
634
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -907,7 +907,7 @@ var require_core = (0, import_chunk_AH6QHEOA.__commonJS)({
907
907
  exports.SIGNALS = SIGNALS;
908
908
  }
909
909
  });
910
- var require_realtime = (0, import_chunk_AH6QHEOA.__commonJS)({
910
+ var require_realtime = (0, import_chunk_OSFPEEC6.__commonJS)({
911
911
  "../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/realtime.js"(exports) {
912
912
  "use strict";
913
913
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -931,12 +931,12 @@ var require_realtime = (0, import_chunk_AH6QHEOA.__commonJS)({
931
931
  exports.SIGRTMAX = SIGRTMAX;
932
932
  }
933
933
  });
934
- var require_signals = (0, import_chunk_AH6QHEOA.__commonJS)({
934
+ var require_signals = (0, import_chunk_OSFPEEC6.__commonJS)({
935
935
  "../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/signals.js"(exports) {
936
936
  "use strict";
937
937
  Object.defineProperty(exports, "__esModule", { value: true });
938
938
  exports.getSignals = void 0;
939
- var _os = (0, import_chunk_AH6QHEOA.__require)("os");
939
+ var _os = (0, import_chunk_OSFPEEC6.__require)("os");
940
940
  var _core = require_core();
941
941
  var _realtime = require_realtime();
942
942
  var getSignals = function() {
@@ -962,12 +962,12 @@ var require_signals = (0, import_chunk_AH6QHEOA.__commonJS)({
962
962
  };
963
963
  }
964
964
  });
965
- var require_main = (0, import_chunk_AH6QHEOA.__commonJS)({
965
+ var require_main = (0, import_chunk_OSFPEEC6.__commonJS)({
966
966
  "../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.js"(exports) {
967
967
  "use strict";
968
968
  Object.defineProperty(exports, "__esModule", { value: true });
969
969
  exports.signalsByNumber = exports.signalsByName = void 0;
970
- var _os = (0, import_chunk_AH6QHEOA.__require)("os");
970
+ var _os = (0, import_chunk_OSFPEEC6.__require)("os");
971
971
  var _signals = require_signals();
972
972
  var _realtime = require_realtime();
973
973
  var getSignalsByName = function() {
@@ -1017,7 +1017,7 @@ var require_main = (0, import_chunk_AH6QHEOA.__commonJS)({
1017
1017
  exports.signalsByNumber = signalsByNumber;
1018
1018
  }
1019
1019
  });
1020
- var require_error = (0, import_chunk_AH6QHEOA.__commonJS)({
1020
+ var require_error = (0, import_chunk_OSFPEEC6.__commonJS)({
1021
1021
  "../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js"(exports, module2) {
1022
1022
  "use strict";
1023
1023
  var { signalsByName } = require_main();
@@ -1092,7 +1092,7 @@ ${error.message}` : execaMessage;
1092
1092
  module2.exports = makeError;
1093
1093
  }
1094
1094
  });
1095
- var require_stdio = (0, import_chunk_AH6QHEOA.__commonJS)({
1095
+ var require_stdio = (0, import_chunk_OSFPEEC6.__commonJS)({
1096
1096
  "../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js"(exports, module2) {
1097
1097
  "use strict";
1098
1098
  var aliases = ["stdin", "stdout", "stderr"];
@@ -1133,7 +1133,7 @@ var require_stdio = (0, import_chunk_AH6QHEOA.__commonJS)({
1133
1133
  };
1134
1134
  }
1135
1135
  });
1136
- var require_signals2 = (0, import_chunk_AH6QHEOA.__commonJS)({
1136
+ var require_signals2 = (0, import_chunk_OSFPEEC6.__commonJS)({
1137
1137
  "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module2) {
1138
1138
  "use strict";
1139
1139
  module2.exports = [
@@ -1169,7 +1169,7 @@ var require_signals2 = (0, import_chunk_AH6QHEOA.__commonJS)({
1169
1169
  }
1170
1170
  }
1171
1171
  });
1172
- var require_signal_exit = (0, import_chunk_AH6QHEOA.__commonJS)({
1172
+ var require_signal_exit = (0, import_chunk_OSFPEEC6.__commonJS)({
1173
1173
  "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module2) {
1174
1174
  "use strict";
1175
1175
  var process2 = global.process;
@@ -1182,10 +1182,10 @@ var require_signal_exit = (0, import_chunk_AH6QHEOA.__commonJS)({
1182
1182
  };
1183
1183
  };
1184
1184
  } else {
1185
- assert = (0, import_chunk_AH6QHEOA.__require)("assert");
1185
+ assert = (0, import_chunk_OSFPEEC6.__require)("assert");
1186
1186
  signals = require_signals2();
1187
1187
  isWin = /^win/i.test(process2.platform);
1188
- EE = (0, import_chunk_AH6QHEOA.__require)("events");
1188
+ EE = (0, import_chunk_OSFPEEC6.__require)("events");
1189
1189
  if (typeof EE !== "function") {
1190
1190
  EE = EE.EventEmitter;
1191
1191
  }
@@ -1327,10 +1327,10 @@ var require_signal_exit = (0, import_chunk_AH6QHEOA.__commonJS)({
1327
1327
  var processEmit;
1328
1328
  }
1329
1329
  });
1330
- var require_kill = (0, import_chunk_AH6QHEOA.__commonJS)({
1330
+ var require_kill = (0, import_chunk_OSFPEEC6.__commonJS)({
1331
1331
  "../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js"(exports, module2) {
1332
1332
  "use strict";
1333
- var os2 = (0, import_chunk_AH6QHEOA.__require)("os");
1333
+ var os2 = (0, import_chunk_OSFPEEC6.__require)("os");
1334
1334
  var onExit = require_signal_exit();
1335
1335
  var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
1336
1336
  var spawnedKill = (kill, signal = "SIGTERM", options2 = {}) => {
@@ -1415,10 +1415,10 @@ var require_kill = (0, import_chunk_AH6QHEOA.__commonJS)({
1415
1415
  };
1416
1416
  }
1417
1417
  });
1418
- var require_buffer_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1418
+ var require_buffer_stream = (0, import_chunk_OSFPEEC6.__commonJS)({
1419
1419
  "../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js"(exports, module2) {
1420
1420
  "use strict";
1421
- var { PassThrough: PassThroughStream } = (0, import_chunk_AH6QHEOA.__require)("stream");
1421
+ var { PassThrough: PassThroughStream } = (0, import_chunk_OSFPEEC6.__require)("stream");
1422
1422
  module2.exports = (options2) => {
1423
1423
  options2 = { ...options2 };
1424
1424
  const { array } = options2;
@@ -1458,12 +1458,12 @@ var require_buffer_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1458
1458
  };
1459
1459
  }
1460
1460
  });
1461
- var require_get_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1461
+ var require_get_stream = (0, import_chunk_OSFPEEC6.__commonJS)({
1462
1462
  "../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js"(exports, module2) {
1463
1463
  "use strict";
1464
- var { constants: BufferConstants } = (0, import_chunk_AH6QHEOA.__require)("buffer");
1465
- var stream = (0, import_chunk_AH6QHEOA.__require)("stream");
1466
- var { promisify: promisify2 } = (0, import_chunk_AH6QHEOA.__require)("util");
1464
+ var { constants: BufferConstants } = (0, import_chunk_OSFPEEC6.__require)("buffer");
1465
+ var stream = (0, import_chunk_OSFPEEC6.__require)("stream");
1466
+ var { promisify: promisify2 } = (0, import_chunk_OSFPEEC6.__require)("util");
1467
1467
  var bufferStream = require_buffer_stream();
1468
1468
  var streamPipelinePromisified = promisify2(stream.pipeline);
1469
1469
  var MaxBufferError = class extends Error {
@@ -1511,10 +1511,10 @@ var require_get_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1511
1511
  module2.exports.MaxBufferError = MaxBufferError;
1512
1512
  }
1513
1513
  });
1514
- var require_merge_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1514
+ var require_merge_stream = (0, import_chunk_OSFPEEC6.__commonJS)({
1515
1515
  "../../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js"(exports, module2) {
1516
1516
  "use strict";
1517
- var { PassThrough } = (0, import_chunk_AH6QHEOA.__require)("stream");
1517
+ var { PassThrough } = (0, import_chunk_OSFPEEC6.__require)("stream");
1518
1518
  module2.exports = function() {
1519
1519
  var sources = [];
1520
1520
  var output = new PassThrough({ objectMode: true });
@@ -1549,10 +1549,10 @@ var require_merge_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1549
1549
  };
1550
1550
  }
1551
1551
  });
1552
- var require_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1552
+ var require_stream = (0, import_chunk_OSFPEEC6.__commonJS)({
1553
1553
  "../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js"(exports, module2) {
1554
1554
  "use strict";
1555
- var isStream = (0, import_chunk_ORVVLJ4G.require_is_stream)();
1555
+ var isStream = (0, import_chunk_QWMYWBXN.require_is_stream)();
1556
1556
  var getStream = require_get_stream();
1557
1557
  var mergeStream = require_merge_stream();
1558
1558
  var handleInput = (spawned, input) => {
@@ -1626,7 +1626,7 @@ var require_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1626
1626
  };
1627
1627
  }
1628
1628
  });
1629
- var require_promise = (0, import_chunk_AH6QHEOA.__commonJS)({
1629
+ var require_promise = (0, import_chunk_OSFPEEC6.__commonJS)({
1630
1630
  "../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js"(exports, module2) {
1631
1631
  "use strict";
1632
1632
  var nativePromisePrototype = (async () => {
@@ -1663,7 +1663,7 @@ var require_promise = (0, import_chunk_AH6QHEOA.__commonJS)({
1663
1663
  };
1664
1664
  }
1665
1665
  });
1666
- var require_command = (0, import_chunk_AH6QHEOA.__commonJS)({
1666
+ var require_command = (0, import_chunk_OSFPEEC6.__commonJS)({
1667
1667
  "../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js"(exports, module2) {
1668
1668
  "use strict";
1669
1669
  var normalizeArgs = (file2, args = []) => {
@@ -1706,11 +1706,11 @@ var require_command = (0, import_chunk_AH6QHEOA.__commonJS)({
1706
1706
  };
1707
1707
  }
1708
1708
  });
1709
- var require_execa = (0, import_chunk_AH6QHEOA.__commonJS)({
1709
+ var require_execa = (0, import_chunk_OSFPEEC6.__commonJS)({
1710
1710
  "../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js"(exports, module2) {
1711
1711
  "use strict";
1712
- var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
1713
- var childProcess = (0, import_chunk_AH6QHEOA.__require)("child_process");
1712
+ var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
1713
+ var childProcess = (0, import_chunk_OSFPEEC6.__require)("child_process");
1714
1714
  var crossSpawn = require_cross_spawn();
1715
1715
  var stripFinalNewline = require_strip_final_newline();
1716
1716
  var npmRunPath = require_npm_run_path();
@@ -1932,7 +1932,7 @@ var require_execa = (0, import_chunk_AH6QHEOA.__commonJS)({
1932
1932
  };
1933
1933
  }
1934
1934
  });
1935
- var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
1935
+ var require_package = (0, import_chunk_OSFPEEC6.__commonJS)({
1936
1936
  "package.json"(exports, module2) {
1937
1937
  module2.exports = {
1938
1938
  name: "@prisma/fetch-engine",
@@ -1970,7 +1970,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
1970
1970
  "p-map": "4.0.0",
1971
1971
  "p-retry": "4.6.2",
1972
1972
  progress: "2.0.3",
1973
- rimraf: "3.0.2",
1973
+ rimraf: "6.0.1",
1974
1974
  "strip-ansi": "6.0.1",
1975
1975
  "temp-dir": "2.0.0",
1976
1976
  tempy: "1.0.1",
@@ -1979,7 +1979,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
1979
1979
  },
1980
1980
  dependencies: {
1981
1981
  "@prisma/debug": "workspace:*",
1982
- "@prisma/engines-version": "6.5.0-54.1ea2fdf6bb4482f4af05b7f54f20273ddb71a8fe",
1982
+ "@prisma/engines-version": "6.5.0-73.173f8d54f8d52e692c7e27e72a88314ec7aeff60",
1983
1983
  "@prisma/get-platform": "workspace:*"
1984
1984
  },
1985
1985
  scripts: {
@@ -1996,8 +1996,8 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
1996
1996
  };
1997
1997
  }
1998
1998
  });
1999
- var import_execa = (0, import_chunk_AH6QHEOA.__toESM)(require_execa());
2000
- var import_fs_extra = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_HACCWU3B.require_lib)());
1999
+ var import_execa = (0, import_chunk_OSFPEEC6.__toESM)(require_execa());
2000
+ var import_fs_extra = (0, import_chunk_OSFPEEC6.__toESM)((0, import_chunk_TEEFYD2G.require_lib)());
2001
2001
  async function pMap(iterable, mapper, {
2002
2002
  concurrency = Number.POSITIVE_INFINITY,
2003
2003
  stopOnError = true,
@@ -2127,7 +2127,7 @@ async function pFilter(iterable, filterer, options2) {
2127
2127
  );
2128
2128
  return values.filter((value) => Boolean(value[0])).map((value) => value[1]);
2129
2129
  }
2130
- var import_temp_dir = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_ORVVLJ4G.require_temp_dir)());
2130
+ var import_temp_dir = (0, import_chunk_OSFPEEC6.__toESM)((0, import_chunk_QWMYWBXN.require_temp_dir)());
2131
2131
  var { enginesOverride } = require_package();
2132
2132
  var debug = (0, import_debug.default)("prisma:fetch-engine:download");
2133
2133
  var exists = (0, import_util.promisify)(import_fs.default.exists);
@@ -2194,7 +2194,7 @@ async function download(options) {
2194
2194
  return shouldDownload;
2195
2195
  });
2196
2196
  if (binariesToDownload.length > 0) {
2197
- const cleanupPromise = (0, import_chunk_I3P4GT6A.cleanupCache)();
2197
+ const cleanupPromise = (0, import_chunk_SXLYQ75W.cleanupCache)();
2198
2198
  let finishBar;
2199
2199
  let setProgress;
2200
2200
  if (opts.showProgress) {
@@ -2203,7 +2203,7 @@ async function download(options) {
2203
2203
  setProgress = collectiveBar.setProgress;
2204
2204
  }
2205
2205
  const promises = binariesToDownload.map((job) => {
2206
- const downloadUrl = (0, import_chunk_HACCWU3B.getDownloadUrl)({
2206
+ const downloadUrl = (0, import_chunk_TEEFYD2G.getDownloadUrl)({
2207
2207
  channel: "all_commits",
2208
2208
  version: opts.version,
2209
2209
  binaryTarget: job.binaryTarget,
@@ -2239,7 +2239,7 @@ async function download(options) {
2239
2239
  }
2240
2240
  function getCollectiveBar(options2) {
2241
2241
  const hasNodeAPI = "libquery-engine" in options2.binaries;
2242
- const bar = (0, import_chunk_4LX3XBNY.getBar)(
2242
+ const bar = (0, import_chunk_FXSJF4XA.getBar)(
2243
2243
  `Downloading Prisma engines${hasNodeAPI ? " for Node-API" : ""} for ${options2.binaryTargets?.map((p) => (0, import_chunk_PXQVM7NP.bold)(p)).join(" and ")}`
2244
2244
  );
2245
2245
  const progressMap = {};
@@ -2285,7 +2285,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2285
2285
  });
2286
2286
  if (cachedFile) {
2287
2287
  if (job.skipCacheIntegrityCheck === true) {
2288
- await (0, import_chunk_HACCWU3B.overwriteFile)(cachedFile, job.targetFilePath);
2288
+ await (0, import_chunk_TEEFYD2G.overwriteFile)(cachedFile, job.targetFilePath);
2289
2289
  return false;
2290
2290
  }
2291
2291
  const sha256FilePath = cachedFile + ".sha256";
@@ -2296,12 +2296,12 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2296
2296
  if (!targetExists) {
2297
2297
  debug(`copying ${cachedFile} to ${job.targetFilePath}`);
2298
2298
  await import_fs.default.promises.utimes(cachedFile, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date());
2299
- await (0, import_chunk_HACCWU3B.overwriteFile)(cachedFile, job.targetFilePath);
2299
+ await (0, import_chunk_TEEFYD2G.overwriteFile)(cachedFile, job.targetFilePath);
2300
2300
  }
2301
2301
  const targetSha256 = await (0, import_chunk_CWGQAQ3T.getHash)(job.targetFilePath);
2302
2302
  if (sha256File !== targetSha256) {
2303
2303
  debug(`overwriting ${job.targetFilePath} with ${cachedFile} as hashes do not match`);
2304
- await (0, import_chunk_HACCWU3B.overwriteFile)(cachedFile, job.targetFilePath);
2304
+ await (0, import_chunk_TEEFYD2G.overwriteFile)(cachedFile, job.targetFilePath);
2305
2305
  }
2306
2306
  return false;
2307
2307
  } else {
@@ -2316,7 +2316,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
2316
2316
  }
2317
2317
  if (cachedFile) {
2318
2318
  debug(`copying ${cachedFile} to ${job.targetFilePath}`);
2319
- await (0, import_chunk_HACCWU3B.overwriteFile)(cachedFile, job.targetFilePath);
2319
+ await (0, import_chunk_TEEFYD2G.overwriteFile)(cachedFile, job.targetFilePath);
2320
2320
  return false;
2321
2321
  }
2322
2322
  return true;
@@ -2341,7 +2341,7 @@ async function getVersion(enginePath, binaryName) {
2341
2341
  try {
2342
2342
  if (binaryName === "libquery-engine") {
2343
2343
  (0, import_get_platform.assertNodeAPISupported)();
2344
- const commitHash = (0, import_chunk_AH6QHEOA.__require)(enginePath).version().commit;
2344
+ const commitHash = (0, import_chunk_OSFPEEC6.__require)(enginePath).version().commit;
2345
2345
  return `${"libquery-engine"} ${commitHash}`;
2346
2346
  } else {
2347
2347
  const result = await (0, import_execa.default)(enginePath, ["--version"]);
@@ -2363,7 +2363,7 @@ async function getCachedBinaryPath({
2363
2363
  binaryTarget: binaryTarget2,
2364
2364
  binaryName
2365
2365
  }) {
2366
- const cacheDir = await (0, import_chunk_HACCWU3B.getCacheDir)(channel, version, binaryTarget2);
2366
+ const cacheDir = await (0, import_chunk_TEEFYD2G.getCacheDir)(channel, version, binaryTarget2);
2367
2367
  if (!cacheDir) {
2368
2368
  return null;
2369
2369
  }
@@ -2396,7 +2396,7 @@ async function downloadBinary(options2) {
2396
2396
  if (progressCb) {
2397
2397
  progressCb(0);
2398
2398
  }
2399
- const { sha256, zippedSha256 } = await (0, import_chunk_ORVVLJ4G.downloadZip)(downloadUrl, targetFilePath, progressCb);
2399
+ const { sha256, zippedSha256 } = await (0, import_chunk_QWMYWBXN.downloadZip)(downloadUrl, targetFilePath, progressCb);
2400
2400
  if (progressCb) {
2401
2401
  progressCb(1);
2402
2402
  }
@@ -2404,7 +2404,7 @@ async function downloadBinary(options2) {
2404
2404
  await saveFileToCache(options2, version, sha256, zippedSha256);
2405
2405
  }
2406
2406
  async function saveFileToCache(job, version, sha256, zippedSha256) {
2407
- const cacheDir = await (0, import_chunk_HACCWU3B.getCacheDir)(channel, version, job.binaryTarget);
2407
+ const cacheDir = await (0, import_chunk_TEEFYD2G.getCacheDir)(channel, version, job.binaryTarget);
2408
2408
  if (!cacheDir) {
2409
2409
  return;
2410
2410
  }
@@ -2412,7 +2412,7 @@ async function saveFileToCache(job, version, sha256, zippedSha256) {
2412
2412
  const cachedSha256Path = import_path.default.join(cacheDir, job.binaryName + ".sha256");
2413
2413
  const cachedSha256ZippedPath = import_path.default.join(cacheDir, job.binaryName + ".gz.sha256");
2414
2414
  try {
2415
- await (0, import_chunk_HACCWU3B.overwriteFile)(job.targetFilePath, cachedTargetPath);
2415
+ await (0, import_chunk_TEEFYD2G.overwriteFile)(job.targetFilePath, cachedTargetPath);
2416
2416
  if (sha256 != null) {
2417
2417
  await import_fs.default.promises.writeFile(cachedSha256Path, sha256);
2418
2418
  }