@releasekit/release 0.7.17 → 0.7.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1088 -148
- package/dist/dispatcher.js +1164 -224
- package/package.json +6 -6
package/dist/cli.js
CHANGED
|
@@ -560,6 +560,909 @@ var init_source = __esm({
|
|
|
560
560
|
}
|
|
561
561
|
});
|
|
562
562
|
|
|
563
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/error.js
|
|
564
|
+
function getLineColFromPtr(string, ptr) {
|
|
565
|
+
let lines = string.slice(0, ptr).split(/\r\n|\n|\r/g);
|
|
566
|
+
return [lines.length, lines.pop().length + 1];
|
|
567
|
+
}
|
|
568
|
+
function makeCodeBlock(string, line, column) {
|
|
569
|
+
let lines = string.split(/\r\n|\n|\r/g);
|
|
570
|
+
let codeblock = "";
|
|
571
|
+
let numberLen = (Math.log10(line + 1) | 0) + 1;
|
|
572
|
+
for (let i = line - 1; i <= line + 1; i++) {
|
|
573
|
+
let l = lines[i - 1];
|
|
574
|
+
if (!l)
|
|
575
|
+
continue;
|
|
576
|
+
codeblock += i.toString().padEnd(numberLen, " ");
|
|
577
|
+
codeblock += ": ";
|
|
578
|
+
codeblock += l;
|
|
579
|
+
codeblock += "\n";
|
|
580
|
+
if (i === line) {
|
|
581
|
+
codeblock += " ".repeat(numberLen + column + 2);
|
|
582
|
+
codeblock += "^\n";
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
return codeblock;
|
|
586
|
+
}
|
|
587
|
+
var TomlError;
|
|
588
|
+
var init_error = __esm({
|
|
589
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/error.js"() {
|
|
590
|
+
"use strict";
|
|
591
|
+
TomlError = class extends Error {
|
|
592
|
+
line;
|
|
593
|
+
column;
|
|
594
|
+
codeblock;
|
|
595
|
+
constructor(message, options) {
|
|
596
|
+
const [line, column] = getLineColFromPtr(options.toml, options.ptr);
|
|
597
|
+
const codeblock = makeCodeBlock(options.toml, line, column);
|
|
598
|
+
super(`Invalid TOML document: ${message}
|
|
599
|
+
|
|
600
|
+
${codeblock}`, options);
|
|
601
|
+
this.line = line;
|
|
602
|
+
this.column = column;
|
|
603
|
+
this.codeblock = codeblock;
|
|
604
|
+
}
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
|
|
609
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/util.js
|
|
610
|
+
function isEscaped(str3, ptr) {
|
|
611
|
+
let i = 0;
|
|
612
|
+
while (str3[ptr - ++i] === "\\")
|
|
613
|
+
;
|
|
614
|
+
return --i && i % 2;
|
|
615
|
+
}
|
|
616
|
+
function indexOfNewline(str3, start = 0, end = str3.length) {
|
|
617
|
+
let idx = str3.indexOf("\n", start);
|
|
618
|
+
if (str3[idx - 1] === "\r")
|
|
619
|
+
idx--;
|
|
620
|
+
return idx <= end ? idx : -1;
|
|
621
|
+
}
|
|
622
|
+
function skipComment(str3, ptr) {
|
|
623
|
+
for (let i = ptr; i < str3.length; i++) {
|
|
624
|
+
let c = str3[i];
|
|
625
|
+
if (c === "\n")
|
|
626
|
+
return i;
|
|
627
|
+
if (c === "\r" && str3[i + 1] === "\n")
|
|
628
|
+
return i + 1;
|
|
629
|
+
if (c < " " && c !== " " || c === "\x7F") {
|
|
630
|
+
throw new TomlError("control characters are not allowed in comments", {
|
|
631
|
+
toml: str3,
|
|
632
|
+
ptr
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
return str3.length;
|
|
637
|
+
}
|
|
638
|
+
function skipVoid(str3, ptr, banNewLines, banComments) {
|
|
639
|
+
let c;
|
|
640
|
+
while (1) {
|
|
641
|
+
while ((c = str3[ptr]) === " " || c === " " || !banNewLines && (c === "\n" || c === "\r" && str3[ptr + 1] === "\n"))
|
|
642
|
+
ptr++;
|
|
643
|
+
if (banComments || c !== "#")
|
|
644
|
+
break;
|
|
645
|
+
ptr = skipComment(str3, ptr);
|
|
646
|
+
}
|
|
647
|
+
return ptr;
|
|
648
|
+
}
|
|
649
|
+
function skipUntil(str3, ptr, sep4, end, banNewLines = false) {
|
|
650
|
+
if (!end) {
|
|
651
|
+
ptr = indexOfNewline(str3, ptr);
|
|
652
|
+
return ptr < 0 ? str3.length : ptr;
|
|
653
|
+
}
|
|
654
|
+
for (let i = ptr; i < str3.length; i++) {
|
|
655
|
+
let c = str3[i];
|
|
656
|
+
if (c === "#") {
|
|
657
|
+
i = indexOfNewline(str3, i);
|
|
658
|
+
} else if (c === sep4) {
|
|
659
|
+
return i + 1;
|
|
660
|
+
} else if (c === end || banNewLines && (c === "\n" || c === "\r" && str3[i + 1] === "\n")) {
|
|
661
|
+
return i;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
throw new TomlError("cannot find end of structure", {
|
|
665
|
+
toml: str3,
|
|
666
|
+
ptr
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
function getStringEnd(str3, seek) {
|
|
670
|
+
let first2 = str3[seek];
|
|
671
|
+
let target = first2 === str3[seek + 1] && str3[seek + 1] === str3[seek + 2] ? str3.slice(seek, seek + 3) : first2;
|
|
672
|
+
seek += target.length - 1;
|
|
673
|
+
do
|
|
674
|
+
seek = str3.indexOf(target, ++seek);
|
|
675
|
+
while (seek > -1 && first2 !== "'" && isEscaped(str3, seek));
|
|
676
|
+
if (seek > -1) {
|
|
677
|
+
seek += target.length;
|
|
678
|
+
if (target.length > 1) {
|
|
679
|
+
if (str3[seek] === first2)
|
|
680
|
+
seek++;
|
|
681
|
+
if (str3[seek] === first2)
|
|
682
|
+
seek++;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
return seek;
|
|
686
|
+
}
|
|
687
|
+
var init_util = __esm({
|
|
688
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/util.js"() {
|
|
689
|
+
"use strict";
|
|
690
|
+
init_error();
|
|
691
|
+
}
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/date.js
|
|
695
|
+
var DATE_TIME_RE, TomlDate;
|
|
696
|
+
var init_date = __esm({
|
|
697
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/date.js"() {
|
|
698
|
+
"use strict";
|
|
699
|
+
DATE_TIME_RE = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;
|
|
700
|
+
TomlDate = class _TomlDate extends Date {
|
|
701
|
+
#hasDate = false;
|
|
702
|
+
#hasTime = false;
|
|
703
|
+
#offset = null;
|
|
704
|
+
constructor(date2) {
|
|
705
|
+
let hasDate = true;
|
|
706
|
+
let hasTime = true;
|
|
707
|
+
let offset2 = "Z";
|
|
708
|
+
if (typeof date2 === "string") {
|
|
709
|
+
let match2 = date2.match(DATE_TIME_RE);
|
|
710
|
+
if (match2) {
|
|
711
|
+
if (!match2[1]) {
|
|
712
|
+
hasDate = false;
|
|
713
|
+
date2 = `0000-01-01T${date2}`;
|
|
714
|
+
}
|
|
715
|
+
hasTime = !!match2[2];
|
|
716
|
+
hasTime && date2[10] === " " && (date2 = date2.replace(" ", "T"));
|
|
717
|
+
if (match2[2] && +match2[2] > 23) {
|
|
718
|
+
date2 = "";
|
|
719
|
+
} else {
|
|
720
|
+
offset2 = match2[3] || null;
|
|
721
|
+
date2 = date2.toUpperCase();
|
|
722
|
+
if (!offset2 && hasTime)
|
|
723
|
+
date2 += "Z";
|
|
724
|
+
}
|
|
725
|
+
} else {
|
|
726
|
+
date2 = "";
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
super(date2);
|
|
730
|
+
if (!isNaN(this.getTime())) {
|
|
731
|
+
this.#hasDate = hasDate;
|
|
732
|
+
this.#hasTime = hasTime;
|
|
733
|
+
this.#offset = offset2;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
isDateTime() {
|
|
737
|
+
return this.#hasDate && this.#hasTime;
|
|
738
|
+
}
|
|
739
|
+
isLocal() {
|
|
740
|
+
return !this.#hasDate || !this.#hasTime || !this.#offset;
|
|
741
|
+
}
|
|
742
|
+
isDate() {
|
|
743
|
+
return this.#hasDate && !this.#hasTime;
|
|
744
|
+
}
|
|
745
|
+
isTime() {
|
|
746
|
+
return this.#hasTime && !this.#hasDate;
|
|
747
|
+
}
|
|
748
|
+
isValid() {
|
|
749
|
+
return this.#hasDate || this.#hasTime;
|
|
750
|
+
}
|
|
751
|
+
toISOString() {
|
|
752
|
+
let iso = super.toISOString();
|
|
753
|
+
if (this.isDate())
|
|
754
|
+
return iso.slice(0, 10);
|
|
755
|
+
if (this.isTime())
|
|
756
|
+
return iso.slice(11, 23);
|
|
757
|
+
if (this.#offset === null)
|
|
758
|
+
return iso.slice(0, -1);
|
|
759
|
+
if (this.#offset === "Z")
|
|
760
|
+
return iso;
|
|
761
|
+
let offset2 = +this.#offset.slice(1, 3) * 60 + +this.#offset.slice(4, 6);
|
|
762
|
+
offset2 = this.#offset[0] === "-" ? offset2 : -offset2;
|
|
763
|
+
let offsetDate = new Date(this.getTime() - offset2 * 6e4);
|
|
764
|
+
return offsetDate.toISOString().slice(0, -1) + this.#offset;
|
|
765
|
+
}
|
|
766
|
+
static wrapAsOffsetDateTime(jsDate, offset2 = "Z") {
|
|
767
|
+
let date2 = new _TomlDate(jsDate);
|
|
768
|
+
date2.#offset = offset2;
|
|
769
|
+
return date2;
|
|
770
|
+
}
|
|
771
|
+
static wrapAsLocalDateTime(jsDate) {
|
|
772
|
+
let date2 = new _TomlDate(jsDate);
|
|
773
|
+
date2.#offset = null;
|
|
774
|
+
return date2;
|
|
775
|
+
}
|
|
776
|
+
static wrapAsLocalDate(jsDate) {
|
|
777
|
+
let date2 = new _TomlDate(jsDate);
|
|
778
|
+
date2.#hasTime = false;
|
|
779
|
+
date2.#offset = null;
|
|
780
|
+
return date2;
|
|
781
|
+
}
|
|
782
|
+
static wrapAsLocalTime(jsDate) {
|
|
783
|
+
let date2 = new _TomlDate(jsDate);
|
|
784
|
+
date2.#hasDate = false;
|
|
785
|
+
date2.#offset = null;
|
|
786
|
+
return date2;
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
}
|
|
790
|
+
});
|
|
791
|
+
|
|
792
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/primitive.js
|
|
793
|
+
function parseString(str3, ptr = 0, endPtr = str3.length) {
|
|
794
|
+
let isLiteral = str3[ptr] === "'";
|
|
795
|
+
let isMultiline = str3[ptr++] === str3[ptr] && str3[ptr] === str3[ptr + 1];
|
|
796
|
+
if (isMultiline) {
|
|
797
|
+
endPtr -= 2;
|
|
798
|
+
if (str3[ptr += 2] === "\r")
|
|
799
|
+
ptr++;
|
|
800
|
+
if (str3[ptr] === "\n")
|
|
801
|
+
ptr++;
|
|
802
|
+
}
|
|
803
|
+
let tmp = 0;
|
|
804
|
+
let isEscape;
|
|
805
|
+
let parsed = "";
|
|
806
|
+
let sliceStart = ptr;
|
|
807
|
+
while (ptr < endPtr - 1) {
|
|
808
|
+
let c = str3[ptr++];
|
|
809
|
+
if (c === "\n" || c === "\r" && str3[ptr] === "\n") {
|
|
810
|
+
if (!isMultiline) {
|
|
811
|
+
throw new TomlError("newlines are not allowed in strings", {
|
|
812
|
+
toml: str3,
|
|
813
|
+
ptr: ptr - 1
|
|
814
|
+
});
|
|
815
|
+
}
|
|
816
|
+
} else if (c < " " && c !== " " || c === "\x7F") {
|
|
817
|
+
throw new TomlError("control characters are not allowed in strings", {
|
|
818
|
+
toml: str3,
|
|
819
|
+
ptr: ptr - 1
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
if (isEscape) {
|
|
823
|
+
isEscape = false;
|
|
824
|
+
if (c === "x" || c === "u" || c === "U") {
|
|
825
|
+
let code = str3.slice(ptr, ptr += c === "x" ? 2 : c === "u" ? 4 : 8);
|
|
826
|
+
if (!ESCAPE_REGEX.test(code)) {
|
|
827
|
+
throw new TomlError("invalid unicode escape", {
|
|
828
|
+
toml: str3,
|
|
829
|
+
ptr: tmp
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
try {
|
|
833
|
+
parsed += String.fromCodePoint(parseInt(code, 16));
|
|
834
|
+
} catch {
|
|
835
|
+
throw new TomlError("invalid unicode escape", {
|
|
836
|
+
toml: str3,
|
|
837
|
+
ptr: tmp
|
|
838
|
+
});
|
|
839
|
+
}
|
|
840
|
+
} else if (isMultiline && (c === "\n" || c === " " || c === " " || c === "\r")) {
|
|
841
|
+
ptr = skipVoid(str3, ptr - 1, true);
|
|
842
|
+
if (str3[ptr] !== "\n" && str3[ptr] !== "\r") {
|
|
843
|
+
throw new TomlError("invalid escape: only line-ending whitespace may be escaped", {
|
|
844
|
+
toml: str3,
|
|
845
|
+
ptr: tmp
|
|
846
|
+
});
|
|
847
|
+
}
|
|
848
|
+
ptr = skipVoid(str3, ptr);
|
|
849
|
+
} else if (c in ESC_MAP) {
|
|
850
|
+
parsed += ESC_MAP[c];
|
|
851
|
+
} else {
|
|
852
|
+
throw new TomlError("unrecognized escape sequence", {
|
|
853
|
+
toml: str3,
|
|
854
|
+
ptr: tmp
|
|
855
|
+
});
|
|
856
|
+
}
|
|
857
|
+
sliceStart = ptr;
|
|
858
|
+
} else if (!isLiteral && c === "\\") {
|
|
859
|
+
tmp = ptr - 1;
|
|
860
|
+
isEscape = true;
|
|
861
|
+
parsed += str3.slice(sliceStart, tmp);
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
return parsed + str3.slice(sliceStart, endPtr - 1);
|
|
865
|
+
}
|
|
866
|
+
function parseValue(value, toml, ptr, integersAsBigInt) {
|
|
867
|
+
if (value === "true")
|
|
868
|
+
return true;
|
|
869
|
+
if (value === "false")
|
|
870
|
+
return false;
|
|
871
|
+
if (value === "-inf")
|
|
872
|
+
return -Infinity;
|
|
873
|
+
if (value === "inf" || value === "+inf")
|
|
874
|
+
return Infinity;
|
|
875
|
+
if (value === "nan" || value === "+nan" || value === "-nan")
|
|
876
|
+
return NaN;
|
|
877
|
+
if (value === "-0")
|
|
878
|
+
return integersAsBigInt ? 0n : 0;
|
|
879
|
+
let isInt = INT_REGEX.test(value);
|
|
880
|
+
if (isInt || FLOAT_REGEX.test(value)) {
|
|
881
|
+
if (LEADING_ZERO.test(value)) {
|
|
882
|
+
throw new TomlError("leading zeroes are not allowed", {
|
|
883
|
+
toml,
|
|
884
|
+
ptr
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
value = value.replace(/_/g, "");
|
|
888
|
+
let numeric2 = +value;
|
|
889
|
+
if (isNaN(numeric2)) {
|
|
890
|
+
throw new TomlError("invalid number", {
|
|
891
|
+
toml,
|
|
892
|
+
ptr
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
if (isInt) {
|
|
896
|
+
if ((isInt = !Number.isSafeInteger(numeric2)) && !integersAsBigInt) {
|
|
897
|
+
throw new TomlError("integer value cannot be represented losslessly", {
|
|
898
|
+
toml,
|
|
899
|
+
ptr
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
if (isInt || integersAsBigInt === true)
|
|
903
|
+
numeric2 = BigInt(value);
|
|
904
|
+
}
|
|
905
|
+
return numeric2;
|
|
906
|
+
}
|
|
907
|
+
const date2 = new TomlDate(value);
|
|
908
|
+
if (!date2.isValid()) {
|
|
909
|
+
throw new TomlError("invalid value", {
|
|
910
|
+
toml,
|
|
911
|
+
ptr
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
return date2;
|
|
915
|
+
}
|
|
916
|
+
var INT_REGEX, FLOAT_REGEX, LEADING_ZERO, ESCAPE_REGEX, ESC_MAP;
|
|
917
|
+
var init_primitive = __esm({
|
|
918
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/primitive.js"() {
|
|
919
|
+
"use strict";
|
|
920
|
+
init_util();
|
|
921
|
+
init_date();
|
|
922
|
+
init_error();
|
|
923
|
+
INT_REGEX = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/;
|
|
924
|
+
FLOAT_REGEX = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/;
|
|
925
|
+
LEADING_ZERO = /^[+-]?0[0-9_]/;
|
|
926
|
+
ESCAPE_REGEX = /^[0-9a-f]{2,8}$/i;
|
|
927
|
+
ESC_MAP = {
|
|
928
|
+
b: "\b",
|
|
929
|
+
t: " ",
|
|
930
|
+
n: "\n",
|
|
931
|
+
f: "\f",
|
|
932
|
+
r: "\r",
|
|
933
|
+
e: "\x1B",
|
|
934
|
+
'"': '"',
|
|
935
|
+
"\\": "\\"
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
});
|
|
939
|
+
|
|
940
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/extract.js
|
|
941
|
+
function sliceAndTrimEndOf(str3, startPtr, endPtr) {
|
|
942
|
+
let value = str3.slice(startPtr, endPtr);
|
|
943
|
+
let commentIdx = value.indexOf("#");
|
|
944
|
+
if (commentIdx > -1) {
|
|
945
|
+
skipComment(str3, commentIdx);
|
|
946
|
+
value = value.slice(0, commentIdx);
|
|
947
|
+
}
|
|
948
|
+
return [value.trimEnd(), commentIdx];
|
|
949
|
+
}
|
|
950
|
+
function extractValue(str3, ptr, end, depth, integersAsBigInt) {
|
|
951
|
+
if (depth === 0) {
|
|
952
|
+
throw new TomlError("document contains excessively nested structures. aborting.", {
|
|
953
|
+
toml: str3,
|
|
954
|
+
ptr
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
let c = str3[ptr];
|
|
958
|
+
if (c === "[" || c === "{") {
|
|
959
|
+
let [value, endPtr2] = c === "[" ? parseArray(str3, ptr, depth, integersAsBigInt) : parseInlineTable(str3, ptr, depth, integersAsBigInt);
|
|
960
|
+
if (end) {
|
|
961
|
+
endPtr2 = skipVoid(str3, endPtr2);
|
|
962
|
+
if (str3[endPtr2] === ",")
|
|
963
|
+
endPtr2++;
|
|
964
|
+
else if (str3[endPtr2] !== end) {
|
|
965
|
+
throw new TomlError("expected comma or end of structure", {
|
|
966
|
+
toml: str3,
|
|
967
|
+
ptr: endPtr2
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
return [value, endPtr2];
|
|
972
|
+
}
|
|
973
|
+
let endPtr;
|
|
974
|
+
if (c === '"' || c === "'") {
|
|
975
|
+
endPtr = getStringEnd(str3, ptr);
|
|
976
|
+
let parsed = parseString(str3, ptr, endPtr);
|
|
977
|
+
if (end) {
|
|
978
|
+
endPtr = skipVoid(str3, endPtr);
|
|
979
|
+
if (str3[endPtr] && str3[endPtr] !== "," && str3[endPtr] !== end && str3[endPtr] !== "\n" && str3[endPtr] !== "\r") {
|
|
980
|
+
throw new TomlError("unexpected character encountered", {
|
|
981
|
+
toml: str3,
|
|
982
|
+
ptr: endPtr
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
endPtr += +(str3[endPtr] === ",");
|
|
986
|
+
}
|
|
987
|
+
return [parsed, endPtr];
|
|
988
|
+
}
|
|
989
|
+
endPtr = skipUntil(str3, ptr, ",", end);
|
|
990
|
+
let slice2 = sliceAndTrimEndOf(str3, ptr, endPtr - +(str3[endPtr - 1] === ","));
|
|
991
|
+
if (!slice2[0]) {
|
|
992
|
+
throw new TomlError("incomplete key-value declaration: no value specified", {
|
|
993
|
+
toml: str3,
|
|
994
|
+
ptr
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
if (end && slice2[1] > -1) {
|
|
998
|
+
endPtr = skipVoid(str3, ptr + slice2[1]);
|
|
999
|
+
endPtr += +(str3[endPtr] === ",");
|
|
1000
|
+
}
|
|
1001
|
+
return [
|
|
1002
|
+
parseValue(slice2[0], str3, ptr, integersAsBigInt),
|
|
1003
|
+
endPtr
|
|
1004
|
+
];
|
|
1005
|
+
}
|
|
1006
|
+
var init_extract = __esm({
|
|
1007
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/extract.js"() {
|
|
1008
|
+
"use strict";
|
|
1009
|
+
init_primitive();
|
|
1010
|
+
init_struct();
|
|
1011
|
+
init_util();
|
|
1012
|
+
init_error();
|
|
1013
|
+
}
|
|
1014
|
+
});
|
|
1015
|
+
|
|
1016
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/struct.js
|
|
1017
|
+
function parseKey(str3, ptr, end = "=") {
|
|
1018
|
+
let dot = ptr - 1;
|
|
1019
|
+
let parsed = [];
|
|
1020
|
+
let endPtr = str3.indexOf(end, ptr);
|
|
1021
|
+
if (endPtr < 0) {
|
|
1022
|
+
throw new TomlError("incomplete key-value: cannot find end of key", {
|
|
1023
|
+
toml: str3,
|
|
1024
|
+
ptr
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
do {
|
|
1028
|
+
let c = str3[ptr = ++dot];
|
|
1029
|
+
if (c !== " " && c !== " ") {
|
|
1030
|
+
if (c === '"' || c === "'") {
|
|
1031
|
+
if (c === str3[ptr + 1] && c === str3[ptr + 2]) {
|
|
1032
|
+
throw new TomlError("multiline strings are not allowed in keys", {
|
|
1033
|
+
toml: str3,
|
|
1034
|
+
ptr
|
|
1035
|
+
});
|
|
1036
|
+
}
|
|
1037
|
+
let eos = getStringEnd(str3, ptr);
|
|
1038
|
+
if (eos < 0) {
|
|
1039
|
+
throw new TomlError("unfinished string encountered", {
|
|
1040
|
+
toml: str3,
|
|
1041
|
+
ptr
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
dot = str3.indexOf(".", eos);
|
|
1045
|
+
let strEnd = str3.slice(eos, dot < 0 || dot > endPtr ? endPtr : dot);
|
|
1046
|
+
let newLine = indexOfNewline(strEnd);
|
|
1047
|
+
if (newLine > -1) {
|
|
1048
|
+
throw new TomlError("newlines are not allowed in keys", {
|
|
1049
|
+
toml: str3,
|
|
1050
|
+
ptr: ptr + dot + newLine
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1053
|
+
if (strEnd.trimStart()) {
|
|
1054
|
+
throw new TomlError("found extra tokens after the string part", {
|
|
1055
|
+
toml: str3,
|
|
1056
|
+
ptr: eos
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
if (endPtr < eos) {
|
|
1060
|
+
endPtr = str3.indexOf(end, eos);
|
|
1061
|
+
if (endPtr < 0) {
|
|
1062
|
+
throw new TomlError("incomplete key-value: cannot find end of key", {
|
|
1063
|
+
toml: str3,
|
|
1064
|
+
ptr
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
parsed.push(parseString(str3, ptr, eos));
|
|
1069
|
+
} else {
|
|
1070
|
+
dot = str3.indexOf(".", ptr);
|
|
1071
|
+
let part = str3.slice(ptr, dot < 0 || dot > endPtr ? endPtr : dot);
|
|
1072
|
+
if (!KEY_PART_RE.test(part)) {
|
|
1073
|
+
throw new TomlError("only letter, numbers, dashes and underscores are allowed in keys", {
|
|
1074
|
+
toml: str3,
|
|
1075
|
+
ptr
|
|
1076
|
+
});
|
|
1077
|
+
}
|
|
1078
|
+
parsed.push(part.trimEnd());
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
} while (dot + 1 && dot < endPtr);
|
|
1082
|
+
return [parsed, skipVoid(str3, endPtr + 1, true, true)];
|
|
1083
|
+
}
|
|
1084
|
+
function parseInlineTable(str3, ptr, depth, integersAsBigInt) {
|
|
1085
|
+
let res = {};
|
|
1086
|
+
let seen = /* @__PURE__ */ new Set();
|
|
1087
|
+
let c;
|
|
1088
|
+
ptr++;
|
|
1089
|
+
while ((c = str3[ptr++]) !== "}" && c) {
|
|
1090
|
+
if (c === ",") {
|
|
1091
|
+
throw new TomlError("expected value, found comma", {
|
|
1092
|
+
toml: str3,
|
|
1093
|
+
ptr: ptr - 1
|
|
1094
|
+
});
|
|
1095
|
+
} else if (c === "#")
|
|
1096
|
+
ptr = skipComment(str3, ptr);
|
|
1097
|
+
else if (c !== " " && c !== " " && c !== "\n" && c !== "\r") {
|
|
1098
|
+
let k;
|
|
1099
|
+
let t = res;
|
|
1100
|
+
let hasOwn4 = false;
|
|
1101
|
+
let [key, keyEndPtr] = parseKey(str3, ptr - 1);
|
|
1102
|
+
for (let i = 0; i < key.length; i++) {
|
|
1103
|
+
if (i)
|
|
1104
|
+
t = hasOwn4 ? t[k] : t[k] = {};
|
|
1105
|
+
k = key[i];
|
|
1106
|
+
if ((hasOwn4 = Object.hasOwn(t, k)) && (typeof t[k] !== "object" || seen.has(t[k]))) {
|
|
1107
|
+
throw new TomlError("trying to redefine an already defined value", {
|
|
1108
|
+
toml: str3,
|
|
1109
|
+
ptr
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
if (!hasOwn4 && k === "__proto__") {
|
|
1113
|
+
Object.defineProperty(t, k, { enumerable: true, configurable: true, writable: true });
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
if (hasOwn4) {
|
|
1117
|
+
throw new TomlError("trying to redefine an already defined value", {
|
|
1118
|
+
toml: str3,
|
|
1119
|
+
ptr
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
1122
|
+
let [value, valueEndPtr] = extractValue(str3, keyEndPtr, "}", depth - 1, integersAsBigInt);
|
|
1123
|
+
seen.add(value);
|
|
1124
|
+
t[k] = value;
|
|
1125
|
+
ptr = valueEndPtr;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
if (!c) {
|
|
1129
|
+
throw new TomlError("unfinished table encountered", {
|
|
1130
|
+
toml: str3,
|
|
1131
|
+
ptr
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
return [res, ptr];
|
|
1135
|
+
}
|
|
1136
|
+
function parseArray(str3, ptr, depth, integersAsBigInt) {
|
|
1137
|
+
let res = [];
|
|
1138
|
+
let c;
|
|
1139
|
+
ptr++;
|
|
1140
|
+
while ((c = str3[ptr++]) !== "]" && c) {
|
|
1141
|
+
if (c === ",") {
|
|
1142
|
+
throw new TomlError("expected value, found comma", {
|
|
1143
|
+
toml: str3,
|
|
1144
|
+
ptr: ptr - 1
|
|
1145
|
+
});
|
|
1146
|
+
} else if (c === "#")
|
|
1147
|
+
ptr = skipComment(str3, ptr);
|
|
1148
|
+
else if (c !== " " && c !== " " && c !== "\n" && c !== "\r") {
|
|
1149
|
+
let e = extractValue(str3, ptr - 1, "]", depth - 1, integersAsBigInt);
|
|
1150
|
+
res.push(e[0]);
|
|
1151
|
+
ptr = e[1];
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
if (!c) {
|
|
1155
|
+
throw new TomlError("unfinished array encountered", {
|
|
1156
|
+
toml: str3,
|
|
1157
|
+
ptr
|
|
1158
|
+
});
|
|
1159
|
+
}
|
|
1160
|
+
return [res, ptr];
|
|
1161
|
+
}
|
|
1162
|
+
var KEY_PART_RE;
|
|
1163
|
+
var init_struct = __esm({
|
|
1164
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/struct.js"() {
|
|
1165
|
+
"use strict";
|
|
1166
|
+
init_primitive();
|
|
1167
|
+
init_extract();
|
|
1168
|
+
init_util();
|
|
1169
|
+
init_error();
|
|
1170
|
+
KEY_PART_RE = /^[a-zA-Z0-9-_]+[ \t]*$/;
|
|
1171
|
+
}
|
|
1172
|
+
});
|
|
1173
|
+
|
|
1174
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/parse.js
|
|
1175
|
+
function peekTable(key, table, meta, type2) {
|
|
1176
|
+
let t = table;
|
|
1177
|
+
let m = meta;
|
|
1178
|
+
let k;
|
|
1179
|
+
let hasOwn4 = false;
|
|
1180
|
+
let state;
|
|
1181
|
+
for (let i = 0; i < key.length; i++) {
|
|
1182
|
+
if (i) {
|
|
1183
|
+
t = hasOwn4 ? t[k] : t[k] = {};
|
|
1184
|
+
m = (state = m[k]).c;
|
|
1185
|
+
if (type2 === 0 && (state.t === 1 || state.t === 2)) {
|
|
1186
|
+
return null;
|
|
1187
|
+
}
|
|
1188
|
+
if (state.t === 2) {
|
|
1189
|
+
let l = t.length - 1;
|
|
1190
|
+
t = t[l];
|
|
1191
|
+
m = m[l].c;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
k = key[i];
|
|
1195
|
+
if ((hasOwn4 = Object.hasOwn(t, k)) && m[k]?.t === 0 && m[k]?.d) {
|
|
1196
|
+
return null;
|
|
1197
|
+
}
|
|
1198
|
+
if (!hasOwn4) {
|
|
1199
|
+
if (k === "__proto__") {
|
|
1200
|
+
Object.defineProperty(t, k, { enumerable: true, configurable: true, writable: true });
|
|
1201
|
+
Object.defineProperty(m, k, { enumerable: true, configurable: true, writable: true });
|
|
1202
|
+
}
|
|
1203
|
+
m[k] = {
|
|
1204
|
+
t: i < key.length - 1 && type2 === 2 ? 3 : type2,
|
|
1205
|
+
d: false,
|
|
1206
|
+
i: 0,
|
|
1207
|
+
c: {}
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
state = m[k];
|
|
1212
|
+
if (state.t !== type2 && !(type2 === 1 && state.t === 3)) {
|
|
1213
|
+
return null;
|
|
1214
|
+
}
|
|
1215
|
+
if (type2 === 2) {
|
|
1216
|
+
if (!state.d) {
|
|
1217
|
+
state.d = true;
|
|
1218
|
+
t[k] = [];
|
|
1219
|
+
}
|
|
1220
|
+
t[k].push(t = {});
|
|
1221
|
+
state.c[state.i++] = state = { t: 1, d: false, i: 0, c: {} };
|
|
1222
|
+
}
|
|
1223
|
+
if (state.d) {
|
|
1224
|
+
return null;
|
|
1225
|
+
}
|
|
1226
|
+
state.d = true;
|
|
1227
|
+
if (type2 === 1) {
|
|
1228
|
+
t = hasOwn4 ? t[k] : t[k] = {};
|
|
1229
|
+
} else if (type2 === 0 && hasOwn4) {
|
|
1230
|
+
return null;
|
|
1231
|
+
}
|
|
1232
|
+
return [k, t, state.c];
|
|
1233
|
+
}
|
|
1234
|
+
function parse(toml, { maxDepth = 1e3, integersAsBigInt } = {}) {
|
|
1235
|
+
let res = {};
|
|
1236
|
+
let meta = {};
|
|
1237
|
+
let tbl = res;
|
|
1238
|
+
let m = meta;
|
|
1239
|
+
for (let ptr = skipVoid(toml, 0); ptr < toml.length; ) {
|
|
1240
|
+
if (toml[ptr] === "[") {
|
|
1241
|
+
let isTableArray = toml[++ptr] === "[";
|
|
1242
|
+
let k = parseKey(toml, ptr += +isTableArray, "]");
|
|
1243
|
+
if (isTableArray) {
|
|
1244
|
+
if (toml[k[1] - 1] !== "]") {
|
|
1245
|
+
throw new TomlError("expected end of table declaration", {
|
|
1246
|
+
toml,
|
|
1247
|
+
ptr: k[1] - 1
|
|
1248
|
+
});
|
|
1249
|
+
}
|
|
1250
|
+
k[1]++;
|
|
1251
|
+
}
|
|
1252
|
+
let p = peekTable(
|
|
1253
|
+
k[0],
|
|
1254
|
+
res,
|
|
1255
|
+
meta,
|
|
1256
|
+
isTableArray ? 2 : 1
|
|
1257
|
+
/* Type.EXPLICIT */
|
|
1258
|
+
);
|
|
1259
|
+
if (!p) {
|
|
1260
|
+
throw new TomlError("trying to redefine an already defined table or value", {
|
|
1261
|
+
toml,
|
|
1262
|
+
ptr
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
m = p[2];
|
|
1266
|
+
tbl = p[1];
|
|
1267
|
+
ptr = k[1];
|
|
1268
|
+
} else {
|
|
1269
|
+
let k = parseKey(toml, ptr);
|
|
1270
|
+
let p = peekTable(
|
|
1271
|
+
k[0],
|
|
1272
|
+
tbl,
|
|
1273
|
+
m,
|
|
1274
|
+
0
|
|
1275
|
+
/* Type.DOTTED */
|
|
1276
|
+
);
|
|
1277
|
+
if (!p) {
|
|
1278
|
+
throw new TomlError("trying to redefine an already defined table or value", {
|
|
1279
|
+
toml,
|
|
1280
|
+
ptr
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
let v = extractValue(toml, k[1], void 0, maxDepth, integersAsBigInt);
|
|
1284
|
+
p[1][p[0]] = v[0];
|
|
1285
|
+
ptr = v[1];
|
|
1286
|
+
}
|
|
1287
|
+
ptr = skipVoid(toml, ptr, true);
|
|
1288
|
+
if (toml[ptr] && toml[ptr] !== "\n" && toml[ptr] !== "\r") {
|
|
1289
|
+
throw new TomlError("each key-value declaration must be followed by an end-of-line", {
|
|
1290
|
+
toml,
|
|
1291
|
+
ptr
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
ptr = skipVoid(toml, ptr);
|
|
1295
|
+
}
|
|
1296
|
+
return res;
|
|
1297
|
+
}
|
|
1298
|
+
var init_parse = __esm({
|
|
1299
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/parse.js"() {
|
|
1300
|
+
"use strict";
|
|
1301
|
+
init_struct();
|
|
1302
|
+
init_extract();
|
|
1303
|
+
init_util();
|
|
1304
|
+
init_error();
|
|
1305
|
+
}
|
|
1306
|
+
});
|
|
1307
|
+
|
|
1308
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/stringify.js
|
|
1309
|
+
function extendedTypeOf(obj) {
|
|
1310
|
+
let type2 = typeof obj;
|
|
1311
|
+
if (type2 === "object") {
|
|
1312
|
+
if (Array.isArray(obj))
|
|
1313
|
+
return "array";
|
|
1314
|
+
if (obj instanceof Date)
|
|
1315
|
+
return "date";
|
|
1316
|
+
}
|
|
1317
|
+
return type2;
|
|
1318
|
+
}
|
|
1319
|
+
function isArrayOfTables(obj) {
|
|
1320
|
+
for (let i = 0; i < obj.length; i++) {
|
|
1321
|
+
if (extendedTypeOf(obj[i]) !== "object")
|
|
1322
|
+
return false;
|
|
1323
|
+
}
|
|
1324
|
+
return obj.length != 0;
|
|
1325
|
+
}
|
|
1326
|
+
function formatString(s) {
|
|
1327
|
+
return JSON.stringify(s).replace(/\x7f/g, "\\u007f");
|
|
1328
|
+
}
|
|
1329
|
+
function stringifyValue(val, type2, depth, numberAsFloat) {
|
|
1330
|
+
if (depth === 0) {
|
|
1331
|
+
throw new Error("Could not stringify the object: maximum object depth exceeded");
|
|
1332
|
+
}
|
|
1333
|
+
if (type2 === "number") {
|
|
1334
|
+
if (isNaN(val))
|
|
1335
|
+
return "nan";
|
|
1336
|
+
if (val === Infinity)
|
|
1337
|
+
return "inf";
|
|
1338
|
+
if (val === -Infinity)
|
|
1339
|
+
return "-inf";
|
|
1340
|
+
if (numberAsFloat && Number.isInteger(val))
|
|
1341
|
+
return val.toFixed(1);
|
|
1342
|
+
return val.toString();
|
|
1343
|
+
}
|
|
1344
|
+
if (type2 === "bigint" || type2 === "boolean") {
|
|
1345
|
+
return val.toString();
|
|
1346
|
+
}
|
|
1347
|
+
if (type2 === "string") {
|
|
1348
|
+
return formatString(val);
|
|
1349
|
+
}
|
|
1350
|
+
if (type2 === "date") {
|
|
1351
|
+
if (isNaN(val.getTime())) {
|
|
1352
|
+
throw new TypeError("cannot serialize invalid date");
|
|
1353
|
+
}
|
|
1354
|
+
return val.toISOString();
|
|
1355
|
+
}
|
|
1356
|
+
if (type2 === "object") {
|
|
1357
|
+
return stringifyInlineTable(val, depth, numberAsFloat);
|
|
1358
|
+
}
|
|
1359
|
+
if (type2 === "array") {
|
|
1360
|
+
return stringifyArray(val, depth, numberAsFloat);
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
function stringifyInlineTable(obj, depth, numberAsFloat) {
|
|
1364
|
+
let keys = Object.keys(obj);
|
|
1365
|
+
if (keys.length === 0)
|
|
1366
|
+
return "{}";
|
|
1367
|
+
let res = "{ ";
|
|
1368
|
+
for (let i = 0; i < keys.length; i++) {
|
|
1369
|
+
let k = keys[i];
|
|
1370
|
+
if (i)
|
|
1371
|
+
res += ", ";
|
|
1372
|
+
res += BARE_KEY.test(k) ? k : formatString(k);
|
|
1373
|
+
res += " = ";
|
|
1374
|
+
res += stringifyValue(obj[k], extendedTypeOf(obj[k]), depth - 1, numberAsFloat);
|
|
1375
|
+
}
|
|
1376
|
+
return res + " }";
|
|
1377
|
+
}
|
|
1378
|
+
function stringifyArray(array, depth, numberAsFloat) {
|
|
1379
|
+
if (array.length === 0)
|
|
1380
|
+
return "[]";
|
|
1381
|
+
let res = "[ ";
|
|
1382
|
+
for (let i = 0; i < array.length; i++) {
|
|
1383
|
+
if (i)
|
|
1384
|
+
res += ", ";
|
|
1385
|
+
if (array[i] === null || array[i] === void 0) {
|
|
1386
|
+
throw new TypeError("arrays cannot contain null or undefined values");
|
|
1387
|
+
}
|
|
1388
|
+
res += stringifyValue(array[i], extendedTypeOf(array[i]), depth - 1, numberAsFloat);
|
|
1389
|
+
}
|
|
1390
|
+
return res + " ]";
|
|
1391
|
+
}
|
|
1392
|
+
function stringifyArrayTable(array, key, depth, numberAsFloat) {
|
|
1393
|
+
if (depth === 0) {
|
|
1394
|
+
throw new Error("Could not stringify the object: maximum object depth exceeded");
|
|
1395
|
+
}
|
|
1396
|
+
let res = "";
|
|
1397
|
+
for (let i = 0; i < array.length; i++) {
|
|
1398
|
+
res += `${res && "\n"}[[${key}]]
|
|
1399
|
+
`;
|
|
1400
|
+
res += stringifyTable(0, array[i], key, depth, numberAsFloat);
|
|
1401
|
+
}
|
|
1402
|
+
return res;
|
|
1403
|
+
}
|
|
1404
|
+
function stringifyTable(tableKey, obj, prefix, depth, numberAsFloat) {
|
|
1405
|
+
if (depth === 0) {
|
|
1406
|
+
throw new Error("Could not stringify the object: maximum object depth exceeded");
|
|
1407
|
+
}
|
|
1408
|
+
let preamble = "";
|
|
1409
|
+
let tables = "";
|
|
1410
|
+
let keys = Object.keys(obj);
|
|
1411
|
+
for (let i = 0; i < keys.length; i++) {
|
|
1412
|
+
let k = keys[i];
|
|
1413
|
+
if (obj[k] !== null && obj[k] !== void 0) {
|
|
1414
|
+
let type2 = extendedTypeOf(obj[k]);
|
|
1415
|
+
if (type2 === "symbol" || type2 === "function") {
|
|
1416
|
+
throw new TypeError(`cannot serialize values of type '${type2}'`);
|
|
1417
|
+
}
|
|
1418
|
+
let key = BARE_KEY.test(k) ? k : formatString(k);
|
|
1419
|
+
if (type2 === "array" && isArrayOfTables(obj[k])) {
|
|
1420
|
+
tables += (tables && "\n") + stringifyArrayTable(obj[k], prefix ? `${prefix}.${key}` : key, depth - 1, numberAsFloat);
|
|
1421
|
+
} else if (type2 === "object") {
|
|
1422
|
+
let tblKey = prefix ? `${prefix}.${key}` : key;
|
|
1423
|
+
tables += (tables && "\n") + stringifyTable(tblKey, obj[k], tblKey, depth - 1, numberAsFloat);
|
|
1424
|
+
} else {
|
|
1425
|
+
preamble += key;
|
|
1426
|
+
preamble += " = ";
|
|
1427
|
+
preamble += stringifyValue(obj[k], type2, depth, numberAsFloat);
|
|
1428
|
+
preamble += "\n";
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
if (tableKey && (preamble || !tables))
|
|
1433
|
+
preamble = preamble ? `[${tableKey}]
|
|
1434
|
+
${preamble}` : `[${tableKey}]`;
|
|
1435
|
+
return preamble && tables ? `${preamble}
|
|
1436
|
+
${tables}` : preamble || tables;
|
|
1437
|
+
}
|
|
1438
|
+
function stringify(obj, { maxDepth = 1e3, numbersAsFloat = false } = {}) {
|
|
1439
|
+
if (extendedTypeOf(obj) !== "object") {
|
|
1440
|
+
throw new TypeError("stringify can only be called with an object");
|
|
1441
|
+
}
|
|
1442
|
+
let str3 = stringifyTable(0, obj, "", maxDepth, numbersAsFloat);
|
|
1443
|
+
if (str3[str3.length - 1] !== "\n")
|
|
1444
|
+
return str3 + "\n";
|
|
1445
|
+
return str3;
|
|
1446
|
+
}
|
|
1447
|
+
var BARE_KEY;
|
|
1448
|
+
var init_stringify = __esm({
|
|
1449
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/stringify.js"() {
|
|
1450
|
+
"use strict";
|
|
1451
|
+
BARE_KEY = /^[a-z0-9-_]+$/i;
|
|
1452
|
+
}
|
|
1453
|
+
});
|
|
1454
|
+
|
|
1455
|
+
// ../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/index.js
|
|
1456
|
+
var init_dist = __esm({
|
|
1457
|
+
"../../node_modules/.pnpm/smol-toml@1.6.1/node_modules/smol-toml/dist/index.js"() {
|
|
1458
|
+
"use strict";
|
|
1459
|
+
init_parse();
|
|
1460
|
+
init_stringify();
|
|
1461
|
+
init_date();
|
|
1462
|
+
init_error();
|
|
1463
|
+
}
|
|
1464
|
+
});
|
|
1465
|
+
|
|
563
1466
|
// ../version/dist/chunk-Q3FHZORY.js
|
|
564
1467
|
function shouldLog2(level) {
|
|
565
1468
|
if (quietMode2 && level !== "error") return false;
|
|
@@ -714,7 +1617,7 @@ async function* splitStream(stream, separator) {
|
|
|
714
1617
|
yield buffer;
|
|
715
1618
|
}
|
|
716
1619
|
}
|
|
717
|
-
var
|
|
1620
|
+
var init_dist2 = __esm({
|
|
718
1621
|
"../../node_modules/.pnpm/@simple-libs+stream-utils@1.1.0/node_modules/@simple-libs/stream-utils/dist/index.js"() {
|
|
719
1622
|
"use strict";
|
|
720
1623
|
}
|
|
@@ -764,10 +1667,10 @@ async function* outputStream(process3) {
|
|
|
764
1667
|
function output(process3) {
|
|
765
1668
|
return concatBufferStream(outputStream(process3));
|
|
766
1669
|
}
|
|
767
|
-
var
|
|
1670
|
+
var init_dist3 = __esm({
|
|
768
1671
|
"../../node_modules/.pnpm/@simple-libs+child-process-utils@1.0.1/node_modules/@simple-libs/child-process-utils/dist/index.js"() {
|
|
769
1672
|
"use strict";
|
|
770
|
-
|
|
1673
|
+
init_dist2();
|
|
771
1674
|
}
|
|
772
1675
|
});
|
|
773
1676
|
|
|
@@ -777,8 +1680,8 @@ var SCISSOR, GitClient;
|
|
|
777
1680
|
var init_GitClient = __esm({
|
|
778
1681
|
"../../node_modules/.pnpm/@conventional-changelog+git-client@2.5.1_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/GitClient.js"() {
|
|
779
1682
|
"use strict";
|
|
780
|
-
init_dist();
|
|
781
1683
|
init_dist2();
|
|
1684
|
+
init_dist3();
|
|
782
1685
|
init_utils();
|
|
783
1686
|
SCISSOR = "------------------------ >8 ------------------------";
|
|
784
1687
|
GitClient = class {
|
|
@@ -1473,7 +2376,7 @@ var require_parse = __commonJS({
|
|
|
1473
2376
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js"(exports2, module2) {
|
|
1474
2377
|
"use strict";
|
|
1475
2378
|
var SemVer = require_semver();
|
|
1476
|
-
var
|
|
2379
|
+
var parse2 = (version, options, throwErrors = false) => {
|
|
1477
2380
|
if (version instanceof SemVer) {
|
|
1478
2381
|
return version;
|
|
1479
2382
|
}
|
|
@@ -1486,7 +2389,7 @@ var require_parse = __commonJS({
|
|
|
1486
2389
|
throw er;
|
|
1487
2390
|
}
|
|
1488
2391
|
};
|
|
1489
|
-
module2.exports =
|
|
2392
|
+
module2.exports = parse2;
|
|
1490
2393
|
}
|
|
1491
2394
|
});
|
|
1492
2395
|
|
|
@@ -1494,9 +2397,9 @@ var require_parse = __commonJS({
|
|
|
1494
2397
|
var require_valid = __commonJS({
|
|
1495
2398
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js"(exports2, module2) {
|
|
1496
2399
|
"use strict";
|
|
1497
|
-
var
|
|
2400
|
+
var parse2 = require_parse();
|
|
1498
2401
|
var valid = (version, options) => {
|
|
1499
|
-
const v =
|
|
2402
|
+
const v = parse2(version, options);
|
|
1500
2403
|
return v ? v.version : null;
|
|
1501
2404
|
};
|
|
1502
2405
|
module2.exports = valid;
|
|
@@ -1507,9 +2410,9 @@ var require_valid = __commonJS({
|
|
|
1507
2410
|
var require_clean = __commonJS({
|
|
1508
2411
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js"(exports2, module2) {
|
|
1509
2412
|
"use strict";
|
|
1510
|
-
var
|
|
2413
|
+
var parse2 = require_parse();
|
|
1511
2414
|
var clean = (version, options) => {
|
|
1512
|
-
const s =
|
|
2415
|
+
const s = parse2(version.trim().replace(/^[=v]+/, ""), options);
|
|
1513
2416
|
return s ? s.version : null;
|
|
1514
2417
|
};
|
|
1515
2418
|
module2.exports = clean;
|
|
@@ -1544,10 +2447,10 @@ var require_inc = __commonJS({
|
|
|
1544
2447
|
var require_diff = __commonJS({
|
|
1545
2448
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js"(exports2, module2) {
|
|
1546
2449
|
"use strict";
|
|
1547
|
-
var
|
|
2450
|
+
var parse2 = require_parse();
|
|
1548
2451
|
var diff = (version1, version2) => {
|
|
1549
|
-
const v1 =
|
|
1550
|
-
const v2 =
|
|
2452
|
+
const v1 = parse2(version1, null, true);
|
|
2453
|
+
const v2 = parse2(version2, null, true);
|
|
1551
2454
|
const comparison = v1.compare(v2);
|
|
1552
2455
|
if (comparison === 0) {
|
|
1553
2456
|
return null;
|
|
@@ -1618,9 +2521,9 @@ var require_patch = __commonJS({
|
|
|
1618
2521
|
var require_prerelease = __commonJS({
|
|
1619
2522
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js"(exports2, module2) {
|
|
1620
2523
|
"use strict";
|
|
1621
|
-
var
|
|
2524
|
+
var parse2 = require_parse();
|
|
1622
2525
|
var prerelease = (version, options) => {
|
|
1623
|
-
const parsed =
|
|
2526
|
+
const parsed = parse2(version, options);
|
|
1624
2527
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
1625
2528
|
};
|
|
1626
2529
|
module2.exports = prerelease;
|
|
@@ -1806,7 +2709,7 @@ var require_coerce = __commonJS({
|
|
|
1806
2709
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js"(exports2, module2) {
|
|
1807
2710
|
"use strict";
|
|
1808
2711
|
var SemVer = require_semver();
|
|
1809
|
-
var
|
|
2712
|
+
var parse2 = require_parse();
|
|
1810
2713
|
var { safeRe: re, t } = require_re();
|
|
1811
2714
|
var coerce = (version, options) => {
|
|
1812
2715
|
if (version instanceof SemVer) {
|
|
@@ -1841,7 +2744,7 @@ var require_coerce = __commonJS({
|
|
|
1841
2744
|
const patch = match2[4] || "0";
|
|
1842
2745
|
const prerelease = options.includePrerelease && match2[5] ? `-${match2[5]}` : "";
|
|
1843
2746
|
const build2 = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
|
|
1844
|
-
return
|
|
2747
|
+
return parse2(`${major}.${minor}.${patch}${prerelease}${build2}`, options);
|
|
1845
2748
|
};
|
|
1846
2749
|
module2.exports = coerce;
|
|
1847
2750
|
}
|
|
@@ -2858,7 +3761,7 @@ var require_semver2 = __commonJS({
|
|
|
2858
3761
|
var constants = require_constants();
|
|
2859
3762
|
var SemVer = require_semver();
|
|
2860
3763
|
var identifiers = require_identifiers();
|
|
2861
|
-
var
|
|
3764
|
+
var parse2 = require_parse();
|
|
2862
3765
|
var valid = require_valid();
|
|
2863
3766
|
var clean = require_clean();
|
|
2864
3767
|
var inc = require_inc();
|
|
@@ -2896,7 +3799,7 @@ var require_semver2 = __commonJS({
|
|
|
2896
3799
|
var simplifyRange = require_simplify();
|
|
2897
3800
|
var subset = require_subset();
|
|
2898
3801
|
module2.exports = {
|
|
2899
|
-
parse:
|
|
3802
|
+
parse: parse2,
|
|
2900
3803
|
valid,
|
|
2901
3804
|
clean,
|
|
2902
3805
|
inc,
|
|
@@ -3389,7 +4292,7 @@ function parseCommits(options = {}) {
|
|
|
3389
4292
|
throw err;
|
|
3390
4293
|
} : warnOption ? (err) => warnOption(err.toString()) : () => {
|
|
3391
4294
|
};
|
|
3392
|
-
return async function*
|
|
4295
|
+
return async function* parse2(rawCommits) {
|
|
3393
4296
|
const parser = new CommitParser(options);
|
|
3394
4297
|
let rawCommit;
|
|
3395
4298
|
for await (rawCommit of rawCommits) {
|
|
@@ -3412,14 +4315,14 @@ var init_stream = __esm({
|
|
|
3412
4315
|
});
|
|
3413
4316
|
|
|
3414
4317
|
// ../../node_modules/.pnpm/conventional-commits-parser@6.2.1/node_modules/conventional-commits-parser/dist/index.js
|
|
3415
|
-
var
|
|
3416
|
-
__export(
|
|
4318
|
+
var dist_exports2 = {};
|
|
4319
|
+
__export(dist_exports2, {
|
|
3417
4320
|
CommitParser: () => CommitParser,
|
|
3418
4321
|
createCommitObject: () => createCommitObject,
|
|
3419
4322
|
parseCommits: () => parseCommits,
|
|
3420
4323
|
parseCommitsStream: () => parseCommitsStream
|
|
3421
4324
|
});
|
|
3422
|
-
var
|
|
4325
|
+
var init_dist4 = __esm({
|
|
3423
4326
|
"../../node_modules/.pnpm/conventional-commits-parser@6.2.1/node_modules/conventional-commits-parser/dist/index.js"() {
|
|
3424
4327
|
"use strict";
|
|
3425
4328
|
init_types2();
|
|
@@ -3544,14 +4447,14 @@ var init_filters = __esm({
|
|
|
3544
4447
|
});
|
|
3545
4448
|
|
|
3546
4449
|
// ../../node_modules/.pnpm/conventional-commits-filter@5.0.0/node_modules/conventional-commits-filter/dist/index.js
|
|
3547
|
-
var
|
|
3548
|
-
__export(
|
|
4450
|
+
var dist_exports3 = {};
|
|
4451
|
+
__export(dist_exports3, {
|
|
3549
4452
|
RevertedCommitsFilter: () => RevertedCommitsFilter,
|
|
3550
4453
|
filterRevertedCommits: () => filterRevertedCommits,
|
|
3551
4454
|
filterRevertedCommitsStream: () => filterRevertedCommitsStream,
|
|
3552
4455
|
filterRevertedCommitsSync: () => filterRevertedCommitsSync
|
|
3553
4456
|
});
|
|
3554
|
-
var
|
|
4457
|
+
var init_dist5 = __esm({
|
|
3555
4458
|
"../../node_modules/.pnpm/conventional-commits-filter@5.0.0/node_modules/conventional-commits-filter/dist/index.js"() {
|
|
3556
4459
|
"use strict";
|
|
3557
4460
|
init_RevertedCommitsFilter();
|
|
@@ -3565,7 +4468,7 @@ var init_ConventionalGitClient = __esm({
|
|
|
3565
4468
|
"../../node_modules/.pnpm/@conventional-changelog+git-client@2.5.1_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js"() {
|
|
3566
4469
|
"use strict";
|
|
3567
4470
|
import_semver = __toESM(require_semver2(), 1);
|
|
3568
|
-
|
|
4471
|
+
init_dist2();
|
|
3569
4472
|
init_GitClient();
|
|
3570
4473
|
ConventionalGitClient = class extends GitClient {
|
|
3571
4474
|
deps = null;
|
|
@@ -3574,8 +4477,8 @@ var init_ConventionalGitClient = __esm({
|
|
|
3574
4477
|
return this.deps;
|
|
3575
4478
|
}
|
|
3576
4479
|
this.deps = Promise.all([
|
|
3577
|
-
Promise.resolve().then(() => (
|
|
3578
|
-
Promise.resolve().then(() => (
|
|
4480
|
+
Promise.resolve().then(() => (init_dist4(), dist_exports2)).then(({ parseCommits: parseCommits2 }) => parseCommits2),
|
|
4481
|
+
Promise.resolve().then(() => (init_dist5(), dist_exports3)).then(({ filterRevertedCommits: filterRevertedCommits2 }) => filterRevertedCommits2)
|
|
3579
4482
|
]);
|
|
3580
4483
|
return this.deps;
|
|
3581
4484
|
}
|
|
@@ -3596,9 +4499,9 @@ var init_ConventionalGitClient = __esm({
|
|
|
3596
4499
|
yield* filterRevertedCommits2(this.getCommits(gitLogParams, parserOptions));
|
|
3597
4500
|
return;
|
|
3598
4501
|
}
|
|
3599
|
-
const
|
|
4502
|
+
const parse2 = parseCommits2(parserOptions);
|
|
3600
4503
|
const commitsStream = this.getRawCommits(gitLogParams);
|
|
3601
|
-
yield*
|
|
4504
|
+
yield* parse2(commitsStream);
|
|
3602
4505
|
}
|
|
3603
4506
|
/**
|
|
3604
4507
|
* Get semver tags stream.
|
|
@@ -3670,7 +4573,7 @@ var init_ConventionalGitClient = __esm({
|
|
|
3670
4573
|
});
|
|
3671
4574
|
|
|
3672
4575
|
// ../../node_modules/.pnpm/@conventional-changelog+git-client@2.5.1_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/index.js
|
|
3673
|
-
var
|
|
4576
|
+
var init_dist6 = __esm({
|
|
3674
4577
|
"../../node_modules/.pnpm/@conventional-changelog+git-client@2.5.1_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/index.js"() {
|
|
3675
4578
|
"use strict";
|
|
3676
4579
|
init_types();
|
|
@@ -3767,7 +4670,7 @@ var init_presetLoader = __esm({
|
|
|
3767
4670
|
});
|
|
3768
4671
|
|
|
3769
4672
|
// ../../node_modules/.pnpm/conventional-changelog-preset-loader@5.0.0/node_modules/conventional-changelog-preset-loader/dist/index.js
|
|
3770
|
-
var
|
|
4673
|
+
var init_dist7 = __esm({
|
|
3771
4674
|
"../../node_modules/.pnpm/conventional-changelog-preset-loader@5.0.0/node_modules/conventional-changelog-preset-loader/dist/index.js"() {
|
|
3772
4675
|
"use strict";
|
|
3773
4676
|
init_types3();
|
|
@@ -3793,8 +4696,8 @@ var VERSIONS, Bumper;
|
|
|
3793
4696
|
var init_bumper = __esm({
|
|
3794
4697
|
"../../node_modules/.pnpm/conventional-recommended-bump@11.2.0/node_modules/conventional-recommended-bump/dist/bumper.js"() {
|
|
3795
4698
|
"use strict";
|
|
3796
|
-
init_dist5();
|
|
3797
4699
|
init_dist6();
|
|
4700
|
+
init_dist7();
|
|
3798
4701
|
init_utils4();
|
|
3799
4702
|
VERSIONS = [
|
|
3800
4703
|
"major",
|
|
@@ -3962,7 +4865,7 @@ var init_bumper = __esm({
|
|
|
3962
4865
|
});
|
|
3963
4866
|
|
|
3964
4867
|
// ../../node_modules/.pnpm/conventional-recommended-bump@11.2.0/node_modules/conventional-recommended-bump/dist/index.js
|
|
3965
|
-
var
|
|
4868
|
+
var init_dist8 = __esm({
|
|
3966
4869
|
"../../node_modules/.pnpm/conventional-recommended-bump@11.2.0/node_modules/conventional-recommended-bump/dist/index.js"() {
|
|
3967
4870
|
"use strict";
|
|
3968
4871
|
init_bumper();
|
|
@@ -4027,7 +4930,7 @@ async function* splitStream2(stream, separator) {
|
|
|
4027
4930
|
yield buffer;
|
|
4028
4931
|
}
|
|
4029
4932
|
}
|
|
4030
|
-
var
|
|
4933
|
+
var init_dist9 = __esm({
|
|
4031
4934
|
"../../node_modules/.pnpm/@simple-libs+stream-utils@1.2.0/node_modules/@simple-libs/stream-utils/dist/index.js"() {
|
|
4032
4935
|
"use strict";
|
|
4033
4936
|
}
|
|
@@ -4077,10 +4980,10 @@ async function* outputStream2(process3) {
|
|
|
4077
4980
|
function output2(process3) {
|
|
4078
4981
|
return concatBufferStream2(outputStream2(process3));
|
|
4079
4982
|
}
|
|
4080
|
-
var
|
|
4983
|
+
var init_dist10 = __esm({
|
|
4081
4984
|
"../../node_modules/.pnpm/@simple-libs+child-process-utils@1.0.2/node_modules/@simple-libs/child-process-utils/dist/index.js"() {
|
|
4082
4985
|
"use strict";
|
|
4083
|
-
|
|
4986
|
+
init_dist9();
|
|
4084
4987
|
}
|
|
4085
4988
|
});
|
|
4086
4989
|
|
|
@@ -4090,8 +4993,8 @@ var SCISSOR3, GitClient2;
|
|
|
4090
4993
|
var init_GitClient2 = __esm({
|
|
4091
4994
|
"../../node_modules/.pnpm/@conventional-changelog+git-client@2.6.0_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/GitClient.js"() {
|
|
4092
4995
|
"use strict";
|
|
4093
|
-
init_dist8();
|
|
4094
4996
|
init_dist9();
|
|
4997
|
+
init_dist10();
|
|
4095
4998
|
init_utils5();
|
|
4096
4999
|
SCISSOR3 = "------------------------ >8 ------------------------";
|
|
4097
5000
|
GitClient2 = class {
|
|
@@ -4340,7 +5243,7 @@ var init_ConventionalGitClient2 = __esm({
|
|
|
4340
5243
|
"../../node_modules/.pnpm/@conventional-changelog+git-client@2.6.0_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js"() {
|
|
4341
5244
|
"use strict";
|
|
4342
5245
|
import_semver2 = __toESM(require_semver2(), 1);
|
|
4343
|
-
|
|
5246
|
+
init_dist9();
|
|
4344
5247
|
init_GitClient2();
|
|
4345
5248
|
ConventionalGitClient2 = class extends GitClient2 {
|
|
4346
5249
|
deps = null;
|
|
@@ -4349,8 +5252,8 @@ var init_ConventionalGitClient2 = __esm({
|
|
|
4349
5252
|
return this.deps;
|
|
4350
5253
|
}
|
|
4351
5254
|
this.deps = Promise.all([
|
|
4352
|
-
Promise.resolve().then(() => (
|
|
4353
|
-
Promise.resolve().then(() => (
|
|
5255
|
+
Promise.resolve().then(() => (init_dist4(), dist_exports2)).then(({ parseCommits: parseCommits2 }) => parseCommits2),
|
|
5256
|
+
Promise.resolve().then(() => (init_dist5(), dist_exports3)).then(({ filterRevertedCommits: filterRevertedCommits2 }) => filterRevertedCommits2)
|
|
4354
5257
|
]);
|
|
4355
5258
|
return this.deps;
|
|
4356
5259
|
}
|
|
@@ -4371,9 +5274,9 @@ var init_ConventionalGitClient2 = __esm({
|
|
|
4371
5274
|
yield* filterRevertedCommits2(this.getCommits(gitLogParams, parserOptions));
|
|
4372
5275
|
return;
|
|
4373
5276
|
}
|
|
4374
|
-
const
|
|
5277
|
+
const parse2 = parseCommits2(parserOptions);
|
|
4375
5278
|
const commitsStream = this.getRawCommits(gitLogParams);
|
|
4376
|
-
yield*
|
|
5279
|
+
yield* parse2(commitsStream);
|
|
4377
5280
|
}
|
|
4378
5281
|
/**
|
|
4379
5282
|
* Get semver tags stream.
|
|
@@ -4445,7 +5348,7 @@ var init_ConventionalGitClient2 = __esm({
|
|
|
4445
5348
|
});
|
|
4446
5349
|
|
|
4447
5350
|
// ../../node_modules/.pnpm/@conventional-changelog+git-client@2.6.0_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/index.js
|
|
4448
|
-
var
|
|
5351
|
+
var init_dist11 = __esm({
|
|
4449
5352
|
"../../node_modules/.pnpm/@conventional-changelog+git-client@2.6.0_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/@conventional-changelog/git-client/dist/index.js"() {
|
|
4450
5353
|
"use strict";
|
|
4451
5354
|
init_types4();
|
|
@@ -4482,7 +5385,7 @@ async function getSemverTags(options = {}) {
|
|
|
4482
5385
|
var init_src = __esm({
|
|
4483
5386
|
"../../node_modules/.pnpm/git-semver-tags@8.0.1_conventional-commits-filter@5.0.0_conventional-commits-parser@6.2.1/node_modules/git-semver-tags/src/index.js"() {
|
|
4484
5387
|
"use strict";
|
|
4485
|
-
|
|
5388
|
+
init_dist11();
|
|
4486
5389
|
}
|
|
4487
5390
|
});
|
|
4488
5391
|
|
|
@@ -7914,7 +8817,7 @@ function sync(root, options) {
|
|
|
7914
8817
|
return walker.start();
|
|
7915
8818
|
}
|
|
7916
8819
|
var __require2, SLASHES_REGEX, WINDOWS_ROOT_DIR_REGEX, pushDirectory, pushDirectoryFilter, empty$2, pushFileFilterAndCount, pushFileFilter, pushFileCount, pushFile, empty$1, getArray, getArrayGroup, groupFiles, empty, resolveSymlinksAsync, resolveSymlinks, onlyCountsSync, groupsSync, defaultSync, limitFilesSync, onlyCountsAsync, defaultAsync, limitFilesAsync, groupsAsync, readdirOpts, walkAsync, walkSync, Queue, Counter, Aborter, Walker, APIBuilder, pm, Builder;
|
|
7917
|
-
var
|
|
8820
|
+
var init_dist12 = __esm({
|
|
7918
8821
|
"../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.4/node_modules/fdir/dist/index.mjs"() {
|
|
7919
8822
|
"use strict";
|
|
7920
8823
|
__require2 = /* @__PURE__ */ createRequire(import.meta.url);
|
|
@@ -9136,7 +10039,7 @@ var require_parse2 = __commonJS({
|
|
|
9136
10039
|
}
|
|
9137
10040
|
return { risky: false };
|
|
9138
10041
|
};
|
|
9139
|
-
var
|
|
10042
|
+
var parse2 = (input, options) => {
|
|
9140
10043
|
if (typeof input !== "string") {
|
|
9141
10044
|
throw new TypeError("Expected a string");
|
|
9142
10045
|
}
|
|
@@ -9306,7 +10209,7 @@ var require_parse2 = __commonJS({
|
|
|
9306
10209
|
output3 = token.close = `)$))${extglobStar}`;
|
|
9307
10210
|
}
|
|
9308
10211
|
if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
9309
|
-
const expression =
|
|
10212
|
+
const expression = parse2(rest, { ...options, fastpaths: false }).output;
|
|
9310
10213
|
output3 = token.close = `)${expression})${extglobStar})`;
|
|
9311
10214
|
}
|
|
9312
10215
|
if (token.prev.type === "bos") {
|
|
@@ -9828,7 +10731,7 @@ var require_parse2 = __commonJS({
|
|
|
9828
10731
|
}
|
|
9829
10732
|
return state;
|
|
9830
10733
|
};
|
|
9831
|
-
|
|
10734
|
+
parse2.fastpaths = (input, options) => {
|
|
9832
10735
|
const opts = { ...options };
|
|
9833
10736
|
const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
9834
10737
|
const len = input.length;
|
|
@@ -9893,7 +10796,7 @@ var require_parse2 = __commonJS({
|
|
|
9893
10796
|
}
|
|
9894
10797
|
return source;
|
|
9895
10798
|
};
|
|
9896
|
-
module2.exports =
|
|
10799
|
+
module2.exports = parse2;
|
|
9897
10800
|
}
|
|
9898
10801
|
});
|
|
9899
10802
|
|
|
@@ -9902,7 +10805,7 @@ var require_picomatch = __commonJS({
|
|
|
9902
10805
|
"../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
|
|
9903
10806
|
"use strict";
|
|
9904
10807
|
var scan = require_scan();
|
|
9905
|
-
var
|
|
10808
|
+
var parse2 = require_parse2();
|
|
9906
10809
|
var utils2 = require_utils();
|
|
9907
10810
|
var constants = require_constants2();
|
|
9908
10811
|
var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
@@ -9990,7 +10893,7 @@ var require_picomatch = __commonJS({
|
|
|
9990
10893
|
picomatch2.isMatch = (str3, patterns, options) => picomatch2(patterns, options)(str3);
|
|
9991
10894
|
picomatch2.parse = (pattern, options) => {
|
|
9992
10895
|
if (Array.isArray(pattern)) return pattern.map((p) => picomatch2.parse(p, options));
|
|
9993
|
-
return
|
|
10896
|
+
return parse2(pattern, { ...options, fastpaths: false });
|
|
9994
10897
|
};
|
|
9995
10898
|
picomatch2.scan = (input, options) => scan(input, options);
|
|
9996
10899
|
picomatch2.compileRe = (state, options, returnOutput = false, returnState = false) => {
|
|
@@ -10016,10 +10919,10 @@ var require_picomatch = __commonJS({
|
|
|
10016
10919
|
}
|
|
10017
10920
|
let parsed = { negated: false, fastpaths: true };
|
|
10018
10921
|
if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
|
|
10019
|
-
parsed.output =
|
|
10922
|
+
parsed.output = parse2.fastpaths(input, options);
|
|
10020
10923
|
}
|
|
10021
10924
|
if (!parsed.output) {
|
|
10022
|
-
parsed =
|
|
10925
|
+
parsed = parse2(input, options);
|
|
10023
10926
|
}
|
|
10024
10927
|
return picomatch2.compileRe(parsed, options, returnOutput, returnState);
|
|
10025
10928
|
};
|
|
@@ -10318,10 +11221,10 @@ function globSync(patternsOrOptions, options) {
|
|
|
10318
11221
|
return formatPaths(crawler.sync(), relative2);
|
|
10319
11222
|
}
|
|
10320
11223
|
var import_picomatch, isReadonlyArray, isWin, ONLY_PARENT_DIRECTORIES, WIN32_ROOT_DIR, isRoot, splitPatternOptions, POSIX_UNESCAPED_GLOB_SYMBOLS, WIN32_UNESCAPED_GLOB_SYMBOLS, escapePosixPath, escapeWin32Path, escapePath, PARENT_DIRECTORY, ESCAPING_BACKSLASHES, BACKSLASHES;
|
|
10321
|
-
var
|
|
11224
|
+
var init_dist13 = __esm({
|
|
10322
11225
|
"../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs"() {
|
|
10323
11226
|
"use strict";
|
|
10324
|
-
|
|
11227
|
+
init_dist12();
|
|
10325
11228
|
import_picomatch = __toESM(require_picomatch2(), 1);
|
|
10326
11229
|
isReadonlyArray = Array.isArray;
|
|
10327
11230
|
isWin = process.platform === "win32";
|
|
@@ -13047,7 +13950,7 @@ var require_parse3 = __commonJS({
|
|
|
13047
13950
|
}
|
|
13048
13951
|
return result + "\n" + srcline + "\n" + underline;
|
|
13049
13952
|
}
|
|
13050
|
-
function
|
|
13953
|
+
function parse2(input, options) {
|
|
13051
13954
|
var json5 = false;
|
|
13052
13955
|
var cjson = false;
|
|
13053
13956
|
if (options.legacy || options.mode === "json") {
|
|
@@ -13115,13 +14018,13 @@ var require_parse3 = __commonJS({
|
|
|
13115
14018
|
tokenStart();
|
|
13116
14019
|
var chr = input[position++];
|
|
13117
14020
|
if (chr === '"' || chr === "'" && json5) {
|
|
13118
|
-
return tokenEnd(
|
|
14021
|
+
return tokenEnd(parseString2(chr), "literal");
|
|
13119
14022
|
} else if (chr === "{") {
|
|
13120
14023
|
tokenEnd(void 0, "separator");
|
|
13121
14024
|
return parseObject();
|
|
13122
14025
|
} else if (chr === "[") {
|
|
13123
14026
|
tokenEnd(void 0, "separator");
|
|
13124
|
-
return
|
|
14027
|
+
return parseArray2();
|
|
13125
14028
|
} else if (chr === "-" || chr === "." || isDecDigit(chr) || json5 && (chr === "+" || chr === "I" || chr === "N")) {
|
|
13126
14029
|
return tokenEnd(parseNumber(), "literal");
|
|
13127
14030
|
} else if (chr === "n") {
|
|
@@ -13139,19 +14042,19 @@ var require_parse3 = __commonJS({
|
|
|
13139
14042
|
}
|
|
13140
14043
|
}
|
|
13141
14044
|
}
|
|
13142
|
-
function
|
|
14045
|
+
function parseKey2() {
|
|
13143
14046
|
var result;
|
|
13144
14047
|
while (position < length) {
|
|
13145
14048
|
tokenStart();
|
|
13146
14049
|
var chr = input[position++];
|
|
13147
14050
|
if (chr === '"' || chr === "'" && json5) {
|
|
13148
|
-
return tokenEnd(
|
|
14051
|
+
return tokenEnd(parseString2(chr), "key");
|
|
13149
14052
|
} else if (chr === "{") {
|
|
13150
14053
|
tokenEnd(void 0, "separator");
|
|
13151
14054
|
return parseObject();
|
|
13152
14055
|
} else if (chr === "[") {
|
|
13153
14056
|
tokenEnd(void 0, "separator");
|
|
13154
|
-
return
|
|
14057
|
+
return parseArray2();
|
|
13155
14058
|
} else if (chr === "." || isDecDigit(chr)) {
|
|
13156
14059
|
return tokenEnd(parseNumber(true), "key");
|
|
13157
14060
|
} else if (json5 && Uni.isIdentifierStart(chr) || chr === "\\" && input[position] === "u") {
|
|
@@ -13187,7 +14090,7 @@ var require_parse3 = __commonJS({
|
|
|
13187
14090
|
tokenEnd(void 0, "whitespace");
|
|
13188
14091
|
tokenStart();
|
|
13189
14092
|
position++;
|
|
13190
|
-
|
|
14093
|
+
skipComment2(input[position++] === "*");
|
|
13191
14094
|
tokenEnd(void 0, "comment");
|
|
13192
14095
|
tokenStart();
|
|
13193
14096
|
} else {
|
|
@@ -13197,7 +14100,7 @@ var require_parse3 = __commonJS({
|
|
|
13197
14100
|
}
|
|
13198
14101
|
return tokenEnd(void 0, "whitespace");
|
|
13199
14102
|
}
|
|
13200
|
-
function
|
|
14103
|
+
function skipComment2(multi) {
|
|
13201
14104
|
while (position < length) {
|
|
13202
14105
|
var chr = input[position++];
|
|
13203
14106
|
if (isLineTerminator(chr)) {
|
|
@@ -13233,7 +14136,7 @@ var require_parse3 = __commonJS({
|
|
|
13233
14136
|
var result = options.null_prototype ? /* @__PURE__ */ Object.create(null) : {}, empty_object = {}, is_non_empty = false;
|
|
13234
14137
|
while (position < length) {
|
|
13235
14138
|
skipWhiteSpace();
|
|
13236
|
-
var item1 =
|
|
14139
|
+
var item1 = parseKey2();
|
|
13237
14140
|
skipWhiteSpace();
|
|
13238
14141
|
tokenStart();
|
|
13239
14142
|
var chr = input[position++];
|
|
@@ -13292,7 +14195,7 @@ var require_parse3 = __commonJS({
|
|
|
13292
14195
|
}
|
|
13293
14196
|
fail();
|
|
13294
14197
|
}
|
|
13295
|
-
function
|
|
14198
|
+
function parseArray2() {
|
|
13296
14199
|
var result = [];
|
|
13297
14200
|
while (position < length) {
|
|
13298
14201
|
skipWhiteSpace();
|
|
@@ -13418,7 +14321,7 @@ var require_parse3 = __commonJS({
|
|
|
13418
14321
|
}
|
|
13419
14322
|
fail();
|
|
13420
14323
|
}
|
|
13421
|
-
function
|
|
14324
|
+
function parseString2(endChar) {
|
|
13422
14325
|
var result = "";
|
|
13423
14326
|
while (position < length) {
|
|
13424
14327
|
var chr = input[position++];
|
|
@@ -13505,7 +14408,7 @@ var require_parse3 = __commonJS({
|
|
|
13505
14408
|
}
|
|
13506
14409
|
}
|
|
13507
14410
|
try {
|
|
13508
|
-
return
|
|
14411
|
+
return parse2(input, options);
|
|
13509
14412
|
} catch (err) {
|
|
13510
14413
|
if (err instanceof SyntaxError && err.row != null && err.column != null) {
|
|
13511
14414
|
var old_err = err;
|
|
@@ -13876,7 +14779,7 @@ var require_document = __commonJS({
|
|
|
13876
14779
|
"use strict";
|
|
13877
14780
|
var assert2 = __require("assert");
|
|
13878
14781
|
var tokenize2 = require_parse3().tokenize;
|
|
13879
|
-
var
|
|
14782
|
+
var stringify4 = require_stringify().stringify;
|
|
13880
14783
|
var analyze2 = require_analyze().analyze;
|
|
13881
14784
|
function isObject3(x) {
|
|
13882
14785
|
return typeof x === "object" && x !== null;
|
|
@@ -13891,7 +14794,7 @@ var require_document = __commonJS({
|
|
|
13891
14794
|
}
|
|
13892
14795
|
if (options._splitMin == null) options._splitMin = 0;
|
|
13893
14796
|
if (options._splitMax == null) options._splitMax = 0;
|
|
13894
|
-
var stringified =
|
|
14797
|
+
var stringified = stringify4(value, options);
|
|
13895
14798
|
if (is_key) {
|
|
13896
14799
|
return [{ raw: stringified, type: "key", stack, value }];
|
|
13897
14800
|
}
|
|
@@ -14359,7 +15262,7 @@ var import_jju, InvalidMonorepoError, readJson, readJsonSync, BunTool, LernaTool
|
|
|
14359
15262
|
var init_manypkg_tools = __esm({
|
|
14360
15263
|
"../../node_modules/.pnpm/@manypkg+tools@2.1.0/node_modules/@manypkg/tools/dist/manypkg-tools.js"() {
|
|
14361
15264
|
"use strict";
|
|
14362
|
-
|
|
15265
|
+
init_dist13();
|
|
14363
15266
|
init_js_yaml();
|
|
14364
15267
|
import_jju = __toESM(require_jju(), 1);
|
|
14365
15268
|
InvalidMonorepoError = class extends Error {
|
|
@@ -15031,7 +15934,6 @@ var init_baseError_DQHIJACF = __esm({
|
|
|
15031
15934
|
// ../version/dist/chunk-UBCKZYTO.js
|
|
15032
15935
|
import * as fs9 from "fs";
|
|
15033
15936
|
import * as path12 from "path";
|
|
15034
|
-
import * as TOML2 from "smol-toml";
|
|
15035
15937
|
import * as fs32 from "fs";
|
|
15036
15938
|
import * as path32 from "path";
|
|
15037
15939
|
import { z as z22 } from "zod";
|
|
@@ -15045,7 +15947,6 @@ import fs62 from "fs";
|
|
|
15045
15947
|
import path52 from "path";
|
|
15046
15948
|
import fs52 from "fs";
|
|
15047
15949
|
import path42 from "path";
|
|
15048
|
-
import * as TOML22 from "smol-toml";
|
|
15049
15950
|
import * as fs92 from "fs";
|
|
15050
15951
|
import path72 from "path";
|
|
15051
15952
|
import fs82 from "fs";
|
|
@@ -15056,7 +15957,7 @@ import path92 from "path";
|
|
|
15056
15957
|
import { Command } from "commander";
|
|
15057
15958
|
function parseCargoToml(cargoPath) {
|
|
15058
15959
|
const content = fs9.readFileSync(cargoPath, "utf-8");
|
|
15059
|
-
return
|
|
15960
|
+
return parse(content);
|
|
15060
15961
|
}
|
|
15061
15962
|
function isCargoToml(filePath) {
|
|
15062
15963
|
return path12.basename(filePath) === "Cargo.toml";
|
|
@@ -15559,7 +16460,7 @@ function updateCargoVersion(cargoPath, version, dryRun = false) {
|
|
|
15559
16460
|
} else {
|
|
15560
16461
|
cargo.package.version = version;
|
|
15561
16462
|
}
|
|
15562
|
-
const updatedContent =
|
|
16463
|
+
const updatedContent = stringify(cargo);
|
|
15563
16464
|
if (dryRun) {
|
|
15564
16465
|
recordPendingWrite(cargoPath, updatedContent);
|
|
15565
16466
|
} else {
|
|
@@ -16821,12 +17722,14 @@ var init_chunk_UBCKZYTO = __esm({
|
|
|
16821
17722
|
"use strict";
|
|
16822
17723
|
init_chunk_Q3FHZORY();
|
|
16823
17724
|
init_chunk_LMPZV35Z();
|
|
16824
|
-
|
|
17725
|
+
init_dist();
|
|
17726
|
+
init_dist8();
|
|
16825
17727
|
import_semver3 = __toESM(require_semver2(), 1);
|
|
16826
17728
|
init_src();
|
|
16827
17729
|
import_semver4 = __toESM(require_semver2(), 1);
|
|
16828
17730
|
init_source();
|
|
16829
17731
|
init_node_figlet();
|
|
17732
|
+
init_dist();
|
|
16830
17733
|
import_semver5 = __toESM(require_semver2(), 1);
|
|
16831
17734
|
init_esm3();
|
|
16832
17735
|
init_manypkg_get_packages();
|
|
@@ -17539,8 +18442,8 @@ var init_chunk_UBCKZYTO = __esm({
|
|
|
17539
18442
|
});
|
|
17540
18443
|
|
|
17541
18444
|
// ../version/dist/index.js
|
|
17542
|
-
var
|
|
17543
|
-
__export(
|
|
18445
|
+
var dist_exports4 = {};
|
|
18446
|
+
__export(dist_exports4, {
|
|
17544
18447
|
BaseVersionError: () => BaseVersionError,
|
|
17545
18448
|
PackageProcessor: () => PackageProcessor,
|
|
17546
18449
|
VersionEngine: () => VersionEngine,
|
|
@@ -17556,7 +18459,7 @@ __export(dist_exports3, {
|
|
|
17556
18459
|
getJsonData: () => getJsonData,
|
|
17557
18460
|
loadConfig: () => loadConfig22
|
|
17558
18461
|
});
|
|
17559
|
-
var
|
|
18462
|
+
var init_dist14 = __esm({
|
|
17560
18463
|
"../version/dist/index.js"() {
|
|
17561
18464
|
"use strict";
|
|
17562
18465
|
init_chunk_UBCKZYTO();
|
|
@@ -17863,7 +18766,7 @@ var init_errors = __esm({
|
|
|
17863
18766
|
|
|
17864
18767
|
// ../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/core/error.mjs
|
|
17865
18768
|
var AnthropicError, APIError, APIUserAbortError, APIConnectionError, APIConnectionTimeoutError, BadRequestError, AuthenticationError, PermissionDeniedError, NotFoundError, ConflictError, UnprocessableEntityError, RateLimitError, InternalServerError;
|
|
17866
|
-
var
|
|
18769
|
+
var init_error2 = __esm({
|
|
17867
18770
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/core/error.mjs"() {
|
|
17868
18771
|
"use strict";
|
|
17869
18772
|
init_errors();
|
|
@@ -17981,7 +18884,7 @@ var startsWithSchemeRegexp, isAbsoluteURL, isArray, isReadonlyArray2, validatePo
|
|
|
17981
18884
|
var init_values = __esm({
|
|
17982
18885
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs"() {
|
|
17983
18886
|
"use strict";
|
|
17984
|
-
|
|
18887
|
+
init_error2();
|
|
17985
18888
|
startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
|
|
17986
18889
|
isAbsoluteURL = (url) => {
|
|
17987
18890
|
return startsWithSchemeRegexp.test(url);
|
|
@@ -18273,7 +19176,7 @@ function stringifyQuery(query) {
|
|
|
18273
19176
|
var init_query = __esm({
|
|
18274
19177
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs"() {
|
|
18275
19178
|
"use strict";
|
|
18276
|
-
|
|
19179
|
+
init_error2();
|
|
18277
19180
|
}
|
|
18278
19181
|
});
|
|
18279
19182
|
|
|
@@ -18527,7 +19430,7 @@ var init_streaming = __esm({
|
|
|
18527
19430
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/core/streaming.mjs"() {
|
|
18528
19431
|
"use strict";
|
|
18529
19432
|
init_tslib();
|
|
18530
|
-
|
|
19433
|
+
init_error2();
|
|
18531
19434
|
init_shims();
|
|
18532
19435
|
init_line();
|
|
18533
19436
|
init_shims();
|
|
@@ -18535,7 +19438,7 @@ var init_streaming = __esm({
|
|
|
18535
19438
|
init_values();
|
|
18536
19439
|
init_bytes();
|
|
18537
19440
|
init_log();
|
|
18538
|
-
|
|
19441
|
+
init_error2();
|
|
18539
19442
|
Stream = class _Stream {
|
|
18540
19443
|
constructor(iterator, controller, client) {
|
|
18541
19444
|
this.iterator = iterator;
|
|
@@ -18784,7 +19687,7 @@ function addRequestID(value, response) {
|
|
|
18784
19687
|
enumerable: false
|
|
18785
19688
|
});
|
|
18786
19689
|
}
|
|
18787
|
-
var
|
|
19690
|
+
var init_parse2 = __esm({
|
|
18788
19691
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/internal/parse.mjs"() {
|
|
18789
19692
|
"use strict";
|
|
18790
19693
|
init_streaming();
|
|
@@ -18798,7 +19701,7 @@ var init_api_promise = __esm({
|
|
|
18798
19701
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/core/api-promise.mjs"() {
|
|
18799
19702
|
"use strict";
|
|
18800
19703
|
init_tslib();
|
|
18801
|
-
|
|
19704
|
+
init_parse2();
|
|
18802
19705
|
APIPromise = class _APIPromise extends Promise {
|
|
18803
19706
|
constructor(client, responsePromise, parseResponse2 = defaultParseResponse) {
|
|
18804
19707
|
super((resolve11) => {
|
|
@@ -18868,8 +19771,8 @@ var init_pagination = __esm({
|
|
|
18868
19771
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/core/pagination.mjs"() {
|
|
18869
19772
|
"use strict";
|
|
18870
19773
|
init_tslib();
|
|
18871
|
-
|
|
18872
|
-
|
|
19774
|
+
init_error2();
|
|
19775
|
+
init_parse2();
|
|
18873
19776
|
init_api_promise();
|
|
18874
19777
|
init_values();
|
|
18875
19778
|
AbstractPage = class {
|
|
@@ -19308,7 +20211,7 @@ var EMPTY, createPathTagFunction, path13;
|
|
|
19308
20211
|
var init_path = __esm({
|
|
19309
20212
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs"() {
|
|
19310
20213
|
"use strict";
|
|
19311
|
-
|
|
20214
|
+
init_error2();
|
|
19312
20215
|
EMPTY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.create(null));
|
|
19313
20216
|
createPathTagFunction = (pathEncoder = encodeURIPath) => function path18(statics, ...params) {
|
|
19314
20217
|
if (statics.length === 1)
|
|
@@ -19551,10 +20454,10 @@ var init_models = __esm({
|
|
|
19551
20454
|
});
|
|
19552
20455
|
|
|
19553
20456
|
// ../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/error.mjs
|
|
19554
|
-
var
|
|
20457
|
+
var init_error3 = __esm({
|
|
19555
20458
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/error.mjs"() {
|
|
19556
20459
|
"use strict";
|
|
19557
|
-
|
|
20460
|
+
init_error2();
|
|
19558
20461
|
}
|
|
19559
20462
|
});
|
|
19560
20463
|
|
|
@@ -19651,7 +20554,7 @@ function parseBetaOutputFormat(params, content) {
|
|
|
19651
20554
|
var init_beta_parser = __esm({
|
|
19652
20555
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs"() {
|
|
19653
20556
|
"use strict";
|
|
19654
|
-
|
|
20557
|
+
init_error2();
|
|
19655
20558
|
}
|
|
19656
20559
|
});
|
|
19657
20560
|
|
|
@@ -19901,7 +20804,7 @@ var init_BetaMessageStream = __esm({
|
|
|
19901
20804
|
"use strict";
|
|
19902
20805
|
init_tslib();
|
|
19903
20806
|
init_parser();
|
|
19904
|
-
|
|
20807
|
+
init_error3();
|
|
19905
20808
|
init_errors();
|
|
19906
20809
|
init_streaming2();
|
|
19907
20810
|
init_beta_parser();
|
|
@@ -20603,7 +21506,7 @@ var init_BetaToolRunner = __esm({
|
|
|
20603
21506
|
"use strict";
|
|
20604
21507
|
init_tslib();
|
|
20605
21508
|
init_ToolError();
|
|
20606
|
-
|
|
21509
|
+
init_error2();
|
|
20607
21510
|
init_headers();
|
|
20608
21511
|
init_CompactionControl();
|
|
20609
21512
|
init_stainless_helper_header();
|
|
@@ -20885,7 +21788,7 @@ var JSONLDecoder;
|
|
|
20885
21788
|
var init_jsonl = __esm({
|
|
20886
21789
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs"() {
|
|
20887
21790
|
"use strict";
|
|
20888
|
-
|
|
21791
|
+
init_error2();
|
|
20889
21792
|
init_shims();
|
|
20890
21793
|
init_line();
|
|
20891
21794
|
JSONLDecoder = class _JSONLDecoder {
|
|
@@ -20930,7 +21833,7 @@ var init_batches = __esm({
|
|
|
20930
21833
|
init_pagination();
|
|
20931
21834
|
init_headers();
|
|
20932
21835
|
init_jsonl();
|
|
20933
|
-
|
|
21836
|
+
init_error3();
|
|
20934
21837
|
init_path();
|
|
20935
21838
|
Batches = class extends APIResource {
|
|
20936
21839
|
/**
|
|
@@ -21146,7 +22049,7 @@ var DEPRECATED_MODELS, MODELS_TO_WARN_WITH_THINKING_ENABLED, Messages;
|
|
|
21146
22049
|
var init_messages = __esm({
|
|
21147
22050
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs"() {
|
|
21148
22051
|
"use strict";
|
|
21149
|
-
|
|
22052
|
+
init_error3();
|
|
21150
22053
|
init_resource();
|
|
21151
22054
|
init_constants();
|
|
21152
22055
|
init_headers();
|
|
@@ -21597,7 +22500,7 @@ function parseOutputFormat(params, content) {
|
|
|
21597
22500
|
var init_parser2 = __esm({
|
|
21598
22501
|
"../../node_modules/.pnpm/@anthropic-ai+sdk@0.82.0_zod@4.3.6/node_modules/@anthropic-ai/sdk/lib/parser.mjs"() {
|
|
21599
22502
|
"use strict";
|
|
21600
|
-
|
|
22503
|
+
init_error2();
|
|
21601
22504
|
}
|
|
21602
22505
|
});
|
|
21603
22506
|
|
|
@@ -21613,7 +22516,7 @@ var init_MessageStream = __esm({
|
|
|
21613
22516
|
"use strict";
|
|
21614
22517
|
init_tslib();
|
|
21615
22518
|
init_errors();
|
|
21616
|
-
|
|
22519
|
+
init_error3();
|
|
21617
22520
|
init_streaming2();
|
|
21618
22521
|
init_parser();
|
|
21619
22522
|
init_parser2();
|
|
@@ -22188,7 +23091,7 @@ var init_batches2 = __esm({
|
|
|
22188
23091
|
init_pagination();
|
|
22189
23092
|
init_headers();
|
|
22190
23093
|
init_jsonl();
|
|
22191
|
-
|
|
23094
|
+
init_error3();
|
|
22192
23095
|
init_path();
|
|
22193
23096
|
Batches2 = class extends APIResource {
|
|
22194
23097
|
/**
|
|
@@ -22550,7 +23453,7 @@ var init_client = __esm({
|
|
|
22550
23453
|
init_request_options();
|
|
22551
23454
|
init_query();
|
|
22552
23455
|
init_version();
|
|
22553
|
-
|
|
23456
|
+
init_error2();
|
|
22554
23457
|
init_pagination();
|
|
22555
23458
|
init_uploads2();
|
|
22556
23459
|
init_resources();
|
|
@@ -23041,7 +23944,7 @@ var init_sdk = __esm({
|
|
|
23041
23944
|
init_api_promise();
|
|
23042
23945
|
init_client();
|
|
23043
23946
|
init_pagination();
|
|
23044
|
-
|
|
23947
|
+
init_error2();
|
|
23045
23948
|
}
|
|
23046
23949
|
});
|
|
23047
23950
|
|
|
@@ -23125,7 +24028,7 @@ var init_errors2 = __esm({
|
|
|
23125
24028
|
|
|
23126
24029
|
// ../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/core/error.mjs
|
|
23127
24030
|
var OpenAIError, APIError2, APIUserAbortError2, APIConnectionError2, APIConnectionTimeoutError2, BadRequestError2, AuthenticationError2, PermissionDeniedError2, NotFoundError2, ConflictError2, UnprocessableEntityError2, RateLimitError2, InternalServerError2, LengthFinishReasonError, ContentFilterFinishReasonError, InvalidWebhookSignatureError;
|
|
23128
|
-
var
|
|
24031
|
+
var init_error4 = __esm({
|
|
23129
24032
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/core/error.mjs"() {
|
|
23130
24033
|
"use strict";
|
|
23131
24034
|
init_errors2();
|
|
@@ -23263,7 +24166,7 @@ var startsWithSchemeRegexp2, isAbsoluteURL2, isArray2, isReadonlyArray3, validat
|
|
|
23263
24166
|
var init_values2 = __esm({
|
|
23264
24167
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/internal/utils/values.mjs"() {
|
|
23265
24168
|
"use strict";
|
|
23266
|
-
|
|
24169
|
+
init_error4();
|
|
23267
24170
|
startsWithSchemeRegexp2 = /^[a-z][a-z0-9+.-]*:/i;
|
|
23268
24171
|
isAbsoluteURL2 = (url) => {
|
|
23269
24172
|
return startsWithSchemeRegexp2.test(url);
|
|
@@ -23881,7 +24784,7 @@ function stringify2(object, opts = {}) {
|
|
|
23881
24784
|
return joined.length > 0 ? prefix + joined : "";
|
|
23882
24785
|
}
|
|
23883
24786
|
var array_prefix_generators, push_to_array, toISOString, defaults2, sentinel;
|
|
23884
|
-
var
|
|
24787
|
+
var init_stringify2 = __esm({
|
|
23885
24788
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/internal/qs/stringify.mjs"() {
|
|
23886
24789
|
"use strict";
|
|
23887
24790
|
init_utils6();
|
|
@@ -23935,7 +24838,7 @@ function stringifyQuery2(query) {
|
|
|
23935
24838
|
var init_query2 = __esm({
|
|
23936
24839
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/internal/utils/query.mjs"() {
|
|
23937
24840
|
"use strict";
|
|
23938
|
-
|
|
24841
|
+
init_stringify2();
|
|
23939
24842
|
}
|
|
23940
24843
|
});
|
|
23941
24844
|
|
|
@@ -24189,14 +25092,14 @@ var init_streaming3 = __esm({
|
|
|
24189
25092
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/core/streaming.mjs"() {
|
|
24190
25093
|
"use strict";
|
|
24191
25094
|
init_tslib2();
|
|
24192
|
-
|
|
25095
|
+
init_error4();
|
|
24193
25096
|
init_shims2();
|
|
24194
25097
|
init_line2();
|
|
24195
25098
|
init_shims2();
|
|
24196
25099
|
init_errors2();
|
|
24197
25100
|
init_bytes2();
|
|
24198
25101
|
init_log2();
|
|
24199
|
-
|
|
25102
|
+
init_error4();
|
|
24200
25103
|
Stream2 = class _Stream {
|
|
24201
25104
|
constructor(iterator, controller, client) {
|
|
24202
25105
|
this.iterator = iterator;
|
|
@@ -24452,7 +25355,7 @@ function addRequestID2(value, response) {
|
|
|
24452
25355
|
enumerable: false
|
|
24453
25356
|
});
|
|
24454
25357
|
}
|
|
24455
|
-
var
|
|
25358
|
+
var init_parse3 = __esm({
|
|
24456
25359
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/internal/parse.mjs"() {
|
|
24457
25360
|
"use strict";
|
|
24458
25361
|
init_streaming3();
|
|
@@ -24466,7 +25369,7 @@ var init_api_promise2 = __esm({
|
|
|
24466
25369
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/core/api-promise.mjs"() {
|
|
24467
25370
|
"use strict";
|
|
24468
25371
|
init_tslib2();
|
|
24469
|
-
|
|
25372
|
+
init_parse3();
|
|
24470
25373
|
APIPromise2 = class _APIPromise extends Promise {
|
|
24471
25374
|
constructor(client, responsePromise, parseResponse2 = defaultParseResponse2) {
|
|
24472
25375
|
super((resolve11) => {
|
|
@@ -24536,8 +25439,8 @@ var init_pagination2 = __esm({
|
|
|
24536
25439
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/core/pagination.mjs"() {
|
|
24537
25440
|
"use strict";
|
|
24538
25441
|
init_tslib2();
|
|
24539
|
-
|
|
24540
|
-
|
|
25442
|
+
init_error4();
|
|
25443
|
+
init_parse3();
|
|
24541
25444
|
init_api_promise2();
|
|
24542
25445
|
init_values2();
|
|
24543
25446
|
AbstractPage2 = class {
|
|
@@ -24858,7 +25761,7 @@ var EMPTY2, createPathTagFunction2, path14;
|
|
|
24858
25761
|
var init_path2 = __esm({
|
|
24859
25762
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/internal/utils/path.mjs"() {
|
|
24860
25763
|
"use strict";
|
|
24861
|
-
|
|
25764
|
+
init_error4();
|
|
24862
25765
|
EMPTY2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.create(null));
|
|
24863
25766
|
createPathTagFunction2 = (pathEncoder = encodeURIPath2) => function path18(statics, ...params) {
|
|
24864
25767
|
if (statics.length === 1)
|
|
@@ -24943,10 +25846,10 @@ var init_messages3 = __esm({
|
|
|
24943
25846
|
});
|
|
24944
25847
|
|
|
24945
25848
|
// ../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/error.mjs
|
|
24946
|
-
var
|
|
25849
|
+
var init_error5 = __esm({
|
|
24947
25850
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/error.mjs"() {
|
|
24948
25851
|
"use strict";
|
|
24949
|
-
|
|
25852
|
+
init_error4();
|
|
24950
25853
|
}
|
|
24951
25854
|
});
|
|
24952
25855
|
|
|
@@ -25059,7 +25962,7 @@ function validateInputTools(tools) {
|
|
|
25059
25962
|
var init_parser3 = __esm({
|
|
25060
25963
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/lib/parser.mjs"() {
|
|
25061
25964
|
"use strict";
|
|
25062
|
-
|
|
25965
|
+
init_error5();
|
|
25063
25966
|
}
|
|
25064
25967
|
});
|
|
25065
25968
|
|
|
@@ -25083,7 +25986,7 @@ var init_EventStream = __esm({
|
|
|
25083
25986
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/lib/EventStream.mjs"() {
|
|
25084
25987
|
"use strict";
|
|
25085
25988
|
init_tslib2();
|
|
25086
|
-
|
|
25989
|
+
init_error5();
|
|
25087
25990
|
EventStream = class {
|
|
25088
25991
|
constructor() {
|
|
25089
25992
|
_EventStream_instances.add(this);
|
|
@@ -25277,7 +26180,7 @@ var init_AbstractChatCompletionRunner = __esm({
|
|
|
25277
26180
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/lib/AbstractChatCompletionRunner.mjs"() {
|
|
25278
26181
|
"use strict";
|
|
25279
26182
|
init_tslib2();
|
|
25280
|
-
|
|
26183
|
+
init_error5();
|
|
25281
26184
|
init_parser3();
|
|
25282
26185
|
init_chatCompletionUtils();
|
|
25283
26186
|
init_EventStream();
|
|
@@ -25898,7 +26801,7 @@ var init_ChatCompletionStream = __esm({
|
|
|
25898
26801
|
"use strict";
|
|
25899
26802
|
init_tslib2();
|
|
25900
26803
|
init_parser4();
|
|
25901
|
-
|
|
26804
|
+
init_error5();
|
|
25902
26805
|
init_parser3();
|
|
25903
26806
|
init_streaming4();
|
|
25904
26807
|
init_AbstractChatCompletionRunner();
|
|
@@ -27099,7 +28002,7 @@ var toFloat32Array;
|
|
|
27099
28002
|
var init_base64 = __esm({
|
|
27100
28003
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/internal/utils/base64.mjs"() {
|
|
27101
28004
|
"use strict";
|
|
27102
|
-
|
|
28005
|
+
init_error4();
|
|
27103
28006
|
init_bytes2();
|
|
27104
28007
|
toFloat32Array = (base64Str) => {
|
|
27105
28008
|
if (typeof Buffer !== "undefined") {
|
|
@@ -27158,7 +28061,7 @@ var init_AssistantStream = __esm({
|
|
|
27158
28061
|
"use strict";
|
|
27159
28062
|
init_tslib2();
|
|
27160
28063
|
init_streaming4();
|
|
27161
|
-
|
|
28064
|
+
init_error5();
|
|
27162
28065
|
init_EventStream();
|
|
27163
28066
|
init_utils7();
|
|
27164
28067
|
AssistantStream = class extends EventStream {
|
|
@@ -28412,7 +29315,7 @@ var init_files3 = __esm({
|
|
|
28412
29315
|
init_pagination2();
|
|
28413
29316
|
init_headers2();
|
|
28414
29317
|
init_sleep2();
|
|
28415
|
-
|
|
29318
|
+
init_error5();
|
|
28416
29319
|
init_uploads3();
|
|
28417
29320
|
init_path2();
|
|
28418
29321
|
Files3 = class extends APIResource2 {
|
|
@@ -29231,7 +30134,7 @@ function addOutputText(rsp) {
|
|
|
29231
30134
|
var init_ResponsesParser = __esm({
|
|
29232
30135
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/lib/ResponsesParser.mjs"() {
|
|
29233
30136
|
"use strict";
|
|
29234
|
-
|
|
30137
|
+
init_error5();
|
|
29235
30138
|
init_parser3();
|
|
29236
30139
|
}
|
|
29237
30140
|
});
|
|
@@ -29245,7 +30148,7 @@ var init_ResponseStream = __esm({
|
|
|
29245
30148
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/lib/responses/ResponseStream.mjs"() {
|
|
29246
30149
|
"use strict";
|
|
29247
30150
|
init_tslib2();
|
|
29248
|
-
|
|
30151
|
+
init_error5();
|
|
29249
30152
|
init_EventStream();
|
|
29250
30153
|
init_ResponsesParser();
|
|
29251
30154
|
ResponseStream = class _ResponseStream extends EventStream {
|
|
@@ -30383,7 +31286,7 @@ var init_webhooks = __esm({
|
|
|
30383
31286
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/resources/webhooks/webhooks.mjs"() {
|
|
30384
31287
|
"use strict";
|
|
30385
31288
|
init_tslib2();
|
|
30386
|
-
|
|
31289
|
+
init_error5();
|
|
30387
31290
|
init_resource2();
|
|
30388
31291
|
init_headers2();
|
|
30389
31292
|
Webhooks = class extends APIResource2 {
|
|
@@ -30524,7 +31427,7 @@ var init_client2 = __esm({
|
|
|
30524
31427
|
init_request_options2();
|
|
30525
31428
|
init_query2();
|
|
30526
31429
|
init_version2();
|
|
30527
|
-
|
|
31430
|
+
init_error4();
|
|
30528
31431
|
init_pagination2();
|
|
30529
31432
|
init_uploads4();
|
|
30530
31433
|
init_resources2();
|
|
@@ -31044,7 +31947,7 @@ var init_azure = __esm({
|
|
|
31044
31947
|
"../../node_modules/.pnpm/openai@6.33.0_zod@4.3.6/node_modules/openai/azure.mjs"() {
|
|
31045
31948
|
"use strict";
|
|
31046
31949
|
init_headers2();
|
|
31047
|
-
|
|
31950
|
+
init_error5();
|
|
31048
31951
|
init_utils7();
|
|
31049
31952
|
init_client2();
|
|
31050
31953
|
}
|
|
@@ -31059,7 +31962,7 @@ var init_openai = __esm({
|
|
|
31059
31962
|
init_api_promise2();
|
|
31060
31963
|
init_client2();
|
|
31061
31964
|
init_pagination2();
|
|
31062
|
-
|
|
31965
|
+
init_error4();
|
|
31063
31966
|
init_azure();
|
|
31064
31967
|
}
|
|
31065
31968
|
});
|
|
@@ -33191,7 +34094,7 @@ var require_parser = __commonJS({
|
|
|
33191
34094
|
parseError: function parseError(str3, hash) {
|
|
33192
34095
|
throw new Error(str3);
|
|
33193
34096
|
},
|
|
33194
|
-
parse: function
|
|
34097
|
+
parse: function parse2(input) {
|
|
33195
34098
|
var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
|
|
33196
34099
|
this.lexer.setInput(input);
|
|
33197
34100
|
this.lexer.yy = this.yy;
|
|
@@ -34104,7 +35007,7 @@ var require_base2 = __commonJS({
|
|
|
34104
35007
|
"use strict";
|
|
34105
35008
|
exports2.__esModule = true;
|
|
34106
35009
|
exports2.parseWithoutProcessing = parseWithoutProcessing;
|
|
34107
|
-
exports2.parse =
|
|
35010
|
+
exports2.parse = parse2;
|
|
34108
35011
|
function _interopRequireWildcard(obj) {
|
|
34109
35012
|
if (obj && obj.__esModule) {
|
|
34110
35013
|
return obj;
|
|
@@ -34146,7 +35049,7 @@ var require_base2 = __commonJS({
|
|
|
34146
35049
|
var ast = _parser2["default"].parse(input);
|
|
34147
35050
|
return ast;
|
|
34148
35051
|
}
|
|
34149
|
-
function
|
|
35052
|
+
function parse2(input, options) {
|
|
34150
35053
|
var ast = parseWithoutProcessing(input, options);
|
|
34151
35054
|
var strip3 = new _whitespaceControl2["default"](options);
|
|
34152
35055
|
return strip3.accept(ast);
|
|
@@ -42439,7 +43342,6 @@ var init_aggregator_IUQUAVJC = __esm({
|
|
|
42439
43342
|
});
|
|
42440
43343
|
|
|
42441
43344
|
// ../notes/dist/chunk-Y4S5UWCL.js
|
|
42442
|
-
import * as TOML3 from "smol-toml";
|
|
42443
43345
|
import * as fs33 from "fs";
|
|
42444
43346
|
import * as path33 from "path";
|
|
42445
43347
|
import { z as z23 } from "zod";
|
|
@@ -43774,6 +44676,7 @@ var init_chunk_Y4S5UWCL = __esm({
|
|
|
43774
44676
|
"../notes/dist/chunk-Y4S5UWCL.js"() {
|
|
43775
44677
|
"use strict";
|
|
43776
44678
|
init_chunk_7TJSPQPW();
|
|
44679
|
+
init_dist();
|
|
43777
44680
|
init_sdk();
|
|
43778
44681
|
init_openai();
|
|
43779
44682
|
init_openai();
|
|
@@ -44369,8 +45272,8 @@ Summary (only output the summary, nothing else):`;
|
|
|
44369
45272
|
});
|
|
44370
45273
|
|
|
44371
45274
|
// ../notes/dist/index.js
|
|
44372
|
-
var
|
|
44373
|
-
__export(
|
|
45275
|
+
var dist_exports5 = {};
|
|
45276
|
+
__export(dist_exports5, {
|
|
44374
45277
|
ConfigError: () => ConfigError22,
|
|
44375
45278
|
GitHubError: () => GitHubError,
|
|
44376
45279
|
InputParseError: () => InputParseError,
|
|
@@ -44432,7 +45335,7 @@ function writeJson(outputPath, contexts, dryRun) {
|
|
|
44432
45335
|
fs14.writeFileSync(outputPath, content, "utf-8");
|
|
44433
45336
|
success2(`JSON output written to ${outputPath}`);
|
|
44434
45337
|
}
|
|
44435
|
-
var
|
|
45338
|
+
var init_dist15 = __esm({
|
|
44436
45339
|
"../notes/dist/index.js"() {
|
|
44437
45340
|
"use strict";
|
|
44438
45341
|
init_chunk_Y4S5UWCL();
|
|
@@ -44443,7 +45346,6 @@ var init_dist14 = __esm({
|
|
|
44443
45346
|
|
|
44444
45347
|
// ../publish/dist/chunk-OZHNJUFW.js
|
|
44445
45348
|
import * as fs25 from "fs";
|
|
44446
|
-
import * as TOML4 from "smol-toml";
|
|
44447
45349
|
import * as fs34 from "fs";
|
|
44448
45350
|
import * as path34 from "path";
|
|
44449
45351
|
import { z as z24 } from "zod";
|
|
@@ -44453,7 +45355,6 @@ import * as os5 from "os";
|
|
|
44453
45355
|
import * as path222 from "path";
|
|
44454
45356
|
import { execFile as execFile2 } from "child_process";
|
|
44455
45357
|
import * as fs44 from "fs";
|
|
44456
|
-
import * as TOML23 from "smol-toml";
|
|
44457
45358
|
import * as fs54 from "fs";
|
|
44458
45359
|
import * as path44 from "path";
|
|
44459
45360
|
import * as fs64 from "fs";
|
|
@@ -44501,7 +45402,7 @@ function sanitizePackageName2(name) {
|
|
|
44501
45402
|
}
|
|
44502
45403
|
function parseCargoToml2(cargoPath) {
|
|
44503
45404
|
const content = fs25.readFileSync(cargoPath, "utf-8");
|
|
44504
|
-
return
|
|
45405
|
+
return parse(content);
|
|
44505
45406
|
}
|
|
44506
45407
|
function mergeGitConfig(topLevel, packageLevel) {
|
|
44507
45408
|
if (!topLevel && !packageLevel) return void 0;
|
|
@@ -44988,7 +45889,7 @@ function updateCargoVersion2(cargoPath, newVersion) {
|
|
|
44988
45889
|
const cargo = parseCargoToml2(cargoPath);
|
|
44989
45890
|
if (cargo.package) {
|
|
44990
45891
|
cargo.package.version = newVersion;
|
|
44991
|
-
fs44.writeFileSync(cargoPath,
|
|
45892
|
+
fs44.writeFileSync(cargoPath, stringify(cargo));
|
|
44992
45893
|
}
|
|
44993
45894
|
} catch (error3) {
|
|
44994
45895
|
throw createPublishError(
|
|
@@ -45981,6 +46882,8 @@ var init_chunk_OZHNJUFW = __esm({
|
|
|
45981
46882
|
"../publish/dist/chunk-OZHNJUFW.js"() {
|
|
45982
46883
|
"use strict";
|
|
45983
46884
|
init_source();
|
|
46885
|
+
init_dist();
|
|
46886
|
+
init_dist();
|
|
45984
46887
|
import_semver6 = __toESM(require_semver2(), 1);
|
|
45985
46888
|
LOG_LEVELS4 = {
|
|
45986
46889
|
error: 0,
|
|
@@ -46417,8 +47320,8 @@ var init_chunk_OZHNJUFW = __esm({
|
|
|
46417
47320
|
});
|
|
46418
47321
|
|
|
46419
47322
|
// ../publish/dist/index.js
|
|
46420
|
-
var
|
|
46421
|
-
__export(
|
|
47323
|
+
var dist_exports6 = {};
|
|
47324
|
+
__export(dist_exports6, {
|
|
46422
47325
|
BasePublishError: () => BasePublishError,
|
|
46423
47326
|
PipelineError: () => PipelineError,
|
|
46424
47327
|
PublishError: () => PublishError,
|
|
@@ -46438,7 +47341,7 @@ __export(dist_exports5, {
|
|
|
46438
47341
|
runPipeline: () => runPipeline2,
|
|
46439
47342
|
updateCargoVersion: () => updateCargoVersion2
|
|
46440
47343
|
});
|
|
46441
|
-
var
|
|
47344
|
+
var init_dist16 = __esm({
|
|
46442
47345
|
"../publish/dist/index.js"() {
|
|
46443
47346
|
"use strict";
|
|
46444
47347
|
init_chunk_OZHNJUFW();
|
|
@@ -46555,7 +47458,7 @@ import { Command as Command6 } from "commander";
|
|
|
46555
47458
|
import { Command as Command4 } from "commander";
|
|
46556
47459
|
|
|
46557
47460
|
// ../config/dist/index.js
|
|
46558
|
-
|
|
47461
|
+
init_dist();
|
|
46559
47462
|
import * as fs3 from "fs";
|
|
46560
47463
|
import * as path3 from "path";
|
|
46561
47464
|
import { z as z2 } from "zod";
|
|
@@ -47296,7 +48199,7 @@ async function runRelease(inputOptions) {
|
|
|
47296
48199
|
return null;
|
|
47297
48200
|
}
|
|
47298
48201
|
if (!options.dryRun) {
|
|
47299
|
-
const { flushPendingWrites: flushPendingWrites2 } = await Promise.resolve().then(() => (
|
|
48202
|
+
const { flushPendingWrites: flushPendingWrites2 } = await Promise.resolve().then(() => (init_dist14(), dist_exports4));
|
|
47300
48203
|
flushPendingWrites2();
|
|
47301
48204
|
}
|
|
47302
48205
|
info(`Found ${versionOutput.updates.length} package update(s)`);
|
|
@@ -47325,7 +48228,7 @@ async function runRelease(inputOptions) {
|
|
|
47325
48228
|
return { versionOutput, notesGenerated, packageNotes, releaseNotes, publishOutput };
|
|
47326
48229
|
}
|
|
47327
48230
|
async function runVersionStep(options) {
|
|
47328
|
-
const { loadConfig: loadConfig5, VersionEngine: VersionEngine2, enableJsonOutput: enableJsonOutput2, getJsonData: getJsonData2 } = await Promise.resolve().then(() => (
|
|
48231
|
+
const { loadConfig: loadConfig5, VersionEngine: VersionEngine2, enableJsonOutput: enableJsonOutput2, getJsonData: getJsonData2 } = await Promise.resolve().then(() => (init_dist14(), dist_exports4));
|
|
47329
48232
|
enableJsonOutput2(options.dryRun);
|
|
47330
48233
|
const config = loadConfig5({ cwd: options.projectDir, configPath: options.config });
|
|
47331
48234
|
if (options.dryRun) config.dryRun = true;
|
|
@@ -47358,14 +48261,14 @@ async function runVersionStep(options) {
|
|
|
47358
48261
|
return getJsonData2();
|
|
47359
48262
|
}
|
|
47360
48263
|
async function runNotesStep(versionOutput, options) {
|
|
47361
|
-
const { parseVersionOutput: parseVersionOutput2, runPipeline: runPipeline3, loadConfig: loadConfig5 } = await Promise.resolve().then(() => (
|
|
48264
|
+
const { parseVersionOutput: parseVersionOutput2, runPipeline: runPipeline3, loadConfig: loadConfig5 } = await Promise.resolve().then(() => (init_dist15(), dist_exports5));
|
|
47362
48265
|
const config = loadConfig5(options.projectDir, options.config);
|
|
47363
48266
|
const input = parseVersionOutput2(JSON.stringify(versionOutput));
|
|
47364
48267
|
const result = await runPipeline3(input, config, options.dryRun);
|
|
47365
48268
|
return { packageNotes: result.packageNotes, releaseNotes: result.releaseNotes, files: result.files };
|
|
47366
48269
|
}
|
|
47367
48270
|
async function runPublishStep(versionOutput, options, releaseNotes, additionalFiles) {
|
|
47368
|
-
const { runPipeline: runPipeline3, loadConfig: loadConfig5 } = await Promise.resolve().then(() => (
|
|
48271
|
+
const { runPipeline: runPipeline3, loadConfig: loadConfig5 } = await Promise.resolve().then(() => (init_dist16(), dist_exports6));
|
|
47369
48272
|
const config = loadConfig5({ configPath: options.config });
|
|
47370
48273
|
if (options.branch) {
|
|
47371
48274
|
config.git.branch = options.branch;
|
|
@@ -47607,6 +48510,43 @@ export {
|
|
|
47607
48510
|
};
|
|
47608
48511
|
/*! Bundled license information:
|
|
47609
48512
|
|
|
48513
|
+
smol-toml/dist/error.js:
|
|
48514
|
+
smol-toml/dist/util.js:
|
|
48515
|
+
smol-toml/dist/date.js:
|
|
48516
|
+
smol-toml/dist/primitive.js:
|
|
48517
|
+
smol-toml/dist/extract.js:
|
|
48518
|
+
smol-toml/dist/struct.js:
|
|
48519
|
+
smol-toml/dist/parse.js:
|
|
48520
|
+
smol-toml/dist/stringify.js:
|
|
48521
|
+
smol-toml/dist/index.js:
|
|
48522
|
+
(*!
|
|
48523
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
48524
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
48525
|
+
*
|
|
48526
|
+
* Redistribution and use in source and binary forms, with or without
|
|
48527
|
+
* modification, are permitted provided that the following conditions are met:
|
|
48528
|
+
*
|
|
48529
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
48530
|
+
* list of conditions and the following disclaimer.
|
|
48531
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
48532
|
+
* this list of conditions and the following disclaimer in the
|
|
48533
|
+
* documentation and/or other materials provided with the distribution.
|
|
48534
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
48535
|
+
* may be used to endorse or promote products derived from this software without
|
|
48536
|
+
* specific prior written permission.
|
|
48537
|
+
*
|
|
48538
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
48539
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
48540
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
48541
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
48542
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
48543
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
48544
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
48545
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
48546
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
48547
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
48548
|
+
*)
|
|
48549
|
+
|
|
47610
48550
|
js-yaml/dist/js-yaml.mjs:
|
|
47611
48551
|
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
|
|
47612
48552
|
|