@prisma/fetch-engine 5.19.0-dev.12 → 5.19.0-dev.13

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_WKUV47GM_exports = {};
30
- __export(chunk_WKUV47GM_exports, {
29
+ var chunk_B7Q6Z2SD_exports = {};
30
+ __export(chunk_B7Q6Z2SD_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_WKUV47GM_exports);
35
+ module.exports = __toCommonJS(chunk_B7Q6Z2SD_exports);
36
36
  var import_chunk_VTJS2JJN = require("./chunk-VTJS2JJN.js");
37
37
  var import_chunk_RGVHWUUH = require("./chunk-RGVHWUUH.js");
38
38
  var import_chunk_5T2KHPZI = require("./chunk-5T2KHPZI.js");
39
- var import_chunk_IGWBG6OP = require("./chunk-IGWBG6OP.js");
39
+ var import_chunk_KDPLGCY6 = require("./chunk-KDPLGCY6.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"));
@@ -8001,7 +8001,7 @@ async function fetchChecksum(url) {
8001
8001
  try {
8002
8002
  const checksumUrl = `${url}.sha256`;
8003
8003
  const response = await fetch(checksumUrl, {
8004
- agent: (0, import_chunk_IGWBG6OP.getProxyAgent)(url)
8004
+ agent: (0, import_chunk_KDPLGCY6.getProxyAgent)(url)
8005
8005
  });
8006
8006
  if (!response.ok) {
8007
8007
  let errorMessage = `Failed to fetch sha256 checksum at ${checksumUrl} - ${response.status} ${response.statusText}`;
@@ -8047,7 +8047,7 @@ async function downloadZip(url, target, progressCb) {
8047
8047
  async () => {
8048
8048
  const response = await fetch(url, {
8049
8049
  compress: false,
8050
- agent: (0, import_chunk_IGWBG6OP.getProxyAgent)(url)
8050
+ agent: (0, import_chunk_KDPLGCY6.getProxyAgent)(url)
8051
8051
  });
8052
8052
  if (!response.ok) {
8053
8053
  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_IGWBG6OP_exports = {};
30
- __export(chunk_IGWBG6OP_exports, {
29
+ var chunk_KDPLGCY6_exports = {};
30
+ __export(chunk_KDPLGCY6_exports, {
31
31
  getProxyAgent: () => getProxyAgent
32
32
  });
33
- module.exports = __toCommonJS(chunk_IGWBG6OP_exports);
33
+ module.exports = __toCommonJS(chunk_KDPLGCY6_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"));
@@ -150,7 +150,7 @@ var require_ms = (0, import_chunk_AH6QHEOA.__commonJS)({
150
150
  }
151
151
  });
152
152
  var require_common = (0, import_chunk_AH6QHEOA.__commonJS)({
153
- "../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js"(exports, module2) {
153
+ "../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/common.js"(exports, module2) {
154
154
  "use strict";
155
155
  function setup(env) {
156
156
  createDebug.debug = createDebug;
@@ -312,7 +312,7 @@ var require_common = (0, import_chunk_AH6QHEOA.__commonJS)({
312
312
  }
313
313
  });
314
314
  var require_browser = (0, import_chunk_AH6QHEOA.__commonJS)({
315
- "../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js"(exports, module2) {
315
+ "../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/browser.js"(exports, module2) {
316
316
  "use strict";
317
317
  exports.formatArgs = formatArgs;
318
318
  exports.save = save;
@@ -413,10 +413,11 @@ var require_browser = (0, import_chunk_AH6QHEOA.__commonJS)({
413
413
  if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
414
414
  return false;
415
415
  }
416
+ let m;
416
417
  return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
417
418
  typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
418
419
  // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
419
- typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
420
+ typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
420
421
  typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
421
422
  }
422
423
  function formatArgs(args) {
@@ -603,7 +604,7 @@ var require_supports_color = (0, import_chunk_AH6QHEOA.__commonJS)({
603
604
  }
604
605
  });
605
606
  var require_node = (0, import_chunk_AH6QHEOA.__commonJS)({
606
- "../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js"(exports, module2) {
607
+ "../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/node.js"(exports, module2) {
607
608
  "use strict";
608
609
  var tty = (0, import_chunk_AH6QHEOA.__require)("tty");
609
610
  var util = (0, import_chunk_AH6QHEOA.__require)("util");
@@ -776,7 +777,7 @@ var require_node = (0, import_chunk_AH6QHEOA.__commonJS)({
776
777
  }
777
778
  });
778
779
  var require_src = (0, import_chunk_AH6QHEOA.__commonJS)({
779
- "../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js"(exports, module2) {
780
+ "../../node_modules/.pnpm/debug@4.3.6/node_modules/debug/src/index.js"(exports, module2) {
780
781
  "use strict";
781
782
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
782
783
  module2.exports = require_browser();