@prisma/fetch-engine 6.3.0-dev.20 → 6.3.0-dev.21

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,17 +26,17 @@ 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_BBQM2DBF_exports = {};
30
- __export(chunk_BBQM2DBF_exports, {
29
+ var chunk_7NQURTUG_exports = {};
30
+ __export(chunk_7NQURTUG_exports, {
31
31
  downloadZip: () => downloadZip,
32
32
  require_is_stream: () => require_is_stream,
33
33
  require_temp_dir: () => require_temp_dir
34
34
  });
35
- module.exports = __toCommonJS(chunk_BBQM2DBF_exports);
35
+ module.exports = __toCommonJS(chunk_7NQURTUG_exports);
36
36
  var import_chunk_TIRVZJHP = require("./chunk-TIRVZJHP.js");
37
37
  var import_chunk_ZAFWMCVK = require("./chunk-ZAFWMCVK.js");
38
38
  var import_chunk_G7EM4XDM = require("./chunk-G7EM4XDM.js");
39
- var import_chunk_OFSFRIEP = require("./chunk-OFSFRIEP.js");
39
+ var import_chunk_AGZFDFHU = require("./chunk-AGZFDFHU.js");
40
40
  var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
41
41
  var import_debug = __toESM(require("@prisma/debug"));
42
42
  var import_fs = __toESM(require("fs"));
@@ -643,7 +643,7 @@ var require_merge2 = (0, import_chunk_AH6QHEOA.__commonJS)({
643
643
  }
644
644
  });
645
645
  var require_array = (0, import_chunk_AH6QHEOA.__commonJS)({
646
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/array.js"(exports) {
646
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
647
647
  "use strict";
648
648
  Object.defineProperty(exports, "__esModule", { value: true });
649
649
  exports.splitWhen = exports.flatten = void 0;
@@ -668,7 +668,7 @@ var require_array = (0, import_chunk_AH6QHEOA.__commonJS)({
668
668
  }
669
669
  });
670
670
  var require_errno = (0, import_chunk_AH6QHEOA.__commonJS)({
671
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/errno.js"(exports) {
671
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports) {
672
672
  "use strict";
673
673
  Object.defineProperty(exports, "__esModule", { value: true });
674
674
  exports.isEnoentCodeError = void 0;
@@ -679,7 +679,7 @@ var require_errno = (0, import_chunk_AH6QHEOA.__commonJS)({
679
679
  }
680
680
  });
681
681
  var require_fs = (0, import_chunk_AH6QHEOA.__commonJS)({
682
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/fs.js"(exports) {
682
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports) {
683
683
  "use strict";
684
684
  Object.defineProperty(exports, "__esModule", { value: true });
685
685
  exports.createDirentFromStats = void 0;
@@ -702,7 +702,7 @@ var require_fs = (0, import_chunk_AH6QHEOA.__commonJS)({
702
702
  }
703
703
  });
704
704
  var require_path = (0, import_chunk_AH6QHEOA.__commonJS)({
705
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/path.js"(exports) {
705
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports) {
706
706
  "use strict";
707
707
  Object.defineProperty(exports, "__esModule", { value: true });
708
708
  exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
@@ -926,7 +926,7 @@ var require_glob_parent = (0, import_chunk_AH6QHEOA.__commonJS)({
926
926
  }
927
927
  });
928
928
  var require_utils = (0, import_chunk_AH6QHEOA.__commonJS)({
929
- "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.js"(exports) {
929
+ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
930
930
  "use strict";
931
931
  exports.isInteger = (num) => {
932
932
  if (typeof num === "number") {
@@ -944,7 +944,7 @@ var require_utils = (0, import_chunk_AH6QHEOA.__commonJS)({
944
944
  return (Number(max) - Number(min)) / Number(step) >= limit;
945
945
  };
946
946
  exports.escapeNode = (block, n = 0, type) => {
947
- let node = block.nodes[n];
947
+ const node = block.nodes[n];
948
948
  if (!node) return;
949
949
  if (type && node.type === type || node.type === "open" || node.type === "close") {
950
950
  if (node.escaped !== true) {
@@ -989,8 +989,14 @@ var require_utils = (0, import_chunk_AH6QHEOA.__commonJS)({
989
989
  const result = [];
990
990
  const flat = (arr) => {
991
991
  for (let i = 0; i < arr.length; i++) {
992
- let ele = arr[i];
993
- Array.isArray(ele) ? flat(ele, result) : ele !== void 0 && result.push(ele);
992
+ const ele = arr[i];
993
+ if (Array.isArray(ele)) {
994
+ flat(ele);
995
+ continue;
996
+ }
997
+ if (ele !== void 0) {
998
+ result.push(ele);
999
+ }
994
1000
  }
995
1001
  return result;
996
1002
  };
@@ -1000,13 +1006,13 @@ var require_utils = (0, import_chunk_AH6QHEOA.__commonJS)({
1000
1006
  }
1001
1007
  });
1002
1008
  var require_stringify = (0, import_chunk_AH6QHEOA.__commonJS)({
1003
- "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js"(exports, module2) {
1009
+ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module2) {
1004
1010
  "use strict";
1005
1011
  var utils = require_utils();
1006
1012
  module2.exports = (ast, options = {}) => {
1007
- let stringify = (node, parent = {}) => {
1008
- let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);
1009
- let invalidNode = node.invalid === true && options.escapeInvalid === true;
1013
+ const stringify = (node, parent = {}) => {
1014
+ const invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);
1015
+ const invalidNode = node.invalid === true && options.escapeInvalid === true;
1010
1016
  let output = "";
1011
1017
  if (node.value) {
1012
1018
  if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) {
@@ -1018,7 +1024,7 @@ var require_stringify = (0, import_chunk_AH6QHEOA.__commonJS)({
1018
1024
  return node.value;
1019
1025
  }
1020
1026
  if (node.nodes) {
1021
- for (let child of node.nodes) {
1027
+ for (const child of node.nodes) {
1022
1028
  output += stringify(child);
1023
1029
  }
1024
1030
  }
@@ -1444,21 +1450,22 @@ var require_fill_range = (0, import_chunk_AH6QHEOA.__commonJS)({
1444
1450
  }
1445
1451
  });
1446
1452
  var require_compile = (0, import_chunk_AH6QHEOA.__commonJS)({
1447
- "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js"(exports, module2) {
1453
+ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module2) {
1448
1454
  "use strict";
1449
1455
  var fill = require_fill_range();
1450
1456
  var utils = require_utils();
1451
1457
  var compile = (ast, options = {}) => {
1452
- let walk = (node, parent = {}) => {
1453
- let invalidBlock = utils.isInvalidBrace(parent);
1454
- let invalidNode = node.invalid === true && options.escapeInvalid === true;
1455
- let invalid = invalidBlock === true || invalidNode === true;
1456
- let prefix = options.escapeInvalid === true ? "\\" : "";
1458
+ const walk = (node, parent = {}) => {
1459
+ const invalidBlock = utils.isInvalidBrace(parent);
1460
+ const invalidNode = node.invalid === true && options.escapeInvalid === true;
1461
+ const invalid = invalidBlock === true || invalidNode === true;
1462
+ const prefix = options.escapeInvalid === true ? "\\" : "";
1457
1463
  let output = "";
1458
1464
  if (node.isOpen === true) {
1459
1465
  return prefix + node.value;
1460
1466
  }
1461
1467
  if (node.isClose === true) {
1468
+ console.log("node.isClose", prefix, node.value);
1462
1469
  return prefix + node.value;
1463
1470
  }
1464
1471
  if (node.type === "open") {
@@ -1474,14 +1481,14 @@ var require_compile = (0, import_chunk_AH6QHEOA.__commonJS)({
1474
1481
  return node.value;
1475
1482
  }
1476
1483
  if (node.nodes && node.ranges > 0) {
1477
- let args = utils.reduce(node.nodes);
1478
- let range = fill(...args, { ...options, wrap: false, toRegex: true });
1484
+ const args = utils.reduce(node.nodes);
1485
+ const range = fill(...args, { ...options, wrap: false, toRegex: true, strictZeros: true });
1479
1486
  if (range.length !== 0) {
1480
1487
  return args.length > 1 && range.length > 1 ? `(${range})` : range;
1481
1488
  }
1482
1489
  }
1483
1490
  if (node.nodes) {
1484
- for (let child of node.nodes) {
1491
+ for (const child of node.nodes) {
1485
1492
  output += walk(child, node);
1486
1493
  }
1487
1494
  }
@@ -1493,22 +1500,22 @@ var require_compile = (0, import_chunk_AH6QHEOA.__commonJS)({
1493
1500
  }
1494
1501
  });
1495
1502
  var require_expand = (0, import_chunk_AH6QHEOA.__commonJS)({
1496
- "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js"(exports, module2) {
1503
+ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module2) {
1497
1504
  "use strict";
1498
1505
  var fill = require_fill_range();
1499
1506
  var stringify = require_stringify();
1500
1507
  var utils = require_utils();
1501
1508
  var append = (queue = "", stash = "", enclose = false) => {
1502
- let result = [];
1509
+ const result = [];
1503
1510
  queue = [].concat(queue);
1504
1511
  stash = [].concat(stash);
1505
1512
  if (!stash.length) return queue;
1506
1513
  if (!queue.length) {
1507
1514
  return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash;
1508
1515
  }
1509
- for (let item of queue) {
1516
+ for (const item of queue) {
1510
1517
  if (Array.isArray(item)) {
1511
- for (let value of item) {
1518
+ for (const value of item) {
1512
1519
  result.push(append(value, stash, enclose));
1513
1520
  }
1514
1521
  } else {
@@ -1521,8 +1528,8 @@ var require_expand = (0, import_chunk_AH6QHEOA.__commonJS)({
1521
1528
  return utils.flatten(result);
1522
1529
  };
1523
1530
  var expand = (ast, options = {}) => {
1524
- let rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit;
1525
- let walk = (node, parent = {}) => {
1531
+ const rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit;
1532
+ const walk = (node, parent = {}) => {
1526
1533
  node.queue = [];
1527
1534
  let p = parent;
1528
1535
  let q = parent.queue;
@@ -1539,7 +1546,7 @@ var require_expand = (0, import_chunk_AH6QHEOA.__commonJS)({
1539
1546
  return;
1540
1547
  }
1541
1548
  if (node.nodes && node.ranges > 0) {
1542
- let args = utils.reduce(node.nodes);
1549
+ const args = utils.reduce(node.nodes);
1543
1550
  if (utils.exceedsLimit(...args, options.step, rangeLimit)) {
1544
1551
  throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
1545
1552
  }
@@ -1551,7 +1558,7 @@ var require_expand = (0, import_chunk_AH6QHEOA.__commonJS)({
1551
1558
  node.nodes = [];
1552
1559
  return;
1553
1560
  }
1554
- let enclose = utils.encloseBrace(node);
1561
+ const enclose = utils.encloseBrace(node);
1555
1562
  let queue = node.queue;
1556
1563
  let block = node;
1557
1564
  while (block.type !== "brace" && block.type !== "root" && block.parent) {
@@ -1559,7 +1566,7 @@ var require_expand = (0, import_chunk_AH6QHEOA.__commonJS)({
1559
1566
  queue = block.queue;
1560
1567
  }
1561
1568
  for (let i = 0; i < node.nodes.length; i++) {
1562
- let child = node.nodes[i];
1569
+ const child = node.nodes[i];
1563
1570
  if (child.type === "comma" && node.type === "brace") {
1564
1571
  if (i === 1) queue.push("");
1565
1572
  queue.push("");
@@ -1585,10 +1592,10 @@ var require_expand = (0, import_chunk_AH6QHEOA.__commonJS)({
1585
1592
  }
1586
1593
  });
1587
1594
  var require_constants = (0, import_chunk_AH6QHEOA.__commonJS)({
1588
- "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js"(exports, module2) {
1595
+ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module2) {
1589
1596
  "use strict";
1590
1597
  module2.exports = {
1591
- MAX_LENGTH: 1024 * 64,
1598
+ MAX_LENGTH: 1e4,
1592
1599
  // Digits
1593
1600
  CHAR_0: "0",
1594
1601
  /* 0 */
@@ -1684,7 +1691,7 @@ var require_constants = (0, import_chunk_AH6QHEOA.__commonJS)({
1684
1691
  }
1685
1692
  });
1686
1693
  var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1687
- "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js"(exports, module2) {
1694
+ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module2) {
1688
1695
  "use strict";
1689
1696
  var stringify = require_stringify();
1690
1697
  var {
@@ -1720,21 +1727,20 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1720
1727
  if (typeof input !== "string") {
1721
1728
  throw new TypeError("Expected a string");
1722
1729
  }
1723
- let opts = options || {};
1724
- let max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
1730
+ const opts = options || {};
1731
+ const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
1725
1732
  if (input.length > max) {
1726
1733
  throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
1727
1734
  }
1728
- let ast = { type: "root", input, nodes: [] };
1729
- let stack = [ast];
1735
+ const ast = { type: "root", input, nodes: [] };
1736
+ const stack = [ast];
1730
1737
  let block = ast;
1731
1738
  let prev = ast;
1732
1739
  let brackets = 0;
1733
- let length = input.length;
1740
+ const length = input.length;
1734
1741
  let index = 0;
1735
1742
  let depth = 0;
1736
1743
  let value;
1737
- let memo = {};
1738
1744
  const advance = () => input[index++];
1739
1745
  const push = (node) => {
1740
1746
  if (node.type === "text" && prev.type === "dot") {
@@ -1767,7 +1773,6 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1767
1773
  }
1768
1774
  if (value === CHAR_LEFT_SQUARE_BRACKET) {
1769
1775
  brackets++;
1770
- let closed = true;
1771
1776
  let next;
1772
1777
  while (index < length && (next = advance())) {
1773
1778
  value += next;
@@ -1806,7 +1811,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1806
1811
  continue;
1807
1812
  }
1808
1813
  if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
1809
- let open = value;
1814
+ const open = value;
1810
1815
  let next;
1811
1816
  if (options.keepQuotes !== true) {
1812
1817
  value = "";
@@ -1827,8 +1832,8 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1827
1832
  }
1828
1833
  if (value === CHAR_LEFT_CURLY_BRACE) {
1829
1834
  depth++;
1830
- let dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
1831
- let brace = {
1835
+ const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
1836
+ const brace = {
1832
1837
  type: "brace",
1833
1838
  open: true,
1834
1839
  close: false,
@@ -1848,7 +1853,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1848
1853
  push({ type: "text", value });
1849
1854
  continue;
1850
1855
  }
1851
- let type = "close";
1856
+ const type = "close";
1852
1857
  block = stack.pop();
1853
1858
  block.close = true;
1854
1859
  push({ type, value });
@@ -1859,7 +1864,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1859
1864
  if (value === CHAR_COMMA && depth > 0) {
1860
1865
  if (block.ranges > 0) {
1861
1866
  block.ranges = 0;
1862
- let open = block.nodes.shift();
1867
+ const open = block.nodes.shift();
1863
1868
  block.nodes = [open, { type: "text", value: stringify(block) }];
1864
1869
  }
1865
1870
  push({ type: "comma", value });
@@ -1867,7 +1872,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1867
1872
  continue;
1868
1873
  }
1869
1874
  if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
1870
- let siblings = block.nodes;
1875
+ const siblings = block.nodes;
1871
1876
  if (depth === 0 || siblings.length === 0) {
1872
1877
  push({ type: "text", value });
1873
1878
  continue;
@@ -1888,7 +1893,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1888
1893
  }
1889
1894
  if (prev.type === "range") {
1890
1895
  siblings.pop();
1891
- let before = siblings[siblings.length - 1];
1896
+ const before = siblings[siblings.length - 1];
1892
1897
  before.value += prev.value + value;
1893
1898
  prev = before;
1894
1899
  block.ranges--;
@@ -1910,8 +1915,8 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1910
1915
  node.invalid = true;
1911
1916
  }
1912
1917
  });
1913
- let parent = stack[stack.length - 1];
1914
- let index2 = parent.nodes.indexOf(block);
1918
+ const parent = stack[stack.length - 1];
1919
+ const index2 = parent.nodes.indexOf(block);
1915
1920
  parent.nodes.splice(index2, 1, ...block.nodes);
1916
1921
  }
1917
1922
  } while (stack.length > 0);
@@ -1922,7 +1927,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
1922
1927
  }
1923
1928
  });
1924
1929
  var require_braces = (0, import_chunk_AH6QHEOA.__commonJS)({
1925
- "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js"(exports, module2) {
1930
+ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js"(exports, module2) {
1926
1931
  "use strict";
1927
1932
  var stringify = require_stringify();
1928
1933
  var compile = require_compile();
@@ -1931,8 +1936,8 @@ var require_braces = (0, import_chunk_AH6QHEOA.__commonJS)({
1931
1936
  var braces = (input, options = {}) => {
1932
1937
  let output = [];
1933
1938
  if (Array.isArray(input)) {
1934
- for (let pattern of input) {
1935
- let result = braces.create(pattern, options);
1939
+ for (const pattern of input) {
1940
+ const result = braces.create(pattern, options);
1936
1941
  if (Array.isArray(result)) {
1937
1942
  output.push(...result);
1938
1943
  } else {
@@ -3481,13 +3486,17 @@ var require_picomatch2 = (0, import_chunk_AH6QHEOA.__commonJS)({
3481
3486
  }
3482
3487
  });
3483
3488
  var require_micromatch = (0, import_chunk_AH6QHEOA.__commonJS)({
3484
- "../../node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.js"(exports, module2) {
3489
+ "../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module2) {
3485
3490
  "use strict";
3486
3491
  var util = (0, import_chunk_AH6QHEOA.__require)("util");
3487
3492
  var braces = require_braces();
3488
3493
  var picomatch = require_picomatch2();
3489
3494
  var utils = require_utils2();
3490
- var isEmptyString = (val) => val === "" || val === "./";
3495
+ var isEmptyString = (v) => v === "" || v === "./";
3496
+ var hasBraces = (v) => {
3497
+ const index = v.indexOf("{");
3498
+ return index > -1 && v.indexOf("}", index) > -1;
3499
+ };
3491
3500
  var micromatch = (list, patterns, options) => {
3492
3501
  patterns = [].concat(patterns);
3493
3502
  list = [].concat(list);
@@ -3622,7 +3631,7 @@ var require_micromatch = (0, import_chunk_AH6QHEOA.__commonJS)({
3622
3631
  };
3623
3632
  micromatch.braces = (pattern, options) => {
3624
3633
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
3625
- if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) {
3634
+ if (options && options.nobrace === true || !hasBraces(pattern)) {
3626
3635
  return [pattern];
3627
3636
  }
3628
3637
  return braces(pattern, options);
@@ -3631,14 +3640,15 @@ var require_micromatch = (0, import_chunk_AH6QHEOA.__commonJS)({
3631
3640
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
3632
3641
  return micromatch.braces(pattern, { ...options, expand: true });
3633
3642
  };
3643
+ micromatch.hasBraces = hasBraces;
3634
3644
  module2.exports = micromatch;
3635
3645
  }
3636
3646
  });
3637
3647
  var require_pattern = (0, import_chunk_AH6QHEOA.__commonJS)({
3638
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/pattern.js"(exports) {
3648
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports) {
3639
3649
  "use strict";
3640
3650
  Object.defineProperty(exports, "__esModule", { value: true });
3641
- exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
3651
+ exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
3642
3652
  var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
3643
3653
  var globParent = require_glob_parent();
3644
3654
  var micromatch = require_micromatch();
@@ -3778,10 +3788,27 @@ var require_pattern = (0, import_chunk_AH6QHEOA.__commonJS)({
3778
3788
  return pattern.replace(DOUBLE_SLASH_RE, "/");
3779
3789
  }
3780
3790
  exports.removeDuplicateSlashes = removeDuplicateSlashes;
3791
+ function partitionAbsoluteAndRelative(patterns) {
3792
+ const absolute = [];
3793
+ const relative = [];
3794
+ for (const pattern of patterns) {
3795
+ if (isAbsolute(pattern)) {
3796
+ absolute.push(pattern);
3797
+ } else {
3798
+ relative.push(pattern);
3799
+ }
3800
+ }
3801
+ return [absolute, relative];
3802
+ }
3803
+ exports.partitionAbsoluteAndRelative = partitionAbsoluteAndRelative;
3804
+ function isAbsolute(pattern) {
3805
+ return path2.isAbsolute(pattern);
3806
+ }
3807
+ exports.isAbsolute = isAbsolute;
3781
3808
  }
3782
3809
  });
3783
3810
  var require_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
3784
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/stream.js"(exports) {
3811
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
3785
3812
  "use strict";
3786
3813
  Object.defineProperty(exports, "__esModule", { value: true });
3787
3814
  exports.merge = void 0;
@@ -3802,7 +3829,7 @@ var require_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
3802
3829
  }
3803
3830
  });
3804
3831
  var require_string = (0, import_chunk_AH6QHEOA.__commonJS)({
3805
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/string.js"(exports) {
3832
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports) {
3806
3833
  "use strict";
3807
3834
  Object.defineProperty(exports, "__esModule", { value: true });
3808
3835
  exports.isEmpty = exports.isString = void 0;
@@ -3817,7 +3844,7 @@ var require_string = (0, import_chunk_AH6QHEOA.__commonJS)({
3817
3844
  }
3818
3845
  });
3819
3846
  var require_utils3 = (0, import_chunk_AH6QHEOA.__commonJS)({
3820
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/utils/index.js"(exports) {
3847
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports) {
3821
3848
  "use strict";
3822
3849
  Object.defineProperty(exports, "__esModule", { value: true });
3823
3850
  exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
@@ -3838,7 +3865,7 @@ var require_utils3 = (0, import_chunk_AH6QHEOA.__commonJS)({
3838
3865
  }
3839
3866
  });
3840
3867
  var require_tasks = (0, import_chunk_AH6QHEOA.__commonJS)({
3841
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/managers/tasks.js"(exports) {
3868
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports) {
3842
3869
  "use strict";
3843
3870
  Object.defineProperty(exports, "__esModule", { value: true });
3844
3871
  exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
@@ -5073,7 +5100,7 @@ var require_out3 = (0, import_chunk_AH6QHEOA.__commonJS)({
5073
5100
  }
5074
5101
  });
5075
5102
  var require_reader2 = (0, import_chunk_AH6QHEOA.__commonJS)({
5076
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/readers/reader.js"(exports) {
5103
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports) {
5077
5104
  "use strict";
5078
5105
  Object.defineProperty(exports, "__esModule", { value: true });
5079
5106
  var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
@@ -5110,7 +5137,7 @@ var require_reader2 = (0, import_chunk_AH6QHEOA.__commonJS)({
5110
5137
  }
5111
5138
  });
5112
5139
  var require_stream3 = (0, import_chunk_AH6QHEOA.__commonJS)({
5113
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/readers/stream.js"(exports) {
5140
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports) {
5114
5141
  "use strict";
5115
5142
  Object.defineProperty(exports, "__esModule", { value: true });
5116
5143
  var stream_1 = (0, import_chunk_AH6QHEOA.__require)("stream");
@@ -5165,7 +5192,7 @@ var require_stream3 = (0, import_chunk_AH6QHEOA.__commonJS)({
5165
5192
  }
5166
5193
  });
5167
5194
  var require_async5 = (0, import_chunk_AH6QHEOA.__commonJS)({
5168
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/readers/async.js"(exports) {
5195
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports) {
5169
5196
  "use strict";
5170
5197
  Object.defineProperty(exports, "__esModule", { value: true });
5171
5198
  var fsWalk = require_out3();
@@ -5202,7 +5229,7 @@ var require_async5 = (0, import_chunk_AH6QHEOA.__commonJS)({
5202
5229
  }
5203
5230
  });
5204
5231
  var require_matcher = (0, import_chunk_AH6QHEOA.__commonJS)({
5205
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
5232
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
5206
5233
  "use strict";
5207
5234
  Object.defineProperty(exports, "__esModule", { value: true });
5208
5235
  var utils = require_utils3();
@@ -5251,7 +5278,7 @@ var require_matcher = (0, import_chunk_AH6QHEOA.__commonJS)({
5251
5278
  }
5252
5279
  });
5253
5280
  var require_partial = (0, import_chunk_AH6QHEOA.__commonJS)({
5254
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
5281
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
5255
5282
  "use strict";
5256
5283
  Object.defineProperty(exports, "__esModule", { value: true });
5257
5284
  var matcher_1 = require_matcher();
@@ -5286,7 +5313,7 @@ var require_partial = (0, import_chunk_AH6QHEOA.__commonJS)({
5286
5313
  }
5287
5314
  });
5288
5315
  var require_deep = (0, import_chunk_AH6QHEOA.__commonJS)({
5289
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
5316
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
5290
5317
  "use strict";
5291
5318
  Object.defineProperty(exports, "__esModule", { value: true });
5292
5319
  var utils = require_utils3();
@@ -5349,7 +5376,7 @@ var require_deep = (0, import_chunk_AH6QHEOA.__commonJS)({
5349
5376
  }
5350
5377
  });
5351
5378
  var require_entry = (0, import_chunk_AH6QHEOA.__commonJS)({
5352
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
5379
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
5353
5380
  "use strict";
5354
5381
  Object.defineProperty(exports, "__esModule", { value: true });
5355
5382
  var utils = require_utils3();
@@ -5360,11 +5387,19 @@ var require_entry = (0, import_chunk_AH6QHEOA.__commonJS)({
5360
5387
  this.index = /* @__PURE__ */ new Map();
5361
5388
  }
5362
5389
  getFilter(positive, negative) {
5363
- const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);
5364
- const negativeRe = utils.pattern.convertPatternsToRe(negative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }));
5365
- return (entry) => this._filter(entry, positiveRe, negativeRe);
5390
+ const [absoluteNegative, relativeNegative] = utils.pattern.partitionAbsoluteAndRelative(negative);
5391
+ const patterns = {
5392
+ positive: {
5393
+ all: utils.pattern.convertPatternsToRe(positive, this._micromatchOptions)
5394
+ },
5395
+ negative: {
5396
+ absolute: utils.pattern.convertPatternsToRe(absoluteNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true })),
5397
+ relative: utils.pattern.convertPatternsToRe(relativeNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }))
5398
+ }
5399
+ };
5400
+ return (entry) => this._filter(entry, patterns);
5366
5401
  }
5367
- _filter(entry, positiveRe, negativeRe) {
5402
+ _filter(entry, patterns) {
5368
5403
  const filepath = utils.path.removeLeadingDotSegment(entry.path);
5369
5404
  if (this._settings.unique && this._isDuplicateEntry(filepath)) {
5370
5405
  return false;
@@ -5372,11 +5407,7 @@ var require_entry = (0, import_chunk_AH6QHEOA.__commonJS)({
5372
5407
  if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
5373
5408
  return false;
5374
5409
  }
5375
- if (this._isSkippedByAbsoluteNegativePatterns(filepath, negativeRe)) {
5376
- return false;
5377
- }
5378
- const isDirectory = entry.dirent.isDirectory();
5379
- const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(filepath, negativeRe, isDirectory);
5410
+ const isMatched = this._isMatchToPatternsSet(filepath, patterns, entry.dirent.isDirectory());
5380
5411
  if (this._settings.unique && isMatched) {
5381
5412
  this._createIndexRecord(filepath);
5382
5413
  }
@@ -5394,14 +5425,32 @@ var require_entry = (0, import_chunk_AH6QHEOA.__commonJS)({
5394
5425
  _onlyDirectoryFilter(entry) {
5395
5426
  return this._settings.onlyDirectories && !entry.dirent.isDirectory();
5396
5427
  }
5397
- _isSkippedByAbsoluteNegativePatterns(entryPath, patternsRe) {
5398
- if (!this._settings.absolute) {
5428
+ _isMatchToPatternsSet(filepath, patterns, isDirectory) {
5429
+ const isMatched = this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory);
5430
+ if (!isMatched) {
5431
+ return false;
5432
+ }
5433
+ const isMatchedByRelativeNegative = this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory);
5434
+ if (isMatchedByRelativeNegative) {
5435
+ return false;
5436
+ }
5437
+ const isMatchedByAbsoluteNegative = this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory);
5438
+ if (isMatchedByAbsoluteNegative) {
5439
+ return false;
5440
+ }
5441
+ return true;
5442
+ }
5443
+ _isMatchToAbsoluteNegative(filepath, patternsRe, isDirectory) {
5444
+ if (patternsRe.length === 0) {
5399
5445
  return false;
5400
5446
  }
5401
- const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
5402
- return utils.pattern.matchAny(fullpath, patternsRe);
5447
+ const fullpath = utils.path.makeAbsolute(this._settings.cwd, filepath);
5448
+ return this._isMatchToPatterns(fullpath, patternsRe, isDirectory);
5403
5449
  }
5404
5450
  _isMatchToPatterns(filepath, patternsRe, isDirectory) {
5451
+ if (patternsRe.length === 0) {
5452
+ return false;
5453
+ }
5405
5454
  const isMatched = utils.pattern.matchAny(filepath, patternsRe);
5406
5455
  if (!isMatched && isDirectory) {
5407
5456
  return utils.pattern.matchAny(filepath + "/", patternsRe);
@@ -5413,7 +5462,7 @@ var require_entry = (0, import_chunk_AH6QHEOA.__commonJS)({
5413
5462
  }
5414
5463
  });
5415
5464
  var require_error = (0, import_chunk_AH6QHEOA.__commonJS)({
5416
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
5465
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
5417
5466
  "use strict";
5418
5467
  Object.defineProperty(exports, "__esModule", { value: true });
5419
5468
  var utils = require_utils3();
@@ -5432,7 +5481,7 @@ var require_error = (0, import_chunk_AH6QHEOA.__commonJS)({
5432
5481
  }
5433
5482
  });
5434
5483
  var require_entry2 = (0, import_chunk_AH6QHEOA.__commonJS)({
5435
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
5484
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
5436
5485
  "use strict";
5437
5486
  Object.defineProperty(exports, "__esModule", { value: true });
5438
5487
  var utils = require_utils3();
@@ -5462,7 +5511,7 @@ var require_entry2 = (0, import_chunk_AH6QHEOA.__commonJS)({
5462
5511
  }
5463
5512
  });
5464
5513
  var require_provider = (0, import_chunk_AH6QHEOA.__commonJS)({
5465
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/provider.js"(exports) {
5514
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports) {
5466
5515
  "use strict";
5467
5516
  Object.defineProperty(exports, "__esModule", { value: true });
5468
5517
  var path2 = (0, import_chunk_AH6QHEOA.__require)("path");
@@ -5514,7 +5563,7 @@ var require_provider = (0, import_chunk_AH6QHEOA.__commonJS)({
5514
5563
  }
5515
5564
  });
5516
5565
  var require_async6 = (0, import_chunk_AH6QHEOA.__commonJS)({
5517
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/async.js"(exports) {
5566
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports) {
5518
5567
  "use strict";
5519
5568
  Object.defineProperty(exports, "__esModule", { value: true });
5520
5569
  var async_1 = require_async5();
@@ -5541,7 +5590,7 @@ var require_async6 = (0, import_chunk_AH6QHEOA.__commonJS)({
5541
5590
  }
5542
5591
  });
5543
5592
  var require_stream4 = (0, import_chunk_AH6QHEOA.__commonJS)({
5544
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/stream.js"(exports) {
5593
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports) {
5545
5594
  "use strict";
5546
5595
  Object.defineProperty(exports, "__esModule", { value: true });
5547
5596
  var stream_1 = (0, import_chunk_AH6QHEOA.__require)("stream");
@@ -5573,7 +5622,7 @@ var require_stream4 = (0, import_chunk_AH6QHEOA.__commonJS)({
5573
5622
  }
5574
5623
  });
5575
5624
  var require_sync5 = (0, import_chunk_AH6QHEOA.__commonJS)({
5576
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/readers/sync.js"(exports) {
5625
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports) {
5577
5626
  "use strict";
5578
5627
  Object.defineProperty(exports, "__esModule", { value: true });
5579
5628
  var fsStat = require_out();
@@ -5619,7 +5668,7 @@ var require_sync5 = (0, import_chunk_AH6QHEOA.__commonJS)({
5619
5668
  }
5620
5669
  });
5621
5670
  var require_sync6 = (0, import_chunk_AH6QHEOA.__commonJS)({
5622
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/providers/sync.js"(exports) {
5671
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports) {
5623
5672
  "use strict";
5624
5673
  Object.defineProperty(exports, "__esModule", { value: true });
5625
5674
  var sync_1 = require_sync5();
@@ -5646,7 +5695,7 @@ var require_sync6 = (0, import_chunk_AH6QHEOA.__commonJS)({
5646
5695
  }
5647
5696
  });
5648
5697
  var require_settings4 = (0, import_chunk_AH6QHEOA.__commonJS)({
5649
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/settings.js"(exports) {
5698
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports) {
5650
5699
  "use strict";
5651
5700
  Object.defineProperty(exports, "__esModule", { value: true });
5652
5701
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
@@ -5704,7 +5753,7 @@ var require_settings4 = (0, import_chunk_AH6QHEOA.__commonJS)({
5704
5753
  }
5705
5754
  });
5706
5755
  var require_out4 = (0, import_chunk_AH6QHEOA.__commonJS)({
5707
- "../../node_modules/.pnpm/fast-glob@3.3.2/node_modules/fast-glob/out/index.js"(exports, module2) {
5756
+ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports, module2) {
5708
5757
  "use strict";
5709
5758
  var taskManager = require_tasks();
5710
5759
  var async_1 = require_async6();
@@ -8001,7 +8050,7 @@ async function fetchChecksum(url) {
8001
8050
  try {
8002
8051
  const checksumUrl = `${url}.sha256`;
8003
8052
  const response = await fetch(checksumUrl, {
8004
- agent: (0, import_chunk_OFSFRIEP.getProxyAgent)(url)
8053
+ agent: (0, import_chunk_AGZFDFHU.getProxyAgent)(url)
8005
8054
  });
8006
8055
  if (!response.ok) {
8007
8056
  let errorMessage = `Failed to fetch sha256 checksum at ${checksumUrl} - ${response.status} ${response.statusText}`;
@@ -8047,7 +8096,7 @@ async function downloadZip(url, target, progressCb) {
8047
8096
  async () => {
8048
8097
  const response = await fetch(url, {
8049
8098
  compress: false,
8050
- agent: (0, import_chunk_OFSFRIEP.getProxyAgent)(url)
8099
+ agent: (0, import_chunk_AGZFDFHU.getProxyAgent)(url)
8051
8100
  });
8052
8101
  if (!response.ok) {
8053
8102
  throw new Error(`Failed to fetch the engine file at ${url} - ${response.status} ${response.statusText}`);
@@ -26,11 +26,11 @@ 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_OFSFRIEP_exports = {};
30
- __export(chunk_OFSFRIEP_exports, {
29
+ var chunk_AGZFDFHU_exports = {};
30
+ __export(chunk_AGZFDFHU_exports, {
31
31
  getProxyAgent: () => getProxyAgent
32
32
  });
33
- module.exports = __toCommonJS(chunk_OFSFRIEP_exports);
33
+ module.exports = __toCommonJS(chunk_AGZFDFHU_exports);
34
34
  var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
35
35
  var import_debug = __toESM(require("@prisma/debug"));
36
36
  var import_url = __toESM(require("url"));
@@ -1083,8 +1083,230 @@ var require_dist2 = (0, import_chunk_AH6QHEOA.__commonJS)({
1083
1083
  }
1084
1084
  }
1085
1085
  });
1086
+ var require_helpers2 = (0, import_chunk_AH6QHEOA.__commonJS)({
1087
+ "../../node_modules/.pnpm/agent-base@7.1.3/node_modules/agent-base/dist/helpers.js"(exports) {
1088
+ "use strict";
1089
+ var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
1090
+ if (k2 === void 0) k2 = k;
1091
+ var desc = Object.getOwnPropertyDescriptor(m, k);
1092
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
1093
+ desc = { enumerable: true, get: function() {
1094
+ return m[k];
1095
+ } };
1096
+ }
1097
+ Object.defineProperty(o, k2, desc);
1098
+ } : function(o, m, k, k2) {
1099
+ if (k2 === void 0) k2 = k;
1100
+ o[k2] = m[k];
1101
+ });
1102
+ var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
1103
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
1104
+ } : function(o, v) {
1105
+ o["default"] = v;
1106
+ });
1107
+ var __importStar = exports && exports.__importStar || function(mod) {
1108
+ if (mod && mod.__esModule) return mod;
1109
+ var result = {};
1110
+ if (mod != null) {
1111
+ for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
1112
+ }
1113
+ __setModuleDefault(result, mod);
1114
+ return result;
1115
+ };
1116
+ Object.defineProperty(exports, "__esModule", { value: true });
1117
+ exports.req = exports.json = exports.toBuffer = void 0;
1118
+ var http = __importStar((0, import_chunk_AH6QHEOA.__require)("http"));
1119
+ var https = __importStar((0, import_chunk_AH6QHEOA.__require)("https"));
1120
+ async function toBuffer(stream) {
1121
+ let length = 0;
1122
+ const chunks = [];
1123
+ for await (const chunk of stream) {
1124
+ length += chunk.length;
1125
+ chunks.push(chunk);
1126
+ }
1127
+ return Buffer.concat(chunks, length);
1128
+ }
1129
+ exports.toBuffer = toBuffer;
1130
+ async function json(stream) {
1131
+ const buf = await toBuffer(stream);
1132
+ const str = buf.toString("utf8");
1133
+ try {
1134
+ return JSON.parse(str);
1135
+ } catch (_err) {
1136
+ const err = _err;
1137
+ err.message += ` (input: ${str})`;
1138
+ throw err;
1139
+ }
1140
+ }
1141
+ exports.json = json;
1142
+ function req(url, opts = {}) {
1143
+ const href = typeof url === "string" ? url : url.href;
1144
+ const req2 = (href.startsWith("https:") ? https : http).request(url, opts);
1145
+ const promise = new Promise((resolve, reject) => {
1146
+ req2.once("response", resolve).once("error", reject).end();
1147
+ });
1148
+ req2.then = promise.then.bind(promise);
1149
+ return req2;
1150
+ }
1151
+ exports.req = req;
1152
+ }
1153
+ });
1154
+ var require_dist3 = (0, import_chunk_AH6QHEOA.__commonJS)({
1155
+ "../../node_modules/.pnpm/agent-base@7.1.3/node_modules/agent-base/dist/index.js"(exports) {
1156
+ "use strict";
1157
+ var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
1158
+ if (k2 === void 0) k2 = k;
1159
+ var desc = Object.getOwnPropertyDescriptor(m, k);
1160
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
1161
+ desc = { enumerable: true, get: function() {
1162
+ return m[k];
1163
+ } };
1164
+ }
1165
+ Object.defineProperty(o, k2, desc);
1166
+ } : function(o, m, k, k2) {
1167
+ if (k2 === void 0) k2 = k;
1168
+ o[k2] = m[k];
1169
+ });
1170
+ var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
1171
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
1172
+ } : function(o, v) {
1173
+ o["default"] = v;
1174
+ });
1175
+ var __importStar = exports && exports.__importStar || function(mod) {
1176
+ if (mod && mod.__esModule) return mod;
1177
+ var result = {};
1178
+ if (mod != null) {
1179
+ for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
1180
+ }
1181
+ __setModuleDefault(result, mod);
1182
+ return result;
1183
+ };
1184
+ var __exportStar = exports && exports.__exportStar || function(m, exports2) {
1185
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
1186
+ };
1187
+ Object.defineProperty(exports, "__esModule", { value: true });
1188
+ exports.Agent = void 0;
1189
+ var net = __importStar((0, import_chunk_AH6QHEOA.__require)("net"));
1190
+ var http = __importStar((0, import_chunk_AH6QHEOA.__require)("http"));
1191
+ var https_1 = (0, import_chunk_AH6QHEOA.__require)("https");
1192
+ __exportStar(require_helpers2(), exports);
1193
+ var INTERNAL = Symbol("AgentBaseInternalState");
1194
+ var Agent = class extends http.Agent {
1195
+ constructor(opts) {
1196
+ super(opts);
1197
+ this[INTERNAL] = {};
1198
+ }
1199
+ /**
1200
+ * Determine whether this is an `http` or `https` request.
1201
+ */
1202
+ isSecureEndpoint(options) {
1203
+ if (options) {
1204
+ if (typeof options.secureEndpoint === "boolean") {
1205
+ return options.secureEndpoint;
1206
+ }
1207
+ if (typeof options.protocol === "string") {
1208
+ return options.protocol === "https:";
1209
+ }
1210
+ }
1211
+ const { stack } = new Error();
1212
+ if (typeof stack !== "string")
1213
+ return false;
1214
+ return stack.split("\n").some((l) => l.indexOf("(https.js:") !== -1 || l.indexOf("node:https:") !== -1);
1215
+ }
1216
+ // In order to support async signatures in `connect()` and Node's native
1217
+ // connection pooling in `http.Agent`, the array of sockets for each origin
1218
+ // has to be updated synchronously. This is so the length of the array is
1219
+ // accurate when `addRequest()` is next called. We achieve this by creating a
1220
+ // fake socket and adding it to `sockets[origin]` and incrementing
1221
+ // `totalSocketCount`.
1222
+ incrementSockets(name) {
1223
+ if (this.maxSockets === Infinity && this.maxTotalSockets === Infinity) {
1224
+ return null;
1225
+ }
1226
+ if (!this.sockets[name]) {
1227
+ this.sockets[name] = [];
1228
+ }
1229
+ const fakeSocket = new net.Socket({ writable: false });
1230
+ this.sockets[name].push(fakeSocket);
1231
+ this.totalSocketCount++;
1232
+ return fakeSocket;
1233
+ }
1234
+ decrementSockets(name, socket) {
1235
+ if (!this.sockets[name] || socket === null) {
1236
+ return;
1237
+ }
1238
+ const sockets = this.sockets[name];
1239
+ const index = sockets.indexOf(socket);
1240
+ if (index !== -1) {
1241
+ sockets.splice(index, 1);
1242
+ this.totalSocketCount--;
1243
+ if (sockets.length === 0) {
1244
+ delete this.sockets[name];
1245
+ }
1246
+ }
1247
+ }
1248
+ // In order to properly update the socket pool, we need to call `getName()` on
1249
+ // the core `https.Agent` if it is a secureEndpoint.
1250
+ getName(options) {
1251
+ const secureEndpoint = typeof options.secureEndpoint === "boolean" ? options.secureEndpoint : this.isSecureEndpoint(options);
1252
+ if (secureEndpoint) {
1253
+ return https_1.Agent.prototype.getName.call(this, options);
1254
+ }
1255
+ return super.getName(options);
1256
+ }
1257
+ createSocket(req, options, cb) {
1258
+ const connectOpts = {
1259
+ ...options,
1260
+ secureEndpoint: this.isSecureEndpoint(options)
1261
+ };
1262
+ const name = this.getName(connectOpts);
1263
+ const fakeSocket = this.incrementSockets(name);
1264
+ Promise.resolve().then(() => this.connect(req, connectOpts)).then((socket) => {
1265
+ this.decrementSockets(name, fakeSocket);
1266
+ if (socket instanceof http.Agent) {
1267
+ try {
1268
+ return socket.addRequest(req, connectOpts);
1269
+ } catch (err) {
1270
+ return cb(err);
1271
+ }
1272
+ }
1273
+ this[INTERNAL].currentSocket = socket;
1274
+ super.createSocket(req, options, cb);
1275
+ }, (err) => {
1276
+ this.decrementSockets(name, fakeSocket);
1277
+ cb(err);
1278
+ });
1279
+ }
1280
+ createConnection() {
1281
+ const socket = this[INTERNAL].currentSocket;
1282
+ this[INTERNAL].currentSocket = void 0;
1283
+ if (!socket) {
1284
+ throw new Error("No socket was returned in the `connect()` function");
1285
+ }
1286
+ return socket;
1287
+ }
1288
+ get defaultPort() {
1289
+ return this[INTERNAL].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
1290
+ }
1291
+ set defaultPort(v) {
1292
+ if (this[INTERNAL]) {
1293
+ this[INTERNAL].defaultPort = v;
1294
+ }
1295
+ }
1296
+ get protocol() {
1297
+ return this[INTERNAL].protocol ?? (this.isSecureEndpoint() ? "https:" : "http:");
1298
+ }
1299
+ set protocol(v) {
1300
+ if (this[INTERNAL]) {
1301
+ this[INTERNAL].protocol = v;
1302
+ }
1303
+ }
1304
+ };
1305
+ exports.Agent = Agent;
1306
+ }
1307
+ });
1086
1308
  var require_parse_proxy_response = (0, import_chunk_AH6QHEOA.__commonJS)({
1087
- "../../node_modules/.pnpm/https-proxy-agent@7.0.5/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) {
1309
+ "../../node_modules/.pnpm/https-proxy-agent@7.0.6/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) {
1088
1310
  "use strict";
1089
1311
  var __importDefault = exports && exports.__importDefault || function(mod) {
1090
1312
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -1177,8 +1399,8 @@ var require_parse_proxy_response = (0, import_chunk_AH6QHEOA.__commonJS)({
1177
1399
  exports.parseProxyResponse = parseProxyResponse;
1178
1400
  }
1179
1401
  });
1180
- var require_dist3 = (0, import_chunk_AH6QHEOA.__commonJS)({
1181
- "../../node_modules/.pnpm/https-proxy-agent@7.0.5/node_modules/https-proxy-agent/dist/index.js"(exports) {
1402
+ var require_dist4 = (0, import_chunk_AH6QHEOA.__commonJS)({
1403
+ "../../node_modules/.pnpm/https-proxy-agent@7.0.6/node_modules/https-proxy-agent/dist/index.js"(exports) {
1182
1404
  "use strict";
1183
1405
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
1184
1406
  if (k2 === void 0) k2 = k;
@@ -1216,10 +1438,19 @@ var require_dist3 = (0, import_chunk_AH6QHEOA.__commonJS)({
1216
1438
  var tls = __importStar((0, import_chunk_AH6QHEOA.__require)("tls"));
1217
1439
  var assert_1 = __importDefault((0, import_chunk_AH6QHEOA.__require)("assert"));
1218
1440
  var debug_1 = __importDefault(require_src());
1219
- var agent_base_1 = require_dist();
1441
+ var agent_base_1 = require_dist3();
1220
1442
  var url_1 = (0, import_chunk_AH6QHEOA.__require)("url");
1221
1443
  var parse_proxy_response_1 = require_parse_proxy_response();
1222
1444
  var debug2 = (0, debug_1.default)("https-proxy-agent");
1445
+ var setServernameFromNonIpHost = (options) => {
1446
+ if (options.servername === void 0 && options.host && !net.isIP(options.host)) {
1447
+ return {
1448
+ ...options,
1449
+ servername: options.host
1450
+ };
1451
+ }
1452
+ return options;
1453
+ };
1223
1454
  var HttpsProxyAgent2 = class extends agent_base_1.Agent {
1224
1455
  constructor(proxy, opts) {
1225
1456
  super(opts);
@@ -1249,11 +1480,7 @@ var require_dist3 = (0, import_chunk_AH6QHEOA.__commonJS)({
1249
1480
  let socket;
1250
1481
  if (proxy.protocol === "https:") {
1251
1482
  debug2("Creating `tls.Socket`: %o", this.connectOpts);
1252
- const servername = this.connectOpts.servername || this.connectOpts.host;
1253
- socket = tls.connect({
1254
- ...this.connectOpts,
1255
- servername
1256
- });
1483
+ socket = tls.connect(setServernameFromNonIpHost(this.connectOpts));
1257
1484
  } else {
1258
1485
  debug2("Creating `net.Socket`: %o", this.connectOpts);
1259
1486
  socket = net.connect(this.connectOpts);
@@ -1284,11 +1511,9 @@ var require_dist3 = (0, import_chunk_AH6QHEOA.__commonJS)({
1284
1511
  req.once("socket", resume);
1285
1512
  if (opts.secureEndpoint) {
1286
1513
  debug2("Upgrading socket connection to TLS");
1287
- const servername = opts.servername || opts.host;
1288
1514
  return tls.connect({
1289
- ...omit(opts, "host", "path", "port"),
1290
- socket,
1291
- servername
1515
+ ...omit(setServernameFromNonIpHost(opts), "host", "path", "port"),
1516
+ socket
1292
1517
  });
1293
1518
  }
1294
1519
  return socket;
@@ -1323,7 +1548,7 @@ var require_dist3 = (0, import_chunk_AH6QHEOA.__commonJS)({
1323
1548
  }
1324
1549
  });
1325
1550
  var import_http_proxy_agent = (0, import_chunk_AH6QHEOA.__toESM)(require_dist2());
1326
- var import_https_proxy_agent = (0, import_chunk_AH6QHEOA.__toESM)(require_dist3());
1551
+ var import_https_proxy_agent = (0, import_chunk_AH6QHEOA.__toESM)(require_dist4());
1327
1552
  var debug = (0, import_debug.default)("prisma:fetch-engine:getProxyAgent");
1328
1553
  function formatHostname(hostname) {
1329
1554
  return hostname.replace(/^\.*/, ".").toLowerCase();
@@ -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_BWIXGQIC_exports = {};
30
- __export(chunk_BWIXGQIC_exports, {
29
+ var chunk_LUTZ7RIZ_exports = {};
30
+ __export(chunk_LUTZ7RIZ_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,11 +35,11 @@ __export(chunk_BWIXGQIC_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_BWIXGQIC_exports);
38
+ module.exports = __toCommonJS(chunk_LUTZ7RIZ_exports);
39
39
  var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
40
40
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
41
41
  var import_chunk_FKKOTNO6 = require("./chunk-FKKOTNO6.js");
42
- var import_chunk_BBQM2DBF = require("./chunk-BBQM2DBF.js");
42
+ var import_chunk_7NQURTUG = require("./chunk-7NQURTUG.js");
43
43
  var import_chunk_G7EM4XDM = require("./chunk-G7EM4XDM.js");
44
44
  var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
45
45
  var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
@@ -1552,7 +1552,7 @@ var require_merge_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1552
1552
  var require_stream = (0, import_chunk_AH6QHEOA.__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_BBQM2DBF.require_is_stream)();
1555
+ var isStream = (0, import_chunk_7NQURTUG.require_is_stream)();
1556
1556
  var getStream = require_get_stream();
1557
1557
  var mergeStream = require_merge_stream();
1558
1558
  var handleInput = (spawned, input) => {
@@ -2010,7 +2010,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
2010
2010
  "package.json"(exports, module2) {
2011
2011
  module2.exports = {
2012
2012
  name: "@prisma/fetch-engine",
2013
- version: "6.3.0-dev.20",
2013
+ version: "6.3.0-dev.21",
2014
2014
  description: "This package is intended for Prisma's internal use",
2015
2015
  main: "dist/index.js",
2016
2016
  types: "dist/index.d.ts",
@@ -2025,7 +2025,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
2025
2025
  bugs: "https://github.com/prisma/prisma/issues",
2026
2026
  enginesOverride: {},
2027
2027
  devDependencies: {
2028
- "@swc/core": "1.10.1",
2028
+ "@swc/core": "1.10.9",
2029
2029
  "@swc/jest": "0.2.37",
2030
2030
  "@types/jest": "29.5.14",
2031
2031
  "@types/node": "18.19.31",
@@ -2036,7 +2036,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
2036
2036
  "fs-extra": "11.1.1",
2037
2037
  hasha: "5.2.2",
2038
2038
  "http-proxy-agent": "7.0.2",
2039
- "https-proxy-agent": "7.0.5",
2039
+ "https-proxy-agent": "7.0.6",
2040
2040
  jest: "29.7.0",
2041
2041
  kleur: "4.1.5",
2042
2042
  "node-fetch": "3.3.2",
@@ -2073,7 +2073,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
2073
2073
  var import_execa = (0, import_chunk_AH6QHEOA.__toESM)(require_execa());
2074
2074
  var import_fs_extra = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_G7EM4XDM.require_lib)());
2075
2075
  var import_p_filter = (0, import_chunk_AH6QHEOA.__toESM)(require_p_filter());
2076
- var import_temp_dir = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_BBQM2DBF.require_temp_dir)());
2076
+ var import_temp_dir = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_7NQURTUG.require_temp_dir)());
2077
2077
  var { enginesOverride } = require_package();
2078
2078
  var debug = (0, import_debug.default)("prisma:fetch-engine:download");
2079
2079
  var exists = (0, import_util.promisify)(import_fs.default.exists);
@@ -2334,7 +2334,7 @@ async function downloadBinary(options2) {
2334
2334
  if (progressCb) {
2335
2335
  progressCb(0);
2336
2336
  }
2337
- const { sha256, zippedSha256 } = await (0, import_chunk_BBQM2DBF.downloadZip)(downloadUrl, targetFilePath, progressCb);
2337
+ const { sha256, zippedSha256 } = await (0, import_chunk_7NQURTUG.downloadZip)(downloadUrl, targetFilePath, progressCb);
2338
2338
  if (progressCb) {
2339
2339
  progressCb(1);
2340
2340
  }
@@ -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_E7UXC43J_exports = {};
30
- __export(chunk_E7UXC43J_exports, {
29
+ var chunk_UK5R24XS_exports = {};
30
+ __export(chunk_UK5R24XS_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,11 +35,11 @@ __export(chunk_E7UXC43J_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_E7UXC43J_exports);
38
+ module.exports = __toCommonJS(chunk_UK5R24XS_exports);
39
39
  var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
40
40
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
41
41
  var import_chunk_FKKOTNO6 = require("./chunk-FKKOTNO6.js");
42
- var import_chunk_BBQM2DBF = require("./chunk-BBQM2DBF.js");
42
+ var import_chunk_7NQURTUG = require("./chunk-7NQURTUG.js");
43
43
  var import_chunk_G7EM4XDM = require("./chunk-G7EM4XDM.js");
44
44
  var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
45
45
  var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
@@ -1552,7 +1552,7 @@ var require_merge_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
1552
1552
  var require_stream = (0, import_chunk_AH6QHEOA.__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_BBQM2DBF.require_is_stream)();
1555
+ var isStream = (0, import_chunk_7NQURTUG.require_is_stream)();
1556
1556
  var getStream = require_get_stream();
1557
1557
  var mergeStream = require_merge_stream();
1558
1558
  var handleInput = (spawned, input) => {
@@ -2025,7 +2025,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
2025
2025
  bugs: "https://github.com/prisma/prisma/issues",
2026
2026
  enginesOverride: {},
2027
2027
  devDependencies: {
2028
- "@swc/core": "1.10.1",
2028
+ "@swc/core": "1.10.9",
2029
2029
  "@swc/jest": "0.2.37",
2030
2030
  "@types/jest": "29.5.14",
2031
2031
  "@types/node": "18.19.31",
@@ -2036,7 +2036,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
2036
2036
  "fs-extra": "11.1.1",
2037
2037
  hasha: "5.2.2",
2038
2038
  "http-proxy-agent": "7.0.2",
2039
- "https-proxy-agent": "7.0.5",
2039
+ "https-proxy-agent": "7.0.6",
2040
2040
  jest: "29.7.0",
2041
2041
  kleur: "4.1.5",
2042
2042
  "node-fetch": "3.3.2",
@@ -2073,7 +2073,7 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
2073
2073
  var import_execa = (0, import_chunk_AH6QHEOA.__toESM)(require_execa());
2074
2074
  var import_fs_extra = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_G7EM4XDM.require_lib)());
2075
2075
  var import_p_filter = (0, import_chunk_AH6QHEOA.__toESM)(require_p_filter());
2076
- var import_temp_dir = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_BBQM2DBF.require_temp_dir)());
2076
+ var import_temp_dir = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_7NQURTUG.require_temp_dir)());
2077
2077
  var { enginesOverride } = require_package();
2078
2078
  var debug = (0, import_debug.default)("prisma:fetch-engine:download");
2079
2079
  var exists = (0, import_util.promisify)(import_fs.default.exists);
@@ -2334,7 +2334,7 @@ async function downloadBinary(options2) {
2334
2334
  if (progressCb) {
2335
2335
  progressCb(0);
2336
2336
  }
2337
- const { sha256, zippedSha256 } = await (0, import_chunk_BBQM2DBF.downloadZip)(downloadUrl, targetFilePath, progressCb);
2337
+ const { sha256, zippedSha256 } = await (0, import_chunk_7NQURTUG.downloadZip)(downloadUrl, targetFilePath, progressCb);
2338
2338
  if (progressCb) {
2339
2339
  progressCb(1);
2340
2340
  }
package/dist/download.js CHANGED
@@ -18,24 +18,24 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var download_exports = {};
20
20
  __export(download_exports, {
21
- download: () => import_chunk_BWIXGQIC.download,
22
- getBinaryName: () => import_chunk_BWIXGQIC.getBinaryName,
23
- getVersion: () => import_chunk_BWIXGQIC.getVersion,
24
- maybeCopyToTmp: () => import_chunk_BWIXGQIC.maybeCopyToTmp,
25
- plusX: () => import_chunk_BWIXGQIC.plusX,
26
- vercelPkgPathRegex: () => import_chunk_BWIXGQIC.vercelPkgPathRegex
21
+ download: () => import_chunk_LUTZ7RIZ.download,
22
+ getBinaryName: () => import_chunk_LUTZ7RIZ.getBinaryName,
23
+ getVersion: () => import_chunk_LUTZ7RIZ.getVersion,
24
+ maybeCopyToTmp: () => import_chunk_LUTZ7RIZ.maybeCopyToTmp,
25
+ plusX: () => import_chunk_LUTZ7RIZ.plusX,
26
+ vercelPkgPathRegex: () => import_chunk_LUTZ7RIZ.vercelPkgPathRegex
27
27
  });
28
28
  module.exports = __toCommonJS(download_exports);
29
- var import_chunk_BWIXGQIC = require("./chunk-BWIXGQIC.js");
29
+ var import_chunk_LUTZ7RIZ = require("./chunk-LUTZ7RIZ.js");
30
30
  var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
31
31
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
32
32
  var import_chunk_FKKOTNO6 = require("./chunk-FKKOTNO6.js");
33
- var import_chunk_BBQM2DBF = require("./chunk-BBQM2DBF.js");
33
+ var import_chunk_7NQURTUG = require("./chunk-7NQURTUG.js");
34
34
  var import_chunk_TIRVZJHP = require("./chunk-TIRVZJHP.js");
35
35
  var import_chunk_ZAFWMCVK = require("./chunk-ZAFWMCVK.js");
36
36
  var import_chunk_G7EM4XDM = require("./chunk-G7EM4XDM.js");
37
37
  var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
38
38
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
39
39
  var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
40
- var import_chunk_OFSFRIEP = require("./chunk-OFSFRIEP.js");
40
+ var import_chunk_AGZFDFHU = require("./chunk-AGZFDFHU.js");
41
41
  var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.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_BBQM2DBF.downloadZip
21
+ downloadZip: () => import_chunk_7NQURTUG.downloadZip
22
22
  });
23
23
  module.exports = __toCommonJS(downloadZip_exports);
24
- var import_chunk_BBQM2DBF = require("./chunk-BBQM2DBF.js");
24
+ var import_chunk_7NQURTUG = require("./chunk-7NQURTUG.js");
25
25
  var import_chunk_TIRVZJHP = require("./chunk-TIRVZJHP.js");
26
26
  var import_chunk_ZAFWMCVK = require("./chunk-ZAFWMCVK.js");
27
27
  var import_chunk_G7EM4XDM = require("./chunk-G7EM4XDM.js");
28
28
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
29
- var import_chunk_OFSFRIEP = require("./chunk-OFSFRIEP.js");
29
+ var import_chunk_AGZFDFHU = require("./chunk-AGZFDFHU.js");
30
30
  var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getProxyAgent_exports = {};
20
20
  __export(getProxyAgent_exports, {
21
- getProxyAgent: () => import_chunk_OFSFRIEP.getProxyAgent
21
+ getProxyAgent: () => import_chunk_AGZFDFHU.getProxyAgent
22
22
  });
23
23
  module.exports = __toCommonJS(getProxyAgent_exports);
24
- var import_chunk_OFSFRIEP = require("./chunk-OFSFRIEP.js");
24
+ var import_chunk_AGZFDFHU = require("./chunk-AGZFDFHU.js");
25
25
  var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
package/dist/index.js CHANGED
@@ -21,29 +21,29 @@ __export(index_exports, {
21
21
  BinaryType: () => import_chunk_X37PZICB.BinaryType,
22
22
  allEngineEnvVarsSet: () => import_chunk_PXQVM7NP.allEngineEnvVarsSet,
23
23
  deprecatedEnvVarMap: () => import_chunk_PXQVM7NP.deprecatedEnvVarMap,
24
- download: () => import_chunk_BWIXGQIC.download,
24
+ download: () => import_chunk_LUTZ7RIZ.download,
25
25
  engineEnvVarMap: () => import_chunk_PXQVM7NP.engineEnvVarMap,
26
26
  getBinaryEnvVarPath: () => import_chunk_PXQVM7NP.getBinaryEnvVarPath,
27
- getBinaryName: () => import_chunk_BWIXGQIC.getBinaryName,
27
+ getBinaryName: () => import_chunk_LUTZ7RIZ.getBinaryName,
28
28
  getCacheDir: () => import_chunk_G7EM4XDM.getCacheDir,
29
- getProxyAgent: () => import_chunk_OFSFRIEP.getProxyAgent,
30
- getVersion: () => import_chunk_BWIXGQIC.getVersion,
31
- maybeCopyToTmp: () => import_chunk_BWIXGQIC.maybeCopyToTmp,
29
+ getProxyAgent: () => import_chunk_AGZFDFHU.getProxyAgent,
30
+ getVersion: () => import_chunk_LUTZ7RIZ.getVersion,
31
+ maybeCopyToTmp: () => import_chunk_LUTZ7RIZ.maybeCopyToTmp,
32
32
  overwriteFile: () => import_chunk_G7EM4XDM.overwriteFile,
33
- plusX: () => import_chunk_BWIXGQIC.plusX,
34
- vercelPkgPathRegex: () => import_chunk_BWIXGQIC.vercelPkgPathRegex
33
+ plusX: () => import_chunk_LUTZ7RIZ.plusX,
34
+ vercelPkgPathRegex: () => import_chunk_LUTZ7RIZ.vercelPkgPathRegex
35
35
  });
36
36
  module.exports = __toCommonJS(index_exports);
37
- var import_chunk_BWIXGQIC = require("./chunk-BWIXGQIC.js");
37
+ var import_chunk_LUTZ7RIZ = require("./chunk-LUTZ7RIZ.js");
38
38
  var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
39
39
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
40
40
  var import_chunk_FKKOTNO6 = require("./chunk-FKKOTNO6.js");
41
- var import_chunk_BBQM2DBF = require("./chunk-BBQM2DBF.js");
41
+ var import_chunk_7NQURTUG = require("./chunk-7NQURTUG.js");
42
42
  var import_chunk_TIRVZJHP = require("./chunk-TIRVZJHP.js");
43
43
  var import_chunk_ZAFWMCVK = require("./chunk-ZAFWMCVK.js");
44
44
  var import_chunk_G7EM4XDM = require("./chunk-G7EM4XDM.js");
45
45
  var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
46
46
  var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
47
47
  var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
48
- var import_chunk_OFSFRIEP = require("./chunk-OFSFRIEP.js");
48
+ var import_chunk_AGZFDFHU = require("./chunk-AGZFDFHU.js");
49
49
  var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/fetch-engine",
3
- "version": "6.3.0-dev.20",
3
+ "version": "6.3.0-dev.21",
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",
@@ -15,7 +15,7 @@
15
15
  "bugs": "https://github.com/prisma/prisma/issues",
16
16
  "enginesOverride": {},
17
17
  "devDependencies": {
18
- "@swc/core": "1.10.1",
18
+ "@swc/core": "1.10.9",
19
19
  "@swc/jest": "0.2.37",
20
20
  "@types/jest": "29.5.14",
21
21
  "@types/node": "18.19.31",
@@ -26,7 +26,7 @@
26
26
  "fs-extra": "11.1.1",
27
27
  "hasha": "5.2.2",
28
28
  "http-proxy-agent": "7.0.2",
29
- "https-proxy-agent": "7.0.5",
29
+ "https-proxy-agent": "7.0.6",
30
30
  "jest": "29.7.0",
31
31
  "kleur": "4.1.5",
32
32
  "node-fetch": "3.3.2",
@@ -43,8 +43,8 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@prisma/engines-version": "6.3.0-16.eb5bc5493ac383a8fe3c3e7fabfc93e4d44ca21e",
46
- "@prisma/debug": "6.3.0-dev.20",
47
- "@prisma/get-platform": "6.3.0-dev.20"
46
+ "@prisma/debug": "6.3.0-dev.21",
47
+ "@prisma/get-platform": "6.3.0-dev.21"
48
48
  },
49
49
  "files": [
50
50
  "README.md",