@prisma/fetch-engine 6.20.0-integration-next.20 → 7.0.1-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BinaryType.js +1 -1
- package/dist/chmodPlusX.js +1 -1
- package/dist/{chunk-QGM4M3NI.js → chunk-2ESYSVXG.js} +14 -3
- package/dist/{chunk-TB7KGAWO.js → chunk-4GGGRRIN.js} +8 -8
- package/dist/{chunk-7DQIGMPT.js → chunk-4MDZEOKU.js} +60 -60
- package/dist/{chunk-MWVY55RY.js → chunk-5564WBCW.js} +7 -7
- package/dist/{chunk-FSAAZH62.js → chunk-7AOUSONO.js} +9 -9
- package/dist/{chunk-CHRICIOM.js → chunk-7GCAOOQZ.js} +49 -49
- package/dist/{chunk-VAPNG6TS.js → chunk-CTLNI6CP.js} +184 -159
- package/dist/{chunk-ZMA4WSU3.js → chunk-D5GE4IZY.js} +48 -48
- package/dist/{chunk-M7DAFQLF.js → chunk-FNYZ6ABB.js} +203 -203
- package/dist/{chunk-RXM4EBGR.js → chunk-VLGS4WJI.js} +13 -13
- package/dist/cleanupCache.js +5 -5
- package/dist/download.js +15 -15
- package/dist/downloadZip.js +7 -7
- package/dist/env.js +1 -1
- package/dist/getHash.js +1 -1
- package/dist/getProxyAgent.js +3 -3
- package/dist/index.js +18 -18
- package/dist/log.js +3 -3
- package/dist/{multipart-parser-ASKQAOL4.js → multipart-parser-3E7JBBYS.js} +7 -7
- package/dist/utils.js +6 -6
- package/package.json +4 -4
|
@@ -26,14 +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_CTLNI6CP_exports = {};
|
|
30
|
+
__export(chunk_CTLNI6CP_exports, {
|
|
31
31
|
getProxyAgent: () => getProxyAgent
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(chunk_CTLNI6CP_exports);
|
|
34
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
35
|
+
var import_node_process = __toESM(require("node:process"));
|
|
36
|
+
var import_node_os = __toESM(require("node:os"));
|
|
37
|
+
var import_node_tty = __toESM(require("node:tty"));
|
|
35
38
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
36
|
-
var require_ms = (0,
|
|
39
|
+
var require_ms = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
37
40
|
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module2) {
|
|
38
41
|
"use strict";
|
|
39
42
|
var s = 1e3;
|
|
@@ -148,10 +151,10 @@ var require_ms = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
148
151
|
}
|
|
149
152
|
}
|
|
150
153
|
});
|
|
151
|
-
var require_common = (0,
|
|
152
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
154
|
+
var require_common = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
155
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/common.js"(exports, module2) {
|
|
153
156
|
"use strict";
|
|
154
|
-
function setup(
|
|
157
|
+
function setup(env2) {
|
|
155
158
|
createDebug.debug = createDebug;
|
|
156
159
|
createDebug.default = createDebug;
|
|
157
160
|
createDebug.coerce = coerce;
|
|
@@ -160,8 +163,8 @@ var require_common = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
160
163
|
createDebug.enabled = enabled;
|
|
161
164
|
createDebug.humanize = require_ms();
|
|
162
165
|
createDebug.destroy = destroy;
|
|
163
|
-
Object.keys(
|
|
164
|
-
createDebug[key] =
|
|
166
|
+
Object.keys(env2).forEach((key) => {
|
|
167
|
+
createDebug[key] = env2[key];
|
|
165
168
|
});
|
|
166
169
|
createDebug.names = [];
|
|
167
170
|
createDebug.skips = [];
|
|
@@ -324,8 +327,8 @@ var require_common = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
324
327
|
module2.exports = setup;
|
|
325
328
|
}
|
|
326
329
|
});
|
|
327
|
-
var require_browser = (0,
|
|
328
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
330
|
+
var require_browser = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
331
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/browser.js"(exports, module2) {
|
|
329
332
|
"use strict";
|
|
330
333
|
exports.formatArgs = formatArgs;
|
|
331
334
|
exports.save = save;
|
|
@@ -493,134 +496,156 @@ var require_browser = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
493
496
|
};
|
|
494
497
|
}
|
|
495
498
|
});
|
|
496
|
-
var
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
501
|
-
const position = argv.indexOf(prefix + flag);
|
|
502
|
-
const terminatorPosition = argv.indexOf("--");
|
|
503
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
504
|
-
};
|
|
505
|
-
}
|
|
499
|
+
var supports_color_exports = {};
|
|
500
|
+
(0, import_chunk_2ESYSVXG.__export)(supports_color_exports, {
|
|
501
|
+
createSupportsColor: () => createSupportsColor,
|
|
502
|
+
default: () => supports_color_default
|
|
506
503
|
});
|
|
507
|
-
|
|
508
|
-
"
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
504
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
|
|
505
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
506
|
+
const position = argv.indexOf(prefix + flag);
|
|
507
|
+
const terminatorPosition = argv.indexOf("--");
|
|
508
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
509
|
+
}
|
|
510
|
+
function envForceColor() {
|
|
511
|
+
if (!("FORCE_COLOR" in env)) {
|
|
512
|
+
return;
|
|
513
|
+
}
|
|
514
|
+
if (env.FORCE_COLOR === "true") {
|
|
515
|
+
return 1;
|
|
516
|
+
}
|
|
517
|
+
if (env.FORCE_COLOR === "false") {
|
|
518
|
+
return 0;
|
|
519
|
+
}
|
|
520
|
+
if (env.FORCE_COLOR.length === 0) {
|
|
521
|
+
return 1;
|
|
522
|
+
}
|
|
523
|
+
const level = Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
524
|
+
if (![0, 1, 2, 3].includes(level)) {
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
return level;
|
|
528
|
+
}
|
|
529
|
+
function translateLevel(level) {
|
|
530
|
+
if (level === 0) {
|
|
531
|
+
return false;
|
|
532
|
+
}
|
|
533
|
+
return {
|
|
534
|
+
level,
|
|
535
|
+
hasBasic: true,
|
|
536
|
+
has256: level >= 2,
|
|
537
|
+
has16m: level >= 3
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
541
|
+
const noFlagForceColor = envForceColor();
|
|
542
|
+
if (noFlagForceColor !== void 0) {
|
|
543
|
+
flagForceColor = noFlagForceColor;
|
|
544
|
+
}
|
|
545
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
546
|
+
if (forceColor === 0) {
|
|
547
|
+
return 0;
|
|
548
|
+
}
|
|
549
|
+
if (sniffFlags) {
|
|
550
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
551
|
+
return 3;
|
|
519
552
|
}
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
if (env.FORCE_COLOR === "true") {
|
|
523
|
-
return 1;
|
|
524
|
-
}
|
|
525
|
-
if (env.FORCE_COLOR === "false") {
|
|
526
|
-
return 0;
|
|
527
|
-
}
|
|
528
|
-
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
529
|
-
}
|
|
553
|
+
if (hasFlag("color=256")) {
|
|
554
|
+
return 2;
|
|
530
555
|
}
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
556
|
+
}
|
|
557
|
+
if ("TF_BUILD" in env && "AGENT_NAME" in env) {
|
|
558
|
+
return 1;
|
|
559
|
+
}
|
|
560
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
561
|
+
return 0;
|
|
562
|
+
}
|
|
563
|
+
const min = forceColor || 0;
|
|
564
|
+
if (env.TERM === "dumb") {
|
|
565
|
+
return min;
|
|
566
|
+
}
|
|
567
|
+
if (import_node_process.default.platform === "win32") {
|
|
568
|
+
const osRelease = import_node_os.default.release().split(".");
|
|
569
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
570
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
541
571
|
}
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
if ("CI" in env) {
|
|
574
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
575
|
-
return 1;
|
|
576
|
-
}
|
|
577
|
-
return min;
|
|
578
|
-
}
|
|
579
|
-
if ("TEAMCITY_VERSION" in env) {
|
|
580
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
581
|
-
}
|
|
582
|
-
if (env.COLORTERM === "truecolor") {
|
|
583
|
-
return 3;
|
|
584
|
-
}
|
|
585
|
-
if ("TERM_PROGRAM" in env) {
|
|
586
|
-
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
587
|
-
switch (env.TERM_PROGRAM) {
|
|
588
|
-
case "iTerm.app":
|
|
589
|
-
return version >= 3 ? 3 : 2;
|
|
590
|
-
case "Apple_Terminal":
|
|
591
|
-
return 2;
|
|
592
|
-
}
|
|
572
|
+
return 1;
|
|
573
|
+
}
|
|
574
|
+
if ("CI" in env) {
|
|
575
|
+
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
|
|
576
|
+
return 3;
|
|
577
|
+
}
|
|
578
|
+
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
579
|
+
return 1;
|
|
580
|
+
}
|
|
581
|
+
return min;
|
|
582
|
+
}
|
|
583
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
584
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
585
|
+
}
|
|
586
|
+
if (env.COLORTERM === "truecolor") {
|
|
587
|
+
return 3;
|
|
588
|
+
}
|
|
589
|
+
if (env.TERM === "xterm-kitty") {
|
|
590
|
+
return 3;
|
|
591
|
+
}
|
|
592
|
+
if (env.TERM === "xterm-ghostty") {
|
|
593
|
+
return 3;
|
|
594
|
+
}
|
|
595
|
+
if (env.TERM === "wezterm") {
|
|
596
|
+
return 3;
|
|
597
|
+
}
|
|
598
|
+
if ("TERM_PROGRAM" in env) {
|
|
599
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
600
|
+
switch (env.TERM_PROGRAM) {
|
|
601
|
+
case "iTerm.app": {
|
|
602
|
+
return version >= 3 ? 3 : 2;
|
|
593
603
|
}
|
|
594
|
-
|
|
604
|
+
case "Apple_Terminal": {
|
|
595
605
|
return 2;
|
|
596
606
|
}
|
|
597
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
598
|
-
return 1;
|
|
599
|
-
}
|
|
600
|
-
if ("COLORTERM" in env) {
|
|
601
|
-
return 1;
|
|
602
|
-
}
|
|
603
|
-
return min;
|
|
604
607
|
}
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
608
|
+
}
|
|
609
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
610
|
+
return 2;
|
|
611
|
+
}
|
|
612
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
613
|
+
return 1;
|
|
614
|
+
}
|
|
615
|
+
if ("COLORTERM" in env) {
|
|
616
|
+
return 1;
|
|
617
|
+
}
|
|
618
|
+
return min;
|
|
619
|
+
}
|
|
620
|
+
function createSupportsColor(stream, options = {}) {
|
|
621
|
+
const level = _supportsColor(stream, {
|
|
622
|
+
streamIsTTY: stream && stream.isTTY,
|
|
623
|
+
...options
|
|
624
|
+
});
|
|
625
|
+
return translateLevel(level);
|
|
626
|
+
}
|
|
627
|
+
var env, flagForceColor, supportsColor, supports_color_default;
|
|
628
|
+
var init_supports_color = (0, import_chunk_2ESYSVXG.__esm)({
|
|
629
|
+
"../../node_modules/.pnpm/supports-color@10.2.2/node_modules/supports-color/index.js"() {
|
|
630
|
+
"use strict";
|
|
631
|
+
({ env } = import_node_process.default);
|
|
632
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
633
|
+
flagForceColor = 0;
|
|
634
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
635
|
+
flagForceColor = 1;
|
|
611
636
|
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
stderr: getSupportLevel({ isTTY: tty.isatty(2) })
|
|
637
|
+
supportsColor = {
|
|
638
|
+
stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
|
|
639
|
+
stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
|
|
616
640
|
};
|
|
641
|
+
supports_color_default = supportsColor;
|
|
617
642
|
}
|
|
618
643
|
});
|
|
619
|
-
var require_node = (0,
|
|
620
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
644
|
+
var require_node = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
645
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/node.js"(exports, module2) {
|
|
621
646
|
"use strict";
|
|
622
|
-
var
|
|
623
|
-
var util = (0,
|
|
647
|
+
var tty2 = (0, import_chunk_2ESYSVXG.__require)("tty");
|
|
648
|
+
var util = (0, import_chunk_2ESYSVXG.__require)("util");
|
|
624
649
|
exports.init = init;
|
|
625
650
|
exports.log = log;
|
|
626
651
|
exports.formatArgs = formatArgs;
|
|
@@ -634,8 +659,8 @@ var require_node = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
634
659
|
);
|
|
635
660
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
636
661
|
try {
|
|
637
|
-
const
|
|
638
|
-
if (
|
|
662
|
+
const supportsColor2 = (init_supports_color(), (0, import_chunk_2ESYSVXG.__toCommonJS)(supports_color_exports));
|
|
663
|
+
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
639
664
|
exports.colors = [
|
|
640
665
|
20,
|
|
641
666
|
21,
|
|
@@ -737,7 +762,7 @@ var require_node = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
737
762
|
return obj;
|
|
738
763
|
}, {});
|
|
739
764
|
function useColors() {
|
|
740
|
-
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) :
|
|
765
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
741
766
|
}
|
|
742
767
|
function formatArgs(args) {
|
|
743
768
|
const { namespace: name, useColors: useColors2 } = this;
|
|
@@ -789,8 +814,8 @@ var require_node = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
789
814
|
};
|
|
790
815
|
}
|
|
791
816
|
});
|
|
792
|
-
var require_src = (0,
|
|
793
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
817
|
+
var require_src = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
818
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@10.2.2/node_modules/debug/src/index.js"(exports, module2) {
|
|
794
819
|
"use strict";
|
|
795
820
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
796
821
|
module2.exports = require_browser();
|
|
@@ -799,7 +824,7 @@ var require_src = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
799
824
|
}
|
|
800
825
|
}
|
|
801
826
|
});
|
|
802
|
-
var require_helpers = (0,
|
|
827
|
+
var require_helpers = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
803
828
|
"../../node_modules/.pnpm/agent-base@7.1.0/node_modules/agent-base/dist/helpers.js"(exports) {
|
|
804
829
|
"use strict";
|
|
805
830
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -831,8 +856,8 @@ var require_helpers = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
831
856
|
};
|
|
832
857
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
833
858
|
exports.req = exports.json = exports.toBuffer = void 0;
|
|
834
|
-
var http = __importStar((0,
|
|
835
|
-
var https = __importStar((0,
|
|
859
|
+
var http = __importStar((0, import_chunk_2ESYSVXG.__require)("http"));
|
|
860
|
+
var https = __importStar((0, import_chunk_2ESYSVXG.__require)("https"));
|
|
836
861
|
async function toBuffer(stream) {
|
|
837
862
|
let length = 0;
|
|
838
863
|
const chunks = [];
|
|
@@ -867,7 +892,7 @@ var require_helpers = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
867
892
|
exports.req = req;
|
|
868
893
|
}
|
|
869
894
|
});
|
|
870
|
-
var require_dist = (0,
|
|
895
|
+
var require_dist = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
871
896
|
"../../node_modules/.pnpm/agent-base@7.1.0/node_modules/agent-base/dist/index.js"(exports) {
|
|
872
897
|
"use strict";
|
|
873
898
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -902,7 +927,7 @@ var require_dist = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
902
927
|
};
|
|
903
928
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
904
929
|
exports.Agent = void 0;
|
|
905
|
-
var http = __importStar((0,
|
|
930
|
+
var http = __importStar((0, import_chunk_2ESYSVXG.__require)("http"));
|
|
906
931
|
__exportStar(require_helpers(), exports);
|
|
907
932
|
var INTERNAL = Symbol("AgentBaseInternalState");
|
|
908
933
|
var Agent = class extends http.Agent {
|
|
@@ -968,7 +993,7 @@ var require_dist = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
968
993
|
exports.Agent = Agent;
|
|
969
994
|
}
|
|
970
995
|
});
|
|
971
|
-
var require_dist2 = (0,
|
|
996
|
+
var require_dist2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
972
997
|
"../../node_modules/.pnpm/http-proxy-agent@7.0.2/node_modules/http-proxy-agent/dist/index.js"(exports) {
|
|
973
998
|
"use strict";
|
|
974
999
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -1003,12 +1028,12 @@ var require_dist2 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1003
1028
|
};
|
|
1004
1029
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1005
1030
|
exports.HttpProxyAgent = void 0;
|
|
1006
|
-
var net = __importStar((0,
|
|
1007
|
-
var tls = __importStar((0,
|
|
1031
|
+
var net = __importStar((0, import_chunk_2ESYSVXG.__require)("net"));
|
|
1032
|
+
var tls = __importStar((0, import_chunk_2ESYSVXG.__require)("tls"));
|
|
1008
1033
|
var debug_1 = __importDefault(require_src());
|
|
1009
|
-
var events_1 = (0,
|
|
1034
|
+
var events_1 = (0, import_chunk_2ESYSVXG.__require)("events");
|
|
1010
1035
|
var agent_base_1 = require_dist();
|
|
1011
|
-
var url_1 = (0,
|
|
1036
|
+
var url_1 = (0, import_chunk_2ESYSVXG.__require)("url");
|
|
1012
1037
|
var debug2 = (0, debug_1.default)("http-proxy-agent");
|
|
1013
1038
|
var HttpProxyAgent2 = class extends agent_base_1.Agent {
|
|
1014
1039
|
constructor(proxy, opts) {
|
|
@@ -1096,7 +1121,7 @@ var require_dist2 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1096
1121
|
}
|
|
1097
1122
|
}
|
|
1098
1123
|
});
|
|
1099
|
-
var require_helpers2 = (0,
|
|
1124
|
+
var require_helpers2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1100
1125
|
"../../node_modules/.pnpm/agent-base@7.1.3/node_modules/agent-base/dist/helpers.js"(exports) {
|
|
1101
1126
|
"use strict";
|
|
1102
1127
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -1128,8 +1153,8 @@ var require_helpers2 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1128
1153
|
};
|
|
1129
1154
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1130
1155
|
exports.req = exports.json = exports.toBuffer = void 0;
|
|
1131
|
-
var http = __importStar((0,
|
|
1132
|
-
var https = __importStar((0,
|
|
1156
|
+
var http = __importStar((0, import_chunk_2ESYSVXG.__require)("http"));
|
|
1157
|
+
var https = __importStar((0, import_chunk_2ESYSVXG.__require)("https"));
|
|
1133
1158
|
async function toBuffer(stream) {
|
|
1134
1159
|
let length = 0;
|
|
1135
1160
|
const chunks = [];
|
|
@@ -1164,7 +1189,7 @@ var require_helpers2 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1164
1189
|
exports.req = req;
|
|
1165
1190
|
}
|
|
1166
1191
|
});
|
|
1167
|
-
var require_dist3 = (0,
|
|
1192
|
+
var require_dist3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1168
1193
|
"../../node_modules/.pnpm/agent-base@7.1.3/node_modules/agent-base/dist/index.js"(exports) {
|
|
1169
1194
|
"use strict";
|
|
1170
1195
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -1199,9 +1224,9 @@ var require_dist3 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1199
1224
|
};
|
|
1200
1225
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1201
1226
|
exports.Agent = void 0;
|
|
1202
|
-
var net = __importStar((0,
|
|
1203
|
-
var http = __importStar((0,
|
|
1204
|
-
var https_1 = (0,
|
|
1227
|
+
var net = __importStar((0, import_chunk_2ESYSVXG.__require)("net"));
|
|
1228
|
+
var http = __importStar((0, import_chunk_2ESYSVXG.__require)("http"));
|
|
1229
|
+
var https_1 = (0, import_chunk_2ESYSVXG.__require)("https");
|
|
1205
1230
|
__exportStar(require_helpers2(), exports);
|
|
1206
1231
|
var INTERNAL = Symbol("AgentBaseInternalState");
|
|
1207
1232
|
var Agent = class extends http.Agent {
|
|
@@ -1318,8 +1343,8 @@ var require_dist3 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1318
1343
|
exports.Agent = Agent;
|
|
1319
1344
|
}
|
|
1320
1345
|
});
|
|
1321
|
-
var require_parse_proxy_response = (0,
|
|
1322
|
-
"../../node_modules/.pnpm/https-proxy-agent@7.0.
|
|
1346
|
+
var require_parse_proxy_response = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1347
|
+
"../../node_modules/.pnpm/https-proxy-agent@7.0.6_supports-color@10.2.2/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) {
|
|
1323
1348
|
"use strict";
|
|
1324
1349
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
1325
1350
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -1412,8 +1437,8 @@ var require_parse_proxy_response = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1412
1437
|
exports.parseProxyResponse = parseProxyResponse;
|
|
1413
1438
|
}
|
|
1414
1439
|
});
|
|
1415
|
-
var require_dist4 = (0,
|
|
1416
|
-
"../../node_modules/.pnpm/https-proxy-agent@7.0.
|
|
1440
|
+
var require_dist4 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1441
|
+
"../../node_modules/.pnpm/https-proxy-agent@7.0.6_supports-color@10.2.2/node_modules/https-proxy-agent/dist/index.js"(exports) {
|
|
1417
1442
|
"use strict";
|
|
1418
1443
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1419
1444
|
if (k2 === void 0) k2 = k;
|
|
@@ -1447,12 +1472,12 @@ var require_dist4 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1447
1472
|
};
|
|
1448
1473
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1449
1474
|
exports.HttpsProxyAgent = void 0;
|
|
1450
|
-
var net = __importStar((0,
|
|
1451
|
-
var tls = __importStar((0,
|
|
1452
|
-
var assert_1 = __importDefault((0,
|
|
1475
|
+
var net = __importStar((0, import_chunk_2ESYSVXG.__require)("net"));
|
|
1476
|
+
var tls = __importStar((0, import_chunk_2ESYSVXG.__require)("tls"));
|
|
1477
|
+
var assert_1 = __importDefault((0, import_chunk_2ESYSVXG.__require)("assert"));
|
|
1453
1478
|
var debug_1 = __importDefault(require_src());
|
|
1454
1479
|
var agent_base_1 = require_dist3();
|
|
1455
|
-
var url_1 = (0,
|
|
1480
|
+
var url_1 = (0, import_chunk_2ESYSVXG.__require)("url");
|
|
1456
1481
|
var parse_proxy_response_1 = require_parse_proxy_response();
|
|
1457
1482
|
var debug2 = (0, debug_1.default)("https-proxy-agent");
|
|
1458
1483
|
var setServernameFromNonIpHost = (options) => {
|
|
@@ -1560,8 +1585,8 @@ var require_dist4 = (0, import_chunk_QGM4M3NI.__commonJS)({
|
|
|
1560
1585
|
}
|
|
1561
1586
|
}
|
|
1562
1587
|
});
|
|
1563
|
-
var import_http_proxy_agent = (0,
|
|
1564
|
-
var import_https_proxy_agent = (0,
|
|
1588
|
+
var import_http_proxy_agent = (0, import_chunk_2ESYSVXG.__toESM)(require_dist2());
|
|
1589
|
+
var import_https_proxy_agent = (0, import_chunk_2ESYSVXG.__toESM)(require_dist4());
|
|
1565
1590
|
var debug = (0, import_debug.default)("prisma:fetch-engine:getProxyAgent");
|
|
1566
1591
|
function formatHostname(hostname) {
|
|
1567
1592
|
return hostname.replace(/^\.*/, ".").toLowerCase();
|