@donotdev/cli 0.2.2 → 0.2.3
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/dependencies-matrix.json +39 -38
- package/dist/bin/commands/agent-setup.js +135 -67
- package/dist/bin/commands/build.js +288 -232
- package/dist/bin/commands/bump.js +293 -250
- package/dist/bin/commands/cacheout.js +59 -49
- package/dist/bin/commands/coach.js +80 -50
- package/dist/bin/commands/create-app.js +501 -228
- package/dist/bin/commands/create-project.js +377 -241
- package/dist/bin/commands/db.js +1873 -1804
- package/dist/bin/commands/deploy.js +476 -287
- package/dist/bin/commands/dev.js +139 -108
- package/dist/bin/commands/doctor.js +91 -57
- package/dist/bin/commands/emu.js +196 -154
- package/dist/bin/commands/format.js +83 -50
- package/dist/bin/commands/get-demo.js +422 -197
- package/dist/bin/commands/make-admin.js +813 -707
- package/dist/bin/commands/preview.js +139 -108
- package/dist/bin/commands/seed.js +1874 -1809
- package/dist/bin/commands/setup-cicd.js +258 -204
- package/dist/bin/commands/setup.js +346 -247
- package/dist/bin/commands/staging.js +476 -287
- package/dist/bin/commands/sync-secrets.js +472 -141
- package/dist/bin/commands/type-check.js +163 -119
- package/dist/bin/commands/wai.js +53 -46
- package/dist/bin/dndev.js +10 -1
- package/dist/bin/donotdev.js +18 -8
- package/dist/index.js +590 -373
- package/package.json +2 -2
- package/templates/app-dndev/src/pages/legal/LegalNoticePage.tsx.example +1 -1
- package/templates/app-dndev/src/pages/legal/PrivacyPage.tsx.example +1 -1
- package/templates/app-dndev/src/pages/legal/TermsPage.tsx.example +1 -1
- package/templates/app-next/src/app/AppDocument.tsx.example +57 -0
- package/templates/app-next/src/app/ClientLayout.tsx.example +6 -2
- package/templates/app-next/src/pages/legal/LegalNoticePage.tsx.example +1 -1
- package/templates/app-next/src/pages/legal/PrivacyPage.tsx.example +1 -1
- package/templates/app-next/src/pages/legal/TermsPage.tsx.example +1 -1
- package/templates/app-vite/src/pages/FormPageExample.tsx.example +21 -16
- package/templates/app-vite/src/pages/legal/LegalNoticePage.tsx.example +1 -1
- package/templates/app-vite/src/pages/legal/PrivacyPage.tsx.example +1 -1
- package/templates/app-vite/src/pages/legal/TermsPage.tsx.example +1 -1
- package/templates/overlay-supabase/src/config/providers.nextjs.ts.example +37 -0
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +5 -1
- package/templates/root-consumer/.gitignore.example +7 -1
- package/templates/app-next/src/app/layout.tsx.example +0 -80
- package/templates/app-next/src/app/not-found.tsx.example +0 -40
|
@@ -144,7 +144,7 @@ var init_dist = __esm({
|
|
|
144
144
|
if (index >= length) {
|
|
145
145
|
break outer;
|
|
146
146
|
}
|
|
147
|
-
for (let i3 = 0,
|
|
147
|
+
for (let i3 = 0, l = PARSE_BLOCKS.length; i3 < l; i3++) {
|
|
148
148
|
const [BLOCK_RE, BLOCK_WIDTH] = PARSE_BLOCKS[i3];
|
|
149
149
|
BLOCK_RE.lastIndex = index;
|
|
150
150
|
if (BLOCK_RE.test(input)) {
|
|
@@ -410,25 +410,29 @@ var init_main = __esm({
|
|
|
410
410
|
}
|
|
411
411
|
});
|
|
412
412
|
|
|
413
|
-
// node_modules/.bun/sisteransi@
|
|
414
|
-
var
|
|
415
|
-
|
|
416
|
-
|
|
413
|
+
// node_modules/.bun/sisteransi@2.0.0/node_modules/sisteransi/dist/index.js
|
|
414
|
+
var ESC2, CSI2, cursor, erase, clear;
|
|
415
|
+
var init_dist3 = __esm({
|
|
416
|
+
"node_modules/.bun/sisteransi@2.0.0/node_modules/sisteransi/dist/index.js"() {
|
|
417
417
|
init_utils2();
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
return `${CSI2}${
|
|
418
|
+
ESC2 = "\x1B";
|
|
419
|
+
CSI2 = `${ESC2}[`;
|
|
420
|
+
cursor = {
|
|
421
|
+
to(x2, y) {
|
|
422
|
+
if (!y)
|
|
423
|
+
return `${CSI2}${x2 + 1}G`;
|
|
424
|
+
return `${CSI2}${y + 1};${x2 + 1}H`;
|
|
425
425
|
},
|
|
426
|
-
move(x2,
|
|
426
|
+
move(x2, y) {
|
|
427
427
|
let ret = "";
|
|
428
|
-
if (x2 < 0)
|
|
429
|
-
|
|
430
|
-
if (
|
|
431
|
-
|
|
428
|
+
if (x2 < 0)
|
|
429
|
+
ret += `${CSI2}${-x2}D`;
|
|
430
|
+
else if (x2 > 0)
|
|
431
|
+
ret += `${CSI2}${x2}C`;
|
|
432
|
+
if (y < 0)
|
|
433
|
+
ret += `${CSI2}${-y}A`;
|
|
434
|
+
else if (y > 0)
|
|
435
|
+
ret += `${CSI2}${y}B`;
|
|
432
436
|
return ret;
|
|
433
437
|
},
|
|
434
438
|
up: (count = 1) => `${CSI2}${count}A`,
|
|
@@ -443,11 +447,7 @@ var require_src = __commonJS({
|
|
|
443
447
|
save: `${ESC2}7`,
|
|
444
448
|
restore: `${ESC2}8`
|
|
445
449
|
};
|
|
446
|
-
|
|
447
|
-
up: (count = 1) => `${CSI2}S`.repeat(count),
|
|
448
|
-
down: (count = 1) => `${CSI2}T`.repeat(count)
|
|
449
|
-
};
|
|
450
|
-
var erase3 = {
|
|
450
|
+
erase = {
|
|
451
451
|
screen: `${CSI2}2J`,
|
|
452
452
|
up: (count = 1) => `${CSI2}1J`.repeat(count),
|
|
453
453
|
down: (count = 1) => `${CSI2}J`.repeat(count),
|
|
@@ -455,29 +455,31 @@ var require_src = __commonJS({
|
|
|
455
455
|
lineEnd: `${CSI2}K`,
|
|
456
456
|
lineStart: `${CSI2}1K`,
|
|
457
457
|
lines(count) {
|
|
458
|
-
let
|
|
458
|
+
let clear2 = "";
|
|
459
459
|
for (let i3 = 0; i3 < count; i3++)
|
|
460
|
-
|
|
460
|
+
clear2 += this.line + (i3 < count - 1 ? cursor.up() : "");
|
|
461
461
|
if (count)
|
|
462
|
-
|
|
463
|
-
return
|
|
462
|
+
clear2 += cursor.left;
|
|
463
|
+
return clear2;
|
|
464
464
|
}
|
|
465
465
|
};
|
|
466
|
-
|
|
466
|
+
clear = {
|
|
467
|
+
screen: `${ESC2}c`
|
|
468
|
+
};
|
|
467
469
|
}
|
|
468
470
|
});
|
|
469
471
|
|
|
470
|
-
// node_modules/.bun/@clack+core@1.
|
|
472
|
+
// node_modules/.bun/@clack+core@1.6.0/node_modules/@clack/core/dist/index.mjs
|
|
471
473
|
import { styleText } from "node:util";
|
|
472
474
|
import { stdout, stdin } from "node:process";
|
|
473
|
-
import * as
|
|
474
|
-
import
|
|
475
|
+
import * as f$1 from "node:readline";
|
|
476
|
+
import f__default from "node:readline";
|
|
475
477
|
import { ReadStream } from "node:tty";
|
|
476
|
-
function findCursor(
|
|
477
|
-
if (!
|
|
478
|
-
return
|
|
479
|
-
const t3 =
|
|
480
|
-
return
|
|
478
|
+
function findCursor(o, s2, l) {
|
|
479
|
+
if (!l.some((r3) => !r3.disabled))
|
|
480
|
+
return o;
|
|
481
|
+
const t3 = o + s2, n3 = Math.max(l.length - 1, 0), e2 = t3 < 0 ? n3 : t3 > n3 ? 0 : t3;
|
|
482
|
+
return l[e2]?.disabled ? findCursor(e2, s2 < 0 ? -1 : 1, l) : e2;
|
|
481
483
|
}
|
|
482
484
|
function isAccessible(n3) {
|
|
483
485
|
if (n3 !== void 0) return n3;
|
|
@@ -520,40 +522,40 @@ function block({
|
|
|
520
522
|
overwrite: o = true,
|
|
521
523
|
hideCursor: n3 = true
|
|
522
524
|
} = {}) {
|
|
523
|
-
const s2 =
|
|
525
|
+
const s2 = f$1.createInterface({
|
|
524
526
|
input: e2,
|
|
525
527
|
output: r3,
|
|
526
528
|
prompt: "",
|
|
527
529
|
tabSize: 1
|
|
528
530
|
});
|
|
529
|
-
|
|
530
|
-
const t3 = (
|
|
531
|
-
const
|
|
532
|
-
if (isActionKey([
|
|
533
|
-
n3 && r3.write(
|
|
531
|
+
f$1.emitKeypressEvents(e2, s2), e2 instanceof ReadStream && e2.isTTY && e2.setRawMode(true);
|
|
532
|
+
const t3 = (l, { name: i3, sequence: p }) => {
|
|
533
|
+
const w = String(l);
|
|
534
|
+
if (isActionKey([w, i3, p], "cancel")) {
|
|
535
|
+
n3 && r3.write(cursor.show), process.exit(0);
|
|
534
536
|
return;
|
|
535
537
|
}
|
|
536
538
|
if (!o) return;
|
|
537
|
-
const
|
|
538
|
-
|
|
539
|
-
|
|
539
|
+
const c3 = i3 === "return" ? 0 : -1, a2 = i3 === "return" ? -1 : 0;
|
|
540
|
+
f$1.moveCursor(r3, c3, a2, () => {
|
|
541
|
+
f$1.clearLine(r3, 1, () => {
|
|
540
542
|
e2.once("keypress", t3);
|
|
541
543
|
});
|
|
542
544
|
});
|
|
543
545
|
};
|
|
544
|
-
return n3 && r3.write(
|
|
545
|
-
e2.off("keypress", t3), n3 && r3.write(
|
|
546
|
+
return n3 && r3.write(cursor.hide), e2.once("keypress", t3), () => {
|
|
547
|
+
e2.off("keypress", t3), n3 && r3.write(cursor.show), e2 instanceof ReadStream && e2.isTTY && !R && e2.setRawMode(false), s2.terminal = false, s2.close();
|
|
546
548
|
};
|
|
547
549
|
}
|
|
548
550
|
function wrapTextWithPrefix(e2, r3, o, n3 = o, s2 = o, t3) {
|
|
549
|
-
const
|
|
550
|
-
return wrapAnsi(r3,
|
|
551
|
+
const l = getColumns(e2 ?? stdout), i3 = dist_default2(o);
|
|
552
|
+
return wrapAnsi(r3, l - i3, {
|
|
551
553
|
hard: true,
|
|
552
554
|
trim: false
|
|
553
555
|
}).split(`
|
|
554
|
-
`).map((
|
|
555
|
-
const
|
|
556
|
-
return
|
|
556
|
+
`).map((c3, a2, g) => {
|
|
557
|
+
const m2 = t3 ? t3(c3, a2) : c3;
|
|
558
|
+
return a2 === 0 ? `${n3}${m2}` : a2 === g.length - 1 ? `${s2}${m2}` : `${o}${m2}`;
|
|
557
559
|
}).join(`
|
|
558
560
|
`);
|
|
559
561
|
}
|
|
@@ -564,12 +566,13 @@ function runValidation(e2, a2) {
|
|
|
564
566
|
}
|
|
565
567
|
return e2(a2);
|
|
566
568
|
}
|
|
567
|
-
var
|
|
568
|
-
var
|
|
569
|
-
"node_modules/.bun/@clack+core@1.
|
|
569
|
+
var a$1, t, settings, R, CANCEL_SYMBOL, getColumns, getRows, C$1, r, n$1, n2;
|
|
570
|
+
var init_dist4 = __esm({
|
|
571
|
+
"node_modules/.bun/@clack+core@1.6.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
570
572
|
init_utils2();
|
|
571
573
|
init_main();
|
|
572
|
-
|
|
574
|
+
init_dist3();
|
|
575
|
+
init_dist2();
|
|
573
576
|
a$1 = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
574
577
|
t = [
|
|
575
578
|
"January",
|
|
@@ -618,7 +621,7 @@ var init_dist3 = __esm({
|
|
|
618
621
|
CANCEL_SYMBOL = /* @__PURE__ */ Symbol("clack:cancel");
|
|
619
622
|
getColumns = (e2) => "columns" in e2 && typeof e2.columns == "number" ? e2.columns : 80;
|
|
620
623
|
getRows = (e2) => "rows" in e2 && typeof e2.rows == "number" ? e2.rows : 20;
|
|
621
|
-
|
|
624
|
+
C$1 = class C {
|
|
622
625
|
input;
|
|
623
626
|
output;
|
|
624
627
|
_abortSignal;
|
|
@@ -700,16 +703,16 @@ var init_dist3 = __esm({
|
|
|
700
703
|
{ once: true }
|
|
701
704
|
);
|
|
702
705
|
}
|
|
703
|
-
this.rl =
|
|
706
|
+
this.rl = f__default.createInterface({
|
|
704
707
|
input: this.input,
|
|
705
708
|
tabSize: 2,
|
|
706
709
|
prompt: "",
|
|
707
710
|
escapeCodeTimeout: 50,
|
|
708
711
|
terminal: true
|
|
709
712
|
}), this.rl.prompt(), this.opts.initialUserInput !== void 0 && this._setUserInput(this.opts.initialUserInput, true), this.input.on("keypress", this.onKeypress), setRawMode(this.input, true), this.output.on("resize", this.render), this.render(), this.once("submit", () => {
|
|
710
|
-
this.output.write(
|
|
713
|
+
this.output.write(cursor.show), this.output.off("resize", this.render), setRawMode(this.input, false), t3(this.value);
|
|
711
714
|
}), this.once("cancel", () => {
|
|
712
|
-
this.output.write(
|
|
715
|
+
this.output.write(cursor.show), this.output.off("resize", this.render), setRawMode(this.input, false), t3(CANCEL_SYMBOL);
|
|
713
716
|
});
|
|
714
717
|
});
|
|
715
718
|
}
|
|
@@ -746,18 +749,18 @@ var init_dist3 = __esm({
|
|
|
746
749
|
`), setRawMode(this.input, false), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
|
|
747
750
|
}
|
|
748
751
|
restoreCursor() {
|
|
749
|
-
const t3 = wrapAnsi(this._prevFrame,
|
|
752
|
+
const t3 = wrapAnsi(this._prevFrame, getColumns(this.output), { hard: true, trim: false }).split(`
|
|
750
753
|
`).length - 1;
|
|
751
|
-
this.output.write(
|
|
754
|
+
this.output.write(cursor.move(-999, t3 * -1));
|
|
752
755
|
}
|
|
753
756
|
render() {
|
|
754
|
-
const t3 = wrapAnsi(this._render(this) ?? "",
|
|
757
|
+
const t3 = wrapAnsi(this._render(this) ?? "", getColumns(this.output), {
|
|
755
758
|
hard: true,
|
|
756
759
|
trim: false
|
|
757
760
|
});
|
|
758
761
|
if (t3 !== this._prevFrame) {
|
|
759
762
|
if (this.state === "initial")
|
|
760
|
-
this.output.write(
|
|
763
|
+
this.output.write(cursor.hide);
|
|
761
764
|
else {
|
|
762
765
|
const e2 = diffLines(this._prevFrame, t3), i3 = getRows(this.output);
|
|
763
766
|
if (this.restoreCursor(), e2) {
|
|
@@ -768,33 +771,33 @@ var init_dist3 = __esm({
|
|
|
768
771
|
return;
|
|
769
772
|
}
|
|
770
773
|
if (e2.lines.length === 1) {
|
|
771
|
-
this.output.write(
|
|
774
|
+
this.output.write(cursor.move(0, n3 - r3)), this.output.write(erase.lines(1));
|
|
772
775
|
const o = t3.split(`
|
|
773
776
|
`);
|
|
774
|
-
this.output.write(o[n3]), this._prevFrame = t3, this.output.write(
|
|
777
|
+
this.output.write(o[n3]), this._prevFrame = t3, this.output.write(cursor.move(0, o.length - n3 - 1));
|
|
775
778
|
return;
|
|
776
779
|
} else if (e2.lines.length > 1) {
|
|
777
780
|
if (s2 < r3)
|
|
778
781
|
n3 = s2;
|
|
779
782
|
else {
|
|
780
783
|
const h3 = n3 - r3;
|
|
781
|
-
h3 > 0 && this.output.write(
|
|
784
|
+
h3 > 0 && this.output.write(cursor.move(0, h3));
|
|
782
785
|
}
|
|
783
|
-
this.output.write(
|
|
784
|
-
const
|
|
786
|
+
this.output.write(erase.down());
|
|
787
|
+
const m2 = t3.split(`
|
|
785
788
|
`).slice(n3);
|
|
786
|
-
this.output.write(
|
|
789
|
+
this.output.write(m2.join(`
|
|
787
790
|
`)), this._prevFrame = t3;
|
|
788
791
|
return;
|
|
789
792
|
}
|
|
790
793
|
}
|
|
791
|
-
this.output.write(
|
|
794
|
+
this.output.write(erase.down());
|
|
792
795
|
}
|
|
793
796
|
this.output.write(t3), this.state === "initial" && (this.state = "active"), this._prevFrame = t3;
|
|
794
797
|
}
|
|
795
798
|
}
|
|
796
799
|
};
|
|
797
|
-
r = class extends
|
|
800
|
+
r = class extends C$1 {
|
|
798
801
|
get cursor() {
|
|
799
802
|
return this.value ? 0 : 1;
|
|
800
803
|
}
|
|
@@ -805,13 +808,13 @@ var init_dist3 = __esm({
|
|
|
805
808
|
super(t3, false), this.value = !!t3.initialValue, this.on("userInput", () => {
|
|
806
809
|
this.value = this._value;
|
|
807
810
|
}), this.on("confirm", (i3) => {
|
|
808
|
-
this.output.write(
|
|
811
|
+
this.output.write(cursor.move(0, -1)), this.value = i3, this.state = "submit", this.close();
|
|
809
812
|
}), this.on("cursor", () => {
|
|
810
813
|
this.value = !this.value;
|
|
811
814
|
});
|
|
812
815
|
}
|
|
813
816
|
};
|
|
814
|
-
n$1 = class n extends
|
|
817
|
+
n$1 = class n extends C$1 {
|
|
815
818
|
options;
|
|
816
819
|
cursor = 0;
|
|
817
820
|
get _selectedValue() {
|
|
@@ -839,7 +842,7 @@ var init_dist3 = __esm({
|
|
|
839
842
|
});
|
|
840
843
|
}
|
|
841
844
|
};
|
|
842
|
-
n2 = class extends
|
|
845
|
+
n2 = class extends C$1 {
|
|
843
846
|
get userInputWithCursor() {
|
|
844
847
|
if (this.state === "submit")
|
|
845
848
|
return this.userInput;
|
|
@@ -866,7 +869,7 @@ var init_dist3 = __esm({
|
|
|
866
869
|
}
|
|
867
870
|
});
|
|
868
871
|
|
|
869
|
-
// node_modules/.bun/@clack+prompts@1.
|
|
872
|
+
// node_modules/.bun/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.mjs
|
|
870
873
|
import { styleText as styleText2, stripVTControlCharacters } from "node:util";
|
|
871
874
|
import process$1 from "node:process";
|
|
872
875
|
import { existsSync, lstatSync, readdirSync } from "node:fs";
|
|
@@ -877,22 +880,23 @@ function isUnicodeSupported() {
|
|
|
877
880
|
}
|
|
878
881
|
return Boolean(process$1.env.CI) || Boolean(process$1.env.WT_SESSION) || Boolean(process$1.env.TERMINUS_SUBLIME) || process$1.env.ConEmuTask === "{cmd::Cmder}" || process$1.env.TERM_PROGRAM === "Terminus-Sublime" || process$1.env.TERM_PROGRAM === "vscode" || process$1.env.TERM === "xterm-256color" || process$1.env.TERM === "alacritty" || process$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
879
882
|
}
|
|
880
|
-
function formatInstructionFooter(o,
|
|
881
|
-
const
|
|
882
|
-
|
|
883
|
+
function formatInstructionFooter(e2, o, r3) {
|
|
884
|
+
const s2 = r3 ? `${styleText2("cyan", S_BAR)} ` : "", n3 = wrapTextWithPrefix(e2, o.join(" \u2022 "), s2).split(`
|
|
885
|
+
`);
|
|
886
|
+
return r3 && n3.push(styleText2("cyan", S_BAR_END)), n3;
|
|
883
887
|
}
|
|
884
|
-
var
|
|
885
|
-
var
|
|
886
|
-
"node_modules/.bun/@clack+prompts@1.
|
|
888
|
+
var unicode, isCI, unicodeOr, S_STEP_ACTIVE, S_STEP_CANCEL, S_STEP_ERROR, S_STEP_SUBMIT, S_BAR_START, S_BAR, S_BAR_END, S_BAR_START_RIGHT, S_BAR_END_RIGHT, S_RADIO_ACTIVE, S_RADIO_INACTIVE, S_CHECKBOX_ACTIVE, S_CHECKBOX_SELECTED, S_CHECKBOX_INACTIVE, S_PASSWORD_MASK, S_BAR_H, S_CORNER_TOP_RIGHT, S_CONNECT_LEFT, S_CORNER_BOTTOM_RIGHT, S_CORNER_BOTTOM_LEFT, S_CORNER_TOP_LEFT, S_INFO, S_SUCCESS, S_WARN, S_ERROR, symbol, symbolBar, E$1, limitOptions, confirm, MULTISELECT_INSTRUCTIONS, log, cancel, intro, outro, Y, Z, spinner, u2, SELECT_INSTRUCTIONS, c2, select, i, text;
|
|
889
|
+
var init_dist5 = __esm({
|
|
890
|
+
"node_modules/.bun/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.mjs"() {
|
|
887
891
|
init_utils2();
|
|
888
|
-
|
|
889
|
-
|
|
892
|
+
init_dist4();
|
|
893
|
+
init_dist4();
|
|
890
894
|
init_main();
|
|
891
895
|
init_dist2();
|
|
892
|
-
|
|
896
|
+
init_dist3();
|
|
893
897
|
unicode = isUnicodeSupported();
|
|
894
898
|
isCI = () => process.env.CI === "true";
|
|
895
|
-
unicodeOr = (
|
|
899
|
+
unicodeOr = (e2, o) => unicode ? e2 : o;
|
|
896
900
|
S_STEP_ACTIVE = unicodeOr("\u25C6", "*");
|
|
897
901
|
S_STEP_CANCEL = unicodeOr("\u25A0", "x");
|
|
898
902
|
S_STEP_ERROR = unicodeOr("\u25B2", "x");
|
|
@@ -918,8 +922,8 @@ var init_dist4 = __esm({
|
|
|
918
922
|
S_SUCCESS = unicodeOr("\u25C6", "*");
|
|
919
923
|
S_WARN = unicodeOr("\u25B2", "!");
|
|
920
924
|
S_ERROR = unicodeOr("\u25A0", "x");
|
|
921
|
-
symbol = (
|
|
922
|
-
switch (
|
|
925
|
+
symbol = (e2) => {
|
|
926
|
+
switch (e2) {
|
|
923
927
|
case "initial":
|
|
924
928
|
case "active":
|
|
925
929
|
return styleText2("cyan", S_STEP_ACTIVE);
|
|
@@ -933,8 +937,8 @@ var init_dist4 = __esm({
|
|
|
933
937
|
return styleText2("dim", S_STEP_ACTIVE);
|
|
934
938
|
}
|
|
935
939
|
};
|
|
936
|
-
symbolBar = (
|
|
937
|
-
switch (
|
|
940
|
+
symbolBar = (e2) => {
|
|
941
|
+
switch (e2) {
|
|
938
942
|
case "initial":
|
|
939
943
|
case "active":
|
|
940
944
|
return styleText2("cyan", S_BAR);
|
|
@@ -946,45 +950,45 @@ var init_dist4 = __esm({
|
|
|
946
950
|
return styleText2("green", S_BAR);
|
|
947
951
|
}
|
|
948
952
|
};
|
|
949
|
-
|
|
953
|
+
E$1 = (l, e2, w, p, b, C2 = false) => {
|
|
950
954
|
let r3 = e2, O = 0;
|
|
951
|
-
if (
|
|
955
|
+
if (C2)
|
|
952
956
|
for (let i3 = p - 1; i3 >= w; i3--) {
|
|
953
|
-
const m2 =
|
|
957
|
+
const m2 = l[i3];
|
|
954
958
|
if (m2 && (r3 -= m2.length), O++, r3 <= b) break;
|
|
955
959
|
}
|
|
956
960
|
else
|
|
957
961
|
for (let i3 = w; i3 < p; i3++) {
|
|
958
|
-
const m2 =
|
|
962
|
+
const m2 = l[i3];
|
|
959
963
|
if (m2 && (r3 -= m2.length), O++, r3 <= b) break;
|
|
960
964
|
}
|
|
961
965
|
return { lineCount: r3, removals: O };
|
|
962
966
|
};
|
|
963
967
|
limitOptions = ({
|
|
964
|
-
cursor:
|
|
968
|
+
cursor: l,
|
|
965
969
|
options: e2,
|
|
966
970
|
style: w,
|
|
967
971
|
output: p = process.stdout,
|
|
968
972
|
maxItems: b = Number.POSITIVE_INFINITY,
|
|
969
|
-
columnPadding:
|
|
973
|
+
columnPadding: C2 = 0,
|
|
970
974
|
rowPadding: r3 = 4
|
|
971
975
|
}) => {
|
|
972
|
-
const i3 = getColumns(p) -
|
|
976
|
+
const i3 = getColumns(p) - C2, m2 = getRows(p), M = styleText2("dim", "..."), v = Math.max(m2 - r3, 0), a2 = Math.max(Math.min(b, v), 5);
|
|
973
977
|
let f3 = 0;
|
|
974
|
-
|
|
975
|
-
Math.min(
|
|
978
|
+
l >= a2 - 3 && (f3 = Math.max(
|
|
979
|
+
Math.min(l - a2 + 3, e2.length - a2),
|
|
976
980
|
0
|
|
977
981
|
));
|
|
978
|
-
let d = a2 < e2.length && f3 > 0,
|
|
979
|
-
const
|
|
982
|
+
let d = a2 < e2.length && f3 > 0, c3 = a2 < e2.length && f3 + a2 < e2.length;
|
|
983
|
+
const I = Math.min(
|
|
980
984
|
f3 + a2,
|
|
981
985
|
e2.length
|
|
982
986
|
), s2 = [];
|
|
983
987
|
let g = 0;
|
|
984
|
-
d && g++,
|
|
985
|
-
const T = f3 + (d ? 1 : 0),
|
|
986
|
-
for (let t3 = T; t3 <
|
|
987
|
-
const n3 = e2[t3], o = n3 ? w(n3, t3 ===
|
|
988
|
+
d && g++, c3 && g++;
|
|
989
|
+
const T = f3 + (d ? 1 : 0), W = I - (c3 ? 1 : 0);
|
|
990
|
+
for (let t3 = T; t3 < W; t3++) {
|
|
991
|
+
const n3 = e2[t3], o = n3 !== void 0 ? w(n3, t3 === l) : "", h3 = wrapAnsi(o, i3, {
|
|
988
992
|
hard: true,
|
|
989
993
|
trim: false
|
|
990
994
|
}).split(`
|
|
@@ -993,9 +997,9 @@ var init_dist4 = __esm({
|
|
|
993
997
|
}
|
|
994
998
|
if (g > v) {
|
|
995
999
|
let t3 = 0, n3 = 0, o = g;
|
|
996
|
-
const h3 =
|
|
1000
|
+
const h3 = l - T;
|
|
997
1001
|
let u3 = v;
|
|
998
|
-
const L = () =>
|
|
1002
|
+
const L = () => E$1(s2, o, 0, h3, u3), y = () => E$1(
|
|
999
1003
|
s2,
|
|
1000
1004
|
o,
|
|
1001
1005
|
h3 + 1,
|
|
@@ -1003,14 +1007,14 @@ var init_dist4 = __esm({
|
|
|
1003
1007
|
u3,
|
|
1004
1008
|
true
|
|
1005
1009
|
);
|
|
1006
|
-
d ? ({ lineCount: o, removals: t3 } = L(), o > u3 && (
|
|
1010
|
+
d ? ({ lineCount: o, removals: t3 } = L(), o > u3 && (c3 || (u3 -= 1), { lineCount: o, removals: n3 } = y())) : (c3 || (u3 -= 1), { lineCount: o, removals: n3 } = y(), o > u3 && (u3 -= 1, { lineCount: o, removals: t3 } = L())), t3 > 0 && (d = true, s2.splice(0, t3)), n3 > 0 && (c3 = true, s2.splice(s2.length - n3, n3));
|
|
1007
1011
|
}
|
|
1008
1012
|
const x2 = [];
|
|
1009
1013
|
d && x2.push(M);
|
|
1010
1014
|
for (const t3 of s2)
|
|
1011
1015
|
for (const n3 of t3)
|
|
1012
1016
|
x2.push(n3);
|
|
1013
|
-
return
|
|
1017
|
+
return c3 && x2.push(M), x2;
|
|
1014
1018
|
};
|
|
1015
1019
|
confirm = (e2) => {
|
|
1016
1020
|
const a2 = e2.active ?? "Yes", o = e2.inactive ?? "No";
|
|
@@ -1022,22 +1026,22 @@ var init_dist4 = __esm({
|
|
|
1022
1026
|
output: e2.output,
|
|
1023
1027
|
initialValue: e2.initialValue ?? true,
|
|
1024
1028
|
render() {
|
|
1025
|
-
const i3 = e2.withGuide ?? settings.withGuide, u3 = `${symbol(this.state)} `,
|
|
1029
|
+
const i3 = e2.withGuide ?? settings.withGuide, u3 = `${symbol(this.state)} `, l = i3 ? `${styleText2("gray", S_BAR)} ` : "", f3 = wrapTextWithPrefix(
|
|
1026
1030
|
e2.output,
|
|
1027
1031
|
e2.message,
|
|
1028
|
-
|
|
1032
|
+
l,
|
|
1029
1033
|
u3
|
|
1030
1034
|
), s2 = `${i3 ? `${styleText2("gray", S_BAR)}
|
|
1031
1035
|
` : ""}${f3}
|
|
1032
|
-
`,
|
|
1036
|
+
`, c3 = this.value ? a2 : o;
|
|
1033
1037
|
switch (this.state) {
|
|
1034
1038
|
case "submit": {
|
|
1035
1039
|
const r3 = i3 ? `${styleText2("gray", S_BAR)} ` : "";
|
|
1036
|
-
return `${s2}${r3}${styleText2("dim",
|
|
1040
|
+
return `${s2}${r3}${styleText2("dim", c3)}`;
|
|
1037
1041
|
}
|
|
1038
1042
|
case "cancel": {
|
|
1039
1043
|
const r3 = i3 ? `${styleText2("gray", S_BAR)} ` : "";
|
|
1040
|
-
return `${s2}${r3}${styleText2(["strikethrough", "dim"],
|
|
1044
|
+
return `${s2}${r3}${styleText2(["strikethrough", "dim"], c3)}${i3 ? `
|
|
1041
1045
|
${styleText2("gray", S_BAR)}` : ""}`;
|
|
1042
1046
|
}
|
|
1043
1047
|
default: {
|
|
@@ -1062,18 +1066,18 @@ ${g}
|
|
|
1062
1066
|
symbol: e2 = styleText2("gray", S_BAR),
|
|
1063
1067
|
secondarySymbol: r3 = styleText2("gray", S_BAR),
|
|
1064
1068
|
output: m2 = process.stdout,
|
|
1065
|
-
spacing:
|
|
1066
|
-
withGuide:
|
|
1069
|
+
spacing: l = 1,
|
|
1070
|
+
withGuide: c3
|
|
1067
1071
|
} = {}) => {
|
|
1068
|
-
const t3 = [], o =
|
|
1069
|
-
for (let i3 = 0; i3 <
|
|
1072
|
+
const t3 = [], o = c3 ?? settings.withGuide, f3 = o ? r3 : "", O = o ? `${e2} ` : "", u3 = o ? `${r3} ` : "";
|
|
1073
|
+
for (let i3 = 0; i3 < l; i3++)
|
|
1070
1074
|
t3.push(f3);
|
|
1071
1075
|
const g = Array.isArray(s2) ? s2 : s2.split(`
|
|
1072
1076
|
`);
|
|
1073
1077
|
if (g.length > 0) {
|
|
1074
|
-
const [i3, ...
|
|
1078
|
+
const [i3, ...y] = g;
|
|
1075
1079
|
i3.length > 0 ? t3.push(`${O}${i3}`) : t3.push(o ? e2 : "");
|
|
1076
|
-
for (const p of
|
|
1080
|
+
for (const p of y)
|
|
1077
1081
|
p.length > 0 ? t3.push(`${u3}${p}`) : t3.push(o ? r3 : "");
|
|
1078
1082
|
}
|
|
1079
1083
|
m2.write(`${t3.join(`
|
|
@@ -1118,83 +1122,102 @@ ${styleText2("gray", S_BAR_END)} ` : "";
|
|
|
1118
1122
|
|
|
1119
1123
|
`);
|
|
1120
1124
|
};
|
|
1121
|
-
|
|
1125
|
+
Y = 3e4;
|
|
1126
|
+
Z = (c3) => styleText2("magenta", c3);
|
|
1122
1127
|
spinner = ({
|
|
1123
|
-
indicator:
|
|
1124
|
-
onCancel:
|
|
1128
|
+
indicator: c3 = "dots",
|
|
1129
|
+
onCancel: b,
|
|
1125
1130
|
output: n3 = process.stdout,
|
|
1126
|
-
cancelMessage:
|
|
1127
|
-
errorMessage:
|
|
1128
|
-
frames:
|
|
1129
|
-
delay:
|
|
1130
|
-
signal:
|
|
1131
|
-
...
|
|
1131
|
+
cancelMessage: _,
|
|
1132
|
+
errorMessage: C2,
|
|
1133
|
+
frames: M = unicode ? ["\u25D2", "\u25D0", "\u25D3", "\u25D1"] : ["\u2022", "o", "O", "0"],
|
|
1134
|
+
delay: O = unicode ? 80 : 120,
|
|
1135
|
+
signal: g,
|
|
1136
|
+
...E
|
|
1132
1137
|
} = {}) => {
|
|
1133
|
-
const u3 = isCI();
|
|
1134
|
-
let
|
|
1135
|
-
const
|
|
1136
|
-
const
|
|
1137
|
-
|
|
1138
|
-
},
|
|
1139
|
-
process.on("uncaughtExceptionMonitor",
|
|
1140
|
-
},
|
|
1141
|
-
process.removeListener("uncaughtExceptionMonitor",
|
|
1142
|
-
},
|
|
1143
|
-
if (
|
|
1138
|
+
const u3 = isCI(), h3 = isAccessible(E.accessible);
|
|
1139
|
+
let x2, I, p = false, l = false, r3 = "", v, w = performance.now();
|
|
1140
|
+
const y = getColumns(n3), F2 = E?.styleFrame ?? Z, S2 = (e2) => {
|
|
1141
|
+
const s2 = e2 > 1 ? C2 ?? settings.messages.error : _ ?? settings.messages.cancel;
|
|
1142
|
+
l = e2 === 1, p && (m2(s2, e2), l && typeof b == "function" && b());
|
|
1143
|
+
}, $ = () => S2(2), a2 = () => S2(1), H = () => {
|
|
1144
|
+
process.on("uncaughtExceptionMonitor", $), process.on("unhandledRejection", $), process.on("SIGINT", a2), process.on("SIGTERM", a2), process.on("exit", S2), g && g.addEventListener("abort", a2);
|
|
1145
|
+
}, B = () => {
|
|
1146
|
+
process.removeListener("uncaughtExceptionMonitor", $), process.removeListener("unhandledRejection", $), process.removeListener("SIGINT", a2), process.removeListener("SIGTERM", a2), process.removeListener("exit", S2), g && g.removeEventListener("abort", a2);
|
|
1147
|
+
}, R2 = () => {
|
|
1148
|
+
if (v === void 0) return;
|
|
1144
1149
|
u3 && n3.write(`
|
|
1145
1150
|
`);
|
|
1146
|
-
const
|
|
1151
|
+
const s2 = wrapAnsi(v, y, {
|
|
1147
1152
|
hard: true,
|
|
1148
1153
|
trim: false
|
|
1149
1154
|
}).split(`
|
|
1150
1155
|
`);
|
|
1151
|
-
|
|
1152
|
-
},
|
|
1153
|
-
const
|
|
1154
|
-
return
|
|
1155
|
-
}, N =
|
|
1156
|
-
|
|
1156
|
+
s2.length > 1 && n3.write(cursor.up(s2.length - 1)), n3.write(cursor.to(0)), n3.write(erase.down());
|
|
1157
|
+
}, L = (e2) => e2.replace(/\.+$/, ""), T = (e2) => {
|
|
1158
|
+
const s2 = (performance.now() - e2) / 1e3, i3 = Math.floor(s2 / 60), t3 = Math.floor(s2 % 60);
|
|
1159
|
+
return i3 > 0 ? `[${i3}m ${t3}s]` : `[${t3}s]`;
|
|
1160
|
+
}, N = E.withGuide ?? settings.withGuide, P = (e2 = "") => {
|
|
1161
|
+
if (p = true, l = false, r3 = L(e2), w = performance.now(), H(), h3) {
|
|
1162
|
+
r3 !== "" && n3.write(`${r3}
|
|
1163
|
+
`), I = setInterval(() => {
|
|
1164
|
+
n3.write(r3 === "" ? `still working
|
|
1165
|
+
` : `still working: ${r3}
|
|
1166
|
+
`);
|
|
1167
|
+
}, Y);
|
|
1168
|
+
return;
|
|
1169
|
+
}
|
|
1170
|
+
x2 = block({ output: n3 }), N && n3.write(`${styleText2("gray", S_BAR)}
|
|
1157
1171
|
`);
|
|
1158
|
-
let
|
|
1159
|
-
|
|
1160
|
-
if (u3 &&
|
|
1172
|
+
let s2 = 0, i3 = 0;
|
|
1173
|
+
I = setInterval(() => {
|
|
1174
|
+
if (u3 && r3 === v)
|
|
1161
1175
|
return;
|
|
1162
|
-
|
|
1163
|
-
const
|
|
1164
|
-
let
|
|
1176
|
+
R2(), v = r3;
|
|
1177
|
+
const t3 = F2(M[s2]);
|
|
1178
|
+
let o;
|
|
1165
1179
|
if (u3)
|
|
1166
|
-
|
|
1167
|
-
else if (
|
|
1168
|
-
|
|
1180
|
+
o = `${t3} ${r3}...`;
|
|
1181
|
+
else if (c3 === "timer")
|
|
1182
|
+
o = `${t3} ${r3} ${T(w)}`;
|
|
1169
1183
|
else {
|
|
1170
|
-
const
|
|
1171
|
-
|
|
1184
|
+
const j = ".".repeat(Math.floor(i3)).slice(0, 3);
|
|
1185
|
+
o = `${t3} ${r3}${j}`;
|
|
1172
1186
|
}
|
|
1173
|
-
const
|
|
1187
|
+
const D = wrapAnsi(o, y, {
|
|
1174
1188
|
hard: true,
|
|
1175
1189
|
trim: false
|
|
1176
1190
|
});
|
|
1177
|
-
n3.write(
|
|
1178
|
-
},
|
|
1179
|
-
},
|
|
1180
|
-
if (
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
`)
|
|
1191
|
+
n3.write(D), s2 = s2 + 1 < M.length ? s2 + 1 : 0, i3 = i3 < 4 ? i3 + 0.125 : 0;
|
|
1192
|
+
}, O);
|
|
1193
|
+
}, m2 = (e2 = "", s2 = 0, i3 = false) => {
|
|
1194
|
+
if (p) {
|
|
1195
|
+
if (p = false, l = s2 === 1, clearInterval(I), h3 || R2(), r3 = e2 ?? r3, !i3)
|
|
1196
|
+
if (h3) {
|
|
1197
|
+
const t3 = s2 === 1 ? _ ?? settings.messages.cancel : s2 === 2 ? C2 ?? settings.messages.error : "Done", o = r3 || t3;
|
|
1198
|
+
c3 === "timer" ? n3.write(`${o} ${T(w)}
|
|
1199
|
+
`) : n3.write(`${o}
|
|
1200
|
+
`);
|
|
1201
|
+
} else {
|
|
1202
|
+
const t3 = s2 === 0 ? styleText2("green", S_STEP_SUBMIT) : s2 === 1 ? styleText2("red", S_STEP_CANCEL) : styleText2("red", S_STEP_ERROR);
|
|
1203
|
+
c3 === "timer" ? n3.write(`${t3} ${r3} ${T(w)}
|
|
1204
|
+
`) : n3.write(`${t3} ${r3}
|
|
1205
|
+
`);
|
|
1206
|
+
}
|
|
1207
|
+
B(), x2?.();
|
|
1208
|
+
}
|
|
1186
1209
|
};
|
|
1187
1210
|
return {
|
|
1188
1211
|
start: P,
|
|
1189
|
-
stop: (e2 = "") =>
|
|
1212
|
+
stop: (e2 = "") => m2(e2, 0),
|
|
1190
1213
|
message: (e2 = "") => {
|
|
1191
|
-
|
|
1214
|
+
r3 = L(e2 ?? r3);
|
|
1192
1215
|
},
|
|
1193
|
-
cancel: (e2 = "") =>
|
|
1194
|
-
error: (e2 = "") =>
|
|
1195
|
-
clear: () =>
|
|
1216
|
+
cancel: (e2 = "") => m2(e2, 1),
|
|
1217
|
+
error: (e2 = "") => m2(e2, 2),
|
|
1218
|
+
clear: () => m2("", 0, true),
|
|
1196
1219
|
get isCancelled() {
|
|
1197
|
-
return
|
|
1220
|
+
return l;
|
|
1198
1221
|
}
|
|
1199
1222
|
};
|
|
1200
1223
|
};
|
|
@@ -1207,7 +1230,7 @@ ${styleText2("gray", S_BAR_END)} ` : "";
|
|
|
1207
1230
|
`${styleText2("dim", "\u2191/\u2193")} to navigate`,
|
|
1208
1231
|
`${styleText2("dim", "Enter:")} confirm`
|
|
1209
1232
|
];
|
|
1210
|
-
|
|
1233
|
+
c2 = (t3, o) => t3.includes(`
|
|
1211
1234
|
`) ? t3.split(`
|
|
1212
1235
|
`).map((d) => o(d)).join(`
|
|
1213
1236
|
`) : o(t3);
|
|
@@ -1218,15 +1241,15 @@ ${styleText2("gray", S_BAR_END)} ` : "";
|
|
|
1218
1241
|
const s2 = n3.label ?? String(n3.value);
|
|
1219
1242
|
switch (m2) {
|
|
1220
1243
|
case "disabled":
|
|
1221
|
-
return `${styleText2("gray", S_RADIO_INACTIVE)} ${
|
|
1244
|
+
return `${styleText2("gray", S_RADIO_INACTIVE)} ${c2(s2, (i3) => styleText2("gray", i3))}${n3.hint ? ` ${styleText2("dim", `(${n3.hint ?? "disabled"})`)}` : ""}`;
|
|
1222
1245
|
case "selected":
|
|
1223
|
-
return `${
|
|
1246
|
+
return `${c2(s2, (i3) => styleText2("dim", i3))}`;
|
|
1224
1247
|
case "active":
|
|
1225
1248
|
return `${styleText2("green", S_RADIO_ACTIVE)} ${s2}${n3.hint ? ` ${styleText2("dim", `(${n3.hint})`)}` : ""}`;
|
|
1226
1249
|
case "cancelled":
|
|
1227
|
-
return `${
|
|
1250
|
+
return `${c2(s2, (i3) => styleText2(["strikethrough", "dim"], i3))}`;
|
|
1228
1251
|
default:
|
|
1229
|
-
return `${styleText2("dim", S_RADIO_INACTIVE)} ${
|
|
1252
|
+
return `${styleText2("dim", S_RADIO_INACTIVE)} ${c2(s2, (i3) => styleText2("dim", i3))}`;
|
|
1230
1253
|
}
|
|
1231
1254
|
}, d = t3.showInstructions ?? true;
|
|
1232
1255
|
return new n$1({
|
|
@@ -1264,7 +1287,7 @@ ${styleText2("gray", S_BAR)}` : ""}`;
|
|
|
1264
1287
|
}
|
|
1265
1288
|
default: {
|
|
1266
1289
|
const r3 = n3 ? `${styleText2("cyan", S_BAR)} ` : "", a2 = u3.split(`
|
|
1267
|
-
`).length, p = d ? formatInstructionFooter(SELECT_INSTRUCTIONS, n3) : n3 ? [styleText2("cyan", S_BAR_END)] : [], f3 = p.join(`
|
|
1290
|
+
`).length, p = d ? formatInstructionFooter(t3.output, SELECT_INSTRUCTIONS, n3) : n3 ? [styleText2("cyan", S_BAR_END)] : [], f3 = p.join(`
|
|
1268
1291
|
`), b = p.length + 1;
|
|
1269
1292
|
return `${u3}${r3}${limitOptions({
|
|
1270
1293
|
output: t3.output,
|
|
@@ -1293,7 +1316,7 @@ ${f3}
|
|
|
1293
1316
|
signal: t3.signal,
|
|
1294
1317
|
input: t3.input,
|
|
1295
1318
|
render() {
|
|
1296
|
-
const r3 = t3?.withGuide ?? settings.withGuide,
|
|
1319
|
+
const r3 = t3?.withGuide ?? settings.withGuide, l = `${`${r3 ? `${styleText2("gray", S_BAR)}
|
|
1297
1320
|
` : ""}${symbol(this.state)} `}${t3.message}
|
|
1298
1321
|
`, d = t3.placeholder && t3.placeholder.length > 0 ? (
|
|
1299
1322
|
// biome-ignore lint/style/noNonNullAssertion: guarded by placeholder.length > 0
|
|
@@ -1301,30 +1324,30 @@ ${f3}
|
|
|
1301
1324
|
) : styleText2(["inverse", "hidden"], "_"), o = this.userInput ? this.userInputWithCursor : d, s2 = this.value ?? "";
|
|
1302
1325
|
switch (this.state) {
|
|
1303
1326
|
case "validating": {
|
|
1304
|
-
const n3 = r3 ? `${styleText2("cyan", S_BAR)} ` : "", i3 = r3 ? styleText2("cyan", S_BAR_END) : "",
|
|
1305
|
-
return `${
|
|
1327
|
+
const n3 = r3 ? `${styleText2("cyan", S_BAR)} ` : "", i3 = r3 ? styleText2("cyan", S_BAR_END) : "", c3 = styleText2("dim", o), $ = styleText2("dim", "Validating...");
|
|
1328
|
+
return `${l}${n3}${c3}
|
|
1306
1329
|
${i3} ${$}
|
|
1307
1330
|
`;
|
|
1308
1331
|
}
|
|
1309
1332
|
case "error": {
|
|
1310
|
-
const n3 = this.error ? ` ${styleText2("yellow", this.error)}` : "", i3 = r3 ? `${styleText2("yellow", S_BAR)} ` : "",
|
|
1311
|
-
return `${
|
|
1333
|
+
const n3 = this.error ? ` ${styleText2("yellow", this.error)}` : "", i3 = r3 ? `${styleText2("yellow", S_BAR)} ` : "", c3 = r3 ? styleText2("yellow", S_BAR_END) : "";
|
|
1334
|
+
return `${l.trim()}
|
|
1312
1335
|
${i3}${o}
|
|
1313
|
-
${
|
|
1336
|
+
${c3}${n3}
|
|
1314
1337
|
`;
|
|
1315
1338
|
}
|
|
1316
1339
|
case "submit": {
|
|
1317
1340
|
const n3 = s2 ? `${r3 ? " " : ""}${styleText2("dim", s2)}` : "", i3 = r3 ? styleText2("gray", S_BAR) : "";
|
|
1318
|
-
return `${
|
|
1341
|
+
return `${l}${i3}${n3}`;
|
|
1319
1342
|
}
|
|
1320
1343
|
case "cancel": {
|
|
1321
1344
|
const n3 = s2 ? ` ${styleText2(["strikethrough", "dim"], s2)}` : "", i3 = r3 ? styleText2("gray", S_BAR) : "";
|
|
1322
|
-
return `${
|
|
1345
|
+
return `${l}${i3}${n3}${s2.trim() ? `
|
|
1323
1346
|
${i3}` : ""}`;
|
|
1324
1347
|
}
|
|
1325
1348
|
default: {
|
|
1326
1349
|
const n3 = r3 ? `${styleText2("cyan", S_BAR)} ` : "", i3 = r3 ? styleText2("cyan", S_BAR_END) : "";
|
|
1327
|
-
return `${
|
|
1350
|
+
return `${l}${n3}${o}
|
|
1328
1351
|
${i3}
|
|
1329
1352
|
`;
|
|
1330
1353
|
}
|
|
@@ -1383,8 +1406,8 @@ var init_cli_output = __esm({
|
|
|
1383
1406
|
"packages/tooling/src/utils/cli-output.ts"() {
|
|
1384
1407
|
"use strict";
|
|
1385
1408
|
init_utils2();
|
|
1386
|
-
|
|
1387
|
-
|
|
1409
|
+
init_dist5();
|
|
1410
|
+
init_dist5();
|
|
1388
1411
|
colors = {
|
|
1389
1412
|
reset: "\x1B[0m",
|
|
1390
1413
|
// Success (green)
|
|
@@ -1535,7 +1558,7 @@ var init_errors = __esm({
|
|
|
1535
1558
|
* @param {DoNotDevErrorCode} code - Error code
|
|
1536
1559
|
* @param {object} [options] - Additional error options
|
|
1537
1560
|
* @param {Error} [options.originalError] - Original error if wrapping
|
|
1538
|
-
* @param {Record<string,
|
|
1561
|
+
* @param {Record<string, unknown>} [options.context] - Additional context data
|
|
1539
1562
|
* @param {boolean} [options.displayable=true] - Whether this error should be displayed to the user
|
|
1540
1563
|
*/
|
|
1541
1564
|
constructor(message2, code = DO_NOT_DEV_ERROR_CODES.UNKNOWN_ERROR, options) {
|
|
@@ -1565,7 +1588,7 @@ var init_errors = __esm({
|
|
|
1565
1588
|
* @param {string} [context] - Additional context for the error
|
|
1566
1589
|
* @param {DoNotDevErrorCode} [code='unknown-error'] - Error code
|
|
1567
1590
|
* @param {object} [options] - Additional error options
|
|
1568
|
-
* @param {Record<string,
|
|
1591
|
+
* @param {Record<string, unknown>} [options.context] - Additional context data
|
|
1569
1592
|
* @param {boolean} [options.displayable=true] - Whether this error should be displayed to the user
|
|
1570
1593
|
* @returns {DoNotDevError} New DoNotDev error wrapping the original
|
|
1571
1594
|
*/
|
|
@@ -7616,6 +7639,9 @@ import {
|
|
|
7616
7639
|
extname
|
|
7617
7640
|
} from "node:path";
|
|
7618
7641
|
import { fileURLToPath } from "node:url";
|
|
7642
|
+
function isEexistError(error2) {
|
|
7643
|
+
return typeof error2 === "object" && error2 !== null && "code" in error2 && error2.code === "EEXIST";
|
|
7644
|
+
}
|
|
7619
7645
|
function safeExecuteAsync(fn, message2) {
|
|
7620
7646
|
return fn().catch((error2) => {
|
|
7621
7647
|
throw new Error(
|
|
@@ -7987,7 +8013,7 @@ var init_PathResolver = __esm({
|
|
|
7987
8013
|
try {
|
|
7988
8014
|
await fs.promises.mkdir(dir, { recursive: true });
|
|
7989
8015
|
} catch (error2) {
|
|
7990
|
-
if (error2
|
|
8016
|
+
if (!isEexistError(error2)) throw error2;
|
|
7991
8017
|
}
|
|
7992
8018
|
const detectedFormat = this._detectFormat(filePath, format);
|
|
7993
8019
|
let writeContent;
|
|
@@ -8049,7 +8075,7 @@ var init_PathResolver = __esm({
|
|
|
8049
8075
|
try {
|
|
8050
8076
|
fs.mkdirSync(dir, { recursive: true });
|
|
8051
8077
|
} catch (error2) {
|
|
8052
|
-
if (error2
|
|
8078
|
+
if (!isEexistError(error2)) throw error2;
|
|
8053
8079
|
}
|
|
8054
8080
|
const detectedFormat = this._detectFormat(filePath, format);
|
|
8055
8081
|
let writeContent;
|
|
@@ -8106,7 +8132,7 @@ var init_PathResolver = __esm({
|
|
|
8106
8132
|
try {
|
|
8107
8133
|
await fs.promises.mkdir(dir, { recursive: true });
|
|
8108
8134
|
} catch (error2) {
|
|
8109
|
-
if (error2
|
|
8135
|
+
if (!isEexistError(error2)) throw error2;
|
|
8110
8136
|
}
|
|
8111
8137
|
try {
|
|
8112
8138
|
return await safeExecuteAsync(async () => {
|
|
@@ -8148,7 +8174,7 @@ var init_PathResolver = __esm({
|
|
|
8148
8174
|
try {
|
|
8149
8175
|
fs.mkdirSync(dir, { recursive: true });
|
|
8150
8176
|
} catch (error2) {
|
|
8151
|
-
if (error2
|
|
8177
|
+
if (!isEexistError(error2)) throw error2;
|
|
8152
8178
|
}
|
|
8153
8179
|
try {
|
|
8154
8180
|
fs.copyFileSync(srcPath, normalizedDestPath);
|
|
@@ -8264,7 +8290,7 @@ var init_PathResolver = __esm({
|
|
|
8264
8290
|
try {
|
|
8265
8291
|
await fs.promises.mkdir(dirPath, { recursive: true });
|
|
8266
8292
|
} catch (error2) {
|
|
8267
|
-
if (error2
|
|
8293
|
+
if (!isEexistError(error2)) throw error2;
|
|
8268
8294
|
}
|
|
8269
8295
|
}
|
|
8270
8296
|
/**
|
|
@@ -8276,7 +8302,7 @@ var init_PathResolver = __esm({
|
|
|
8276
8302
|
try {
|
|
8277
8303
|
fs.mkdirSync(dirPath, { recursive: true });
|
|
8278
8304
|
} catch (error2) {
|
|
8279
|
-
if (error2
|
|
8305
|
+
if (!isEexistError(error2)) throw error2;
|
|
8280
8306
|
}
|
|
8281
8307
|
}
|
|
8282
8308
|
/**
|
|
@@ -8525,6 +8551,7 @@ var init_PathResolver = __esm({
|
|
|
8525
8551
|
* @param patternType - Type of patterns (css, routes, i18n, assets, pwa)
|
|
8526
8552
|
* @returns Resolved patterns with absolute paths
|
|
8527
8553
|
*/
|
|
8554
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- why: mirrors the public PathResolver.d.ts signature; tightening it is a breaking change (any-audit)
|
|
8528
8555
|
async resolvePatterns(patternType) {
|
|
8529
8556
|
if (!constants.getPatternsFor) {
|
|
8530
8557
|
return { framework: [], consumer: [], all: [] };
|
|
@@ -8679,6 +8706,9 @@ import {
|
|
|
8679
8706
|
} from "node:path";
|
|
8680
8707
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
8681
8708
|
function readdirSync3(dirPath, options) {
|
|
8709
|
+
if (options !== null && typeof options === "object" && options.withFileTypes === true) {
|
|
8710
|
+
return pathResolverInstance.readdirSync(dirPath, options);
|
|
8711
|
+
}
|
|
8682
8712
|
return pathResolverInstance.readdirSync(dirPath, options);
|
|
8683
8713
|
}
|
|
8684
8714
|
var pathResolverInstance, normalizePath, pathExists, readSync, statSync2, joinPath;
|
|
@@ -8728,6 +8758,25 @@ var init_typed_file_operations = __esm({
|
|
|
8728
8758
|
}
|
|
8729
8759
|
});
|
|
8730
8760
|
|
|
8761
|
+
// packages/tooling/src/utils/type-guards.ts
|
|
8762
|
+
function requireText(value, filePath) {
|
|
8763
|
+
if (typeof value !== "string") {
|
|
8764
|
+
throw new DoNotDevError(
|
|
8765
|
+
`Cannot read text file: ${filePath}`,
|
|
8766
|
+
DO_NOT_DEV_ERROR_CODES.FILE_NOT_FOUND,
|
|
8767
|
+
{ context: { filePath } }
|
|
8768
|
+
);
|
|
8769
|
+
}
|
|
8770
|
+
return value;
|
|
8771
|
+
}
|
|
8772
|
+
var init_type_guards = __esm({
|
|
8773
|
+
"packages/tooling/src/utils/type-guards.ts"() {
|
|
8774
|
+
"use strict";
|
|
8775
|
+
init_utils2();
|
|
8776
|
+
init_errors();
|
|
8777
|
+
}
|
|
8778
|
+
});
|
|
8779
|
+
|
|
8731
8780
|
// packages/tooling/src/bundler/utils.ts
|
|
8732
8781
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
8733
8782
|
import { copyFileSync as copyFileSync2, readFileSync as readFileSync2, writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "node:fs";
|
|
@@ -8821,7 +8870,7 @@ function analyzeApp(appPath, appName) {
|
|
|
8821
8870
|
try {
|
|
8822
8871
|
const envPath = joinPath(appPath, ".env");
|
|
8823
8872
|
if (pathExists(envPath)) {
|
|
8824
|
-
const envContent = readSync(envPath);
|
|
8873
|
+
const envContent = requireText(readSync(envPath), envPath);
|
|
8825
8874
|
if (envContent.match(/VITE_SUPABASE_URL=.+/)) {
|
|
8826
8875
|
hasSupabase = true;
|
|
8827
8876
|
}
|
|
@@ -8868,7 +8917,7 @@ function analyzeApp(appPath, appName) {
|
|
|
8868
8917
|
try {
|
|
8869
8918
|
const envPath = joinPath(appPath, ".env");
|
|
8870
8919
|
if (pathExists(envPath)) {
|
|
8871
|
-
const envContent = readSync(envPath);
|
|
8920
|
+
const envContent = requireText(readSync(envPath), envPath);
|
|
8872
8921
|
const urlMatch = envContent.match(/VITE_SUPABASE_URL=(.+)/);
|
|
8873
8922
|
if (urlMatch && urlMatch[1]) {
|
|
8874
8923
|
url = urlMatch[1].trim();
|
|
@@ -8931,6 +8980,7 @@ var init_app_detection = __esm({
|
|
|
8931
8980
|
init_utils2();
|
|
8932
8981
|
init_pathResolver();
|
|
8933
8982
|
init_typed_file_operations();
|
|
8983
|
+
init_type_guards();
|
|
8934
8984
|
}
|
|
8935
8985
|
});
|
|
8936
8986
|
|
|
@@ -8972,12 +9022,42 @@ var init_app_selector = __esm({
|
|
|
8972
9022
|
"packages/tooling/src/utils/app-selector.ts"() {
|
|
8973
9023
|
"use strict";
|
|
8974
9024
|
init_utils2();
|
|
8975
|
-
|
|
9025
|
+
init_dist5();
|
|
8976
9026
|
init_app_detection();
|
|
8977
9027
|
init_cli_output();
|
|
8978
9028
|
}
|
|
8979
9029
|
});
|
|
8980
9030
|
|
|
9031
|
+
// packages/tooling/src/utils/error-handling.ts
|
|
9032
|
+
function isError(error2) {
|
|
9033
|
+
return error2 instanceof Error;
|
|
9034
|
+
}
|
|
9035
|
+
function getErrorMessage(error2) {
|
|
9036
|
+
if (isError(error2)) {
|
|
9037
|
+
return error2.message;
|
|
9038
|
+
}
|
|
9039
|
+
if (typeof error2 === "string") {
|
|
9040
|
+
return error2;
|
|
9041
|
+
}
|
|
9042
|
+
if (error2 && typeof error2 === "object" && "message" in error2) {
|
|
9043
|
+
return String(error2.message);
|
|
9044
|
+
}
|
|
9045
|
+
return String(error2);
|
|
9046
|
+
}
|
|
9047
|
+
function getErrorField(error2, field) {
|
|
9048
|
+
if (error2 === null || typeof error2 !== "object" || !(field in error2)) {
|
|
9049
|
+
return void 0;
|
|
9050
|
+
}
|
|
9051
|
+
const value = Reflect.get(error2, field);
|
|
9052
|
+
return value;
|
|
9053
|
+
}
|
|
9054
|
+
var init_error_handling = __esm({
|
|
9055
|
+
"packages/tooling/src/utils/error-handling.ts"() {
|
|
9056
|
+
"use strict";
|
|
9057
|
+
init_utils2();
|
|
9058
|
+
}
|
|
9059
|
+
});
|
|
9060
|
+
|
|
8981
9061
|
// packages/tooling/src/utils/secrets-resolver.ts
|
|
8982
9062
|
function parseEnvFile(filePath) {
|
|
8983
9063
|
if (!pathExists(filePath)) return {};
|
|
@@ -9685,7 +9765,7 @@ function withTimeout(fetch$1, timeout) {
|
|
|
9685
9765
|
};
|
|
9686
9766
|
}
|
|
9687
9767
|
var PostgrestError, DEFAULT_MAX_RETRIES, getRetryDelay, RETRYABLE_STATUS_CODES, RETRYABLE_METHODS, PostgrestBuilder, PostgrestTransformBuilder, PostgrestReservedCharsRegexp, PostgrestFilterBuilder, PostgrestQueryBuilder, PostgrestClient;
|
|
9688
|
-
var
|
|
9768
|
+
var init_dist6 = __esm({
|
|
9689
9769
|
"node_modules/.bun/@supabase+postgrest-js@2.119.0/node_modules/@supabase/postgrest-js/dist/index.mjs"() {
|
|
9690
9770
|
init_utils2();
|
|
9691
9771
|
PostgrestError = class extends Error {
|
|
@@ -10195,10 +10275,10 @@ ${cause.stack}`;
|
|
|
10195
10275
|
*/
|
|
10196
10276
|
select(columns) {
|
|
10197
10277
|
let quoted = false;
|
|
10198
|
-
const cleanedColumns = (columns !== null && columns !== void 0 ? columns : "*").split("").map((
|
|
10199
|
-
if (/\s/.test(
|
|
10200
|
-
if (
|
|
10201
|
-
return
|
|
10278
|
+
const cleanedColumns = (columns !== null && columns !== void 0 ? columns : "*").split("").map((c3) => {
|
|
10279
|
+
if (/\s/.test(c3) && !quoted) return "";
|
|
10280
|
+
if (c3 === '"') quoted = !quoted;
|
|
10281
|
+
return c3;
|
|
10202
10282
|
}).join("");
|
|
10203
10283
|
this.url.searchParams.set("select", cleanedColumns);
|
|
10204
10284
|
this.headers.append("Prefer", "return=representation");
|
|
@@ -12359,10 +12439,10 @@ ${cause.stack}`;
|
|
|
12359
12439
|
const { head: head2 = false, count } = options !== null && options !== void 0 ? options : {};
|
|
12360
12440
|
const method = head2 ? "HEAD" : "GET";
|
|
12361
12441
|
let quoted = false;
|
|
12362
|
-
const cleanedColumns = (columns !== null && columns !== void 0 ? columns : "*").split("").map((
|
|
12363
|
-
if (/\s/.test(
|
|
12364
|
-
if (
|
|
12365
|
-
return
|
|
12442
|
+
const cleanedColumns = (columns !== null && columns !== void 0 ? columns : "*").split("").map((c3) => {
|
|
12443
|
+
if (/\s/.test(c3) && !quoted) return "";
|
|
12444
|
+
if (c3 === '"') quoted = !quoted;
|
|
12445
|
+
return c3;
|
|
12366
12446
|
}).join("");
|
|
12367
12447
|
const { url, headers } = this.cloneRequestState();
|
|
12368
12448
|
url.searchParams.set("select", cleanedColumns);
|
|
@@ -15584,7 +15664,7 @@ var init_phoenix = __esm({
|
|
|
15584
15664
|
*/
|
|
15585
15665
|
remove(channel) {
|
|
15586
15666
|
this.off(channel.stateChangeRefs);
|
|
15587
|
-
this.channels = this.channels.filter((
|
|
15667
|
+
this.channels = this.channels.filter((c3) => c3 !== channel);
|
|
15588
15668
|
}
|
|
15589
15669
|
/**
|
|
15590
15670
|
* Removes `onOpen`, `onClose`, `onError,` and `onMessage` registrations.
|
|
@@ -15719,7 +15799,7 @@ var init_phoenix = __esm({
|
|
|
15719
15799
|
}
|
|
15720
15800
|
}
|
|
15721
15801
|
leaveOpenTopic(topic) {
|
|
15722
|
-
let dupChannel = this.channels.find((
|
|
15802
|
+
let dupChannel = this.channels.find((c3) => c3.topic === topic && (c3.isJoined() || c3.isJoining()));
|
|
15723
15803
|
if (dupChannel) {
|
|
15724
15804
|
if (this.hasLogger()) this.log("transport", `leaving duplicate topic "${topic}"`);
|
|
15725
15805
|
dupChannel.leave();
|
|
@@ -17333,7 +17413,7 @@ var init_RealtimeClient = __esm({
|
|
|
17333
17413
|
*/
|
|
17334
17414
|
channel(topic, params = { config: {} }) {
|
|
17335
17415
|
const realtimeTopic = `realtime:${topic}`;
|
|
17336
|
-
const exists = this.getChannels().find((
|
|
17416
|
+
const exists = this.getChannels().find((c3) => c3.topic === realtimeTopic);
|
|
17337
17417
|
if (!exists) {
|
|
17338
17418
|
const chan = new RealtimeChannel(`realtime:${topic}`, params, this);
|
|
17339
17419
|
this._cancelPendingDisconnect();
|
|
@@ -17438,7 +17518,7 @@ var init_RealtimeClient = __esm({
|
|
|
17438
17518
|
* @internal
|
|
17439
17519
|
*/
|
|
17440
17520
|
_remove(channel) {
|
|
17441
|
-
this.channels = this.channels.filter((
|
|
17521
|
+
this.channels = this.channels.filter((c3) => c3.topic !== channel.topic);
|
|
17442
17522
|
if (this.channels.length === 0) {
|
|
17443
17523
|
this.log("transport", "no channels remaining, scheduling disconnect");
|
|
17444
17524
|
this._schedulePendingDisconnect();
|
|
@@ -17771,7 +17851,7 @@ function namespaceToPath2(namespace) {
|
|
|
17771
17851
|
return namespace.join("");
|
|
17772
17852
|
}
|
|
17773
17853
|
var IcebergError, NamespaceOperations, TableOperations, IcebergRestCatalog;
|
|
17774
|
-
var
|
|
17854
|
+
var init_dist7 = __esm({
|
|
17775
17855
|
"node_modules/.bun/iceberg-js@0.8.1/node_modules/iceberg-js/dist/index.mjs"() {
|
|
17776
17856
|
init_utils2();
|
|
17777
17857
|
IcebergError = class extends Error {
|
|
@@ -18340,10 +18420,10 @@ function mergeFileOptions(fileOptions) {
|
|
|
18340
18420
|
return _objectSpread22(_objectSpread22({}, DEFAULT_FILE_OPTIONS), definedOptions);
|
|
18341
18421
|
}
|
|
18342
18422
|
var StorageError, StorageApiError, StorageUnknownError, resolveFetch2, isPlainObject, recursiveToCamel, isValidBucketName, encodeStoragePath, _getErrorMessage, handleError, _getRequestParams, defaultApi, get, post, put, head, remove, vectorsApi, BaseApiClient, _Symbol$toStringTag$1, StreamDownloadBuilder, _Symbol$toStringTag, BlobDownloadBuilder, DEFAULT_SEARCH_OPTIONS, DEFAULT_FILE_OPTIONS, StorageFileApi, version2, DEFAULT_HEADERS, StorageBucketApi, StorageAnalyticsClient, VectorIndexApi, VectorDataApi, VectorBucketApi, StorageVectorsClient, VectorBucketScope, VectorIndexScope, StorageClient;
|
|
18343
|
-
var
|
|
18423
|
+
var init_dist8 = __esm({
|
|
18344
18424
|
"node_modules/.bun/@supabase+storage-js@2.119.0/node_modules/@supabase/storage-js/dist/index.mjs"() {
|
|
18345
18425
|
init_utils2();
|
|
18346
|
-
|
|
18426
|
+
init_dist7();
|
|
18347
18427
|
StorageError = class extends Error {
|
|
18348
18428
|
constructor(message2, namespace = "storage", status, statusCode) {
|
|
18349
18429
|
super(message2);
|
|
@@ -18395,7 +18475,7 @@ var init_dist7 = __esm({
|
|
|
18395
18475
|
else if (typeof item === "function" || item !== Object(item)) return item;
|
|
18396
18476
|
const result = {};
|
|
18397
18477
|
Object.entries(item).forEach(([key, value]) => {
|
|
18398
|
-
const newKey = key.replace(/([-_][a-z])/gi, (
|
|
18478
|
+
const newKey = key.replace(/([-_][a-z])/gi, (c3) => c3.toUpperCase().replace(/[-_]/g, ""));
|
|
18399
18479
|
result[newKey] = recursiveToCamel(value);
|
|
18400
18480
|
});
|
|
18401
18481
|
return result;
|
|
@@ -21660,7 +21740,7 @@ async function sha256(randomString) {
|
|
|
21660
21740
|
const encodedData = encoder2.encode(randomString);
|
|
21661
21741
|
const hash = await crypto.subtle.digest("SHA-256", encodedData);
|
|
21662
21742
|
const bytes = new Uint8Array(hash);
|
|
21663
|
-
return Array.from(bytes).map((
|
|
21743
|
+
return Array.from(bytes).map((c3) => String.fromCharCode(c3)).join("");
|
|
21664
21744
|
}
|
|
21665
21745
|
async function generatePKCEChallenge(verifier) {
|
|
21666
21746
|
const hasCryptoSupport = typeof crypto !== "undefined" && typeof crypto.subtle !== "undefined" && typeof TextEncoder !== "undefined";
|
|
@@ -29720,14 +29800,14 @@ function shouldShowDeprecationWarning() {
|
|
|
29720
29800
|
return parseInt(versionMatch[1], 10) <= 20;
|
|
29721
29801
|
}
|
|
29722
29802
|
var version4, JS_ENV, JS_RUNTIME_VERSION, _Deno$version, _process$version, _runtimeMeta, DEFAULT_HEADERS3, DEFAULT_GLOBAL_OPTIONS, DEFAULT_DB_OPTIONS, DEFAULT_AUTH_OPTIONS, DEFAULT_REALTIME_OPTIONS, DEFAULT_TRACE_PROPAGATION_OPTIONS, resolveFetch4, resolveHeadersConstructor, isNewApiKey, TEMP_KEY_PREFIX, warnedKeySubtypes, checkApiKeyFormat, fetchWithAuth, warnedMissingTracingRuntime, warnedNonW3CPropagator, warnedTopLevelSchema, SupabaseAuthClient, SupabaseClient, createClient;
|
|
29723
|
-
var
|
|
29803
|
+
var init_dist9 = __esm({
|
|
29724
29804
|
"node_modules/.bun/@supabase+supabase-js@2.119.0+e40b0dfdd726a224/node_modules/@supabase/supabase-js/dist/index.mjs"() {
|
|
29725
29805
|
init_utils2();
|
|
29726
29806
|
init_tracingRegistry();
|
|
29727
29807
|
init_module();
|
|
29728
|
-
|
|
29808
|
+
init_dist6();
|
|
29729
29809
|
init_module2();
|
|
29730
|
-
|
|
29810
|
+
init_dist8();
|
|
29731
29811
|
init_module3();
|
|
29732
29812
|
init_module2();
|
|
29733
29813
|
init_module3();
|
|
@@ -30886,7 +30966,7 @@ var require_ms = __commonJS({
|
|
|
30886
30966
|
var h3 = m2 * 60;
|
|
30887
30967
|
var d = h3 * 24;
|
|
30888
30968
|
var w = d * 7;
|
|
30889
|
-
var
|
|
30969
|
+
var y = d * 365.25;
|
|
30890
30970
|
module.exports = function(val, options) {
|
|
30891
30971
|
options = options || {};
|
|
30892
30972
|
var type = typeof val;
|
|
@@ -30918,7 +30998,7 @@ var require_ms = __commonJS({
|
|
|
30918
30998
|
case "yrs":
|
|
30919
30999
|
case "yr":
|
|
30920
31000
|
case "y":
|
|
30921
|
-
return n3 *
|
|
31001
|
+
return n3 * y;
|
|
30922
31002
|
case "weeks":
|
|
30923
31003
|
case "week":
|
|
30924
31004
|
case "w":
|
|
@@ -31285,8 +31365,8 @@ var require_browser = __commonJS({
|
|
|
31285
31365
|
if (!this.useColors) {
|
|
31286
31366
|
return;
|
|
31287
31367
|
}
|
|
31288
|
-
const
|
|
31289
|
-
args.splice(1, 0,
|
|
31368
|
+
const c3 = "color: " + this.color;
|
|
31369
|
+
args.splice(1, 0, c3, "color: inherit");
|
|
31290
31370
|
let index = 0;
|
|
31291
31371
|
let lastC = 0;
|
|
31292
31372
|
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
@@ -31298,7 +31378,7 @@ var require_browser = __commonJS({
|
|
|
31298
31378
|
lastC = index;
|
|
31299
31379
|
}
|
|
31300
31380
|
});
|
|
31301
|
-
args.splice(lastC, 0,
|
|
31381
|
+
args.splice(lastC, 0, c3);
|
|
31302
31382
|
}
|
|
31303
31383
|
exports.log = console.debug || console.log || (() => {
|
|
31304
31384
|
});
|
|
@@ -31597,8 +31677,8 @@ var require_node = __commonJS({
|
|
|
31597
31677
|
function formatArgs(args) {
|
|
31598
31678
|
const { namespace: name, useColors: useColors2 } = this;
|
|
31599
31679
|
if (useColors2) {
|
|
31600
|
-
const
|
|
31601
|
-
const colorCode = "\x1B[3" + (
|
|
31680
|
+
const c3 = this.color;
|
|
31681
|
+
const colorCode = "\x1B[3" + (c3 < 8 ? c3 : "8;5;" + c3);
|
|
31602
31682
|
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
31603
31683
|
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
31604
31684
|
args.push(colorCode + "m+" + module.exports.humanize(this.diff) + "\x1B[0m");
|
|
@@ -31646,7 +31726,7 @@ var require_node = __commonJS({
|
|
|
31646
31726
|
});
|
|
31647
31727
|
|
|
31648
31728
|
// node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
31649
|
-
var
|
|
31729
|
+
var require_src = __commonJS({
|
|
31650
31730
|
"node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js"(exports, module) {
|
|
31651
31731
|
init_utils2();
|
|
31652
31732
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
@@ -31790,7 +31870,7 @@ var require_dist = __commonJS({
|
|
|
31790
31870
|
const { stack } = new Error();
|
|
31791
31871
|
if (typeof stack !== "string")
|
|
31792
31872
|
return false;
|
|
31793
|
-
return stack.split("\n").some((
|
|
31873
|
+
return stack.split("\n").some((l) => l.indexOf("(https.js:") !== -1 || l.indexOf("node:https:") !== -1);
|
|
31794
31874
|
}
|
|
31795
31875
|
// In order to support async signatures in `connect()` and Node's native
|
|
31796
31876
|
// connection pooling in `http.Agent`, the array of sockets for each origin
|
|
@@ -31895,7 +31975,7 @@ var require_parse_proxy_response = __commonJS({
|
|
|
31895
31975
|
};
|
|
31896
31976
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31897
31977
|
exports.parseProxyResponse = void 0;
|
|
31898
|
-
var debug_1 = __importDefault(
|
|
31978
|
+
var debug_1 = __importDefault(require_src());
|
|
31899
31979
|
var debug = (0, debug_1.default)("https-proxy-agent:parse-proxy-response");
|
|
31900
31980
|
function parseProxyResponse(socket) {
|
|
31901
31981
|
return new Promise((resolve4, reject) => {
|
|
@@ -32022,7 +32102,7 @@ var require_dist2 = __commonJS({
|
|
|
32022
32102
|
var net = __importStar(__require("net"));
|
|
32023
32103
|
var tls = __importStar(__require("tls"));
|
|
32024
32104
|
var assert_1 = __importDefault(__require("assert"));
|
|
32025
|
-
var debug_1 = __importDefault(
|
|
32105
|
+
var debug_1 = __importDefault(require_src());
|
|
32026
32106
|
var agent_base_1 = require_dist();
|
|
32027
32107
|
var url_1 = __require("url");
|
|
32028
32108
|
var parse_proxy_response_1 = require_parse_proxy_response();
|
|
@@ -32171,7 +32251,7 @@ function dataUriToBuffer(uri) {
|
|
|
32171
32251
|
return buffer;
|
|
32172
32252
|
}
|
|
32173
32253
|
var dist_default3;
|
|
32174
|
-
var
|
|
32254
|
+
var init_dist10 = __esm({
|
|
32175
32255
|
"node_modules/.bun/data-uri-to-buffer@4.0.1/node_modules/data-uri-to-buffer/dist/index.js"() {
|
|
32176
32256
|
init_utils2();
|
|
32177
32257
|
dist_default3 = dataUriToBuffer;
|
|
@@ -32340,8 +32420,8 @@ var require_ponyfill_es2018 = __commonJS({
|
|
|
32340
32420
|
// without modifying the queue.
|
|
32341
32421
|
peek() {
|
|
32342
32422
|
const front = this._front;
|
|
32343
|
-
const
|
|
32344
|
-
return front._elements[
|
|
32423
|
+
const cursor2 = this._cursor;
|
|
32424
|
+
return front._elements[cursor2];
|
|
32345
32425
|
}
|
|
32346
32426
|
}
|
|
32347
32427
|
const AbortSteps = /* @__PURE__ */ Symbol("[[AbortSteps]]");
|
|
@@ -34896,24 +34976,24 @@ var require_ponyfill_es2018 = __commonJS({
|
|
|
34896
34976
|
return null;
|
|
34897
34977
|
}
|
|
34898
34978
|
}
|
|
34899
|
-
function shutdown(
|
|
34979
|
+
function shutdown(isError2, error2) {
|
|
34900
34980
|
if (shuttingDown) {
|
|
34901
34981
|
return;
|
|
34902
34982
|
}
|
|
34903
34983
|
shuttingDown = true;
|
|
34904
34984
|
if (dest._state === "writable" && !WritableStreamCloseQueuedOrInFlight(dest)) {
|
|
34905
|
-
uponFulfillment(waitForWritesToFinish(), () => finalize(
|
|
34985
|
+
uponFulfillment(waitForWritesToFinish(), () => finalize(isError2, error2));
|
|
34906
34986
|
} else {
|
|
34907
|
-
finalize(
|
|
34987
|
+
finalize(isError2, error2);
|
|
34908
34988
|
}
|
|
34909
34989
|
}
|
|
34910
|
-
function finalize(
|
|
34990
|
+
function finalize(isError2, error2) {
|
|
34911
34991
|
WritableStreamDefaultWriterRelease(writer);
|
|
34912
34992
|
ReadableStreamReaderGenericRelease(reader);
|
|
34913
34993
|
if (signal !== void 0) {
|
|
34914
34994
|
signal.removeEventListener("abort", abortAlgorithm);
|
|
34915
34995
|
}
|
|
34916
|
-
if (
|
|
34996
|
+
if (isError2) {
|
|
34917
34997
|
reject(error2);
|
|
34918
34998
|
} else {
|
|
34919
34999
|
resolve4(void 0);
|
|
@@ -36753,17 +36833,17 @@ var init_file = __esm({
|
|
|
36753
36833
|
|
|
36754
36834
|
// node_modules/.bun/formdata-polyfill@4.0.10/node_modules/formdata-polyfill/esm.min.js
|
|
36755
36835
|
function formDataToBlob(F2, B = fetch_blob_default) {
|
|
36756
|
-
var b = `${r2()}${r2()}`.replace(/\./g, "").slice(-28).padStart(32, "-"),
|
|
36836
|
+
var b = `${r2()}${r2()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), c3 = [], p = `--${b}\r
|
|
36757
36837
|
Content-Disposition: form-data; name="`;
|
|
36758
|
-
F2.forEach((v, n3) => typeof v == "string" ?
|
|
36838
|
+
F2.forEach((v, n3) => typeof v == "string" ? c3.push(p + e(n3) + `"\r
|
|
36759
36839
|
\r
|
|
36760
36840
|
${v.replace(/\r(?!\n)|(?<!\r)\n/g, "\r\n")}\r
|
|
36761
|
-
`) :
|
|
36841
|
+
`) : c3.push(p + e(n3) + `"; filename="${e(v.name, 1)}"\r
|
|
36762
36842
|
Content-Type: ${v.type || "application/octet-stream"}\r
|
|
36763
36843
|
\r
|
|
36764
36844
|
`, v, "\r\n"));
|
|
36765
|
-
|
|
36766
|
-
return new B(
|
|
36845
|
+
c3.push(`--${b}--`);
|
|
36846
|
+
return new B(c3, { type: "multipart/form-data; boundary=" + b });
|
|
36767
36847
|
}
|
|
36768
36848
|
var t2, i2, h2, r2, m, f, e, x, FormData2;
|
|
36769
36849
|
var init_esm_min = __esm({
|
|
@@ -36774,8 +36854,8 @@ var init_esm_min = __esm({
|
|
|
36774
36854
|
({ toStringTag: t2, iterator: i2, hasInstance: h2 } = Symbol);
|
|
36775
36855
|
r2 = Math.random;
|
|
36776
36856
|
m = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(",");
|
|
36777
|
-
f = (a2, b,
|
|
36778
|
-
e = (
|
|
36857
|
+
f = (a2, b, c3) => (a2 += "", /^(Blob|File)$/.test(b && b[t2]) ? [(c3 = c3 !== void 0 ? c3 + "" : b[t2] == "File" ? b.name : "blob", a2), b.name !== c3 || b[t2] == "blob" ? new file_default([b], c3, b) : b] : [a2, b + ""]);
|
|
36858
|
+
e = (c3, f3) => (f3 ? c3 : c3.replace(/\r?\n|\r/g, "\r\n")).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22");
|
|
36779
36859
|
x = (n3, a2, e2) => {
|
|
36780
36860
|
if (a2.length < e2) {
|
|
36781
36861
|
throw new TypeError(`Failed to execute '${n3}' on 'FormData': ${e2} arguments required, but only ${a2.length} present.`);
|
|
@@ -36807,14 +36887,14 @@ var init_esm_min = __esm({
|
|
|
36807
36887
|
get(a2) {
|
|
36808
36888
|
x("get", arguments, 1);
|
|
36809
36889
|
a2 += "";
|
|
36810
|
-
for (var b = this.#d,
|
|
36890
|
+
for (var b = this.#d, l = b.length, c3 = 0; c3 < l; c3++) if (b[c3][0] === a2) return b[c3][1];
|
|
36811
36891
|
return null;
|
|
36812
36892
|
}
|
|
36813
36893
|
getAll(a2, b) {
|
|
36814
36894
|
x("getAll", arguments, 1);
|
|
36815
36895
|
b = [];
|
|
36816
36896
|
a2 += "";
|
|
36817
|
-
this.#d.forEach((
|
|
36897
|
+
this.#d.forEach((c3) => c3[0] === a2 && b.push(c3[1]));
|
|
36818
36898
|
return b;
|
|
36819
36899
|
}
|
|
36820
36900
|
has(a2) {
|
|
@@ -36824,16 +36904,16 @@ var init_esm_min = __esm({
|
|
|
36824
36904
|
}
|
|
36825
36905
|
forEach(a2, b) {
|
|
36826
36906
|
x("forEach", arguments, 1);
|
|
36827
|
-
for (var [
|
|
36907
|
+
for (var [c3, d] of this) a2.call(b, d, c3, this);
|
|
36828
36908
|
}
|
|
36829
36909
|
set(...a2) {
|
|
36830
36910
|
x("set", arguments, 2);
|
|
36831
|
-
var b = [],
|
|
36911
|
+
var b = [], c3 = true;
|
|
36832
36912
|
a2 = f(...a2);
|
|
36833
36913
|
this.#d.forEach((d) => {
|
|
36834
|
-
d[0] === a2[0] ?
|
|
36914
|
+
d[0] === a2[0] ? c3 && (c3 = !b.push(a2)) : b.push(d);
|
|
36835
36915
|
});
|
|
36836
|
-
|
|
36916
|
+
c3 && b.push(a2);
|
|
36837
36917
|
this.#d = b;
|
|
36838
36918
|
}
|
|
36839
36919
|
*entries() {
|
|
@@ -37094,7 +37174,7 @@ async function toFormData(Body2, ct) {
|
|
|
37094
37174
|
parser.end();
|
|
37095
37175
|
return formData;
|
|
37096
37176
|
}
|
|
37097
|
-
var s, S, f2, F, LF, CR, SPACE, HYPHEN, COLON, A,
|
|
37177
|
+
var s, S, f2, F, LF, CR, SPACE, HYPHEN, COLON, A, Z2, lower, noop2, MultipartParser;
|
|
37098
37178
|
var init_multipart_parser = __esm({
|
|
37099
37179
|
"node_modules/.bun/node-fetch@3.3.2/node_modules/node-fetch/src/utils/multipart-parser.js"() {
|
|
37100
37180
|
init_utils2();
|
|
@@ -37124,8 +37204,8 @@ var init_multipart_parser = __esm({
|
|
|
37124
37204
|
HYPHEN = 45;
|
|
37125
37205
|
COLON = 58;
|
|
37126
37206
|
A = 97;
|
|
37127
|
-
|
|
37128
|
-
lower = (
|
|
37207
|
+
Z2 = 122;
|
|
37208
|
+
lower = (c3) => c3 | 32;
|
|
37129
37209
|
noop2 = () => {
|
|
37130
37210
|
};
|
|
37131
37211
|
MultipartParser = class {
|
|
@@ -37164,12 +37244,12 @@ var init_multipart_parser = __esm({
|
|
|
37164
37244
|
const boundaryLength = this.boundary.length;
|
|
37165
37245
|
const boundaryEnd = boundaryLength - 1;
|
|
37166
37246
|
const bufferLength = data.length;
|
|
37167
|
-
let
|
|
37247
|
+
let c3;
|
|
37168
37248
|
let cl;
|
|
37169
37249
|
const mark = (name) => {
|
|
37170
37250
|
this[name + "Mark"] = i3;
|
|
37171
37251
|
};
|
|
37172
|
-
const
|
|
37252
|
+
const clear2 = (name) => {
|
|
37173
37253
|
delete this[name + "Mark"];
|
|
37174
37254
|
};
|
|
37175
37255
|
const callback = (callbackSymbol, start, end, ui8a) => {
|
|
@@ -37177,12 +37257,12 @@ var init_multipart_parser = __esm({
|
|
|
37177
37257
|
this[callbackSymbol](ui8a && ui8a.subarray(start, end));
|
|
37178
37258
|
}
|
|
37179
37259
|
};
|
|
37180
|
-
const dataCallback = (name,
|
|
37260
|
+
const dataCallback = (name, clear3) => {
|
|
37181
37261
|
const markSymbol = name + "Mark";
|
|
37182
37262
|
if (!(markSymbol in this)) {
|
|
37183
37263
|
return;
|
|
37184
37264
|
}
|
|
37185
|
-
if (
|
|
37265
|
+
if (clear3) {
|
|
37186
37266
|
callback(name, this[markSymbol], i3, data);
|
|
37187
37267
|
delete this[markSymbol];
|
|
37188
37268
|
} else {
|
|
@@ -37191,22 +37271,22 @@ var init_multipart_parser = __esm({
|
|
|
37191
37271
|
}
|
|
37192
37272
|
};
|
|
37193
37273
|
for (i3 = 0; i3 < length_; i3++) {
|
|
37194
|
-
|
|
37274
|
+
c3 = data[i3];
|
|
37195
37275
|
switch (state) {
|
|
37196
37276
|
case S.START_BOUNDARY:
|
|
37197
37277
|
if (index === boundary.length - 2) {
|
|
37198
|
-
if (
|
|
37278
|
+
if (c3 === HYPHEN) {
|
|
37199
37279
|
flags |= F.LAST_BOUNDARY;
|
|
37200
|
-
} else if (
|
|
37280
|
+
} else if (c3 !== CR) {
|
|
37201
37281
|
return;
|
|
37202
37282
|
}
|
|
37203
37283
|
index++;
|
|
37204
37284
|
break;
|
|
37205
37285
|
} else if (index - 1 === boundary.length - 2) {
|
|
37206
|
-
if (flags & F.LAST_BOUNDARY &&
|
|
37286
|
+
if (flags & F.LAST_BOUNDARY && c3 === HYPHEN) {
|
|
37207
37287
|
state = S.END;
|
|
37208
37288
|
flags = 0;
|
|
37209
|
-
} else if (!(flags & F.LAST_BOUNDARY) &&
|
|
37289
|
+
} else if (!(flags & F.LAST_BOUNDARY) && c3 === LF) {
|
|
37210
37290
|
index = 0;
|
|
37211
37291
|
callback("onPartBegin");
|
|
37212
37292
|
state = S.HEADER_FIELD_START;
|
|
@@ -37215,10 +37295,10 @@ var init_multipart_parser = __esm({
|
|
|
37215
37295
|
}
|
|
37216
37296
|
break;
|
|
37217
37297
|
}
|
|
37218
|
-
if (
|
|
37298
|
+
if (c3 !== boundary[index + 2]) {
|
|
37219
37299
|
index = -2;
|
|
37220
37300
|
}
|
|
37221
|
-
if (
|
|
37301
|
+
if (c3 === boundary[index + 2]) {
|
|
37222
37302
|
index++;
|
|
37223
37303
|
}
|
|
37224
37304
|
break;
|
|
@@ -37228,16 +37308,16 @@ var init_multipart_parser = __esm({
|
|
|
37228
37308
|
index = 0;
|
|
37229
37309
|
// falls through
|
|
37230
37310
|
case S.HEADER_FIELD:
|
|
37231
|
-
if (
|
|
37232
|
-
|
|
37311
|
+
if (c3 === CR) {
|
|
37312
|
+
clear2("onHeaderField");
|
|
37233
37313
|
state = S.HEADERS_ALMOST_DONE;
|
|
37234
37314
|
break;
|
|
37235
37315
|
}
|
|
37236
37316
|
index++;
|
|
37237
|
-
if (
|
|
37317
|
+
if (c3 === HYPHEN) {
|
|
37238
37318
|
break;
|
|
37239
37319
|
}
|
|
37240
|
-
if (
|
|
37320
|
+
if (c3 === COLON) {
|
|
37241
37321
|
if (index === 1) {
|
|
37242
37322
|
return;
|
|
37243
37323
|
}
|
|
@@ -37245,33 +37325,33 @@ var init_multipart_parser = __esm({
|
|
|
37245
37325
|
state = S.HEADER_VALUE_START;
|
|
37246
37326
|
break;
|
|
37247
37327
|
}
|
|
37248
|
-
cl = lower(
|
|
37249
|
-
if (cl < A || cl >
|
|
37328
|
+
cl = lower(c3);
|
|
37329
|
+
if (cl < A || cl > Z2) {
|
|
37250
37330
|
return;
|
|
37251
37331
|
}
|
|
37252
37332
|
break;
|
|
37253
37333
|
case S.HEADER_VALUE_START:
|
|
37254
|
-
if (
|
|
37334
|
+
if (c3 === SPACE) {
|
|
37255
37335
|
break;
|
|
37256
37336
|
}
|
|
37257
37337
|
mark("onHeaderValue");
|
|
37258
37338
|
state = S.HEADER_VALUE;
|
|
37259
37339
|
// falls through
|
|
37260
37340
|
case S.HEADER_VALUE:
|
|
37261
|
-
if (
|
|
37341
|
+
if (c3 === CR) {
|
|
37262
37342
|
dataCallback("onHeaderValue", true);
|
|
37263
37343
|
callback("onHeaderEnd");
|
|
37264
37344
|
state = S.HEADER_VALUE_ALMOST_DONE;
|
|
37265
37345
|
}
|
|
37266
37346
|
break;
|
|
37267
37347
|
case S.HEADER_VALUE_ALMOST_DONE:
|
|
37268
|
-
if (
|
|
37348
|
+
if (c3 !== LF) {
|
|
37269
37349
|
return;
|
|
37270
37350
|
}
|
|
37271
37351
|
state = S.HEADER_FIELD_START;
|
|
37272
37352
|
break;
|
|
37273
37353
|
case S.HEADERS_ALMOST_DONE:
|
|
37274
|
-
if (
|
|
37354
|
+
if (c3 !== LF) {
|
|
37275
37355
|
return;
|
|
37276
37356
|
}
|
|
37277
37357
|
callback("onHeadersEnd");
|
|
@@ -37289,10 +37369,10 @@ var init_multipart_parser = __esm({
|
|
|
37289
37369
|
i3 += boundaryLength;
|
|
37290
37370
|
}
|
|
37291
37371
|
i3 -= boundaryEnd;
|
|
37292
|
-
|
|
37372
|
+
c3 = data[i3];
|
|
37293
37373
|
}
|
|
37294
37374
|
if (index < boundary.length) {
|
|
37295
|
-
if (boundary[index] ===
|
|
37375
|
+
if (boundary[index] === c3) {
|
|
37296
37376
|
if (index === 0) {
|
|
37297
37377
|
dataCallback("onPartData", true);
|
|
37298
37378
|
}
|
|
@@ -37302,9 +37382,9 @@ var init_multipart_parser = __esm({
|
|
|
37302
37382
|
}
|
|
37303
37383
|
} else if (index === boundary.length) {
|
|
37304
37384
|
index++;
|
|
37305
|
-
if (
|
|
37385
|
+
if (c3 === CR) {
|
|
37306
37386
|
flags |= F.PART_BOUNDARY;
|
|
37307
|
-
} else if (
|
|
37387
|
+
} else if (c3 === HYPHEN) {
|
|
37308
37388
|
flags |= F.LAST_BOUNDARY;
|
|
37309
37389
|
} else {
|
|
37310
37390
|
index = 0;
|
|
@@ -37312,7 +37392,7 @@ var init_multipart_parser = __esm({
|
|
|
37312
37392
|
} else if (index - 1 === boundary.length) {
|
|
37313
37393
|
if (flags & F.PART_BOUNDARY) {
|
|
37314
37394
|
index = 0;
|
|
37315
|
-
if (
|
|
37395
|
+
if (c3 === LF) {
|
|
37316
37396
|
flags &= ~F.PART_BOUNDARY;
|
|
37317
37397
|
callback("onPartEnd");
|
|
37318
37398
|
callback("onPartBegin");
|
|
@@ -37320,7 +37400,7 @@ var init_multipart_parser = __esm({
|
|
|
37320
37400
|
break;
|
|
37321
37401
|
}
|
|
37322
37402
|
} else if (flags & F.LAST_BOUNDARY) {
|
|
37323
|
-
if (
|
|
37403
|
+
if (c3 === HYPHEN) {
|
|
37324
37404
|
callback("onPartEnd");
|
|
37325
37405
|
state = S.END;
|
|
37326
37406
|
flags = 0;
|
|
@@ -37332,7 +37412,7 @@ var init_multipart_parser = __esm({
|
|
|
37332
37412
|
}
|
|
37333
37413
|
}
|
|
37334
37414
|
if (index > 0) {
|
|
37335
|
-
lookbehind[index - 1] =
|
|
37415
|
+
lookbehind[index - 1] = c3;
|
|
37336
37416
|
} else if (previousIndex > 0) {
|
|
37337
37417
|
const _lookbehind = new Uint8Array(lookbehind.buffer, lookbehind.byteOffset, lookbehind.byteLength);
|
|
37338
37418
|
callback("onPartData", 0, previousIndex, _lookbehind);
|
|
@@ -37402,7 +37482,7 @@ async function consumeBody(data) {
|
|
|
37402
37482
|
}
|
|
37403
37483
|
if (body.readableEnded === true || body._readableState.ended === true) {
|
|
37404
37484
|
try {
|
|
37405
|
-
if (accum.every((
|
|
37485
|
+
if (accum.every((c3) => typeof c3 === "string")) {
|
|
37406
37486
|
return Buffer3.from(accum.join(""));
|
|
37407
37487
|
}
|
|
37408
37488
|
return Buffer3.concat(accum, accumBytes);
|
|
@@ -38625,7 +38705,7 @@ var supportedSchemas;
|
|
|
38625
38705
|
var init_src = __esm({
|
|
38626
38706
|
"node_modules/.bun/node-fetch@3.3.2/node_modules/node-fetch/src/index.js"() {
|
|
38627
38707
|
init_utils2();
|
|
38628
|
-
|
|
38708
|
+
init_dist10();
|
|
38629
38709
|
init_body();
|
|
38630
38710
|
init_response();
|
|
38631
38711
|
init_headers();
|
|
@@ -38768,7 +38848,7 @@ var require_gaxios = __commonJS({
|
|
|
38768
38848
|
for await (const chunk of translatedResponse.data) {
|
|
38769
38849
|
response.push(chunk);
|
|
38770
38850
|
}
|
|
38771
|
-
translatedResponse.data = Buffer2.concat(response.map((
|
|
38851
|
+
translatedResponse.data = Buffer2.concat(response.map((c3) => typeof c3 === "string" ? Buffer2.from(c3) : c3)).toString("utf8");
|
|
38772
38852
|
}
|
|
38773
38853
|
const errorInfo = common_js_1.GaxiosError.extractAPIErrorFromResponse(translatedResponse, `Request failed with status code ${translatedResponse.status}`);
|
|
38774
38854
|
throw new common_js_1.GaxiosError(errorInfo?.message, opts, translatedResponse, errorInfo);
|
|
@@ -39246,7 +39326,7 @@ Content-Type: ${partContentType}\r
|
|
|
39246
39326
|
});
|
|
39247
39327
|
|
|
39248
39328
|
// node_modules/.bun/gaxios@8.3.2/node_modules/gaxios/build/cjs/src/index.js
|
|
39249
|
-
var
|
|
39329
|
+
var require_src2 = __commonJS({
|
|
39250
39330
|
"node_modules/.bun/gaxios@8.3.2/node_modules/gaxios/build/cjs/src/index.js"(exports) {
|
|
39251
39331
|
"use strict";
|
|
39252
39332
|
init_utils2();
|
|
@@ -39305,7 +39385,7 @@ var require_bignumber = __commonJS({
|
|
|
39305
39385
|
suffix: ""
|
|
39306
39386
|
}, ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz", alphabetHasNormalDecimalDigits = true;
|
|
39307
39387
|
function BigNumber2(v, b) {
|
|
39308
|
-
var alphabet,
|
|
39388
|
+
var alphabet, c3, caseChanged, e2, i3, isNum, len, str, x2 = this;
|
|
39309
39389
|
if (!(x2 instanceof BigNumber2)) return new BigNumber2(v, b);
|
|
39310
39390
|
if (b == null) {
|
|
39311
39391
|
if (v && v._isBigNumber === true) {
|
|
@@ -39364,8 +39444,8 @@ var require_bignumber = __commonJS({
|
|
|
39364
39444
|
alphabet = ALPHABET.slice(0, b);
|
|
39365
39445
|
e2 = i3 = 0;
|
|
39366
39446
|
for (len = str.length; i3 < len; i3++) {
|
|
39367
|
-
if (alphabet.indexOf(
|
|
39368
|
-
if (
|
|
39447
|
+
if (alphabet.indexOf(c3 = str.charAt(i3)) < 0) {
|
|
39448
|
+
if (c3 == ".") {
|
|
39369
39449
|
if (i3 > e2) {
|
|
39370
39450
|
e2 = len;
|
|
39371
39451
|
continue;
|
|
@@ -39531,24 +39611,24 @@ var require_bignumber = __commonJS({
|
|
|
39531
39611
|
BigNumber2.isBigNumber = function(v) {
|
|
39532
39612
|
if (!v || v._isBigNumber !== true) return false;
|
|
39533
39613
|
if (!BigNumber2.DEBUG) return true;
|
|
39534
|
-
var i3, n3,
|
|
39535
|
-
out: if ({}.toString.call(
|
|
39614
|
+
var i3, n3, c3 = v.c, e2 = v.e, s2 = v.s;
|
|
39615
|
+
out: if ({}.toString.call(c3) == "[object Array]") {
|
|
39536
39616
|
if ((s2 === 1 || s2 === -1) && e2 >= -MAX && e2 <= MAX && e2 === mathfloor(e2)) {
|
|
39537
|
-
if (
|
|
39538
|
-
if (e2 === 0 &&
|
|
39617
|
+
if (c3[0] === 0) {
|
|
39618
|
+
if (e2 === 0 && c3.length === 1) return true;
|
|
39539
39619
|
break out;
|
|
39540
39620
|
}
|
|
39541
39621
|
i3 = (e2 + 1) % LOG_BASE;
|
|
39542
39622
|
if (i3 < 1) i3 += LOG_BASE;
|
|
39543
|
-
if (String(
|
|
39544
|
-
for (i3 = 0; i3 <
|
|
39545
|
-
n3 =
|
|
39623
|
+
if (String(c3[0]).length == i3) {
|
|
39624
|
+
for (i3 = 0; i3 < c3.length; i3++) {
|
|
39625
|
+
n3 = c3[i3];
|
|
39546
39626
|
if (n3 < 0 || n3 >= BASE || n3 !== mathfloor(n3)) break out;
|
|
39547
39627
|
}
|
|
39548
39628
|
if (n3 !== 0) return true;
|
|
39549
39629
|
}
|
|
39550
39630
|
}
|
|
39551
|
-
} else if (
|
|
39631
|
+
} else if (c3 === null && e2 === null && (s2 === null || s2 === 1 || s2 === -1)) {
|
|
39552
39632
|
return true;
|
|
39553
39633
|
}
|
|
39554
39634
|
throw Error(bignumberError + "Invalid BigNumber: " + v);
|
|
@@ -39567,7 +39647,7 @@ var require_bignumber = __commonJS({
|
|
|
39567
39647
|
return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
|
|
39568
39648
|
};
|
|
39569
39649
|
return function(dp) {
|
|
39570
|
-
var a2, b, e2, k, v, i3 = 0,
|
|
39650
|
+
var a2, b, e2, k, v, i3 = 0, c3 = [], rand = new BigNumber2(ONE);
|
|
39571
39651
|
if (dp == null) dp = DECIMAL_PLACES;
|
|
39572
39652
|
else intCheck(dp, 0, MAX);
|
|
39573
39653
|
k = mathceil(dp / LOG_BASE);
|
|
@@ -39581,7 +39661,7 @@ var require_bignumber = __commonJS({
|
|
|
39581
39661
|
a2[i3] = b[0];
|
|
39582
39662
|
a2[i3 + 1] = b[1];
|
|
39583
39663
|
} else {
|
|
39584
|
-
|
|
39664
|
+
c3.push(v % 1e14);
|
|
39585
39665
|
i3 += 2;
|
|
39586
39666
|
}
|
|
39587
39667
|
}
|
|
@@ -39593,7 +39673,7 @@ var require_bignumber = __commonJS({
|
|
|
39593
39673
|
if (v >= 9e15) {
|
|
39594
39674
|
crypto.randomBytes(7).copy(a2, i3);
|
|
39595
39675
|
} else {
|
|
39596
|
-
|
|
39676
|
+
c3.push(v % 1e14);
|
|
39597
39677
|
i3 += 7;
|
|
39598
39678
|
}
|
|
39599
39679
|
}
|
|
@@ -39606,25 +39686,25 @@ var require_bignumber = __commonJS({
|
|
|
39606
39686
|
if (!CRYPTO) {
|
|
39607
39687
|
for (; i3 < k; ) {
|
|
39608
39688
|
v = random53bitInt();
|
|
39609
|
-
if (v < 9e15)
|
|
39689
|
+
if (v < 9e15) c3[i3++] = v % 1e14;
|
|
39610
39690
|
}
|
|
39611
39691
|
}
|
|
39612
|
-
k =
|
|
39692
|
+
k = c3[--i3];
|
|
39613
39693
|
dp %= LOG_BASE;
|
|
39614
39694
|
if (k && dp) {
|
|
39615
39695
|
v = POWS_TEN[LOG_BASE - dp];
|
|
39616
|
-
|
|
39696
|
+
c3[i3] = mathfloor(k / v) * v;
|
|
39617
39697
|
}
|
|
39618
|
-
for (;
|
|
39698
|
+
for (; c3[i3] === 0; c3.pop(), i3--) ;
|
|
39619
39699
|
if (i3 < 0) {
|
|
39620
|
-
|
|
39700
|
+
c3 = [e2 = 0];
|
|
39621
39701
|
} else {
|
|
39622
|
-
for (e2 = -1;
|
|
39623
|
-
for (i3 = 1, v =
|
|
39702
|
+
for (e2 = -1; c3[0] === 0; c3.splice(0, 1), e2 -= LOG_BASE) ;
|
|
39703
|
+
for (i3 = 1, v = c3[0]; v >= 10; v /= 10, i3++) ;
|
|
39624
39704
|
if (i3 < LOG_BASE) e2 -= LOG_BASE - i3;
|
|
39625
39705
|
}
|
|
39626
39706
|
rand.e = e2;
|
|
39627
|
-
rand.c =
|
|
39707
|
+
rand.c = c3;
|
|
39628
39708
|
return rand;
|
|
39629
39709
|
};
|
|
39630
39710
|
})();
|
|
@@ -39651,21 +39731,21 @@ var require_bignumber = __commonJS({
|
|
|
39651
39731
|
return arr.reverse();
|
|
39652
39732
|
}
|
|
39653
39733
|
return function(str, baseIn, baseOut, sign, callerIsToString) {
|
|
39654
|
-
var alphabet, d, e2, k, r3, x2, xc,
|
|
39734
|
+
var alphabet, d, e2, k, r3, x2, xc, y, i3 = str.indexOf("."), dp = DECIMAL_PLACES, rm = ROUNDING_MODE;
|
|
39655
39735
|
if (i3 >= 0) {
|
|
39656
39736
|
k = POW_PRECISION;
|
|
39657
39737
|
POW_PRECISION = 0;
|
|
39658
39738
|
str = str.replace(".", "");
|
|
39659
|
-
|
|
39660
|
-
x2 =
|
|
39739
|
+
y = new BigNumber2(baseIn);
|
|
39740
|
+
x2 = y.pow(str.length - i3);
|
|
39661
39741
|
POW_PRECISION = k;
|
|
39662
|
-
|
|
39742
|
+
y.c = toBaseOut(
|
|
39663
39743
|
toFixedPoint(coeffToString(x2.c), x2.e, "0"),
|
|
39664
39744
|
10,
|
|
39665
39745
|
baseOut,
|
|
39666
39746
|
decimal
|
|
39667
39747
|
);
|
|
39668
|
-
|
|
39748
|
+
y.e = y.c.length;
|
|
39669
39749
|
}
|
|
39670
39750
|
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (alphabet = ALPHABET, decimal) : (alphabet = decimal, ALPHABET));
|
|
39671
39751
|
e2 = k = xc.length;
|
|
@@ -39677,7 +39757,7 @@ var require_bignumber = __commonJS({
|
|
|
39677
39757
|
x2.c = xc;
|
|
39678
39758
|
x2.e = e2;
|
|
39679
39759
|
x2.s = sign;
|
|
39680
|
-
x2 = div(x2,
|
|
39760
|
+
x2 = div(x2, y, dp, rm, baseOut);
|
|
39681
39761
|
xc = x2.c;
|
|
39682
39762
|
r3 = x2.r;
|
|
39683
39763
|
e2 = x2.e;
|
|
@@ -39744,12 +39824,12 @@ var require_bignumber = __commonJS({
|
|
|
39744
39824
|
}
|
|
39745
39825
|
for (; !a2[0] && a2.length > 1; a2.splice(0, 1)) ;
|
|
39746
39826
|
}
|
|
39747
|
-
return function(x2,
|
|
39748
|
-
var cmp, e2, i3, more, n3, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, yL, yz, s2 = x2.s ==
|
|
39827
|
+
return function(x2, y, dp, rm, base) {
|
|
39828
|
+
var cmp, e2, i3, more, n3, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, yL, yz, s2 = x2.s == y.s ? 1 : -1, xc = x2.c, yc = y.c;
|
|
39749
39829
|
if (!xc || !xc[0] || !yc || !yc[0]) {
|
|
39750
39830
|
return new BigNumber2(
|
|
39751
39831
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
39752
|
-
!x2.s || !
|
|
39832
|
+
!x2.s || !y.s || (xc ? yc && xc[0] == yc[0] : !yc) ? NaN : (
|
|
39753
39833
|
// Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
|
|
39754
39834
|
xc && xc[0] == 0 || !yc ? s2 * 0 : s2 / 0
|
|
39755
39835
|
)
|
|
@@ -39757,11 +39837,11 @@ var require_bignumber = __commonJS({
|
|
|
39757
39837
|
}
|
|
39758
39838
|
q = new BigNumber2(s2);
|
|
39759
39839
|
qc = q.c = [];
|
|
39760
|
-
e2 = x2.e -
|
|
39840
|
+
e2 = x2.e - y.e;
|
|
39761
39841
|
s2 = dp + e2 + 1;
|
|
39762
39842
|
if (!base) {
|
|
39763
39843
|
base = BASE;
|
|
39764
|
-
e2 = bitFloor(x2.e / LOG_BASE) - bitFloor(
|
|
39844
|
+
e2 = bitFloor(x2.e / LOG_BASE) - bitFloor(y.e / LOG_BASE);
|
|
39765
39845
|
s2 = s2 / LOG_BASE | 0;
|
|
39766
39846
|
}
|
|
39767
39847
|
for (i3 = 0; yc[i3] == (xc[i3] || 0); i3++) ;
|
|
@@ -39884,26 +39964,26 @@ var require_bignumber = __commonJS({
|
|
|
39884
39964
|
return n3.s < 0 && c0 ? "-" + str : str;
|
|
39885
39965
|
}
|
|
39886
39966
|
function maxOrMin(args, n3) {
|
|
39887
|
-
var k,
|
|
39967
|
+
var k, y, i3 = 1, x2 = new BigNumber2(args[0]);
|
|
39888
39968
|
for (; i3 < args.length; i3++) {
|
|
39889
|
-
|
|
39890
|
-
if (!
|
|
39891
|
-
x2 =
|
|
39969
|
+
y = new BigNumber2(args[i3]);
|
|
39970
|
+
if (!y.s || (k = compare(x2, y)) === n3 || k === 0 && x2.s === n3) {
|
|
39971
|
+
x2 = y;
|
|
39892
39972
|
}
|
|
39893
39973
|
}
|
|
39894
39974
|
return x2;
|
|
39895
39975
|
}
|
|
39896
|
-
function normalise(n3,
|
|
39897
|
-
var i3 = 1, j =
|
|
39898
|
-
for (; !
|
|
39899
|
-
for (j =
|
|
39976
|
+
function normalise(n3, c3, e2) {
|
|
39977
|
+
var i3 = 1, j = c3.length;
|
|
39978
|
+
for (; !c3[--j]; c3.pop()) ;
|
|
39979
|
+
for (j = c3[0]; j >= 10; j /= 10, i3++) ;
|
|
39900
39980
|
if ((e2 = i3 + e2 * LOG_BASE - 1) > MAX_EXP) {
|
|
39901
39981
|
n3.c = n3.e = null;
|
|
39902
39982
|
} else if (e2 < MIN_EXP) {
|
|
39903
39983
|
n3.c = [n3.e = 0];
|
|
39904
39984
|
} else {
|
|
39905
39985
|
n3.e = e2;
|
|
39906
|
-
n3.c =
|
|
39986
|
+
n3.c = c3;
|
|
39907
39987
|
}
|
|
39908
39988
|
return n3;
|
|
39909
39989
|
}
|
|
@@ -40031,31 +40111,31 @@ var require_bignumber = __commonJS({
|
|
|
40031
40111
|
if (x2.s < 0) x2.s = 1;
|
|
40032
40112
|
return x2;
|
|
40033
40113
|
};
|
|
40034
|
-
P.comparedTo = function(
|
|
40035
|
-
return compare(this, new BigNumber2(
|
|
40114
|
+
P.comparedTo = function(y, b) {
|
|
40115
|
+
return compare(this, new BigNumber2(y, b));
|
|
40036
40116
|
};
|
|
40037
40117
|
P.decimalPlaces = P.dp = function(dp, rm) {
|
|
40038
|
-
var
|
|
40118
|
+
var c3, n3, v, x2 = this;
|
|
40039
40119
|
if (dp != null) {
|
|
40040
40120
|
intCheck(dp, 0, MAX);
|
|
40041
40121
|
if (rm == null) rm = ROUNDING_MODE;
|
|
40042
40122
|
else intCheck(rm, 0, 8);
|
|
40043
40123
|
return round(new BigNumber2(x2), dp + x2.e + 1, rm);
|
|
40044
40124
|
}
|
|
40045
|
-
if (!(
|
|
40046
|
-
n3 = ((v =
|
|
40047
|
-
if (v =
|
|
40125
|
+
if (!(c3 = x2.c)) return null;
|
|
40126
|
+
n3 = ((v = c3.length - 1) - bitFloor(this.e / LOG_BASE)) * LOG_BASE;
|
|
40127
|
+
if (v = c3[v]) for (; v % 10 == 0; v /= 10, n3--) ;
|
|
40048
40128
|
if (n3 < 0) n3 = 0;
|
|
40049
40129
|
return n3;
|
|
40050
40130
|
};
|
|
40051
|
-
P.dividedBy = P.div = function(
|
|
40052
|
-
return div(this, new BigNumber2(
|
|
40131
|
+
P.dividedBy = P.div = function(y, b) {
|
|
40132
|
+
return div(this, new BigNumber2(y, b), DECIMAL_PLACES, ROUNDING_MODE);
|
|
40053
40133
|
};
|
|
40054
|
-
P.dividedToIntegerBy = P.idiv = function(
|
|
40055
|
-
return div(this, new BigNumber2(
|
|
40134
|
+
P.dividedToIntegerBy = P.idiv = function(y, b) {
|
|
40135
|
+
return div(this, new BigNumber2(y, b), 0, 1);
|
|
40056
40136
|
};
|
|
40057
40137
|
P.exponentiatedBy = P.pow = function(n3, m2) {
|
|
40058
|
-
var half, isModExp, i3, k, more, nIsBig, nIsNeg, nIsOdd,
|
|
40138
|
+
var half, isModExp, i3, k, more, nIsBig, nIsNeg, nIsOdd, y, x2 = this;
|
|
40059
40139
|
n3 = new BigNumber2(n3);
|
|
40060
40140
|
if (n3.c && !n3.isInteger()) {
|
|
40061
40141
|
throw Error(bignumberError + "Exponent not an integer: " + valueOf(n3));
|
|
@@ -40063,8 +40143,8 @@ var require_bignumber = __commonJS({
|
|
|
40063
40143
|
if (m2 != null) m2 = new BigNumber2(m2);
|
|
40064
40144
|
nIsBig = n3.e > 14;
|
|
40065
40145
|
if (!x2.c || !x2.c[0] || x2.c[0] == 1 && !x2.e && x2.c.length == 1 || !n3.c || !n3.c[0]) {
|
|
40066
|
-
|
|
40067
|
-
return m2 ?
|
|
40146
|
+
y = new BigNumber2(Math.pow(+valueOf(x2), nIsBig ? n3.s * (2 - isOdd(n3)) : +valueOf(n3)));
|
|
40147
|
+
return m2 ? y.mod(m2) : y;
|
|
40068
40148
|
}
|
|
40069
40149
|
nIsNeg = n3.s < 0;
|
|
40070
40150
|
if (m2) {
|
|
@@ -40086,15 +40166,15 @@ var require_bignumber = __commonJS({
|
|
|
40086
40166
|
i3 = Math.abs(+valueOf(n3));
|
|
40087
40167
|
nIsOdd = i3 % 2;
|
|
40088
40168
|
}
|
|
40089
|
-
|
|
40169
|
+
y = new BigNumber2(ONE);
|
|
40090
40170
|
for (; ; ) {
|
|
40091
40171
|
if (nIsOdd) {
|
|
40092
|
-
|
|
40093
|
-
if (!
|
|
40172
|
+
y = y.times(x2);
|
|
40173
|
+
if (!y.c) break;
|
|
40094
40174
|
if (k) {
|
|
40095
|
-
if (
|
|
40175
|
+
if (y.c.length > k) y.c.length = k;
|
|
40096
40176
|
} else if (isModExp) {
|
|
40097
|
-
|
|
40177
|
+
y = y.mod(m2);
|
|
40098
40178
|
}
|
|
40099
40179
|
}
|
|
40100
40180
|
if (i3) {
|
|
@@ -40119,9 +40199,9 @@ var require_bignumber = __commonJS({
|
|
|
40119
40199
|
x2 = x2.mod(m2);
|
|
40120
40200
|
}
|
|
40121
40201
|
}
|
|
40122
|
-
if (isModExp) return
|
|
40123
|
-
if (nIsNeg)
|
|
40124
|
-
return m2 ?
|
|
40202
|
+
if (isModExp) return y;
|
|
40203
|
+
if (nIsNeg) y = ONE.div(y);
|
|
40204
|
+
return m2 ? y.mod(m2) : k ? round(y, POW_PRECISION, ROUNDING_MODE, more) : y;
|
|
40125
40205
|
};
|
|
40126
40206
|
P.integerValue = function(rm) {
|
|
40127
40207
|
var n3 = new BigNumber2(this);
|
|
@@ -40129,26 +40209,26 @@ var require_bignumber = __commonJS({
|
|
|
40129
40209
|
else intCheck(rm, 0, 8);
|
|
40130
40210
|
return round(n3, n3.e + 1, rm);
|
|
40131
40211
|
};
|
|
40132
|
-
P.isEqualTo = P.eq = function(
|
|
40133
|
-
return compare(this, new BigNumber2(
|
|
40212
|
+
P.isEqualTo = P.eq = function(y, b) {
|
|
40213
|
+
return compare(this, new BigNumber2(y, b)) === 0;
|
|
40134
40214
|
};
|
|
40135
40215
|
P.isFinite = function() {
|
|
40136
40216
|
return !!this.c;
|
|
40137
40217
|
};
|
|
40138
|
-
P.isGreaterThan = P.gt = function(
|
|
40139
|
-
return compare(this, new BigNumber2(
|
|
40218
|
+
P.isGreaterThan = P.gt = function(y, b) {
|
|
40219
|
+
return compare(this, new BigNumber2(y, b)) > 0;
|
|
40140
40220
|
};
|
|
40141
|
-
P.isGreaterThanOrEqualTo = P.gte = function(
|
|
40142
|
-
return (b = compare(this, new BigNumber2(
|
|
40221
|
+
P.isGreaterThanOrEqualTo = P.gte = function(y, b) {
|
|
40222
|
+
return (b = compare(this, new BigNumber2(y, b))) === 1 || b === 0;
|
|
40143
40223
|
};
|
|
40144
40224
|
P.isInteger = function() {
|
|
40145
40225
|
return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2;
|
|
40146
40226
|
};
|
|
40147
|
-
P.isLessThan = P.lt = function(
|
|
40148
|
-
return compare(this, new BigNumber2(
|
|
40227
|
+
P.isLessThan = P.lt = function(y, b) {
|
|
40228
|
+
return compare(this, new BigNumber2(y, b)) < 0;
|
|
40149
40229
|
};
|
|
40150
|
-
P.isLessThanOrEqualTo = P.lte = function(
|
|
40151
|
-
return (b = compare(this, new BigNumber2(
|
|
40230
|
+
P.isLessThanOrEqualTo = P.lte = function(y, b) {
|
|
40231
|
+
return (b = compare(this, new BigNumber2(y, b))) === -1 || b === 0;
|
|
40152
40232
|
};
|
|
40153
40233
|
P.isNaN = function() {
|
|
40154
40234
|
return !this.s;
|
|
@@ -40162,20 +40242,20 @@ var require_bignumber = __commonJS({
|
|
|
40162
40242
|
P.isZero = function() {
|
|
40163
40243
|
return !!this.c && this.c[0] == 0;
|
|
40164
40244
|
};
|
|
40165
|
-
P.minus = function(
|
|
40245
|
+
P.minus = function(y, b) {
|
|
40166
40246
|
var i3, j, t3, xLTy, x2 = this, a2 = x2.s;
|
|
40167
|
-
|
|
40168
|
-
b =
|
|
40247
|
+
y = new BigNumber2(y, b);
|
|
40248
|
+
b = y.s;
|
|
40169
40249
|
if (!a2 || !b) return new BigNumber2(NaN);
|
|
40170
40250
|
if (a2 != b) {
|
|
40171
|
-
|
|
40172
|
-
return x2.plus(
|
|
40251
|
+
y.s = -b;
|
|
40252
|
+
return x2.plus(y);
|
|
40173
40253
|
}
|
|
40174
|
-
var xe = x2.e / LOG_BASE, ye =
|
|
40254
|
+
var xe = x2.e / LOG_BASE, ye = y.e / LOG_BASE, xc = x2.c, yc = y.c;
|
|
40175
40255
|
if (!xe || !ye) {
|
|
40176
|
-
if (!xc || !yc) return xc ? (
|
|
40256
|
+
if (!xc || !yc) return xc ? (y.s = -b, y) : new BigNumber2(yc ? x2 : NaN);
|
|
40177
40257
|
if (!xc[0] || !yc[0]) {
|
|
40178
|
-
return yc[0] ? (
|
|
40258
|
+
return yc[0] ? (y.s = -b, y) : new BigNumber2(xc[0] ? x2 : (
|
|
40179
40259
|
// IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
|
|
40180
40260
|
ROUNDING_MODE == 3 ? -0 : 0
|
|
40181
40261
|
));
|
|
@@ -40208,7 +40288,7 @@ var require_bignumber = __commonJS({
|
|
|
40208
40288
|
t3 = xc;
|
|
40209
40289
|
xc = yc;
|
|
40210
40290
|
yc = t3;
|
|
40211
|
-
|
|
40291
|
+
y.s = -y.s;
|
|
40212
40292
|
}
|
|
40213
40293
|
b = (j = yc.length) - (i3 = xc.length);
|
|
40214
40294
|
if (b > 0) for (; b--; xc[i3++] = 0) ;
|
|
@@ -40223,51 +40303,51 @@ var require_bignumber = __commonJS({
|
|
|
40223
40303
|
}
|
|
40224
40304
|
for (; xc[0] == 0; xc.splice(0, 1), --ye) ;
|
|
40225
40305
|
if (!xc[0]) {
|
|
40226
|
-
|
|
40227
|
-
|
|
40228
|
-
return
|
|
40306
|
+
y.s = ROUNDING_MODE == 3 ? -1 : 1;
|
|
40307
|
+
y.c = [y.e = 0];
|
|
40308
|
+
return y;
|
|
40229
40309
|
}
|
|
40230
|
-
return normalise(
|
|
40310
|
+
return normalise(y, xc, ye);
|
|
40231
40311
|
};
|
|
40232
|
-
P.modulo = P.mod = function(
|
|
40312
|
+
P.modulo = P.mod = function(y, b) {
|
|
40233
40313
|
var q, s2, x2 = this;
|
|
40234
|
-
|
|
40235
|
-
if (!x2.c || !
|
|
40314
|
+
y = new BigNumber2(y, b);
|
|
40315
|
+
if (!x2.c || !y.s || y.c && !y.c[0]) {
|
|
40236
40316
|
return new BigNumber2(NaN);
|
|
40237
|
-
} else if (!
|
|
40317
|
+
} else if (!y.c || x2.c && !x2.c[0]) {
|
|
40238
40318
|
return new BigNumber2(x2);
|
|
40239
40319
|
}
|
|
40240
40320
|
if (MODULO_MODE == 9) {
|
|
40241
|
-
s2 =
|
|
40242
|
-
|
|
40243
|
-
q = div(x2,
|
|
40244
|
-
|
|
40321
|
+
s2 = y.s;
|
|
40322
|
+
y.s = 1;
|
|
40323
|
+
q = div(x2, y, 0, 3);
|
|
40324
|
+
y.s = s2;
|
|
40245
40325
|
q.s *= s2;
|
|
40246
40326
|
} else {
|
|
40247
|
-
q = div(x2,
|
|
40327
|
+
q = div(x2, y, 0, MODULO_MODE);
|
|
40248
40328
|
}
|
|
40249
|
-
|
|
40250
|
-
if (!
|
|
40251
|
-
return
|
|
40329
|
+
y = x2.minus(q.times(y));
|
|
40330
|
+
if (!y.c[0] && MODULO_MODE == 1) y.s = x2.s;
|
|
40331
|
+
return y;
|
|
40252
40332
|
};
|
|
40253
|
-
P.multipliedBy = P.times = function(
|
|
40254
|
-
var
|
|
40333
|
+
P.multipliedBy = P.times = function(y, b) {
|
|
40334
|
+
var c3, e2, i3, j, k, m2, xcL, xlo, xhi, ycL, ylo, yhi, zc, base, sqrtBase, x2 = this, xc = x2.c, yc = (y = new BigNumber2(y, b)).c;
|
|
40255
40335
|
if (!xc || !yc || !xc[0] || !yc[0]) {
|
|
40256
|
-
if (!x2.s || !
|
|
40257
|
-
|
|
40336
|
+
if (!x2.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) {
|
|
40337
|
+
y.c = y.e = y.s = null;
|
|
40258
40338
|
} else {
|
|
40259
|
-
|
|
40339
|
+
y.s *= x2.s;
|
|
40260
40340
|
if (!xc || !yc) {
|
|
40261
|
-
|
|
40341
|
+
y.c = y.e = null;
|
|
40262
40342
|
} else {
|
|
40263
|
-
|
|
40264
|
-
|
|
40343
|
+
y.c = [0];
|
|
40344
|
+
y.e = 0;
|
|
40265
40345
|
}
|
|
40266
40346
|
}
|
|
40267
|
-
return
|
|
40347
|
+
return y;
|
|
40268
40348
|
}
|
|
40269
|
-
e2 = bitFloor(x2.e / LOG_BASE) + bitFloor(
|
|
40270
|
-
|
|
40349
|
+
e2 = bitFloor(x2.e / LOG_BASE) + bitFloor(y.e / LOG_BASE);
|
|
40350
|
+
y.s *= x2.s;
|
|
40271
40351
|
xcL = xc.length;
|
|
40272
40352
|
ycL = yc.length;
|
|
40273
40353
|
if (xcL < ycL) {
|
|
@@ -40282,44 +40362,44 @@ var require_bignumber = __commonJS({
|
|
|
40282
40362
|
base = BASE;
|
|
40283
40363
|
sqrtBase = SQRT_BASE;
|
|
40284
40364
|
for (i3 = ycL; --i3 >= 0; ) {
|
|
40285
|
-
|
|
40365
|
+
c3 = 0;
|
|
40286
40366
|
ylo = yc[i3] % sqrtBase;
|
|
40287
40367
|
yhi = yc[i3] / sqrtBase | 0;
|
|
40288
40368
|
for (k = xcL, j = i3 + k; j > i3; ) {
|
|
40289
40369
|
xlo = xc[--k] % sqrtBase;
|
|
40290
40370
|
xhi = xc[k] / sqrtBase | 0;
|
|
40291
40371
|
m2 = yhi * xlo + xhi * ylo;
|
|
40292
|
-
xlo = ylo * xlo + m2 % sqrtBase * sqrtBase + zc[j] +
|
|
40293
|
-
|
|
40372
|
+
xlo = ylo * xlo + m2 % sqrtBase * sqrtBase + zc[j] + c3;
|
|
40373
|
+
c3 = (xlo / base | 0) + (m2 / sqrtBase | 0) + yhi * xhi;
|
|
40294
40374
|
zc[j--] = xlo % base;
|
|
40295
40375
|
}
|
|
40296
|
-
zc[j] =
|
|
40376
|
+
zc[j] = c3;
|
|
40297
40377
|
}
|
|
40298
|
-
if (
|
|
40378
|
+
if (c3) {
|
|
40299
40379
|
++e2;
|
|
40300
40380
|
} else {
|
|
40301
40381
|
zc.splice(0, 1);
|
|
40302
40382
|
}
|
|
40303
|
-
return normalise(
|
|
40383
|
+
return normalise(y, zc, e2);
|
|
40304
40384
|
};
|
|
40305
40385
|
P.negated = function() {
|
|
40306
40386
|
var x2 = new BigNumber2(this);
|
|
40307
40387
|
x2.s = -x2.s || null;
|
|
40308
40388
|
return x2;
|
|
40309
40389
|
};
|
|
40310
|
-
P.plus = function(
|
|
40390
|
+
P.plus = function(y, b) {
|
|
40311
40391
|
var t3, x2 = this, a2 = x2.s;
|
|
40312
|
-
|
|
40313
|
-
b =
|
|
40392
|
+
y = new BigNumber2(y, b);
|
|
40393
|
+
b = y.s;
|
|
40314
40394
|
if (!a2 || !b) return new BigNumber2(NaN);
|
|
40315
40395
|
if (a2 != b) {
|
|
40316
|
-
|
|
40317
|
-
return x2.minus(
|
|
40396
|
+
y.s = -b;
|
|
40397
|
+
return x2.minus(y);
|
|
40318
40398
|
}
|
|
40319
|
-
var xe = x2.e / LOG_BASE, ye =
|
|
40399
|
+
var xe = x2.e / LOG_BASE, ye = y.e / LOG_BASE, xc = x2.c, yc = y.c;
|
|
40320
40400
|
if (!xe || !ye) {
|
|
40321
40401
|
if (!xc || !yc) return new BigNumber2(a2 / 0);
|
|
40322
|
-
if (!xc[0] || !yc[0]) return yc[0] ?
|
|
40402
|
+
if (!xc[0] || !yc[0]) return yc[0] ? y : new BigNumber2(xc[0] ? x2 : a2 * 0);
|
|
40323
40403
|
}
|
|
40324
40404
|
xe = bitFloor(xe);
|
|
40325
40405
|
ye = bitFloor(ye);
|
|
@@ -40352,22 +40432,22 @@ var require_bignumber = __commonJS({
|
|
|
40352
40432
|
xc = [a2].concat(xc);
|
|
40353
40433
|
++ye;
|
|
40354
40434
|
}
|
|
40355
|
-
return normalise(
|
|
40435
|
+
return normalise(y, xc, ye);
|
|
40356
40436
|
};
|
|
40357
40437
|
P.precision = P.sd = function(sd, rm) {
|
|
40358
|
-
var
|
|
40438
|
+
var c3, n3, v, x2 = this;
|
|
40359
40439
|
if (sd != null && sd !== !!sd) {
|
|
40360
40440
|
intCheck(sd, 1, MAX);
|
|
40361
40441
|
if (rm == null) rm = ROUNDING_MODE;
|
|
40362
40442
|
else intCheck(rm, 0, 8);
|
|
40363
40443
|
return round(new BigNumber2(x2), sd, rm);
|
|
40364
40444
|
}
|
|
40365
|
-
if (!(
|
|
40366
|
-
v =
|
|
40445
|
+
if (!(c3 = x2.c)) return null;
|
|
40446
|
+
v = c3.length - 1;
|
|
40367
40447
|
n3 = v * LOG_BASE + 1;
|
|
40368
|
-
if (v =
|
|
40448
|
+
if (v = c3[v]) {
|
|
40369
40449
|
for (; v % 10 == 0; v /= 10, n3--) ;
|
|
40370
|
-
for (v =
|
|
40450
|
+
for (v = c3[0]; v >= 10; v /= 10, n3++) ;
|
|
40371
40451
|
}
|
|
40372
40452
|
if (sd && x2.e + 1 > n3) n3 = x2.e + 1;
|
|
40373
40453
|
return n3;
|
|
@@ -40377,13 +40457,13 @@ var require_bignumber = __commonJS({
|
|
|
40377
40457
|
return this.times("1e" + k);
|
|
40378
40458
|
};
|
|
40379
40459
|
P.squareRoot = P.sqrt = function() {
|
|
40380
|
-
var m2, n3, r3, rep, t3, x2 = this,
|
|
40381
|
-
if (s2 !== 1 || !
|
|
40382
|
-
return new BigNumber2(!s2 || s2 < 0 && (!
|
|
40460
|
+
var m2, n3, r3, rep, t3, x2 = this, c3 = x2.c, s2 = x2.s, e2 = x2.e, dp = DECIMAL_PLACES + 4, half = new BigNumber2("0.5");
|
|
40461
|
+
if (s2 !== 1 || !c3 || !c3[0]) {
|
|
40462
|
+
return new BigNumber2(!s2 || s2 < 0 && (!c3 || c3[0]) ? NaN : c3 ? x2 : 1 / 0);
|
|
40383
40463
|
}
|
|
40384
40464
|
s2 = Math.sqrt(+valueOf(x2));
|
|
40385
40465
|
if (s2 == 0 || s2 == 1 / 0) {
|
|
40386
|
-
n3 = coeffToString(
|
|
40466
|
+
n3 = coeffToString(c3);
|
|
40387
40467
|
if ((n3.length + e2) % 2 == 0) n3 += "0";
|
|
40388
40468
|
s2 = Math.sqrt(+n3);
|
|
40389
40469
|
e2 = bitFloor((e2 + 1) / 2) - (e2 < 0 || e2 % 2);
|
|
@@ -40576,20 +40656,20 @@ var require_bignumber = __commonJS({
|
|
|
40576
40656
|
for (j = r3.length; r3.charCodeAt(--j) === 48; ) ;
|
|
40577
40657
|
return r3.slice(0, j + 1 || 1);
|
|
40578
40658
|
}
|
|
40579
|
-
function compare(x2,
|
|
40580
|
-
var a2, b, xc = x2.c, yc =
|
|
40659
|
+
function compare(x2, y) {
|
|
40660
|
+
var a2, b, xc = x2.c, yc = y.c, i3 = x2.s, j = y.s, k = x2.e, l = y.e;
|
|
40581
40661
|
if (!i3 || !j) return null;
|
|
40582
40662
|
a2 = xc && !xc[0];
|
|
40583
40663
|
b = yc && !yc[0];
|
|
40584
40664
|
if (a2 || b) return a2 ? b ? 0 : -j : i3;
|
|
40585
40665
|
if (i3 != j) return i3;
|
|
40586
40666
|
a2 = i3 < 0;
|
|
40587
|
-
b = k ==
|
|
40667
|
+
b = k == l;
|
|
40588
40668
|
if (!xc || !yc) return b ? 0 : !xc ^ a2 ? 1 : -1;
|
|
40589
|
-
if (!b) return k >
|
|
40590
|
-
j = (k = xc.length) < (
|
|
40669
|
+
if (!b) return k > l ^ a2 ? 1 : -1;
|
|
40670
|
+
j = (k = xc.length) < (l = yc.length) ? k : l;
|
|
40591
40671
|
for (i3 = 0; i3 < j; i3++) if (xc[i3] != yc[i3]) return xc[i3] > yc[i3] ^ a2 ? 1 : -1;
|
|
40592
|
-
return k ==
|
|
40672
|
+
return k == l ? 0 : k > l ^ a2 ? 1 : -1;
|
|
40593
40673
|
}
|
|
40594
40674
|
function intCheck(n3, min, max, name) {
|
|
40595
40675
|
if (n3 < min || n3 > max || n3 !== mathfloor(n3)) {
|
|
@@ -40661,8 +40741,8 @@ var require_stringify2 = __commonJS({
|
|
|
40661
40741
|
function quote2(string) {
|
|
40662
40742
|
escapable.lastIndex = 0;
|
|
40663
40743
|
return escapable.test(string) ? '"' + string.replace(escapable, function(a2) {
|
|
40664
|
-
var
|
|
40665
|
-
return typeof
|
|
40744
|
+
var c3 = meta[a2];
|
|
40745
|
+
return typeof c3 === "string" ? c3 : "\\u" + ("0000" + a2.charCodeAt(0).toString(16)).slice(-4);
|
|
40666
40746
|
}) + '"' : '"' + string + '"';
|
|
40667
40747
|
}
|
|
40668
40748
|
function str(key, holder) {
|
|
@@ -40815,9 +40895,9 @@ var require_parse3 = __commonJS({
|
|
|
40815
40895
|
at,
|
|
40816
40896
|
text: text2
|
|
40817
40897
|
};
|
|
40818
|
-
}, next = function(
|
|
40819
|
-
if (
|
|
40820
|
-
error2("Expected '" +
|
|
40898
|
+
}, next = function(c3) {
|
|
40899
|
+
if (c3 && c3 !== ch) {
|
|
40900
|
+
error2("Expected '" + c3 + "' instead of '" + ch + "'");
|
|
40821
40901
|
}
|
|
40822
40902
|
ch = text2.charAt(at);
|
|
40823
40903
|
at += 1;
|
|
@@ -41472,7 +41552,7 @@ var require_logging_utils = __commonJS({
|
|
|
41472
41552
|
});
|
|
41473
41553
|
|
|
41474
41554
|
// node_modules/.bun/google-logging-utils@2.1.1/node_modules/google-logging-utils/build/src/index.js
|
|
41475
|
-
var
|
|
41555
|
+
var require_src3 = __commonJS({
|
|
41476
41556
|
"node_modules/.bun/google-logging-utils@2.1.1/node_modules/google-logging-utils/build/src/index.js"(exports) {
|
|
41477
41557
|
"use strict";
|
|
41478
41558
|
init_utils2();
|
|
@@ -41503,7 +41583,7 @@ var require_src4 = __commonJS({
|
|
|
41503
41583
|
});
|
|
41504
41584
|
|
|
41505
41585
|
// node_modules/.bun/gcp-metadata@9.2.3/node_modules/gcp-metadata/build/src/index.js
|
|
41506
|
-
var
|
|
41586
|
+
var require_src4 = __commonJS({
|
|
41507
41587
|
"node_modules/.bun/gcp-metadata@9.2.3/node_modules/gcp-metadata/build/src/index.js"(exports) {
|
|
41508
41588
|
"use strict";
|
|
41509
41589
|
init_utils2();
|
|
@@ -41558,10 +41638,10 @@ var require_src5 = __commonJS({
|
|
|
41558
41638
|
exports.getGCPResidency = getGCPResidency;
|
|
41559
41639
|
exports.setGCPResidency = setGCPResidency;
|
|
41560
41640
|
exports.requestTimeout = requestTimeout;
|
|
41561
|
-
var gaxios_1 =
|
|
41641
|
+
var gaxios_1 = require_src2();
|
|
41562
41642
|
var jsonBigint = require_json_bigint();
|
|
41563
41643
|
var gcp_residency_1 = require_gcp_residency();
|
|
41564
|
-
var logger = __importStar(
|
|
41644
|
+
var logger = __importStar(require_src3());
|
|
41565
41645
|
exports.BASE_PATH = "/computeMetadata/v1";
|
|
41566
41646
|
exports.HOST_ADDRESS = "http://169.254.169.254";
|
|
41567
41647
|
exports.SECONDARY_HOST_ADDRESS = "http://metadata.google.internal.";
|
|
@@ -42617,9 +42697,9 @@ var require_authclient = __commonJS({
|
|
|
42617
42697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42618
42698
|
exports.AuthClient = exports.DEFAULT_EAGER_REFRESH_THRESHOLD_MILLIS = exports.DEFAULT_UNIVERSE = void 0;
|
|
42619
42699
|
var events_1 = __require("events");
|
|
42620
|
-
var gaxios_1 =
|
|
42700
|
+
var gaxios_1 = require_src2();
|
|
42621
42701
|
var util_1 = require_util2();
|
|
42622
|
-
var google_logging_utils_1 =
|
|
42702
|
+
var google_logging_utils_1 = require_src3();
|
|
42623
42703
|
var shared_cjs_1 = require_shared2();
|
|
42624
42704
|
exports.DEFAULT_UNIVERSE = "googleapis.com";
|
|
42625
42705
|
exports.DEFAULT_EAGER_REFRESH_THRESHOLD_MILLIS = 5 * 60 * 1e3;
|
|
@@ -42905,7 +42985,7 @@ var require_oauth2client = __commonJS({
|
|
|
42905
42985
|
init_utils2();
|
|
42906
42986
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42907
42987
|
exports.OAuth2Client = exports.ClientAuthentication = exports.CertificateFormat = exports.CodeChallengeMethod = void 0;
|
|
42908
|
-
var gaxios_1 =
|
|
42988
|
+
var gaxios_1 = require_src2();
|
|
42909
42989
|
var querystring = __require("querystring");
|
|
42910
42990
|
var stream = __require("stream");
|
|
42911
42991
|
var formatEcdsa = require_ecdsa_sig_formatter();
|
|
@@ -43587,8 +43667,8 @@ var require_computeclient = __commonJS({
|
|
|
43587
43667
|
init_utils2();
|
|
43588
43668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43589
43669
|
exports.Compute = void 0;
|
|
43590
|
-
var gaxios_1 =
|
|
43591
|
-
var gcpMetadata =
|
|
43670
|
+
var gaxios_1 = require_src2();
|
|
43671
|
+
var gcpMetadata = require_src4();
|
|
43592
43672
|
var oauth2client_1 = require_oauth2client();
|
|
43593
43673
|
var Compute = class extends oauth2client_1.OAuth2Client {
|
|
43594
43674
|
serviceAccountEmail;
|
|
@@ -43727,9 +43807,9 @@ var require_envDetect = __commonJS({
|
|
|
43727
43807
|
init_utils2();
|
|
43728
43808
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43729
43809
|
exports.GCPEnv = void 0;
|
|
43730
|
-
exports.clear =
|
|
43810
|
+
exports.clear = clear2;
|
|
43731
43811
|
exports.getEnv = getEnv;
|
|
43732
|
-
var gcpMetadata =
|
|
43812
|
+
var gcpMetadata = require_src4();
|
|
43733
43813
|
var GCPEnv;
|
|
43734
43814
|
(function(GCPEnv2) {
|
|
43735
43815
|
GCPEnv2["APP_ENGINE"] = "APP_ENGINE";
|
|
@@ -43741,7 +43821,7 @@ var require_envDetect = __commonJS({
|
|
|
43741
43821
|
GCPEnv2["NONE"] = "NONE";
|
|
43742
43822
|
})(GCPEnv || (exports.GCPEnv = GCPEnv = {}));
|
|
43743
43823
|
var envPromise;
|
|
43744
|
-
function
|
|
43824
|
+
function clear2() {
|
|
43745
43825
|
envPromise = void 0;
|
|
43746
43826
|
}
|
|
43747
43827
|
async function getEnv() {
|
|
@@ -43862,11 +43942,11 @@ var require_buffer_equal_constant_time = __commonJS({
|
|
|
43862
43942
|
if (a2.length !== b.length) {
|
|
43863
43943
|
return false;
|
|
43864
43944
|
}
|
|
43865
|
-
var
|
|
43945
|
+
var c3 = 0;
|
|
43866
43946
|
for (var i3 = 0; i3 < a2.length; i3++) {
|
|
43867
|
-
|
|
43947
|
+
c3 |= a2[i3] ^ b[i3];
|
|
43868
43948
|
}
|
|
43869
|
-
return
|
|
43949
|
+
return c3 === 0;
|
|
43870
43950
|
}
|
|
43871
43951
|
bufferEq.install = function() {
|
|
43872
43952
|
Buffer5.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {
|
|
@@ -44666,7 +44746,7 @@ var require_googleToken = __commonJS({
|
|
|
44666
44746
|
init_utils2();
|
|
44667
44747
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44668
44748
|
exports.GoogleToken = void 0;
|
|
44669
|
-
var gaxios_1 =
|
|
44749
|
+
var gaxios_1 = require_src2();
|
|
44670
44750
|
var tokenHandler_1 = require_tokenHandler();
|
|
44671
44751
|
var revokeToken_1 = require_revokeToken();
|
|
44672
44752
|
var GoogleToken = class {
|
|
@@ -45347,7 +45427,7 @@ var require_impersonated = __commonJS({
|
|
|
45347
45427
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45348
45428
|
exports.Impersonated = exports.IMPERSONATED_ACCOUNT_TYPE = void 0;
|
|
45349
45429
|
var oauth2client_1 = require_oauth2client();
|
|
45350
|
-
var gaxios_1 =
|
|
45430
|
+
var gaxios_1 = require_src2();
|
|
45351
45431
|
var util_1 = require_util2();
|
|
45352
45432
|
exports.IMPERSONATED_ACCOUNT_TYPE = "impersonated_service_account";
|
|
45353
45433
|
var Impersonated = class _Impersonated extends oauth2client_1.OAuth2Client {
|
|
@@ -45529,7 +45609,7 @@ var require_oauth2common = __commonJS({
|
|
|
45529
45609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45530
45610
|
exports.OAuthClientAuthHandler = void 0;
|
|
45531
45611
|
exports.getErrorFromOAuthErrorResponse = getErrorFromOAuthErrorResponse;
|
|
45532
|
-
var gaxios_1 =
|
|
45612
|
+
var gaxios_1 = require_src2();
|
|
45533
45613
|
var crypto_1 = require_crypto3();
|
|
45534
45614
|
var METHODS_SUPPORTING_REQUEST_BODY = ["PUT", "POST", "PATCH"];
|
|
45535
45615
|
var OAuthClientAuthHandler = class {
|
|
@@ -45677,7 +45757,7 @@ var require_stscredentials = __commonJS({
|
|
|
45677
45757
|
init_utils2();
|
|
45678
45758
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45679
45759
|
exports.StsCredentials = void 0;
|
|
45680
|
-
var gaxios_1 =
|
|
45760
|
+
var gaxios_1 = require_src2();
|
|
45681
45761
|
var authclient_1 = require_authclient();
|
|
45682
45762
|
var oauth2common_1 = require_oauth2common();
|
|
45683
45763
|
var util_1 = require_util2();
|
|
@@ -45766,7 +45846,7 @@ var require_baseexternalclient = __commonJS({
|
|
|
45766
45846
|
init_utils2();
|
|
45767
45847
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45768
45848
|
exports.BaseExternalAccountClient = exports.CLOUD_RESOURCE_MANAGER = exports.EXTERNAL_ACCOUNT_TYPE = exports.EXPIRATION_TIME_OFFSET = void 0;
|
|
45769
|
-
var gaxios_1 =
|
|
45849
|
+
var gaxios_1 = require_src2();
|
|
45770
45850
|
var stream = __require("stream");
|
|
45771
45851
|
var authclient_1 = require_authclient();
|
|
45772
45852
|
var sts = require_stscredentials();
|
|
@@ -46462,7 +46542,7 @@ var require_identitypoolclient = __commonJS({
|
|
|
46462
46542
|
var urlsubjecttokensupplier_1 = require_urlsubjecttokensupplier();
|
|
46463
46543
|
var certificatesubjecttokensupplier_1 = require_certificatesubjecttokensupplier();
|
|
46464
46544
|
var stscredentials_1 = require_stscredentials();
|
|
46465
|
-
var gaxios_1 =
|
|
46545
|
+
var gaxios_1 = require_src2();
|
|
46466
46546
|
var IdentityPoolClient = class _IdentityPoolClient extends baseexternalclient_1.BaseExternalAccountClient {
|
|
46467
46547
|
subjectTokenSupplier;
|
|
46468
46548
|
/**
|
|
@@ -46569,7 +46649,7 @@ var require_awsrequestsigner = __commonJS({
|
|
|
46569
46649
|
init_utils2();
|
|
46570
46650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46571
46651
|
exports.AwsRequestSigner = void 0;
|
|
46572
|
-
var gaxios_1 =
|
|
46652
|
+
var gaxios_1 = require_src2();
|
|
46573
46653
|
var crypto_1 = require_crypto3();
|
|
46574
46654
|
var AWS_ALGORITHM = "AWS4-HMAC-SHA256";
|
|
46575
46655
|
var AWS_REQUEST_TYPE = "aws4_request";
|
|
@@ -46880,7 +46960,7 @@ var require_awsclient = __commonJS({
|
|
|
46880
46960
|
var baseexternalclient_1 = require_baseexternalclient();
|
|
46881
46961
|
var defaultawssecuritycredentialssupplier_1 = require_defaultawssecuritycredentialssupplier();
|
|
46882
46962
|
var util_1 = require_util2();
|
|
46883
|
-
var gaxios_1 =
|
|
46963
|
+
var gaxios_1 = require_src2();
|
|
46884
46964
|
var AwsClient = class _AwsClient extends baseexternalclient_1.BaseExternalAccountClient {
|
|
46885
46965
|
environmentId;
|
|
46886
46966
|
awsSecurityCredentialsSupplier;
|
|
@@ -47448,7 +47528,7 @@ var require_externalAccountAuthorizedUserClient = __commonJS({
|
|
|
47448
47528
|
exports.ExternalAccountAuthorizedUserClient = exports.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE = void 0;
|
|
47449
47529
|
var authclient_1 = require_authclient();
|
|
47450
47530
|
var oauth2common_1 = require_oauth2common();
|
|
47451
|
-
var gaxios_1 =
|
|
47531
|
+
var gaxios_1 = require_src2();
|
|
47452
47532
|
var stream = __require("stream");
|
|
47453
47533
|
var baseexternalclient_1 = require_baseexternalclient();
|
|
47454
47534
|
exports.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE = "external_account_authorized_user";
|
|
@@ -47920,8 +48000,8 @@ var require_googleauth = __commonJS({
|
|
|
47920
48000
|
exports.GoogleAuth = exports.GoogleAuthExceptionMessages = void 0;
|
|
47921
48001
|
var child_process_1 = __require("child_process");
|
|
47922
48002
|
var fs3 = __require("fs");
|
|
47923
|
-
var gaxios_1 =
|
|
47924
|
-
var gcpMetadata =
|
|
48003
|
+
var gaxios_1 = require_src2();
|
|
48004
|
+
var gcpMetadata = require_src4();
|
|
47925
48005
|
var os = __require("os");
|
|
47926
48006
|
var path = __require("path");
|
|
47927
48007
|
var crypto_1 = require_crypto3();
|
|
@@ -48779,7 +48859,7 @@ var require_downscopedclient = __commonJS({
|
|
|
48779
48859
|
init_utils2();
|
|
48780
48860
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48781
48861
|
exports.DownscopedClient = exports.EXPIRATION_TIME_OFFSET = exports.MAX_ACCESS_BOUNDARY_RULES_COUNT = void 0;
|
|
48782
|
-
var gaxios_1 =
|
|
48862
|
+
var gaxios_1 = require_src2();
|
|
48783
48863
|
var stream = __require("stream");
|
|
48784
48864
|
var authclient_1 = require_authclient();
|
|
48785
48865
|
var sts = require_stscredentials();
|
|
@@ -49005,7 +49085,7 @@ var require_passthrough = __commonJS({
|
|
|
49005
49085
|
});
|
|
49006
49086
|
|
|
49007
49087
|
// node_modules/.bun/google-auth-library@11.3.3/node_modules/google-auth-library/build/src/index.js
|
|
49008
|
-
var
|
|
49088
|
+
var require_src5 = __commonJS({
|
|
49009
49089
|
"node_modules/.bun/google-auth-library@11.3.3/node_modules/google-auth-library/build/src/index.js"(exports) {
|
|
49010
49090
|
"use strict";
|
|
49011
49091
|
init_utils2();
|
|
@@ -49031,8 +49111,8 @@ var require_src6 = __commonJS({
|
|
|
49031
49111
|
Object.defineProperty(exports, "GoogleAuth", { enumerable: true, get: function() {
|
|
49032
49112
|
return googleauth_1.GoogleAuth;
|
|
49033
49113
|
} });
|
|
49034
|
-
exports.gcpMetadata =
|
|
49035
|
-
exports.gaxios =
|
|
49114
|
+
exports.gcpMetadata = require_src4();
|
|
49115
|
+
exports.gaxios = require_src2();
|
|
49036
49116
|
var authclient_1 = require_authclient();
|
|
49037
49117
|
Object.defineProperty(exports, "AuthClient", { enumerable: true, get: function() {
|
|
49038
49118
|
return authclient_1.AuthClient;
|
|
@@ -49141,9 +49221,9 @@ var require_src6 = __commonJS({
|
|
|
49141
49221
|
}
|
|
49142
49222
|
});
|
|
49143
49223
|
|
|
49144
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
49224
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/error.js
|
|
49145
49225
|
var require_error2 = __commonJS({
|
|
49146
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
49226
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/error.js"(exports) {
|
|
49147
49227
|
"use strict";
|
|
49148
49228
|
init_utils2();
|
|
49149
49229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -49212,9 +49292,9 @@ var require_error2 = __commonJS({
|
|
|
49212
49292
|
}
|
|
49213
49293
|
});
|
|
49214
49294
|
|
|
49215
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
49295
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/error.js
|
|
49216
49296
|
var require_error3 = __commonJS({
|
|
49217
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
49297
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/error.js"(exports) {
|
|
49218
49298
|
"use strict";
|
|
49219
49299
|
init_utils2();
|
|
49220
49300
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -49252,9 +49332,9 @@ var require_error3 = __commonJS({
|
|
|
49252
49332
|
}
|
|
49253
49333
|
});
|
|
49254
49334
|
|
|
49255
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
49335
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/validator.js
|
|
49256
49336
|
var require_validator = __commonJS({
|
|
49257
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
49337
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/validator.js"(exports) {
|
|
49258
49338
|
"use strict";
|
|
49259
49339
|
init_utils2();
|
|
49260
49340
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -49277,6 +49357,8 @@ var require_validator = __commonJS({
|
|
|
49277
49357
|
exports.isURL = isURL;
|
|
49278
49358
|
exports.isTopic = isTopic;
|
|
49279
49359
|
exports.isTaskId = isTaskId;
|
|
49360
|
+
exports.isSafeUrlSegment = isSafeUrlSegment;
|
|
49361
|
+
exports.isTenantId = isTenantId;
|
|
49280
49362
|
function isBuffer(value) {
|
|
49281
49363
|
return value instanceof Buffer2;
|
|
49282
49364
|
}
|
|
@@ -49389,12 +49471,18 @@ var require_validator = __commonJS({
|
|
|
49389
49471
|
const VALID_TASK_ID_REGEX = /^[A-Za-z0-9_-]+$/;
|
|
49390
49472
|
return VALID_TASK_ID_REGEX.test(taskId);
|
|
49391
49473
|
}
|
|
49474
|
+
function isSafeUrlSegment(segment) {
|
|
49475
|
+
return isNonEmptyString(segment) && !segment.endsWith(".") && /^[a-zA-Z0-9_.~-]+$/.test(segment);
|
|
49476
|
+
}
|
|
49477
|
+
function isTenantId(tenantId) {
|
|
49478
|
+
return isSafeUrlSegment(tenantId);
|
|
49479
|
+
}
|
|
49392
49480
|
}
|
|
49393
49481
|
});
|
|
49394
49482
|
|
|
49395
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
49483
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/credential-internal.js
|
|
49396
49484
|
var require_credential_internal = __commonJS({
|
|
49397
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
49485
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/credential-internal.js"(exports) {
|
|
49398
49486
|
"use strict";
|
|
49399
49487
|
init_utils2();
|
|
49400
49488
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -49403,7 +49491,7 @@ var require_credential_internal = __commonJS({
|
|
|
49403
49491
|
exports.getApplicationDefault = getApplicationDefault;
|
|
49404
49492
|
var fs3 = __require("fs");
|
|
49405
49493
|
var node_crypto_1 = __require("node:crypto");
|
|
49406
|
-
var google_auth_library_1 =
|
|
49494
|
+
var google_auth_library_1 = require_src5();
|
|
49407
49495
|
var error_1 = require_error3();
|
|
49408
49496
|
var util = require_validator();
|
|
49409
49497
|
var SCOPES = [
|
|
@@ -49767,12 +49855,12 @@ var require_credential_internal = __commonJS({
|
|
|
49767
49855
|
}
|
|
49768
49856
|
});
|
|
49769
49857
|
|
|
49770
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
49858
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/package.json
|
|
49771
49859
|
var require_package3 = __commonJS({
|
|
49772
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
49860
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/package.json"(exports, module) {
|
|
49773
49861
|
module.exports = {
|
|
49774
49862
|
name: "firebase-admin",
|
|
49775
|
-
version: "14.5.
|
|
49863
|
+
version: "14.5.1",
|
|
49776
49864
|
description: "Firebase admin SDK for Node.js",
|
|
49777
49865
|
author: "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
49778
49866
|
license: "Apache-2.0",
|
|
@@ -49992,14 +50080,13 @@ var require_package3 = __commonJS({
|
|
|
49992
50080
|
},
|
|
49993
50081
|
devDependencies: {
|
|
49994
50082
|
"@eslint/js": "^10.0.1",
|
|
49995
|
-
"@firebase/api-documenter": "^0.
|
|
50083
|
+
"@firebase/api-documenter": "^0.6.0",
|
|
49996
50084
|
"@firebase/app-compat": "^0.5.12",
|
|
49997
50085
|
"@firebase/auth-compat": "^0.6.6",
|
|
49998
50086
|
"@firebase/auth-types": "^0.13.1",
|
|
49999
50087
|
"@microsoft/api-extractor": "^7.11.2",
|
|
50000
50088
|
"@types/bcrypt": "^6.0.0",
|
|
50001
|
-
"@types/chai": "^
|
|
50002
|
-
"@types/chai-as-promised": "^7.1.0",
|
|
50089
|
+
"@types/chai-as-promised": "^8.0.2",
|
|
50003
50090
|
"@types/firebase-token-generator": "^2.0.28",
|
|
50004
50091
|
"@types/jsonwebtoken": "8.5.9",
|
|
50005
50092
|
"@types/lodash": "^4.14.104",
|
|
@@ -50008,16 +50095,15 @@ var require_package3 = __commonJS({
|
|
|
50008
50095
|
"@types/nock": "^11.1.0",
|
|
50009
50096
|
"@types/node": "^26.0.0",
|
|
50010
50097
|
"@types/sinon": "^22.0.0",
|
|
50011
|
-
"@types/sinon-chai": "^
|
|
50098
|
+
"@types/sinon-chai": "^4.0.0",
|
|
50012
50099
|
"@typescript-eslint/eslint-plugin": "^8.67.0",
|
|
50013
50100
|
"@typescript-eslint/parser": "^8.67.0",
|
|
50014
50101
|
bcrypt: "^6.0.0",
|
|
50015
|
-
chai: "^
|
|
50016
|
-
"chai-as-promised": "^
|
|
50017
|
-
"chai-exclude": "^
|
|
50102
|
+
chai: "^6.2.2",
|
|
50103
|
+
"chai-as-promised": "^8.0.2",
|
|
50104
|
+
"chai-exclude": "^3.0.1",
|
|
50018
50105
|
chalk: "^4.1.1",
|
|
50019
50106
|
"child-process-promise": "^2.2.1",
|
|
50020
|
-
del: "^6.0.0",
|
|
50021
50107
|
eslint: "^10.3.0",
|
|
50022
50108
|
"firebase-token-generator": "^2.0.0",
|
|
50023
50109
|
globals: "^17.6.0",
|
|
@@ -50028,26 +50114,25 @@ var require_package3 = __commonJS({
|
|
|
50028
50114
|
"http-message-parser": "^0.0.34",
|
|
50029
50115
|
lodash: "^4.17.15",
|
|
50030
50116
|
minimist: "^1.2.6",
|
|
50031
|
-
mocha: "^
|
|
50117
|
+
mocha: "^12.0.3",
|
|
50032
50118
|
mz: "^2.7.0",
|
|
50033
50119
|
nock: "^14.0.15",
|
|
50034
50120
|
"npm-run-all": "^4.1.5",
|
|
50035
50121
|
nyc: "^18.0.0",
|
|
50036
50122
|
"run-sequence": "^2.2.1",
|
|
50037
50123
|
sinon: "^22.0.0",
|
|
50038
|
-
"sinon-chai": "^
|
|
50124
|
+
"sinon-chai": "^4.0.1",
|
|
50039
50125
|
"ts-node": "^10.2.0",
|
|
50040
50126
|
typescript: "^5.7.3",
|
|
50041
|
-
"typescript-eslint": "^8.67.0"
|
|
50042
|
-
yargs: "^17.0.1"
|
|
50127
|
+
"typescript-eslint": "^8.67.0"
|
|
50043
50128
|
}
|
|
50044
50129
|
};
|
|
50045
50130
|
}
|
|
50046
50131
|
});
|
|
50047
50132
|
|
|
50048
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50133
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/index.js
|
|
50049
50134
|
var require_utils5 = __commonJS({
|
|
50050
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50135
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/index.js"(exports) {
|
|
50051
50136
|
"use strict";
|
|
50052
50137
|
init_utils2();
|
|
50053
50138
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50209,9 +50294,9 @@ var require_utils5 = __commonJS({
|
|
|
50209
50294
|
}
|
|
50210
50295
|
});
|
|
50211
50296
|
|
|
50212
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50297
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/deep-copy.js
|
|
50213
50298
|
var require_deep_copy = __commonJS({
|
|
50214
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50299
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/deep-copy.js"(exports) {
|
|
50215
50300
|
"use strict";
|
|
50216
50301
|
init_utils2();
|
|
50217
50302
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50244,16 +50329,20 @@ var require_deep_copy = __commonJS({
|
|
|
50244
50329
|
if (!Object.prototype.hasOwnProperty.call(source, prop)) {
|
|
50245
50330
|
continue;
|
|
50246
50331
|
}
|
|
50247
|
-
|
|
50332
|
+
if (prop === "__proto__" || prop === "constructor" || prop === "prototype") {
|
|
50333
|
+
continue;
|
|
50334
|
+
}
|
|
50335
|
+
const hasProp = Boolean(target) && (typeof target === "object" || typeof target === "function") && Object.prototype.hasOwnProperty.call(target, prop);
|
|
50336
|
+
target[prop] = deepExtend(hasProp ? target[prop] : void 0, source[prop]);
|
|
50248
50337
|
}
|
|
50249
50338
|
return target;
|
|
50250
50339
|
}
|
|
50251
50340
|
}
|
|
50252
50341
|
});
|
|
50253
50342
|
|
|
50254
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50343
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/firebase-app.js
|
|
50255
50344
|
var require_firebase_app = __commonJS({
|
|
50256
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50345
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/firebase-app.js"(exports) {
|
|
50257
50346
|
"use strict";
|
|
50258
50347
|
init_utils2();
|
|
50259
50348
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50492,9 +50581,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
50492
50581
|
}
|
|
50493
50582
|
});
|
|
50494
50583
|
|
|
50495
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50584
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/lifecycle.js
|
|
50496
50585
|
var require_lifecycle = __commonJS({
|
|
50497
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50586
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/lifecycle.js"(exports) {
|
|
50498
50587
|
"use strict";
|
|
50499
50588
|
init_utils2();
|
|
50500
50589
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50650,9 +50739,9 @@ var require_lifecycle = __commonJS({
|
|
|
50650
50739
|
}
|
|
50651
50740
|
});
|
|
50652
50741
|
|
|
50653
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50742
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/credential-factory.js
|
|
50654
50743
|
var require_credential_factory = __commonJS({
|
|
50655
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50744
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/credential-factory.js"(exports) {
|
|
50656
50745
|
"use strict";
|
|
50657
50746
|
init_utils2();
|
|
50658
50747
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50690,9 +50779,9 @@ var require_credential_factory = __commonJS({
|
|
|
50690
50779
|
}
|
|
50691
50780
|
});
|
|
50692
50781
|
|
|
50693
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50782
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/index.js
|
|
50694
50783
|
var require_app = __commonJS({
|
|
50695
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50784
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/app/index.js"(exports) {
|
|
50696
50785
|
"use strict";
|
|
50697
50786
|
init_utils2();
|
|
50698
50787
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50736,10 +50825,10 @@ var require_app = __commonJS({
|
|
|
50736
50825
|
}
|
|
50737
50826
|
});
|
|
50738
50827
|
|
|
50739
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50828
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/esm/app/index.js
|
|
50740
50829
|
var import_app, AppErrorCode, FirebaseAppError, FirebaseError, SDK_VERSION, applicationDefault, cert, deleteApp, getApp, getApps, initializeApp, refreshToken;
|
|
50741
50830
|
var init_app = __esm({
|
|
50742
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50831
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/esm/app/index.js"() {
|
|
50743
50832
|
init_utils2();
|
|
50744
50833
|
import_app = __toESM(require_app(), 1);
|
|
50745
50834
|
AppErrorCode = import_app.default.AppErrorCode;
|
|
@@ -50756,9 +50845,9 @@ var init_app = __esm({
|
|
|
50756
50845
|
}
|
|
50757
50846
|
});
|
|
50758
50847
|
|
|
50759
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
50848
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/error.js
|
|
50760
50849
|
var require_error4 = __commonJS({
|
|
50761
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
50850
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/error.js"(exports) {
|
|
50762
50851
|
"use strict";
|
|
50763
50852
|
init_utils2();
|
|
50764
50853
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50839,6 +50928,7 @@ var require_error4 = __commonJS({
|
|
|
50839
50928
|
MAXIMUM_USER_COUNT_EXCEEDED: "maximum-user-count-exceeded",
|
|
50840
50929
|
MISSING_UID: "missing-uid",
|
|
50841
50930
|
OPERATION_NOT_ALLOWED: "operation-not-allowed",
|
|
50931
|
+
PASSWORD_DOES_NOT_MEET_REQUIREMENTS: "password-does-not-meet-requirements",
|
|
50842
50932
|
PHONE_NUMBER_ALREADY_EXISTS: "phone-number-already-exists",
|
|
50843
50933
|
PROJECT_NOT_FOUND: "project-not-found",
|
|
50844
50934
|
INSUFFICIENT_PERMISSION: "insufficient-permission",
|
|
@@ -51155,6 +51245,10 @@ var require_error4 = __commonJS({
|
|
|
51155
51245
|
code: exports.AuthErrorCode.OPERATION_NOT_ALLOWED,
|
|
51156
51246
|
message: "The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section."
|
|
51157
51247
|
},
|
|
51248
|
+
PASSWORD_DOES_NOT_MEET_REQUIREMENTS: {
|
|
51249
|
+
code: exports.AuthErrorCode.PASSWORD_DOES_NOT_MEET_REQUIREMENTS,
|
|
51250
|
+
message: "The password does not meet the requirements."
|
|
51251
|
+
},
|
|
51158
51252
|
PHONE_NUMBER_ALREADY_EXISTS: {
|
|
51159
51253
|
code: exports.AuthErrorCode.PHONE_NUMBER_ALREADY_EXISTS,
|
|
51160
51254
|
message: "The user with the provided phone number already exists."
|
|
@@ -51334,6 +51428,8 @@ var require_error4 = __commonJS({
|
|
|
51334
51428
|
MISSING_USER_ACCOUNT: "MISSING_UID",
|
|
51335
51429
|
// Password auth disabled in console.
|
|
51336
51430
|
OPERATION_NOT_ALLOWED: "OPERATION_NOT_ALLOWED",
|
|
51431
|
+
// Password does not meet the configured policy requirements.
|
|
51432
|
+
PASSWORD_DOES_NOT_MEET_REQUIREMENTS: "PASSWORD_DOES_NOT_MEET_REQUIREMENTS",
|
|
51337
51433
|
// Provided credential has insufficient permissions.
|
|
51338
51434
|
PERMISSION_DENIED: "INSUFFICIENT_PERMISSION",
|
|
51339
51435
|
// Phone number already exists.
|
|
@@ -53563,9 +53659,9 @@ var require_busboy = __commonJS({
|
|
|
53563
53659
|
}
|
|
53564
53660
|
});
|
|
53565
53661
|
|
|
53566
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
53662
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/api-request.js
|
|
53567
53663
|
var require_api_request = __commonJS({
|
|
53568
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
53664
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/api-request.js"(exports) {
|
|
53569
53665
|
"use strict";
|
|
53570
53666
|
init_utils2();
|
|
53571
53667
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -54543,9 +54639,9 @@ var require_api_request = __commonJS({
|
|
|
54543
54639
|
}
|
|
54544
54640
|
});
|
|
54545
54641
|
|
|
54546
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
54642
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/user-import-builder.js
|
|
54547
54643
|
var require_user_import_builder = __commonJS({
|
|
54548
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
54644
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/user-import-builder.js"(exports) {
|
|
54549
54645
|
"use strict";
|
|
54550
54646
|
init_utils2();
|
|
54551
54647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -54865,9 +54961,9 @@ var require_user_import_builder = __commonJS({
|
|
|
54865
54961
|
}
|
|
54866
54962
|
});
|
|
54867
54963
|
|
|
54868
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
54964
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/action-code-settings-builder.js
|
|
54869
54965
|
var require_action_code_settings_builder = __commonJS({
|
|
54870
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
54966
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/action-code-settings-builder.js"(exports) {
|
|
54871
54967
|
"use strict";
|
|
54872
54968
|
init_utils2();
|
|
54873
54969
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -54962,9 +55058,9 @@ var require_action_code_settings_builder = __commonJS({
|
|
|
54962
55058
|
}
|
|
54963
55059
|
});
|
|
54964
55060
|
|
|
54965
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
55061
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/auth-config.js
|
|
54966
55062
|
var require_auth_config = __commonJS({
|
|
54967
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
55063
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/auth-config.js"(exports) {
|
|
54968
55064
|
"use strict";
|
|
54969
55065
|
init_utils2();
|
|
54970
55066
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -55265,7 +55361,7 @@ var require_auth_config = __commonJS({
|
|
|
55265
55361
|
* @returns Whether the provider ID corresponds to a SAML provider.
|
|
55266
55362
|
*/
|
|
55267
55363
|
static isProviderId(providerId) {
|
|
55268
|
-
return validator.isNonEmptyString(providerId) && providerId.
|
|
55364
|
+
return validator.isNonEmptyString(providerId) && providerId.startsWith("saml.") && validator.isSafeUrlSegment(providerId);
|
|
55269
55365
|
}
|
|
55270
55366
|
/**
|
|
55271
55367
|
* Validates the SAMLConfig options object. Throws an error on failure.
|
|
@@ -55293,11 +55389,7 @@ var require_auth_config = __commonJS({
|
|
|
55293
55389
|
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_CONFIG, `"${key}" is not a valid SAML config parameter.`);
|
|
55294
55390
|
}
|
|
55295
55391
|
}
|
|
55296
|
-
if (
|
|
55297
|
-
if (options.providerId.indexOf("saml.") !== 0) {
|
|
55298
|
-
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_PROVIDER_ID, '"SAMLAuthProviderConfig.providerId" must be a valid non-empty string prefixed with "saml.".');
|
|
55299
|
-
}
|
|
55300
|
-
} else if (!ignoreMissingFields) {
|
|
55392
|
+
if (!(ignoreMissingFields && typeof options.providerId === "undefined") && !_SAMLConfig.isProviderId(options.providerId)) {
|
|
55301
55393
|
throw new error_1.FirebaseAuthError(!options.providerId ? error_1.authClientErrorCode.MISSING_PROVIDER_ID : error_1.authClientErrorCode.INVALID_PROVIDER_ID, '"SAMLAuthProviderConfig.providerId" must be a valid non-empty string prefixed with "saml.".');
|
|
55302
55394
|
}
|
|
55303
55395
|
if (!(ignoreMissingFields && typeof options.idpEntityId === "undefined") && !validator.isNonEmptyString(options.idpEntityId)) {
|
|
@@ -55424,7 +55516,7 @@ var require_auth_config = __commonJS({
|
|
|
55424
55516
|
* @returns Whether the provider ID corresponds to an OIDC provider.
|
|
55425
55517
|
*/
|
|
55426
55518
|
static isProviderId(providerId) {
|
|
55427
|
-
return validator.isNonEmptyString(providerId) && providerId.
|
|
55519
|
+
return validator.isNonEmptyString(providerId) && providerId.startsWith("oidc.") && validator.isSafeUrlSegment(providerId);
|
|
55428
55520
|
}
|
|
55429
55521
|
/**
|
|
55430
55522
|
* Validates the OIDCConfig options object. Throws an error on failure.
|
|
@@ -55454,11 +55546,7 @@ var require_auth_config = __commonJS({
|
|
|
55454
55546
|
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_CONFIG, `"${key}" is not a valid OIDC config parameter.`);
|
|
55455
55547
|
}
|
|
55456
55548
|
}
|
|
55457
|
-
if (
|
|
55458
|
-
if (options.providerId.indexOf("oidc.") !== 0) {
|
|
55459
|
-
throw new error_1.FirebaseAuthError(!options.providerId ? error_1.authClientErrorCode.MISSING_PROVIDER_ID : error_1.authClientErrorCode.INVALID_PROVIDER_ID, '"OIDCAuthProviderConfig.providerId" must be a valid non-empty string prefixed with "oidc.".');
|
|
55460
|
-
}
|
|
55461
|
-
} else if (!ignoreMissingFields) {
|
|
55549
|
+
if (!(ignoreMissingFields && typeof options.providerId === "undefined") && !_OIDCConfig.isProviderId(options.providerId)) {
|
|
55462
55550
|
throw new error_1.FirebaseAuthError(!options.providerId ? error_1.authClientErrorCode.MISSING_PROVIDER_ID : error_1.authClientErrorCode.INVALID_PROVIDER_ID, '"OIDCAuthProviderConfig.providerId" must be a valid non-empty string prefixed with "oidc.".');
|
|
55463
55551
|
}
|
|
55464
55552
|
if (!(ignoreMissingFields && typeof options.clientId === "undefined") && !validator.isNonEmptyString(options.clientId)) {
|
|
@@ -55962,9 +56050,9 @@ var require_auth_config = __commonJS({
|
|
|
55962
56050
|
}
|
|
55963
56051
|
});
|
|
55964
56052
|
|
|
55965
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
56053
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/tenant.js
|
|
55966
56054
|
var require_tenant = __commonJS({
|
|
55967
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
56055
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/tenant.js"(exports) {
|
|
55968
56056
|
"use strict";
|
|
55969
56057
|
init_utils2();
|
|
55970
56058
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -56186,9 +56274,9 @@ var require_tenant = __commonJS({
|
|
|
56186
56274
|
}
|
|
56187
56275
|
});
|
|
56188
56276
|
|
|
56189
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
56277
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/identifier.js
|
|
56190
56278
|
var require_identifier = __commonJS({
|
|
56191
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
56279
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/identifier.js"(exports) {
|
|
56192
56280
|
"use strict";
|
|
56193
56281
|
init_utils2();
|
|
56194
56282
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -56212,9 +56300,9 @@ var require_identifier = __commonJS({
|
|
|
56212
56300
|
}
|
|
56213
56301
|
});
|
|
56214
56302
|
|
|
56215
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
56303
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/project-config.js
|
|
56216
56304
|
var require_project_config = __commonJS({
|
|
56217
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
56305
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/project-config.js"(exports) {
|
|
56218
56306
|
"use strict";
|
|
56219
56307
|
init_utils2();
|
|
56220
56308
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -56373,9 +56461,9 @@ var require_project_config = __commonJS({
|
|
|
56373
56461
|
}
|
|
56374
56462
|
});
|
|
56375
56463
|
|
|
56376
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
56464
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/auth-api-request.js
|
|
56377
56465
|
var require_auth_api_request = __commonJS({
|
|
56378
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
56466
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/auth-api-request.js"(exports) {
|
|
56379
56467
|
"use strict";
|
|
56380
56468
|
init_utils2();
|
|
56381
56469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -56507,6 +56595,9 @@ var require_auth_api_request = __commonJS({
|
|
|
56507
56595
|
this.app = app;
|
|
56508
56596
|
this.version = version5;
|
|
56509
56597
|
this.tenantId = tenantId;
|
|
56598
|
+
if (!validator.isTenantId(tenantId)) {
|
|
56599
|
+
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID);
|
|
56600
|
+
}
|
|
56510
56601
|
if (emHost) {
|
|
56511
56602
|
this.urlFormat = utils.formatString(FIREBASE_AUTH_EMULATOR_TENANT_URL_FORMAT, {
|
|
56512
56603
|
host: emHost
|
|
@@ -56636,7 +56727,7 @@ var require_auth_api_request = __commonJS({
|
|
|
56636
56727
|
delete request[key];
|
|
56637
56728
|
}
|
|
56638
56729
|
}
|
|
56639
|
-
if (typeof request.tenantId !== "undefined" && !validator.
|
|
56730
|
+
if (typeof request.tenantId !== "undefined" && !validator.isTenantId(request.tenantId)) {
|
|
56640
56731
|
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID);
|
|
56641
56732
|
}
|
|
56642
56733
|
if (typeof request.displayName !== "undefined" && !validator.isString(request.displayName)) {
|
|
@@ -57811,7 +57902,7 @@ var require_auth_api_request = __commonJS({
|
|
|
57811
57902
|
* @returns A promise that resolves with the tenant information.
|
|
57812
57903
|
*/
|
|
57813
57904
|
getTenant(tenantId) {
|
|
57814
|
-
if (!validator.
|
|
57905
|
+
if (!validator.isTenantId(tenantId)) {
|
|
57815
57906
|
return Promise.reject(new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID));
|
|
57816
57907
|
}
|
|
57817
57908
|
return this.invokeRequestHandler(this.authResourceUrlBuilder, GET_TENANT, {}, { tenantId }).then((response) => {
|
|
@@ -57854,7 +57945,7 @@ var require_auth_api_request = __commonJS({
|
|
|
57854
57945
|
* @returns A promise that resolves when the tenant is deleted.
|
|
57855
57946
|
*/
|
|
57856
57947
|
deleteTenant(tenantId) {
|
|
57857
|
-
if (!validator.
|
|
57948
|
+
if (!validator.isTenantId(tenantId)) {
|
|
57858
57949
|
return Promise.reject(new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID));
|
|
57859
57950
|
}
|
|
57860
57951
|
return this.invokeRequestHandler(this.authResourceUrlBuilder, DELETE_TENANT, void 0, { tenantId }).then(() => {
|
|
@@ -57884,7 +57975,7 @@ var require_auth_api_request = __commonJS({
|
|
|
57884
57975
|
* @returns A promise that resolves with the modified tenant object.
|
|
57885
57976
|
*/
|
|
57886
57977
|
updateTenant(tenantId, tenantOptions) {
|
|
57887
|
-
if (!validator.
|
|
57978
|
+
if (!validator.isTenantId(tenantId)) {
|
|
57888
57979
|
return Promise.reject(new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID));
|
|
57889
57980
|
}
|
|
57890
57981
|
try {
|
|
@@ -57912,6 +58003,9 @@ var require_auth_api_request = __commonJS({
|
|
|
57912
58003
|
constructor(app, tenantId, emHost) {
|
|
57913
58004
|
super(app, emHost);
|
|
57914
58005
|
this.tenantId = tenantId;
|
|
58006
|
+
if (!validator.isTenantId(tenantId)) {
|
|
58007
|
+
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID);
|
|
58008
|
+
}
|
|
57915
58009
|
}
|
|
57916
58010
|
/**
|
|
57917
58011
|
* @returns A new Auth user management resource URL builder instance.
|
|
@@ -57960,9 +58054,9 @@ var require_auth_api_request = __commonJS({
|
|
|
57960
58054
|
}
|
|
57961
58055
|
});
|
|
57962
58056
|
|
|
57963
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
58057
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/crypto-signer.js
|
|
57964
58058
|
var require_crypto_signer = __commonJS({
|
|
57965
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
58059
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/crypto-signer.js"(exports) {
|
|
57966
58060
|
"use strict";
|
|
57967
58061
|
init_utils2();
|
|
57968
58062
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -58124,9 +58218,9 @@ var require_crypto_signer = __commonJS({
|
|
|
58124
58218
|
}
|
|
58125
58219
|
});
|
|
58126
58220
|
|
|
58127
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
58221
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/token-generator.js
|
|
58128
58222
|
var require_token_generator = __commonJS({
|
|
58129
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
58223
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/token-generator.js"(exports) {
|
|
58130
58224
|
"use strict";
|
|
58131
58225
|
init_utils2();
|
|
58132
58226
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -59552,20 +59646,20 @@ var require_trim_comparator_whitespace = __commonJS({
|
|
|
59552
59646
|
var trimComparatorWhitespace = (range) => {
|
|
59553
59647
|
let result = "";
|
|
59554
59648
|
let copyFrom = 0;
|
|
59555
|
-
let
|
|
59649
|
+
let cursor2 = 0;
|
|
59556
59650
|
const digitRuns = { start: -1, end: -1, previousStart: -1, previousEnd: -1 };
|
|
59557
|
-
while (
|
|
59558
|
-
const matchStart =
|
|
59559
|
-
if (range[
|
|
59560
|
-
|
|
59561
|
-
} else if (!isVersionPrefix(range[
|
|
59562
|
-
|
|
59651
|
+
while (cursor2 < range.length) {
|
|
59652
|
+
const matchStart = cursor2;
|
|
59653
|
+
if (range[cursor2] === "<" || range[cursor2] === ">") {
|
|
59654
|
+
cursor2++;
|
|
59655
|
+
} else if (!isVersionPrefix(range[cursor2]) && !isVersionStart(range[cursor2])) {
|
|
59656
|
+
cursor2++;
|
|
59563
59657
|
continue;
|
|
59564
59658
|
}
|
|
59565
|
-
while (
|
|
59566
|
-
|
|
59659
|
+
while (cursor2 < range.length && isVersionPrefix(range[cursor2])) {
|
|
59660
|
+
cursor2++;
|
|
59567
59661
|
}
|
|
59568
|
-
if (!isVersionStart(range[
|
|
59662
|
+
if (!isVersionStart(range[cursor2])) {
|
|
59569
59663
|
continue;
|
|
59570
59664
|
}
|
|
59571
59665
|
const whitespacePosition = findRemovableWhitespaceIndex(range, matchStart);
|
|
@@ -59573,7 +59667,7 @@ var require_trim_comparator_whitespace = __commonJS({
|
|
|
59573
59667
|
result += range.slice(copyFrom, whitespacePosition);
|
|
59574
59668
|
copyFrom = whitespacePosition + 1;
|
|
59575
59669
|
}
|
|
59576
|
-
|
|
59670
|
+
cursor2 = findVersionEndIndex(range, cursor2, digitRuns);
|
|
59577
59671
|
}
|
|
59578
59672
|
return result + range.slice(copyFrom);
|
|
59579
59673
|
};
|
|
@@ -59607,19 +59701,19 @@ var require_range = __commonJS({
|
|
|
59607
59701
|
this.loose = !!options.loose;
|
|
59608
59702
|
this.includePrerelease = !!options.includePrerelease;
|
|
59609
59703
|
this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
|
|
59610
|
-
this.set = this.raw.split("||").map((r3) => this.parseRange(r3.trim())).filter((
|
|
59704
|
+
this.set = this.raw.split("||").map((r3) => this.parseRange(r3.trim())).filter((c3) => c3.length);
|
|
59611
59705
|
if (!this.set.length) {
|
|
59612
59706
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
59613
59707
|
}
|
|
59614
59708
|
if (this.set.length > 1) {
|
|
59615
59709
|
const first = this.set[0];
|
|
59616
|
-
this.set = this.set.filter((
|
|
59710
|
+
this.set = this.set.filter((c3) => !isNullSet(c3[0]));
|
|
59617
59711
|
if (this.set.length === 0) {
|
|
59618
59712
|
this.set = [first];
|
|
59619
59713
|
} else if (this.set.length > 1) {
|
|
59620
|
-
for (const
|
|
59621
|
-
if (
|
|
59622
|
-
this.set = [
|
|
59714
|
+
for (const c3 of this.set) {
|
|
59715
|
+
if (c3.length === 1 && isAny(c3[0])) {
|
|
59716
|
+
this.set = [c3];
|
|
59623
59717
|
break;
|
|
59624
59718
|
}
|
|
59625
59719
|
}
|
|
@@ -59743,8 +59837,8 @@ var require_range = __commonJS({
|
|
|
59743
59837
|
} = require_re();
|
|
59744
59838
|
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants4();
|
|
59745
59839
|
var BUILDSTRIPRE = new RegExp(src[t3.BUILD], "g");
|
|
59746
|
-
var isNullSet = (
|
|
59747
|
-
var isAny = (
|
|
59840
|
+
var isNullSet = (c3) => c3.value === "<0.0.0-0";
|
|
59841
|
+
var isAny = (c3) => c3.value === "";
|
|
59748
59842
|
var isSatisfiable = (comparators, options) => {
|
|
59749
59843
|
let result = true;
|
|
59750
59844
|
const remainingComparators = comparators.slice();
|
|
@@ -59773,7 +59867,7 @@ var require_range = __commonJS({
|
|
|
59773
59867
|
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
59774
59868
|
var invalidXRangeOrder = (M, m2, p) => isX(M) && !isX(m2) || isX(m2) && p && !isX(p);
|
|
59775
59869
|
var replaceTildes = (comp, options) => {
|
|
59776
|
-
return comp.trim().split(/\s+/).map((
|
|
59870
|
+
return comp.trim().split(/\s+/).map((c3) => replaceTilde(c3, options)).join(" ");
|
|
59777
59871
|
};
|
|
59778
59872
|
var replaceTilde = (comp, options) => {
|
|
59779
59873
|
const r3 = options.loose ? re[t3.TILDELOOSE] : re[t3.TILDE];
|
|
@@ -59798,7 +59892,7 @@ var require_range = __commonJS({
|
|
|
59798
59892
|
});
|
|
59799
59893
|
};
|
|
59800
59894
|
var replaceCarets = (comp, options) => {
|
|
59801
|
-
return comp.trim().split(/\s+/).map((
|
|
59895
|
+
return comp.trim().split(/\s+/).map((c3) => replaceCaret(c3, options)).join(" ");
|
|
59802
59896
|
};
|
|
59803
59897
|
var replaceCaret = (comp, options) => {
|
|
59804
59898
|
debug("caret", comp, options);
|
|
@@ -59846,7 +59940,7 @@ var require_range = __commonJS({
|
|
|
59846
59940
|
};
|
|
59847
59941
|
var replaceXRanges = (comp, options) => {
|
|
59848
59942
|
debug("replaceXRanges", comp, options);
|
|
59849
|
-
return comp.split(/\s+/).map((
|
|
59943
|
+
return comp.split(/\s+/).map((c3) => replaceXRange(c3, options)).join(" ");
|
|
59850
59944
|
};
|
|
59851
59945
|
var replaceXRange = (comp, options) => {
|
|
59852
59946
|
comp = comp.trim();
|
|
@@ -60105,7 +60199,7 @@ var require_to_comparators = __commonJS({
|
|
|
60105
60199
|
"use strict";
|
|
60106
60200
|
init_utils2();
|
|
60107
60201
|
var Range = require_range();
|
|
60108
|
-
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((
|
|
60202
|
+
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c3) => c3.value).join(" ").trim().split(" "));
|
|
60109
60203
|
module.exports = toComparators;
|
|
60110
60204
|
}
|
|
60111
60205
|
});
|
|
@@ -60460,13 +60554,13 @@ var require_subset = __commonJS({
|
|
|
60460
60554
|
}
|
|
60461
60555
|
const eqSet = /* @__PURE__ */ new Set();
|
|
60462
60556
|
let gt, lt;
|
|
60463
|
-
for (const
|
|
60464
|
-
if (
|
|
60465
|
-
gt = higherGT(gt,
|
|
60466
|
-
} else if (
|
|
60467
|
-
lt = lowerLT(lt,
|
|
60557
|
+
for (const c3 of sub) {
|
|
60558
|
+
if (c3.operator === ">" || c3.operator === ">=") {
|
|
60559
|
+
gt = higherGT(gt, c3, options);
|
|
60560
|
+
} else if (c3.operator === "<" || c3.operator === "<=") {
|
|
60561
|
+
lt = lowerLT(lt, c3, options);
|
|
60468
60562
|
} else {
|
|
60469
|
-
eqSet.add(
|
|
60563
|
+
eqSet.add(c3.semver);
|
|
60470
60564
|
}
|
|
60471
60565
|
}
|
|
60472
60566
|
if (eqSet.size > 1) {
|
|
@@ -60488,8 +60582,8 @@ var require_subset = __commonJS({
|
|
|
60488
60582
|
if (lt && !satisfies(eq, String(lt), options)) {
|
|
60489
60583
|
return null;
|
|
60490
60584
|
}
|
|
60491
|
-
for (const
|
|
60492
|
-
if (!satisfies(eq, String(
|
|
60585
|
+
for (const c3 of dom) {
|
|
60586
|
+
if (!satisfies(eq, String(c3), options)) {
|
|
60493
60587
|
return false;
|
|
60494
60588
|
}
|
|
60495
60589
|
}
|
|
@@ -60502,40 +60596,40 @@ var require_subset = __commonJS({
|
|
|
60502
60596
|
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
60503
60597
|
needDomLTPre = false;
|
|
60504
60598
|
}
|
|
60505
|
-
for (const
|
|
60506
|
-
hasDomGT = hasDomGT ||
|
|
60507
|
-
hasDomLT = hasDomLT ||
|
|
60599
|
+
for (const c3 of dom) {
|
|
60600
|
+
hasDomGT = hasDomGT || c3.operator === ">" || c3.operator === ">=";
|
|
60601
|
+
hasDomLT = hasDomLT || c3.operator === "<" || c3.operator === "<=";
|
|
60508
60602
|
if (gt) {
|
|
60509
60603
|
if (needDomGTPre) {
|
|
60510
|
-
if (
|
|
60604
|
+
if (c3.semver.prerelease && c3.semver.prerelease.length && c3.semver.major === needDomGTPre.major && c3.semver.minor === needDomGTPre.minor && c3.semver.patch === needDomGTPre.patch) {
|
|
60511
60605
|
needDomGTPre = false;
|
|
60512
60606
|
}
|
|
60513
60607
|
}
|
|
60514
|
-
if (
|
|
60515
|
-
higher = higherGT(gt,
|
|
60516
|
-
if (higher ===
|
|
60608
|
+
if (c3.operator === ">" || c3.operator === ">=") {
|
|
60609
|
+
higher = higherGT(gt, c3, options);
|
|
60610
|
+
if (higher === c3 && higher !== gt) {
|
|
60517
60611
|
return false;
|
|
60518
60612
|
}
|
|
60519
|
-
} else if (gt.operator === ">=" && !
|
|
60613
|
+
} else if (gt.operator === ">=" && !c3.test(gt.semver)) {
|
|
60520
60614
|
return false;
|
|
60521
60615
|
}
|
|
60522
60616
|
}
|
|
60523
60617
|
if (lt) {
|
|
60524
60618
|
if (needDomLTPre) {
|
|
60525
|
-
if (
|
|
60619
|
+
if (c3.semver.prerelease && c3.semver.prerelease.length && c3.semver.major === needDomLTPre.major && c3.semver.minor === needDomLTPre.minor && c3.semver.patch === needDomLTPre.patch) {
|
|
60526
60620
|
needDomLTPre = false;
|
|
60527
60621
|
}
|
|
60528
60622
|
}
|
|
60529
|
-
if (
|
|
60530
|
-
lower2 = lowerLT(lt,
|
|
60531
|
-
if (lower2 ===
|
|
60623
|
+
if (c3.operator === "<" || c3.operator === "<=") {
|
|
60624
|
+
lower2 = lowerLT(lt, c3, options);
|
|
60625
|
+
if (lower2 === c3 && lower2 !== lt) {
|
|
60532
60626
|
return false;
|
|
60533
60627
|
}
|
|
60534
|
-
} else if (lt.operator === "<=" && !
|
|
60628
|
+
} else if (lt.operator === "<=" && !c3.test(lt.semver)) {
|
|
60535
60629
|
return false;
|
|
60536
60630
|
}
|
|
60537
60631
|
}
|
|
60538
|
-
if (!
|
|
60632
|
+
if (!c3.operator && (lt || gt) && gtltComp !== 0) {
|
|
60539
60633
|
return false;
|
|
60540
60634
|
}
|
|
60541
60635
|
}
|
|
@@ -61083,7 +61177,7 @@ var require_lodash = __commonJS({
|
|
|
61083
61177
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
61084
61178
|
}
|
|
61085
61179
|
function isArrayLikeObject(value) {
|
|
61086
|
-
return
|
|
61180
|
+
return isObjectLike2(value) && isArrayLike(value);
|
|
61087
61181
|
}
|
|
61088
61182
|
function isFunction(value) {
|
|
61089
61183
|
var tag2 = isObject2(value) ? objectToString.call(value) : "";
|
|
@@ -61096,14 +61190,14 @@ var require_lodash = __commonJS({
|
|
|
61096
61190
|
var type = typeof value;
|
|
61097
61191
|
return !!value && (type == "object" || type == "function");
|
|
61098
61192
|
}
|
|
61099
|
-
function
|
|
61193
|
+
function isObjectLike2(value) {
|
|
61100
61194
|
return !!value && typeof value == "object";
|
|
61101
61195
|
}
|
|
61102
61196
|
function isString(value) {
|
|
61103
|
-
return typeof value == "string" || !isArray(value) &&
|
|
61197
|
+
return typeof value == "string" || !isArray(value) && isObjectLike2(value) && objectToString.call(value) == stringTag;
|
|
61104
61198
|
}
|
|
61105
61199
|
function isSymbol(value) {
|
|
61106
|
-
return typeof value == "symbol" ||
|
|
61200
|
+
return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
|
|
61107
61201
|
}
|
|
61108
61202
|
function toFinite(value) {
|
|
61109
61203
|
if (!value) {
|
|
@@ -61156,9 +61250,9 @@ var require_lodash2 = __commonJS({
|
|
|
61156
61250
|
var objectProto = Object.prototype;
|
|
61157
61251
|
var objectToString = objectProto.toString;
|
|
61158
61252
|
function isBoolean(value) {
|
|
61159
|
-
return value === true || value === false ||
|
|
61253
|
+
return value === true || value === false || isObjectLike2(value) && objectToString.call(value) == boolTag;
|
|
61160
61254
|
}
|
|
61161
|
-
function
|
|
61255
|
+
function isObjectLike2(value) {
|
|
61162
61256
|
return !!value && typeof value == "object";
|
|
61163
61257
|
}
|
|
61164
61258
|
module.exports = isBoolean;
|
|
@@ -61187,11 +61281,11 @@ var require_lodash3 = __commonJS({
|
|
|
61187
61281
|
var type = typeof value;
|
|
61188
61282
|
return !!value && (type == "object" || type == "function");
|
|
61189
61283
|
}
|
|
61190
|
-
function
|
|
61284
|
+
function isObjectLike2(value) {
|
|
61191
61285
|
return !!value && typeof value == "object";
|
|
61192
61286
|
}
|
|
61193
61287
|
function isSymbol(value) {
|
|
61194
|
-
return typeof value == "symbol" ||
|
|
61288
|
+
return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
|
|
61195
61289
|
}
|
|
61196
61290
|
function toFinite(value) {
|
|
61197
61291
|
if (!value) {
|
|
@@ -61237,11 +61331,11 @@ var require_lodash4 = __commonJS({
|
|
|
61237
61331
|
var numberTag = "[object Number]";
|
|
61238
61332
|
var objectProto = Object.prototype;
|
|
61239
61333
|
var objectToString = objectProto.toString;
|
|
61240
|
-
function
|
|
61334
|
+
function isObjectLike2(value) {
|
|
61241
61335
|
return !!value && typeof value == "object";
|
|
61242
61336
|
}
|
|
61243
61337
|
function isNumber(value) {
|
|
61244
|
-
return typeof value == "number" ||
|
|
61338
|
+
return typeof value == "number" || isObjectLike2(value) && objectToString.call(value) == numberTag;
|
|
61245
61339
|
}
|
|
61246
61340
|
module.exports = isNumber;
|
|
61247
61341
|
}
|
|
@@ -61274,11 +61368,11 @@ var require_lodash5 = __commonJS({
|
|
|
61274
61368
|
var objectCtorString = funcToString.call(Object);
|
|
61275
61369
|
var objectToString = objectProto.toString;
|
|
61276
61370
|
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
61277
|
-
function
|
|
61371
|
+
function isObjectLike2(value) {
|
|
61278
61372
|
return !!value && typeof value == "object";
|
|
61279
61373
|
}
|
|
61280
61374
|
function isPlainObject2(value) {
|
|
61281
|
-
if (!
|
|
61375
|
+
if (!isObjectLike2(value) || objectToString.call(value) != objectTag || isHostObject(value)) {
|
|
61282
61376
|
return false;
|
|
61283
61377
|
}
|
|
61284
61378
|
var proto = getPrototype(value);
|
|
@@ -61300,11 +61394,11 @@ var require_lodash6 = __commonJS({
|
|
|
61300
61394
|
var objectProto = Object.prototype;
|
|
61301
61395
|
var objectToString = objectProto.toString;
|
|
61302
61396
|
var isArray = Array.isArray;
|
|
61303
|
-
function
|
|
61397
|
+
function isObjectLike2(value) {
|
|
61304
61398
|
return !!value && typeof value == "object";
|
|
61305
61399
|
}
|
|
61306
61400
|
function isString(value) {
|
|
61307
|
-
return typeof value == "string" || !isArray(value) &&
|
|
61401
|
+
return typeof value == "string" || !isArray(value) && isObjectLike2(value) && objectToString.call(value) == stringTag;
|
|
61308
61402
|
}
|
|
61309
61403
|
module.exports = isString;
|
|
61310
61404
|
}
|
|
@@ -61349,11 +61443,11 @@ var require_lodash7 = __commonJS({
|
|
|
61349
61443
|
var type = typeof value;
|
|
61350
61444
|
return !!value && (type == "object" || type == "function");
|
|
61351
61445
|
}
|
|
61352
|
-
function
|
|
61446
|
+
function isObjectLike2(value) {
|
|
61353
61447
|
return !!value && typeof value == "object";
|
|
61354
61448
|
}
|
|
61355
61449
|
function isSymbol(value) {
|
|
61356
|
-
return typeof value == "symbol" ||
|
|
61450
|
+
return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
|
|
61357
61451
|
}
|
|
61358
61452
|
function toFinite(value) {
|
|
61359
61453
|
if (!value) {
|
|
@@ -62370,21 +62464,21 @@ async function deriveKey(p2s, alg, p2c, key) {
|
|
|
62370
62464
|
function lengthAndInput(input) {
|
|
62371
62465
|
return concat(uint32be(input.length), input);
|
|
62372
62466
|
}
|
|
62373
|
-
async function concatKdf(
|
|
62467
|
+
async function concatKdf(Z3, keyDataLength, OtherInfo) {
|
|
62374
62468
|
const dkLen = keyDataLength >> 3, hashLen = 32, reps = Math.ceil(dkLen / hashLen), dk = new Uint8Array(reps * hashLen);
|
|
62375
62469
|
for (let i3 = 1; i3 <= reps; i3++) {
|
|
62376
|
-
const hashResult = await digest("sha256", concat(uint32be(i3),
|
|
62470
|
+
const hashResult = await digest("sha256", concat(uint32be(i3), Z3, OtherInfo));
|
|
62377
62471
|
dk.set(hashResult, (i3 - 1) * hashLen);
|
|
62378
62472
|
}
|
|
62379
62473
|
return dk.slice(0, dkLen);
|
|
62380
62474
|
}
|
|
62381
62475
|
async function ecdhesDeriveKey(publicKey, privateKey, algorithmId, keyDataLength, apu = new Uint8Array(), apv = new Uint8Array()) {
|
|
62382
62476
|
checkEcdhCryptoKey(publicKey), checkEcdhCryptoKey(privateKey, "deriveBits");
|
|
62383
|
-
const otherInfo = concat(lengthAndInput(encode(algorithmId)), lengthAndInput(apu), lengthAndInput(apv), uint32be(keyDataLength)),
|
|
62477
|
+
const otherInfo = concat(lengthAndInput(encode(algorithmId)), lengthAndInput(apu), lengthAndInput(apv), uint32be(keyDataLength)), Z3 = new Uint8Array(await crypto.subtle.deriveBits({
|
|
62384
62478
|
name: publicKey.algorithm.name,
|
|
62385
62479
|
public: publicKey
|
|
62386
62480
|
}, privateKey, publicKey.algorithm.name === "X25519" ? 256 : Math.ceil(parseInt(publicKey.algorithm.namedCurve.slice(-3), 10) / 8) << 3));
|
|
62387
|
-
return concatKdf(
|
|
62481
|
+
return concatKdf(Z3, keyDataLength, otherInfo);
|
|
62388
62482
|
}
|
|
62389
62483
|
function assertEcdhKey(key) {
|
|
62390
62484
|
assertCryptoKey(key);
|
|
@@ -62494,8 +62588,8 @@ async function encryptKeyManagement(entry, enc, inputKey, joseHeader, providedCe
|
|
|
62494
62588
|
throw new TypeError('CryptoKey for "epk" must be extractable');
|
|
62495
62589
|
exportableEpk = await subtle.getPublicKey(ephemeralPrivateKey, []);
|
|
62496
62590
|
}
|
|
62497
|
-
const { x: x2, y
|
|
62498
|
-
if (kty === "EC" && (epk.y =
|
|
62591
|
+
const { x: x2, y, crv, kty } = await subtle.exportKey("jwk", exportableEpk), direct = mode === "direct-key-agreement", derivedKey = await ecdhesDeriveKey(key, ephemeralPrivateKey, direct ? enc.alg : alg, direct ? enc.cekBits : parseInt(alg.slice(-5, -2), 10), apu, apv), epk = { x: x2, crv, kty };
|
|
62592
|
+
if (kty === "EC" && (epk.y = y), parameters = { epk }, providedApu !== void 0 && (parameters.apu = encode2(providedApu)), providedApv !== void 0 && (parameters.apv = encode2(providedApv)), direct)
|
|
62499
62593
|
return [derivedKey, void 0, parameters];
|
|
62500
62594
|
key = derivedKey;
|
|
62501
62595
|
break;
|
|
@@ -64715,7 +64809,7 @@ var require_index_min = __commonJS({
|
|
|
64715
64809
|
"use strict";
|
|
64716
64810
|
init_utils2();
|
|
64717
64811
|
var j = (u3, t3) => () => (t3 || u3((t3 = { exports: {} }).exports, t3), t3.exports);
|
|
64718
|
-
var
|
|
64812
|
+
var I = j((O) => {
|
|
64719
64813
|
"use strict";
|
|
64720
64814
|
Object.defineProperty(O, "__esModule", { value: true });
|
|
64721
64815
|
O.tracing = O.metrics = void 0;
|
|
@@ -64731,9 +64825,9 @@ var require_index_min = __commonJS({
|
|
|
64731
64825
|
});
|
|
64732
64826
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
64733
64827
|
exports.LRUCache = void 0;
|
|
64734
|
-
var g =
|
|
64828
|
+
var g = I();
|
|
64735
64829
|
var N = P();
|
|
64736
|
-
var
|
|
64830
|
+
var C2 = () => g.metrics.hasSubscribers || g.tracing.hasSubscribers;
|
|
64737
64831
|
var k = /* @__PURE__ */ new Set();
|
|
64738
64832
|
var G = typeof process == "object" && process ? process : {};
|
|
64739
64833
|
var V = (u3, t3, e2, i3) => {
|
|
@@ -64741,8 +64835,8 @@ var require_index_min = __commonJS({
|
|
|
64741
64835
|
};
|
|
64742
64836
|
var q = (u3) => !k.has(u3);
|
|
64743
64837
|
var T = (u3) => !!u3 && u3 === Math.floor(u3) && u3 > 0 && isFinite(u3);
|
|
64744
|
-
var H = (u3) => T(u3) ? u3 <= Math.pow(2, 8) ? Uint8Array : u3 <= Math.pow(2, 16) ? Uint16Array : u3 <= Math.pow(2, 32) ? Uint32Array : u3 <= Number.MAX_SAFE_INTEGER ?
|
|
64745
|
-
var
|
|
64838
|
+
var H = (u3) => T(u3) ? u3 <= Math.pow(2, 8) ? Uint8Array : u3 <= Math.pow(2, 16) ? Uint16Array : u3 <= Math.pow(2, 32) ? Uint32Array : u3 <= Number.MAX_SAFE_INTEGER ? W : null : null;
|
|
64839
|
+
var W = class extends Array {
|
|
64746
64840
|
constructor(t3) {
|
|
64747
64841
|
super(t3), this.fill(0);
|
|
64748
64842
|
}
|
|
@@ -64851,7 +64945,7 @@ var require_index_min = __commonJS({
|
|
|
64851
64945
|
return this.#S;
|
|
64852
64946
|
}
|
|
64853
64947
|
constructor(t3) {
|
|
64854
|
-
let { max: e2 = 0, ttl: i3, ttlResolution: s2 = 1, ttlAutopurge: n3, updateAgeOnGet: o, updateAgeOnHas:
|
|
64948
|
+
let { max: e2 = 0, ttl: i3, ttlResolution: s2 = 1, ttlAutopurge: n3, updateAgeOnGet: o, updateAgeOnHas: l, allowStale: h3, dispose: r3, onInsert: c3, disposeAfter: w, noDisposeOnSet: y, noUpdateTTL: d, maxSize: p = 0, maxEntrySize: f3 = 0, sizeCalculation: _, fetchMethod: a2, memoMethod: S2, noDeleteOnFetchRejection: F2, noDeleteOnStaleGet: b, allowStaleOnFetchRejection: m2, allowStaleOnFetchAbort: A2, ignoreFetchAbort: z, backgroundFetchSize: x2 = 1, perf: v } = t3;
|
|
64855
64949
|
if (this.backgroundFetchSize = x2, v !== void 0 && typeof v?.now != "function") throw new TypeError("perf option must have a now() method if specified");
|
|
64856
64950
|
if (this.#w = v ?? N.defaultPerf, e2 !== 0 && !T(e2)) throw new TypeError("max option must be a nonnegative integer");
|
|
64857
64951
|
let E = e2 ? H(e2) : Array;
|
|
@@ -64862,12 +64956,12 @@ var require_index_min = __commonJS({
|
|
|
64862
64956
|
}
|
|
64863
64957
|
if (S2 !== void 0 && typeof S2 != "function") throw new TypeError("memoMethod must be a function if defined");
|
|
64864
64958
|
if (this.#j = S2, a2 !== void 0 && typeof a2 != "function") throw new TypeError("fetchMethod must be a function if specified");
|
|
64865
|
-
if (this.#x = a2, this.#U = !!a2, this.#s = /* @__PURE__ */ new Map(), this.#i = Array.from({ length: e2 }).fill(void 0), this.#t = Array.from({ length: e2 }).fill(void 0), this.#l = new E(e2), this.#u = new E(e2), this.#a = 0, this.#h = 0, this.#_ = L.create(e2), this.#n = 0, this.#b = 0, typeof r3 == "function" && (this.#m = r3), typeof
|
|
64959
|
+
if (this.#x = a2, this.#U = !!a2, this.#s = /* @__PURE__ */ new Map(), this.#i = Array.from({ length: e2 }).fill(void 0), this.#t = Array.from({ length: e2 }).fill(void 0), this.#l = new E(e2), this.#u = new E(e2), this.#a = 0, this.#h = 0, this.#_ = L.create(e2), this.#n = 0, this.#b = 0, typeof r3 == "function" && (this.#m = r3), typeof c3 == "function" && (this.#W = c3), typeof w == "function" ? (this.#S = w, this.#r = []) : (this.#S = void 0, this.#r = void 0), this.#T = !!this.#m, this.#R = !!this.#W, this.#f = !!this.#S, this.noDisposeOnSet = !!y, this.noUpdateTTL = !!d, this.noDeleteOnFetchRejection = !!F2, this.allowStaleOnFetchRejection = !!m2, this.allowStaleOnFetchAbort = !!A2, this.ignoreFetchAbort = !!z, this.maxEntrySize !== 0) {
|
|
64866
64960
|
if (this.#c !== 0 && !T(this.#c)) throw new TypeError("maxSize must be a positive integer if specified");
|
|
64867
64961
|
if (!T(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
|
|
64868
64962
|
this.#X();
|
|
64869
64963
|
}
|
|
64870
|
-
if (this.allowStale = !!h3, this.noDeleteOnStaleGet = !!b, this.updateAgeOnGet = !!o, this.updateAgeOnHas = !!
|
|
64964
|
+
if (this.allowStale = !!h3, this.noDeleteOnStaleGet = !!b, this.updateAgeOnGet = !!o, this.updateAgeOnHas = !!l, this.ttlResolution = T(s2) || s2 === 0 ? s2 : 1, this.ttlAutopurge = !!n3, this.ttl = i3 || 0, this.ttl) {
|
|
64871
64965
|
if (!T(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
|
|
64872
64966
|
this.#k();
|
|
64873
64967
|
}
|
|
@@ -64881,30 +64975,30 @@ var require_index_min = __commonJS({
|
|
|
64881
64975
|
return this.#s.has(t3) ? 1 / 0 : 0;
|
|
64882
64976
|
}
|
|
64883
64977
|
#k() {
|
|
64884
|
-
let t3 = new
|
|
64978
|
+
let t3 = new W(this.#o), e2 = new W(this.#o);
|
|
64885
64979
|
this.#d = t3, this.#F = e2;
|
|
64886
64980
|
let i3 = this.ttlAutopurge ? Array.from({ length: this.#o }) : void 0;
|
|
64887
|
-
this.#g = i3, this.#H = (h3, r3,
|
|
64888
|
-
e2[h3] = r3 !== 0 ?
|
|
64981
|
+
this.#g = i3, this.#H = (h3, r3, c3 = this.#w.now()) => {
|
|
64982
|
+
e2[h3] = r3 !== 0 ? c3 : 0, t3[h3] = r3, s2(h3, r3);
|
|
64889
64983
|
}, this.#D = (h3) => {
|
|
64890
64984
|
e2[h3] = t3[h3] !== 0 ? this.#w.now() : 0, s2(h3, t3[h3]);
|
|
64891
64985
|
};
|
|
64892
64986
|
let s2 = this.ttlAutopurge ? (h3, r3) => {
|
|
64893
64987
|
if (i3?.[h3] && (clearTimeout(i3[h3]), i3[h3] = void 0), r3 && r3 !== 0 && i3) {
|
|
64894
|
-
let
|
|
64895
|
-
this.#p(h3) ? (this.#v(this.#i[h3], "expire"), i3[h3] = void 0) : s2(h3,
|
|
64988
|
+
let c3 = setTimeout(() => {
|
|
64989
|
+
this.#p(h3) ? (this.#v(this.#i[h3], "expire"), i3[h3] = void 0) : s2(h3, l(h3));
|
|
64896
64990
|
}, r3 + 1);
|
|
64897
|
-
|
|
64991
|
+
c3.unref && c3.unref(), i3[h3] = c3;
|
|
64898
64992
|
}
|
|
64899
64993
|
} : () => {
|
|
64900
64994
|
};
|
|
64901
64995
|
this.#E = (h3, r3) => {
|
|
64902
64996
|
if (t3[r3]) {
|
|
64903
|
-
let
|
|
64904
|
-
if (!
|
|
64905
|
-
h3.ttl =
|
|
64906
|
-
let
|
|
64907
|
-
h3.remainingTTL =
|
|
64997
|
+
let c3 = t3[r3], w = e2[r3];
|
|
64998
|
+
if (!c3 || !w) return;
|
|
64999
|
+
h3.ttl = c3, h3.start = w, h3.now = n3 || o();
|
|
65000
|
+
let y = h3.now - w;
|
|
65001
|
+
h3.remainingTTL = c3 - y;
|
|
64908
65002
|
}
|
|
64909
65003
|
};
|
|
64910
65004
|
let n3 = 0, o = () => {
|
|
@@ -64918,17 +65012,17 @@ var require_index_min = __commonJS({
|
|
|
64918
65012
|
};
|
|
64919
65013
|
this.getRemainingTTL = (h3) => {
|
|
64920
65014
|
let r3 = this.#s.get(h3);
|
|
64921
|
-
return r3 === void 0 ? 0 :
|
|
65015
|
+
return r3 === void 0 ? 0 : l(r3);
|
|
64922
65016
|
};
|
|
64923
|
-
let
|
|
64924
|
-
let r3 = t3[h3],
|
|
64925
|
-
if (!r3 || !
|
|
64926
|
-
let w = (n3 || o()) -
|
|
65017
|
+
let l = (h3) => {
|
|
65018
|
+
let r3 = t3[h3], c3 = e2[h3];
|
|
65019
|
+
if (!r3 || !c3) return 1 / 0;
|
|
65020
|
+
let w = (n3 || o()) - c3;
|
|
64927
65021
|
return r3 - w;
|
|
64928
65022
|
};
|
|
64929
65023
|
this.#p = (h3) => {
|
|
64930
|
-
let r3 = e2[h3],
|
|
64931
|
-
return !!
|
|
65024
|
+
let r3 = e2[h3], c3 = t3[h3];
|
|
65025
|
+
return !!c3 && !!r3 && (n3 || o()) - r3 > c3;
|
|
64932
65026
|
};
|
|
64933
65027
|
}
|
|
64934
65028
|
#D = () => {
|
|
@@ -64939,7 +65033,7 @@ var require_index_min = __commonJS({
|
|
|
64939
65033
|
};
|
|
64940
65034
|
#p = () => false;
|
|
64941
65035
|
#X() {
|
|
64942
|
-
let t3 = new
|
|
65036
|
+
let t3 = new W(this.#o);
|
|
64943
65037
|
this.#b = 0, this.#y = t3, this.#C = (e2) => {
|
|
64944
65038
|
this.#b -= t3[e2], t3[e2] = 0;
|
|
64945
65039
|
}, this.#N = (e2, i3, s2, n3) => {
|
|
@@ -65034,9 +65128,9 @@ var require_index_min = __commonJS({
|
|
|
65034
65128
|
if (s2 === void 0) return;
|
|
65035
65129
|
let n3 = { value: s2 };
|
|
65036
65130
|
if (this.#d && this.#F) {
|
|
65037
|
-
let o = this.#d[e2],
|
|
65038
|
-
if (o &&
|
|
65039
|
-
let h3 = o - (this.#w.now() -
|
|
65131
|
+
let o = this.#d[e2], l = this.#F[e2];
|
|
65132
|
+
if (o && l) {
|
|
65133
|
+
let h3 = o - (this.#w.now() - l);
|
|
65040
65134
|
n3.ttl = h3, n3.start = Date.now();
|
|
65041
65135
|
}
|
|
65042
65136
|
}
|
|
@@ -65050,8 +65144,8 @@ var require_index_min = __commonJS({
|
|
|
65050
65144
|
let o = { value: n3 };
|
|
65051
65145
|
if (this.#d && this.#F) {
|
|
65052
65146
|
o.ttl = this.#d[e2];
|
|
65053
|
-
let
|
|
65054
|
-
o.start = Math.floor(Date.now() -
|
|
65147
|
+
let l = this.#w.now() - this.#F[e2];
|
|
65148
|
+
o.start = Math.floor(Date.now() - l);
|
|
65055
65149
|
}
|
|
65056
65150
|
this.#y && (o.size = this.#y[e2]), t3.unshift([i3, o]);
|
|
65057
65151
|
}
|
|
@@ -65074,30 +65168,30 @@ var require_index_min = __commonJS({
|
|
|
65074
65168
|
return s2 && g.metrics.hasSubscribers && g.metrics.publish(s2), n3;
|
|
65075
65169
|
}
|
|
65076
65170
|
#O(t3, e2, i3, s2) {
|
|
65077
|
-
let { ttl: n3 = this.ttl, start: o, noDisposeOnSet:
|
|
65171
|
+
let { ttl: n3 = this.ttl, start: o, noDisposeOnSet: l = this.noDisposeOnSet, sizeCalculation: h3 = this.sizeCalculation, status: r3 } = i3, c3 = this.#e(e2);
|
|
65078
65172
|
if (e2 === void 0) return r3 && (r3.set = "deleted"), this.delete(t3), this;
|
|
65079
65173
|
let { noUpdateTTL: w = this.noUpdateTTL } = i3;
|
|
65080
|
-
r3 && !
|
|
65081
|
-
let
|
|
65082
|
-
if (this.maxEntrySize &&
|
|
65174
|
+
r3 && !c3 && (r3.value = e2);
|
|
65175
|
+
let y = this.#N(t3, e2, i3.size || 0, h3, r3);
|
|
65176
|
+
if (this.maxEntrySize && y > this.maxEntrySize) return this.#v(t3, "set"), r3 && (r3.set = "miss", r3.maxEntrySizeExceeded = true), this;
|
|
65083
65177
|
let d = this.#n === 0 ? void 0 : this.#s.get(t3);
|
|
65084
|
-
if (d === void 0) d = this.#n === 0 ? this.#h : this.#_.length !== 0 ? this.#_.pop() : this.#n === this.#o ? this.#P(false) : this.#n, this.#i[d] = t3, this.#t[d] = e2, this.#s.set(t3, d), this.#l[this.#h] = d, this.#u[d] = this.#h, this.#h = d, this.#n++, this.#I(d,
|
|
65178
|
+
if (d === void 0) d = this.#n === 0 ? this.#h : this.#_.length !== 0 ? this.#_.pop() : this.#n === this.#o ? this.#P(false) : this.#n, this.#i[d] = t3, this.#t[d] = e2, this.#s.set(t3, d), this.#l[this.#h] = d, this.#u[d] = this.#h, this.#h = d, this.#n++, this.#I(d, y, r3), r3 && (r3.set = "add"), w = false, this.#R && !c3 && this.#W?.(e2, t3, "add");
|
|
65085
65179
|
else {
|
|
65086
65180
|
this.#M(d);
|
|
65087
65181
|
let p = this.#t[d];
|
|
65088
65182
|
if (e2 !== p) {
|
|
65089
|
-
if (!
|
|
65183
|
+
if (!l) if (this.#e(p)) {
|
|
65090
65184
|
p !== s2 && p.__abortController.abort(new Error("replaced"));
|
|
65091
65185
|
let { __staleWhileFetching: f3 } = p;
|
|
65092
65186
|
f3 !== void 0 && f3 !== e2 && (this.#T && this.#m?.(f3, t3, "set"), this.#f && this.#r?.push([f3, t3, "set"]));
|
|
65093
65187
|
} else this.#T && this.#m?.(p, t3, "set"), this.#f && this.#r?.push([p, t3, "set"]);
|
|
65094
|
-
if (this.#C(d), this.#I(d,
|
|
65188
|
+
if (this.#C(d), this.#I(d, y, r3), this.#t[d] = e2, !c3) {
|
|
65095
65189
|
let f3 = p && this.#e(p) ? p.__staleWhileFetching : p, _ = f3 === void 0 ? "add" : e2 !== f3 ? "replace" : "update";
|
|
65096
65190
|
r3 && (r3.set = _, f3 !== void 0 && (r3.oldValue = f3)), this.#R && this.onInsert?.(e2, t3, _);
|
|
65097
65191
|
}
|
|
65098
|
-
} else
|
|
65192
|
+
} else c3 || (r3 && (r3.set = "update"), this.#R && this.onInsert?.(e2, t3, "update"));
|
|
65099
65193
|
}
|
|
65100
|
-
if (n3 !== 0 && !this.#d && this.#k(), this.#d && (w || this.#H(d, n3, o), r3 && this.#E(r3, d)), !
|
|
65194
|
+
if (n3 !== 0 && !this.#d && this.#k(), this.#d && (w || this.#H(d, n3, o), r3 && this.#E(r3, d)), !l && this.#f && this.#r) {
|
|
65101
65195
|
let p = this.#r, f3;
|
|
65102
65196
|
for (; f3 = p?.shift(); ) this.#S?.(...f3);
|
|
65103
65197
|
}
|
|
@@ -65141,7 +65235,7 @@ var require_index_min = __commonJS({
|
|
|
65141
65235
|
return false;
|
|
65142
65236
|
}
|
|
65143
65237
|
peek(t3, e2 = {}) {
|
|
65144
|
-
let { status: i3 =
|
|
65238
|
+
let { status: i3 = C2() ? {} : void 0 } = e2;
|
|
65145
65239
|
i3 && (i3.op = "peek", i3.key = t3, i3.cache = this), e2.status = i3;
|
|
65146
65240
|
let s2 = this.#J(t3, e2);
|
|
65147
65241
|
return g.metrics.hasSubscribers && g.metrics.publish(i3), s2;
|
|
@@ -65152,31 +65246,31 @@ var require_index_min = __commonJS({
|
|
|
65152
65246
|
i3 && (i3.peek = n3 === void 0 ? "miss" : "stale");
|
|
65153
65247
|
return;
|
|
65154
65248
|
}
|
|
65155
|
-
let o = this.#t[n3],
|
|
65156
|
-
return i3 && (
|
|
65249
|
+
let o = this.#t[n3], l = this.#e(o) ? o.__staleWhileFetching : o;
|
|
65250
|
+
return i3 && (l !== void 0 ? (i3.peek = "hit", i3.value = l) : i3.peek = "miss"), l;
|
|
65157
65251
|
}
|
|
65158
65252
|
#G(t3, e2, i3, s2) {
|
|
65159
65253
|
let n3 = e2 === void 0 ? void 0 : this.#t[e2];
|
|
65160
65254
|
if (this.#e(n3)) return n3;
|
|
65161
|
-
let o = new AbortController(), { signal:
|
|
65162
|
-
|
|
65255
|
+
let o = new AbortController(), { signal: l } = i3;
|
|
65256
|
+
l?.addEventListener("abort", () => o.abort(l.reason), { signal: o.signal });
|
|
65163
65257
|
let h3 = { signal: o.signal, options: i3, context: s2 }, r3 = (f3, _ = false) => {
|
|
65164
65258
|
let { aborted: a2 } = o.signal, S2 = i3.ignoreFetchAbort && f3 !== void 0, F2 = i3.ignoreFetchAbort || !!(i3.allowStaleOnFetchAbort && f3 !== void 0);
|
|
65165
65259
|
if (i3.status && (a2 && !_ ? (i3.status.fetchAborted = true, i3.status.fetchError = o.signal.reason, S2 && (i3.status.fetchAbortIgnored = true)) : i3.status.fetchResolved = true), a2 && !S2 && !_) return w(o.signal.reason, F2);
|
|
65166
65260
|
let b = d, m2 = this.#t[e2];
|
|
65167
65261
|
return (m2 === d || m2 === void 0 && S2 && _) && (f3 === void 0 ? b.__staleWhileFetching !== void 0 ? this.#t[e2] = b.__staleWhileFetching : this.#v(t3, "fetch") : (i3.status && (i3.status.fetchUpdated = true), this.#O(t3, f3, h3.options, b))), f3;
|
|
65168
|
-
},
|
|
65262
|
+
}, c3 = (f3) => (i3.status && (i3.status.fetchRejected = true, i3.status.fetchError = f3), w(f3, false)), w = (f3, _) => {
|
|
65169
65263
|
let { aborted: a2 } = o.signal, S2 = a2 && i3.allowStaleOnFetchAbort, F2 = S2 || i3.allowStaleOnFetchRejection, b = F2 || i3.noDeleteOnFetchRejection, m2 = d;
|
|
65170
65264
|
if (this.#t[e2] === d && (!b || !_ && m2.__staleWhileFetching === void 0 ? this.#v(t3, "fetch") : S2 || (this.#t[e2] = m2.__staleWhileFetching)), F2) return i3.status && m2.__staleWhileFetching !== void 0 && (i3.status.returnedStale = true), m2.__staleWhileFetching;
|
|
65171
65265
|
if (m2.__returned === m2) throw f3;
|
|
65172
|
-
},
|
|
65266
|
+
}, y = (f3, _) => {
|
|
65173
65267
|
let a2 = this.#x?.(t3, n3, h3);
|
|
65174
65268
|
o.signal.addEventListener("abort", () => {
|
|
65175
65269
|
(!i3.ignoreFetchAbort || i3.allowStaleOnFetchAbort) && (f3(void 0), i3.allowStaleOnFetchAbort && (f3 = (S2) => r3(S2, true)));
|
|
65176
65270
|
}), a2 && a2 instanceof Promise ? a2.then((S2) => f3(S2 === void 0 ? void 0 : S2), _) : a2 !== void 0 && f3(a2);
|
|
65177
65271
|
};
|
|
65178
65272
|
i3.status && (i3.status.fetchDispatched = true);
|
|
65179
|
-
let d = new Promise(
|
|
65273
|
+
let d = new Promise(y).then(r3, c3), p = Object.assign(d, { __abortController: o, __staleWhileFetching: n3, __returned: void 0 });
|
|
65180
65274
|
return e2 === void 0 ? (this.#O(t3, p, { ...h3.options, status: void 0 }), e2 = this.#s.get(t3)) : this.#t[e2] = p, p;
|
|
65181
65275
|
}
|
|
65182
65276
|
#e(t3) {
|
|
@@ -65185,16 +65279,16 @@ var require_index_min = __commonJS({
|
|
|
65185
65279
|
return !!e2 && e2 instanceof Promise && e2.hasOwnProperty("__staleWhileFetching") && e2.__abortController instanceof AbortController;
|
|
65186
65280
|
}
|
|
65187
65281
|
fetch(t3, e2 = {}) {
|
|
65188
|
-
let i3 = g.tracing.hasSubscribers, { status: s2 =
|
|
65282
|
+
let i3 = g.tracing.hasSubscribers, { status: s2 = C2() ? {} : void 0 } = e2;
|
|
65189
65283
|
e2.status = s2, s2 && e2.context && (s2.context = e2.context);
|
|
65190
65284
|
let n3 = this.#q(t3, e2);
|
|
65191
65285
|
return s2 && i3 && (s2.trace = true, g.tracing.tracePromise(() => n3, s2).catch(() => {
|
|
65192
65286
|
})), n3;
|
|
65193
65287
|
}
|
|
65194
65288
|
async #q(t3, e2 = {}) {
|
|
65195
|
-
let { allowStale: i3 = this.allowStale, updateAgeOnGet: s2 = this.updateAgeOnGet, noDeleteOnStaleGet: n3 = this.noDeleteOnStaleGet, ttl: o = this.ttl, noDisposeOnSet:
|
|
65289
|
+
let { allowStale: i3 = this.allowStale, updateAgeOnGet: s2 = this.updateAgeOnGet, noDeleteOnStaleGet: n3 = this.noDeleteOnStaleGet, ttl: o = this.ttl, noDisposeOnSet: l = this.noDisposeOnSet, size: h3 = 0, sizeCalculation: r3 = this.sizeCalculation, noUpdateTTL: c3 = this.noUpdateTTL, noDeleteOnFetchRejection: w = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: y = this.allowStaleOnFetchRejection, ignoreFetchAbort: d = this.ignoreFetchAbort, allowStaleOnFetchAbort: p = this.allowStaleOnFetchAbort, context: f3, forceRefresh: _ = false, status: a2, signal: S2 } = e2;
|
|
65196
65290
|
if (a2 && (a2.op = "fetch", a2.key = t3, _ && (a2.forceRefresh = true), a2.cache = this), !this.#U) return a2 && (a2.fetch = "get"), this.#L(t3, { allowStale: i3, updateAgeOnGet: s2, noDeleteOnStaleGet: n3, status: a2 });
|
|
65197
|
-
let F2 = { allowStale: i3, updateAgeOnGet: s2, noDeleteOnStaleGet: n3, ttl: o, noDisposeOnSet:
|
|
65291
|
+
let F2 = { allowStale: i3, updateAgeOnGet: s2, noDeleteOnStaleGet: n3, ttl: o, noDisposeOnSet: l, size: h3, sizeCalculation: r3, noUpdateTTL: c3, noDeleteOnFetchRejection: w, allowStaleOnFetchRejection: y, allowStaleOnFetchAbort: p, ignoreFetchAbort: d, status: a2, signal: S2 }, b = this.#s.get(t3);
|
|
65198
65292
|
if (b === void 0) {
|
|
65199
65293
|
a2 && (a2.fetch = "miss");
|
|
65200
65294
|
let m2 = this.#G(t3, b, F2, f3);
|
|
@@ -65212,7 +65306,7 @@ var require_index_min = __commonJS({
|
|
|
65212
65306
|
}
|
|
65213
65307
|
}
|
|
65214
65308
|
forceFetch(t3, e2 = {}) {
|
|
65215
|
-
let i3 = g.tracing.hasSubscribers, { status: s2 =
|
|
65309
|
+
let i3 = g.tracing.hasSubscribers, { status: s2 = C2() ? {} : void 0 } = e2;
|
|
65216
65310
|
e2.status = s2, s2 && e2.context && (s2.context = e2.context);
|
|
65217
65311
|
let n3 = this.#K(t3, e2);
|
|
65218
65312
|
return s2 && i3 && (s2.trace = true, g.tracing.tracePromise(() => n3, s2).catch(() => {
|
|
@@ -65232,12 +65326,12 @@ var require_index_min = __commonJS({
|
|
|
65232
65326
|
#Q(t3, e2 = {}) {
|
|
65233
65327
|
let i3 = this.#j;
|
|
65234
65328
|
if (!i3) throw new Error("no memoMethod provided to constructor");
|
|
65235
|
-
let { context: s2, status: n3, forceRefresh: o, ...
|
|
65329
|
+
let { context: s2, status: n3, forceRefresh: o, ...l } = e2;
|
|
65236
65330
|
n3 && o && (n3.forceRefresh = true);
|
|
65237
|
-
let h3 = this.#L(t3,
|
|
65331
|
+
let h3 = this.#L(t3, l), r3 = o || h3 === void 0;
|
|
65238
65332
|
if (n3 && (n3.memo = r3 ? "miss" : "hit", r3 || (n3.value = h3)), !r3) return h3;
|
|
65239
|
-
let
|
|
65240
|
-
return n3 && (n3.value =
|
|
65333
|
+
let c3 = i3(t3, h3, { options: l, context: s2 });
|
|
65334
|
+
return n3 && (n3.value = c3), this.#O(t3, c3, l), c3;
|
|
65241
65335
|
}
|
|
65242
65336
|
get(t3, e2 = {}) {
|
|
65243
65337
|
let { status: i3 = g.metrics.hasSubscribers ? {} : void 0 } = e2;
|
|
@@ -65246,13 +65340,13 @@ var require_index_min = __commonJS({
|
|
|
65246
65340
|
return i3 && (s2 !== void 0 && (i3.value = s2), g.metrics.hasSubscribers && g.metrics.publish(i3)), s2;
|
|
65247
65341
|
}
|
|
65248
65342
|
#L(t3, e2 = {}) {
|
|
65249
|
-
let { allowStale: i3 = this.allowStale, updateAgeOnGet: s2 = this.updateAgeOnGet, noDeleteOnStaleGet: n3 = this.noDeleteOnStaleGet, status: o } = e2,
|
|
65250
|
-
if (
|
|
65343
|
+
let { allowStale: i3 = this.allowStale, updateAgeOnGet: s2 = this.updateAgeOnGet, noDeleteOnStaleGet: n3 = this.noDeleteOnStaleGet, status: o } = e2, l = this.#s.get(t3);
|
|
65344
|
+
if (l === void 0) {
|
|
65251
65345
|
o && (o.get = "miss");
|
|
65252
65346
|
return;
|
|
65253
65347
|
}
|
|
65254
|
-
let h3 = this.#t[
|
|
65255
|
-
return o && this.#E(o,
|
|
65348
|
+
let h3 = this.#t[l], r3 = this.#e(h3);
|
|
65349
|
+
return o && this.#E(o, l), this.#p(l) ? r3 ? (o && (o.get = "stale-fetching"), i3 && h3.__staleWhileFetching !== void 0 ? (o && (o.returnedStale = true), h3.__staleWhileFetching) : void 0) : (n3 || this.#v(t3, "expire"), o && (o.get = "stale"), i3 ? (o && (o.returnedStale = true), h3) : void 0) : (o && (o.get = r3 ? "fetching" : "hit"), this.#M(l), s2 && this.#D(l), r3 ? h3.__staleWhileFetching : h3);
|
|
65256
65350
|
}
|
|
65257
65351
|
#B(t3, e2) {
|
|
65258
65352
|
this.#u[e2] = t3, this.#l[t3] = e2;
|
|
@@ -65277,8 +65371,8 @@ var require_index_min = __commonJS({
|
|
|
65277
65371
|
else {
|
|
65278
65372
|
let o = this.#u[s2];
|
|
65279
65373
|
this.#l[o] = this.#l[s2];
|
|
65280
|
-
let
|
|
65281
|
-
this.#u[
|
|
65374
|
+
let l = this.#l[s2];
|
|
65375
|
+
this.#u[l] = this.#u[s2];
|
|
65282
65376
|
}
|
|
65283
65377
|
this.#n--, this.#_.push(s2);
|
|
65284
65378
|
}
|
|
@@ -65909,7 +66003,7 @@ var require_lodash8 = __commonJS({
|
|
|
65909
66003
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
65910
66004
|
}
|
|
65911
66005
|
function isArrayLikeObject(value) {
|
|
65912
|
-
return
|
|
66006
|
+
return isObjectLike2(value) && isArrayLike(value);
|
|
65913
66007
|
}
|
|
65914
66008
|
var isBuffer = nativeIsBuffer || stubFalse;
|
|
65915
66009
|
function isFunction(value) {
|
|
@@ -65923,7 +66017,7 @@ var require_lodash8 = __commonJS({
|
|
|
65923
66017
|
var type = typeof value;
|
|
65924
66018
|
return !!value && (type == "object" || type == "function");
|
|
65925
66019
|
}
|
|
65926
|
-
function
|
|
66020
|
+
function isObjectLike2(value) {
|
|
65927
66021
|
return !!value && typeof value == "object";
|
|
65928
66022
|
}
|
|
65929
66023
|
function keys(object) {
|
|
@@ -66174,7 +66268,7 @@ var require_lib = __commonJS({
|
|
|
66174
66268
|
var require_cache = __commonJS({
|
|
66175
66269
|
"node_modules/.bun/jwks-rsa@4.1.0/node_modules/jwks-rsa/src/wrappers/cache.js"(exports, module) {
|
|
66176
66270
|
init_utils2();
|
|
66177
|
-
var logger =
|
|
66271
|
+
var logger = require_src()("jwks");
|
|
66178
66272
|
var memoizer = require_lib();
|
|
66179
66273
|
var { LRUCache } = require_index_min();
|
|
66180
66274
|
var { promisify: promisify2, callbackify } = __require("util");
|
|
@@ -66498,7 +66592,7 @@ var require_JwksRateLimitError = __commonJS({
|
|
|
66498
66592
|
var require_rateLimit = __commonJS({
|
|
66499
66593
|
"node_modules/.bun/jwks-rsa@4.1.0/node_modules/jwks-rsa/src/wrappers/rateLimit.js"(exports, module) {
|
|
66500
66594
|
init_utils2();
|
|
66501
|
-
var logger =
|
|
66595
|
+
var logger = require_src()("jwks");
|
|
66502
66596
|
var { RateLimiter } = require_limiter();
|
|
66503
66597
|
var JwksRateLimitError = require_JwksRateLimitError();
|
|
66504
66598
|
function rateLimitWrapper(client, { jwksRequestsPerMinute = 10 }) {
|
|
@@ -66608,7 +66702,7 @@ var require_SigningKeyNotFoundError = __commonJS({
|
|
|
66608
66702
|
var require_JwksClient = __commonJS({
|
|
66609
66703
|
"node_modules/.bun/jwks-rsa@4.1.0/node_modules/jwks-rsa/src/JwksClient.js"(exports, module) {
|
|
66610
66704
|
init_utils2();
|
|
66611
|
-
var logger =
|
|
66705
|
+
var logger = require_src()("jwks");
|
|
66612
66706
|
var { retrieveSigningKeys } = require_utils6();
|
|
66613
66707
|
var { request, cacheSigningKey, rateLimitSigningKey, getKeysInterceptor, callbackSupport } = require_wrappers();
|
|
66614
66708
|
var JwksError = require_JwksError();
|
|
@@ -66907,7 +67001,7 @@ var require_passport = __commonJS({
|
|
|
66907
67001
|
});
|
|
66908
67002
|
|
|
66909
67003
|
// node_modules/.bun/jwks-rsa@4.1.0/node_modules/jwks-rsa/src/index.js
|
|
66910
|
-
var
|
|
67004
|
+
var require_src6 = __commonJS({
|
|
66911
67005
|
"node_modules/.bun/jwks-rsa@4.1.0/node_modules/jwks-rsa/src/index.js"(exports, module) {
|
|
66912
67006
|
init_utils2();
|
|
66913
67007
|
var { JwksClient } = require_JwksClient();
|
|
@@ -66932,9 +67026,9 @@ var require_src7 = __commonJS({
|
|
|
66932
67026
|
}
|
|
66933
67027
|
});
|
|
66934
67028
|
|
|
66935
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
67029
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/jwt.js
|
|
66936
67030
|
var require_jwt = __commonJS({
|
|
66937
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
67031
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/utils/jwt.js"(exports) {
|
|
66938
67032
|
"use strict";
|
|
66939
67033
|
init_utils2();
|
|
66940
67034
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -66943,7 +67037,7 @@ var require_jwt = __commonJS({
|
|
|
66943
67037
|
exports.decodeJwt = decodeJwt2;
|
|
66944
67038
|
var validator = require_validator();
|
|
66945
67039
|
var jwt = require_jsonwebtoken();
|
|
66946
|
-
var jwks =
|
|
67040
|
+
var jwks = require_src6();
|
|
66947
67041
|
var api_request_1 = require_api_request();
|
|
66948
67042
|
exports.ALGORITHM_RS256 = "RS256";
|
|
66949
67043
|
exports.ALGORITHM_ES256 = "ES256";
|
|
@@ -67192,9 +67286,9 @@ var require_jwt = __commonJS({
|
|
|
67192
67286
|
}
|
|
67193
67287
|
});
|
|
67194
67288
|
|
|
67195
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
67289
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/token-verifier.js
|
|
67196
67290
|
var require_token_verifier = __commonJS({
|
|
67197
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
67291
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/token-verifier.js"(exports) {
|
|
67198
67292
|
"use strict";
|
|
67199
67293
|
init_utils2();
|
|
67200
67294
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -67403,9 +67497,9 @@ var require_token_verifier = __commonJS({
|
|
|
67403
67497
|
}
|
|
67404
67498
|
});
|
|
67405
67499
|
|
|
67406
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
67500
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/user-record.js
|
|
67407
67501
|
var require_user_record = __commonJS({
|
|
67408
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
67502
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/user-record.js"(exports) {
|
|
67409
67503
|
"use strict";
|
|
67410
67504
|
init_utils2();
|
|
67411
67505
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -67742,9 +67836,9 @@ var require_user_record = __commonJS({
|
|
|
67742
67836
|
}
|
|
67743
67837
|
});
|
|
67744
67838
|
|
|
67745
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
67839
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/base-auth.js
|
|
67746
67840
|
var require_base_auth = __commonJS({
|
|
67747
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
67841
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/base-auth.js"(exports) {
|
|
67748
67842
|
"use strict";
|
|
67749
67843
|
init_utils2();
|
|
67750
67844
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -68621,9 +68715,9 @@ var require_base_auth = __commonJS({
|
|
|
68621
68715
|
}
|
|
68622
68716
|
});
|
|
68623
68717
|
|
|
68624
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
68718
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/tenant-manager.js
|
|
68625
68719
|
var require_tenant_manager = __commonJS({
|
|
68626
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
68720
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/tenant-manager.js"(exports) {
|
|
68627
68721
|
"use strict";
|
|
68628
68722
|
init_utils2();
|
|
68629
68723
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -68645,6 +68739,9 @@ var require_tenant_manager = __commonJS({
|
|
|
68645
68739
|
* @internal
|
|
68646
68740
|
*/
|
|
68647
68741
|
constructor(app, tenantId, emHost) {
|
|
68742
|
+
if (!validator.isTenantId(tenantId)) {
|
|
68743
|
+
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID);
|
|
68744
|
+
}
|
|
68648
68745
|
const emIsSet = emHost !== void 0;
|
|
68649
68746
|
super(app, new auth_api_request_1.TenantAwareAuthRequestHandler(app, tenantId, emHost), (0, base_auth_1.createFirebaseTokenGenerator)(app, tenantId, emIsSet ? !!emHost : void 0));
|
|
68650
68747
|
utils.addReadonlyGetter(this, "tenantId", tenantId);
|
|
@@ -68710,7 +68807,7 @@ var require_tenant_manager = __commonJS({
|
|
|
68710
68807
|
* @returns The `TenantAwareAuth` instance corresponding to this tenant identifier.
|
|
68711
68808
|
*/
|
|
68712
68809
|
authForTenant(tenantId) {
|
|
68713
|
-
if (!validator.
|
|
68810
|
+
if (!validator.isTenantId(tenantId)) {
|
|
68714
68811
|
throw new error_1.FirebaseAuthError(error_1.authClientErrorCode.INVALID_TENANT_ID);
|
|
68715
68812
|
}
|
|
68716
68813
|
if (typeof this.tenantsMap[tenantId] === "undefined") {
|
|
@@ -68802,9 +68899,9 @@ var require_tenant_manager = __commonJS({
|
|
|
68802
68899
|
}
|
|
68803
68900
|
});
|
|
68804
68901
|
|
|
68805
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
68902
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/project-config-manager.js
|
|
68806
68903
|
var require_project_config_manager = __commonJS({
|
|
68807
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
68904
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/project-config-manager.js"(exports) {
|
|
68808
68905
|
"use strict";
|
|
68809
68906
|
init_utils2();
|
|
68810
68907
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -68850,9 +68947,9 @@ var require_project_config_manager = __commonJS({
|
|
|
68850
68947
|
}
|
|
68851
68948
|
});
|
|
68852
68949
|
|
|
68853
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
68950
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/auth.js
|
|
68854
68951
|
var require_auth = __commonJS({
|
|
68855
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
68952
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/auth.js"(exports) {
|
|
68856
68953
|
"use strict";
|
|
68857
68954
|
init_utils2();
|
|
68858
68955
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -68902,9 +68999,9 @@ var require_auth = __commonJS({
|
|
|
68902
68999
|
}
|
|
68903
69000
|
});
|
|
68904
69001
|
|
|
68905
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
69002
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/index.js
|
|
68906
69003
|
var require_auth2 = __commonJS({
|
|
68907
|
-
"node_modules/.bun/firebase-admin@14.5.
|
|
69004
|
+
"node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/auth/index.js"(exports) {
|
|
68908
69005
|
"use strict";
|
|
68909
69006
|
init_utils2();
|
|
68910
69007
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -69433,6 +69530,14 @@ var COMMAND_REGISTRY = [
|
|
|
69433
69530
|
description: "platform (firebase|vercel) for runtime target"
|
|
69434
69531
|
},
|
|
69435
69532
|
{ flags: "-p, --project <project>", description: "project ID" },
|
|
69533
|
+
{
|
|
69534
|
+
flags: "--app <app>",
|
|
69535
|
+
description: "Vercel app to sync (apps/<app>)"
|
|
69536
|
+
},
|
|
69537
|
+
{
|
|
69538
|
+
flags: "--vercel-project <id>",
|
|
69539
|
+
description: "Vercel project ID (overrides VERCEL_PROJECT_ID from the app .env)"
|
|
69540
|
+
},
|
|
69436
69541
|
{
|
|
69437
69542
|
flags: "--repo <repo>",
|
|
69438
69543
|
description: "GitHub repo (owner/repo) for github target"
|
|
@@ -69833,11 +69938,11 @@ function parseCommonOptions(argv) {
|
|
|
69833
69938
|
|
|
69834
69939
|
// packages/tooling/src/internal/make-admin.ts
|
|
69835
69940
|
init_utils2();
|
|
69836
|
-
|
|
69837
|
-
|
|
69941
|
+
init_dist5();
|
|
69942
|
+
init_dist9();
|
|
69838
69943
|
init_app();
|
|
69839
69944
|
|
|
69840
|
-
// node_modules/.bun/firebase-admin@14.5.
|
|
69945
|
+
// node_modules/.bun/firebase-admin@14.5.1+c188cf0323c41673/node_modules/firebase-admin/lib/esm/auth/index.js
|
|
69841
69946
|
init_utils2();
|
|
69842
69947
|
var import_auth = __toESM(require_auth2(), 1);
|
|
69843
69948
|
var Auth = import_auth.default.Auth;
|
|
@@ -69859,6 +69964,7 @@ var getAuth = import_auth.default.getAuth;
|
|
|
69859
69964
|
|
|
69860
69965
|
// packages/tooling/src/internal/make-admin.ts
|
|
69861
69966
|
init_app_selector();
|
|
69967
|
+
init_error_handling();
|
|
69862
69968
|
init_pathResolver();
|
|
69863
69969
|
init_secrets_resolver();
|
|
69864
69970
|
function parseMakeAdminArgs(args) {
|
|
@@ -70000,7 +70106,7 @@ async function makeFirebaseAdmin(auth, userId, projectId, role = "admin") {
|
|
|
70000
70106
|
"Note: User must sign out and sign in again for changes to take effect."
|
|
70001
70107
|
);
|
|
70002
70108
|
} catch (error2) {
|
|
70003
|
-
if (error2
|
|
70109
|
+
if (getErrorField(error2, "code") === "auth/user-not-found")
|
|
70004
70110
|
throw new Error(`User with ID ${userId} not found in Firebase Auth`);
|
|
70005
70111
|
throw error2;
|
|
70006
70112
|
}
|
|
@@ -70067,7 +70173,7 @@ async function main(args = []) {
|
|
|
70067
70173
|
spinner2.stop("Done");
|
|
70068
70174
|
outro(`Success`);
|
|
70069
70175
|
} catch (error2) {
|
|
70070
|
-
log.error(`Error: ${error2
|
|
70176
|
+
log.error(`Error: ${getErrorMessage(error2)}`);
|
|
70071
70177
|
process.exit(1);
|
|
70072
70178
|
}
|
|
70073
70179
|
}
|
|
@@ -70156,7 +70262,7 @@ firebase-admin/lib/auth/auth-api-request.js:
|
|
|
70156
70262
|
firebase-admin/lib/auth/token-generator.js:
|
|
70157
70263
|
firebase-admin/lib/auth/user-record.js:
|
|
70158
70264
|
firebase-admin/lib/auth/auth.js:
|
|
70159
|
-
(*! firebase-admin v14.5.
|
|
70265
|
+
(*! firebase-admin v14.5.1 *)
|
|
70160
70266
|
(*!
|
|
70161
70267
|
* @license
|
|
70162
70268
|
* Copyright 2017 Google LLC
|
|
@@ -70176,7 +70282,7 @@ firebase-admin/lib/auth/auth.js:
|
|
|
70176
70282
|
|
|
70177
70283
|
firebase-admin/lib/app/error.js:
|
|
70178
70284
|
firebase-admin/lib/auth/error.js:
|
|
70179
|
-
(*! firebase-admin v14.5.
|
|
70285
|
+
(*! firebase-admin v14.5.1 *)
|
|
70180
70286
|
(*!
|
|
70181
70287
|
* Copyright 2026 Google LLC
|
|
70182
70288
|
*
|
|
@@ -70194,7 +70300,7 @@ firebase-admin/lib/auth/error.js:
|
|
|
70194
70300
|
*)
|
|
70195
70301
|
|
|
70196
70302
|
firebase-admin/lib/app/credential-internal.js:
|
|
70197
|
-
(*! firebase-admin v14.5.
|
|
70303
|
+
(*! firebase-admin v14.5.1 *)
|
|
70198
70304
|
(*!
|
|
70199
70305
|
* @license
|
|
70200
70306
|
* Copyright 2020 Google LLC
|
|
@@ -70216,7 +70322,7 @@ firebase-admin/lib/app/lifecycle.js:
|
|
|
70216
70322
|
firebase-admin/lib/app/credential-factory.js:
|
|
70217
70323
|
firebase-admin/lib/app/index.js:
|
|
70218
70324
|
firebase-admin/lib/utils/crypto-signer.js:
|
|
70219
|
-
(*! firebase-admin v14.5.
|
|
70325
|
+
(*! firebase-admin v14.5.1 *)
|
|
70220
70326
|
(*!
|
|
70221
70327
|
* @license
|
|
70222
70328
|
* Copyright 2021 Google LLC
|
|
@@ -70238,7 +70344,7 @@ firebase-admin/lib/auth/user-import-builder.js:
|
|
|
70238
70344
|
firebase-admin/lib/auth/action-code-settings-builder.js:
|
|
70239
70345
|
firebase-admin/lib/auth/auth-config.js:
|
|
70240
70346
|
firebase-admin/lib/auth/token-verifier.js:
|
|
70241
|
-
(*! firebase-admin v14.5.
|
|
70347
|
+
(*! firebase-admin v14.5.1 *)
|
|
70242
70348
|
(*!
|
|
70243
70349
|
* Copyright 2018 Google LLC
|
|
70244
70350
|
*
|
|
@@ -70257,7 +70363,7 @@ firebase-admin/lib/auth/token-verifier.js:
|
|
|
70257
70363
|
|
|
70258
70364
|
firebase-admin/lib/auth/tenant.js:
|
|
70259
70365
|
firebase-admin/lib/auth/tenant-manager.js:
|
|
70260
|
-
(*! firebase-admin v14.5.
|
|
70366
|
+
(*! firebase-admin v14.5.1 *)
|
|
70261
70367
|
(*!
|
|
70262
70368
|
* Copyright 2019 Google LLC
|
|
70263
70369
|
*
|
|
@@ -70276,7 +70382,7 @@ firebase-admin/lib/auth/tenant-manager.js:
|
|
|
70276
70382
|
|
|
70277
70383
|
firebase-admin/lib/auth/identifier.js:
|
|
70278
70384
|
firebase-admin/lib/auth/index.js:
|
|
70279
|
-
(*! firebase-admin v14.5.
|
|
70385
|
+
(*! firebase-admin v14.5.1 *)
|
|
70280
70386
|
(*!
|
|
70281
70387
|
* Copyright 2020 Google LLC
|
|
70282
70388
|
*
|
|
@@ -70294,7 +70400,7 @@ firebase-admin/lib/auth/index.js:
|
|
|
70294
70400
|
*)
|
|
70295
70401
|
|
|
70296
70402
|
firebase-admin/lib/auth/project-config.js:
|
|
70297
|
-
(*! firebase-admin v14.5.
|
|
70403
|
+
(*! firebase-admin v14.5.1 *)
|
|
70298
70404
|
(*!
|
|
70299
70405
|
* Copyright 2022 Google LLC
|
|
70300
70406
|
*
|
|
@@ -70313,7 +70419,7 @@ firebase-admin/lib/auth/project-config.js:
|
|
|
70313
70419
|
|
|
70314
70420
|
firebase-admin/lib/utils/jwt.js:
|
|
70315
70421
|
firebase-admin/lib/auth/base-auth.js:
|
|
70316
|
-
(*! firebase-admin v14.5.
|
|
70422
|
+
(*! firebase-admin v14.5.1 *)
|
|
70317
70423
|
(*!
|
|
70318
70424
|
* Copyright 2021 Google LLC
|
|
70319
70425
|
*
|
|
@@ -70331,5 +70437,5 @@ firebase-admin/lib/auth/base-auth.js:
|
|
|
70331
70437
|
*)
|
|
70332
70438
|
|
|
70333
70439
|
firebase-admin/lib/auth/project-config-manager.js:
|
|
70334
|
-
(*! firebase-admin v14.5.
|
|
70440
|
+
(*! firebase-admin v14.5.1 *)
|
|
70335
70441
|
*/
|