@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.
- package/dist/chunk-AZKAIDG4.js +3223 -0
- package/dist/{chunk-WKUV47GM.js → chunk-B7Q6Z2SD.js} +6 -6
- package/dist/{chunk-IGWBG6OP.js → chunk-KDPLGCY6.js} +9 -8
- package/dist/chunk-KY3R4WOI.js +8153 -0
- package/dist/{chunk-B67FYFJF.js → chunk-RLPLOEKK.js} +18 -18
- package/dist/{chunk-2Q3GT4IJ.js → chunk-T7QS4JZ4.js} +8 -8
- package/dist/chunk-VQPMQ44G.js +70 -0
- package/dist/download.js +9 -9
- package/dist/downloadZip.js +3 -3
- package/dist/getProxyAgent.js +2 -2
- package/dist/index.js +10 -10
- package/package.json +3 -3
|
@@ -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
|
|
30
|
-
__export(
|
|
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(
|
|
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
|
|
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,
|
|
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,
|
|
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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_KDPLGCY6_exports = {};
|
|
30
|
+
__export(chunk_KDPLGCY6_exports, {
|
|
31
31
|
getProxyAgent: () => getProxyAgent
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
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.
|
|
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.
|
|
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(
|
|
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.
|
|
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.
|
|
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();
|