@sentry/craft 2.31.0 → 2.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/craft +441 -389
- package/package.json +2 -2
package/dist/craft
CHANGED
|
@@ -46873,7 +46873,7 @@ var init_esm14 = __esm({
|
|
|
46873
46873
|
}
|
|
46874
46874
|
});
|
|
46875
46875
|
|
|
46876
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
46876
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/dist/js-yaml.mjs
|
|
46877
46877
|
function getDefaultExportFromCjs(x6) {
|
|
46878
46878
|
return x6 && x6.__esModule && Object.prototype.hasOwnProperty.call(x6, "default") ? x6["default"] : x6;
|
|
46879
46879
|
}
|
|
@@ -48104,16 +48104,21 @@ function requireLoader() {
|
|
|
48104
48104
|
state2.result += _result;
|
|
48105
48105
|
}
|
|
48106
48106
|
}
|
|
48107
|
+
function chargeMergeWork(state2) {
|
|
48108
|
+
state2.totalMergeKeys++;
|
|
48109
|
+
if (state2.maxTotalMergeKeys !== -1 && state2.totalMergeKeys > state2.maxTotalMergeKeys) {
|
|
48110
|
+
throwError(state2, "merge keys exceeded maxTotalMergeKeys (" + state2.maxTotalMergeKeys + ")");
|
|
48111
|
+
}
|
|
48112
|
+
}
|
|
48107
48113
|
function mergeMappings(state2, destination, source, overridableKeys) {
|
|
48108
48114
|
if (!common2.isObject(source)) {
|
|
48109
48115
|
throwError(state2, "cannot merge mappings; the provided source object is unacceptable");
|
|
48110
48116
|
}
|
|
48117
|
+
chargeMergeWork(state2);
|
|
48111
48118
|
const sourceKeys = Object.keys(source);
|
|
48112
48119
|
for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
48113
48120
|
const key = sourceKeys[index];
|
|
48114
|
-
|
|
48115
|
-
throwError(state2, "merge keys exceeded maxTotalMergeKeys (" + state2.maxTotalMergeKeys + ")");
|
|
48116
|
-
}
|
|
48121
|
+
chargeMergeWork(state2);
|
|
48117
48122
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
48118
48123
|
setProperty2(destination, key, source[key]);
|
|
48119
48124
|
overridableKeys[key] = true;
|
|
@@ -48141,6 +48146,9 @@ function requireLoader() {
|
|
|
48141
48146
|
}
|
|
48142
48147
|
if (keyTag === "tag:yaml.org,2002:merge") {
|
|
48143
48148
|
if (Array.isArray(valueNode)) {
|
|
48149
|
+
if (valueNode.length > 100) {
|
|
48150
|
+
throwError(state2, "abnormal merge sequence size");
|
|
48151
|
+
}
|
|
48144
48152
|
for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
|
48145
48153
|
mergeMappings(state2, _result, valueNode[index], overridableKeys);
|
|
48146
48154
|
}
|
|
@@ -49864,7 +49872,7 @@ function requireJsYaml() {
|
|
|
49864
49872
|
}
|
|
49865
49873
|
var jsYaml, loader, common, hasRequiredCommon, exception, hasRequiredException, snippet, hasRequiredSnippet, type, hasRequiredType, schema, hasRequiredSchema, str, hasRequiredStr, seq, hasRequiredSeq, map, hasRequiredMap, failsafe, hasRequiredFailsafe, _null, hasRequired_null, bool, hasRequiredBool, int, hasRequiredInt, float, hasRequiredFloat, json, hasRequiredJson, core, hasRequiredCore, timestamp, hasRequiredTimestamp, merge2, hasRequiredMerge, binary, hasRequiredBinary, omap, hasRequiredOmap, pairs, hasRequiredPairs, set, hasRequiredSet, _default, hasRequired_default, hasRequiredLoader, dumper, hasRequiredDumper, hasRequiredJsYaml, jsYamlExports, yaml, Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types2, safeLoad, safeLoadAll, safeDump;
|
|
49866
49874
|
var init_js_yaml = __esm({
|
|
49867
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
49875
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/dist/js-yaml.mjs"() {
|
|
49868
49876
|
init_import_meta_url();
|
|
49869
49877
|
jsYaml = {};
|
|
49870
49878
|
loader = {};
|
|
@@ -75131,7 +75139,11 @@ async function spawnProcess(command12, args = [], options = {}, spawnProcessOpti
|
|
|
75131
75139
|
});
|
|
75132
75140
|
child.stderr.pipe((0, import_split.default)()).on("data", (data2) => {
|
|
75133
75141
|
const output = `${command12}: ${data2}`;
|
|
75134
|
-
|
|
75142
|
+
if (spawnProcessOptions.showStderr) {
|
|
75143
|
+
logger.info(output);
|
|
75144
|
+
} else {
|
|
75145
|
+
logger.trace(output);
|
|
75146
|
+
}
|
|
75135
75147
|
stderr += `${output}
|
|
75136
75148
|
`;
|
|
75137
75149
|
});
|
|
@@ -83501,47 +83513,47 @@ var require_retry = __commonJS({
|
|
|
83501
83513
|
}
|
|
83502
83514
|
});
|
|
83503
83515
|
|
|
83504
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83516
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/max.js
|
|
83505
83517
|
var max_default;
|
|
83506
83518
|
var init_max = __esm({
|
|
83507
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83519
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/max.js"() {
|
|
83508
83520
|
init_import_meta_url();
|
|
83509
83521
|
max_default = "ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
83510
83522
|
}
|
|
83511
83523
|
});
|
|
83512
83524
|
|
|
83513
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83525
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/nil.js
|
|
83514
83526
|
var nil_default;
|
|
83515
83527
|
var init_nil = __esm({
|
|
83516
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83528
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/nil.js"() {
|
|
83517
83529
|
init_import_meta_url();
|
|
83518
83530
|
nil_default = "00000000-0000-0000-0000-000000000000";
|
|
83519
83531
|
}
|
|
83520
83532
|
});
|
|
83521
83533
|
|
|
83522
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83534
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/regex.js
|
|
83523
83535
|
var regex_default;
|
|
83524
83536
|
var init_regex = __esm({
|
|
83525
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83537
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/regex.js"() {
|
|
83526
83538
|
init_import_meta_url();
|
|
83527
83539
|
regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
|
|
83528
83540
|
}
|
|
83529
83541
|
});
|
|
83530
83542
|
|
|
83531
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83543
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/validate.js
|
|
83532
83544
|
function validate(uuid) {
|
|
83533
83545
|
return typeof uuid === "string" && regex_default.test(uuid);
|
|
83534
83546
|
}
|
|
83535
83547
|
var validate_default;
|
|
83536
83548
|
var init_validate = __esm({
|
|
83537
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83549
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/validate.js"() {
|
|
83538
83550
|
init_import_meta_url();
|
|
83539
83551
|
init_regex();
|
|
83540
83552
|
validate_default = validate;
|
|
83541
83553
|
}
|
|
83542
83554
|
});
|
|
83543
83555
|
|
|
83544
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83556
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/parse.js
|
|
83545
83557
|
function parse2(uuid) {
|
|
83546
83558
|
if (!validate_default(uuid)) {
|
|
83547
83559
|
throw TypeError("Invalid UUID");
|
|
@@ -83551,14 +83563,14 @@ function parse2(uuid) {
|
|
|
83551
83563
|
}
|
|
83552
83564
|
var parse_default;
|
|
83553
83565
|
var init_parse = __esm({
|
|
83554
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83566
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/parse.js"() {
|
|
83555
83567
|
init_import_meta_url();
|
|
83556
83568
|
init_validate();
|
|
83557
83569
|
parse_default = parse2;
|
|
83558
83570
|
}
|
|
83559
83571
|
});
|
|
83560
83572
|
|
|
83561
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83573
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/stringify.js
|
|
83562
83574
|
function unsafeStringify(arr, offset = 0) {
|
|
83563
83575
|
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
83564
83576
|
}
|
|
@@ -83571,7 +83583,7 @@ function stringify(arr, offset = 0) {
|
|
|
83571
83583
|
}
|
|
83572
83584
|
var byteToHex, stringify_default;
|
|
83573
83585
|
var init_stringify = __esm({
|
|
83574
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83586
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/stringify.js"() {
|
|
83575
83587
|
init_import_meta_url();
|
|
83576
83588
|
init_validate();
|
|
83577
83589
|
byteToHex = [];
|
|
@@ -83582,19 +83594,19 @@ var init_stringify = __esm({
|
|
|
83582
83594
|
}
|
|
83583
83595
|
});
|
|
83584
83596
|
|
|
83585
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83597
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/rng.js
|
|
83586
83598
|
function rng() {
|
|
83587
83599
|
return crypto.getRandomValues(rnds8);
|
|
83588
83600
|
}
|
|
83589
83601
|
var rnds8;
|
|
83590
83602
|
var init_rng = __esm({
|
|
83591
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83603
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/rng.js"() {
|
|
83592
83604
|
init_import_meta_url();
|
|
83593
83605
|
rnds8 = new Uint8Array(16);
|
|
83594
83606
|
}
|
|
83595
83607
|
});
|
|
83596
83608
|
|
|
83597
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83609
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v1.js
|
|
83598
83610
|
function v1(options, buf, offset) {
|
|
83599
83611
|
let bytes;
|
|
83600
83612
|
const isV6 = options?._v6 ?? false;
|
|
@@ -83651,14 +83663,18 @@ function v1Bytes(rnds, msecs, nsecs, clockseq, node2, buf, offset = 0) {
|
|
|
83651
83663
|
msecs ??= Date.now();
|
|
83652
83664
|
nsecs ??= 0;
|
|
83653
83665
|
clockseq ??= (rnds[8] << 8 | rnds[9]) & 16383;
|
|
83654
|
-
node2
|
|
83666
|
+
if (node2 == null) {
|
|
83667
|
+
node2 = rnds.slice(10, 16);
|
|
83668
|
+
node2[0] |= 1;
|
|
83669
|
+
}
|
|
83655
83670
|
msecs += 122192928e5;
|
|
83656
|
-
const
|
|
83671
|
+
const t5 = (msecs & 268435455) * 1e4 + nsecs;
|
|
83672
|
+
const tl = t5 >>> 0;
|
|
83657
83673
|
buf[offset++] = tl >>> 24 & 255;
|
|
83658
83674
|
buf[offset++] = tl >>> 16 & 255;
|
|
83659
83675
|
buf[offset++] = tl >>> 8 & 255;
|
|
83660
83676
|
buf[offset++] = tl & 255;
|
|
83661
|
-
const tmh = msecs /
|
|
83677
|
+
const tmh = (msecs / 268435456 | 0) * 625 + (t5 / 4294967296 | 0) & 268435455;
|
|
83662
83678
|
buf[offset++] = tmh >>> 8 & 255;
|
|
83663
83679
|
buf[offset++] = tmh & 255;
|
|
83664
83680
|
buf[offset++] = tmh >>> 24 & 15 | 16;
|
|
@@ -83672,7 +83688,7 @@ function v1Bytes(rnds, msecs, nsecs, clockseq, node2, buf, offset = 0) {
|
|
|
83672
83688
|
}
|
|
83673
83689
|
var _state, v1_default;
|
|
83674
83690
|
var init_v1 = __esm({
|
|
83675
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83691
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v1.js"() {
|
|
83676
83692
|
init_import_meta_url();
|
|
83677
83693
|
init_rng();
|
|
83678
83694
|
init_stringify();
|
|
@@ -83681,7 +83697,7 @@ var init_v1 = __esm({
|
|
|
83681
83697
|
}
|
|
83682
83698
|
});
|
|
83683
83699
|
|
|
83684
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83700
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v1ToV6.js
|
|
83685
83701
|
function v1ToV6(uuid) {
|
|
83686
83702
|
const v1Bytes2 = typeof uuid === "string" ? parse_default(uuid) : uuid;
|
|
83687
83703
|
const v6Bytes = _v1ToV6(v1Bytes2);
|
|
@@ -83691,14 +83707,14 @@ function _v1ToV6(v1Bytes2) {
|
|
|
83691
83707
|
return Uint8Array.of((v1Bytes2[6] & 15) << 4 | v1Bytes2[7] >> 4 & 15, (v1Bytes2[7] & 15) << 4 | (v1Bytes2[4] & 240) >> 4, (v1Bytes2[4] & 15) << 4 | (v1Bytes2[5] & 240) >> 4, (v1Bytes2[5] & 15) << 4 | (v1Bytes2[0] & 240) >> 4, (v1Bytes2[0] & 15) << 4 | (v1Bytes2[1] & 240) >> 4, (v1Bytes2[1] & 15) << 4 | (v1Bytes2[2] & 240) >> 4, 96 | v1Bytes2[2] & 15, v1Bytes2[3], v1Bytes2[8], v1Bytes2[9], v1Bytes2[10], v1Bytes2[11], v1Bytes2[12], v1Bytes2[13], v1Bytes2[14], v1Bytes2[15]);
|
|
83692
83708
|
}
|
|
83693
83709
|
var init_v1ToV6 = __esm({
|
|
83694
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83710
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v1ToV6.js"() {
|
|
83695
83711
|
init_import_meta_url();
|
|
83696
83712
|
init_parse();
|
|
83697
83713
|
init_stringify();
|
|
83698
83714
|
}
|
|
83699
83715
|
});
|
|
83700
83716
|
|
|
83701
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83717
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/md5.js
|
|
83702
83718
|
function md5(bytes) {
|
|
83703
83719
|
if (Array.isArray(bytes)) {
|
|
83704
83720
|
bytes = Buffer.from(bytes);
|
|
@@ -83709,14 +83725,14 @@ function md5(bytes) {
|
|
|
83709
83725
|
}
|
|
83710
83726
|
var import_node_crypto2, md5_default;
|
|
83711
83727
|
var init_md5 = __esm({
|
|
83712
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83728
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/md5.js"() {
|
|
83713
83729
|
init_import_meta_url();
|
|
83714
83730
|
import_node_crypto2 = require("node:crypto");
|
|
83715
83731
|
md5_default = md5;
|
|
83716
83732
|
}
|
|
83717
83733
|
});
|
|
83718
83734
|
|
|
83719
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83735
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v35.js
|
|
83720
83736
|
function stringToBytes(str2) {
|
|
83721
83737
|
str2 = unescape(encodeURIComponent(str2));
|
|
83722
83738
|
const bytes = new Uint8Array(str2.length);
|
|
@@ -83754,7 +83770,7 @@ function v35(version2, hash, value, namespace, buf, offset) {
|
|
|
83754
83770
|
}
|
|
83755
83771
|
var DNS, URL2;
|
|
83756
83772
|
var init_v35 = __esm({
|
|
83757
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83773
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v35.js"() {
|
|
83758
83774
|
init_import_meta_url();
|
|
83759
83775
|
init_parse();
|
|
83760
83776
|
init_stringify();
|
|
@@ -83763,13 +83779,13 @@ var init_v35 = __esm({
|
|
|
83763
83779
|
}
|
|
83764
83780
|
});
|
|
83765
83781
|
|
|
83766
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83782
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v3.js
|
|
83767
83783
|
function v3(value, namespace, buf, offset) {
|
|
83768
83784
|
return v35(48, md5_default, value, namespace, buf, offset);
|
|
83769
83785
|
}
|
|
83770
83786
|
var v3_default;
|
|
83771
83787
|
var init_v3 = __esm({
|
|
83772
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83788
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v3.js"() {
|
|
83773
83789
|
init_import_meta_url();
|
|
83774
83790
|
init_md5();
|
|
83775
83791
|
init_v35();
|
|
@@ -83779,7 +83795,7 @@ var init_v3 = __esm({
|
|
|
83779
83795
|
}
|
|
83780
83796
|
});
|
|
83781
83797
|
|
|
83782
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83798
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v4.js
|
|
83783
83799
|
function v4(options, buf, offset) {
|
|
83784
83800
|
if (!buf && !options && crypto.randomUUID) {
|
|
83785
83801
|
return crypto.randomUUID();
|
|
@@ -83808,7 +83824,7 @@ function _v4(options, buf, offset) {
|
|
|
83808
83824
|
}
|
|
83809
83825
|
var v4_default;
|
|
83810
83826
|
var init_v4 = __esm({
|
|
83811
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83827
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v4.js"() {
|
|
83812
83828
|
init_import_meta_url();
|
|
83813
83829
|
init_rng();
|
|
83814
83830
|
init_stringify();
|
|
@@ -83816,7 +83832,7 @@ var init_v4 = __esm({
|
|
|
83816
83832
|
}
|
|
83817
83833
|
});
|
|
83818
83834
|
|
|
83819
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83835
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/sha1.js
|
|
83820
83836
|
function sha1(bytes) {
|
|
83821
83837
|
if (Array.isArray(bytes)) {
|
|
83822
83838
|
bytes = Buffer.from(bytes);
|
|
@@ -83827,20 +83843,20 @@ function sha1(bytes) {
|
|
|
83827
83843
|
}
|
|
83828
83844
|
var import_node_crypto3, sha1_default;
|
|
83829
83845
|
var init_sha1 = __esm({
|
|
83830
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83846
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/sha1.js"() {
|
|
83831
83847
|
init_import_meta_url();
|
|
83832
83848
|
import_node_crypto3 = require("node:crypto");
|
|
83833
83849
|
sha1_default = sha1;
|
|
83834
83850
|
}
|
|
83835
83851
|
});
|
|
83836
83852
|
|
|
83837
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83853
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v5.js
|
|
83838
83854
|
function v5(value, namespace, buf, offset) {
|
|
83839
83855
|
return v35(80, sha1_default, value, namespace, buf, offset);
|
|
83840
83856
|
}
|
|
83841
83857
|
var v5_default;
|
|
83842
83858
|
var init_v5 = __esm({
|
|
83843
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83859
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v5.js"() {
|
|
83844
83860
|
init_import_meta_url();
|
|
83845
83861
|
init_sha1();
|
|
83846
83862
|
init_v35();
|
|
@@ -83850,7 +83866,7 @@ var init_v5 = __esm({
|
|
|
83850
83866
|
}
|
|
83851
83867
|
});
|
|
83852
83868
|
|
|
83853
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83869
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v6.js
|
|
83854
83870
|
function v6(options, buf, offset) {
|
|
83855
83871
|
options ??= {};
|
|
83856
83872
|
offset ??= 0;
|
|
@@ -83869,7 +83885,7 @@ function v6(options, buf, offset) {
|
|
|
83869
83885
|
}
|
|
83870
83886
|
var v6_default;
|
|
83871
83887
|
var init_v6 = __esm({
|
|
83872
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83888
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v6.js"() {
|
|
83873
83889
|
init_import_meta_url();
|
|
83874
83890
|
init_stringify();
|
|
83875
83891
|
init_v1();
|
|
@@ -83878,7 +83894,7 @@ var init_v6 = __esm({
|
|
|
83878
83894
|
}
|
|
83879
83895
|
});
|
|
83880
83896
|
|
|
83881
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83897
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v6ToV1.js
|
|
83882
83898
|
function v6ToV1(uuid) {
|
|
83883
83899
|
const v6Bytes = typeof uuid === "string" ? parse_default(uuid) : uuid;
|
|
83884
83900
|
const v1Bytes2 = _v6ToV1(v6Bytes);
|
|
@@ -83888,14 +83904,14 @@ function _v6ToV1(v6Bytes) {
|
|
|
83888
83904
|
return Uint8Array.of((v6Bytes[3] & 15) << 4 | v6Bytes[4] >> 4 & 15, (v6Bytes[4] & 15) << 4 | (v6Bytes[5] & 240) >> 4, (v6Bytes[5] & 15) << 4 | v6Bytes[6] & 15, v6Bytes[7], (v6Bytes[1] & 15) << 4 | (v6Bytes[2] & 240) >> 4, (v6Bytes[2] & 15) << 4 | (v6Bytes[3] & 240) >> 4, 16 | (v6Bytes[0] & 240) >> 4, (v6Bytes[0] & 15) << 4 | (v6Bytes[1] & 240) >> 4, v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);
|
|
83889
83905
|
}
|
|
83890
83906
|
var init_v6ToV1 = __esm({
|
|
83891
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83907
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v6ToV1.js"() {
|
|
83892
83908
|
init_import_meta_url();
|
|
83893
83909
|
init_parse();
|
|
83894
83910
|
init_stringify();
|
|
83895
83911
|
}
|
|
83896
83912
|
});
|
|
83897
83913
|
|
|
83898
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83914
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v7.js
|
|
83899
83915
|
function v7(options, buf, offset) {
|
|
83900
83916
|
let bytes;
|
|
83901
83917
|
if (options) {
|
|
@@ -83912,7 +83928,7 @@ function updateV7State(state2, now, rnds) {
|
|
|
83912
83928
|
state2.msecs ??= -Infinity;
|
|
83913
83929
|
state2.seq ??= 0;
|
|
83914
83930
|
if (now > state2.msecs) {
|
|
83915
|
-
state2.seq = rnds
|
|
83931
|
+
state2.seq = v7Sequence(rnds);
|
|
83916
83932
|
state2.msecs = now;
|
|
83917
83933
|
} else {
|
|
83918
83934
|
state2.seq = state2.seq + 1 | 0;
|
|
@@ -83935,7 +83951,7 @@ function v7Bytes(rnds, msecs, seq2, buf, offset = 0) {
|
|
|
83935
83951
|
}
|
|
83936
83952
|
}
|
|
83937
83953
|
msecs ??= Date.now();
|
|
83938
|
-
seq2 ??= rnds
|
|
83954
|
+
seq2 ??= v7Sequence(rnds);
|
|
83939
83955
|
buf[offset++] = msecs / 1099511627776 & 255;
|
|
83940
83956
|
buf[offset++] = msecs / 4294967296 & 255;
|
|
83941
83957
|
buf[offset++] = msecs / 16777216 & 255;
|
|
@@ -83954,9 +83970,12 @@ function v7Bytes(rnds, msecs, seq2, buf, offset = 0) {
|
|
|
83954
83970
|
buf[offset++] = rnds[15];
|
|
83955
83971
|
return buf;
|
|
83956
83972
|
}
|
|
83973
|
+
function v7Sequence(rnds) {
|
|
83974
|
+
return (rnds[6] & 127) << 24 | rnds[7] << 16 | rnds[8] << 8 | rnds[9];
|
|
83975
|
+
}
|
|
83957
83976
|
var _state2, v7_default;
|
|
83958
83977
|
var init_v7 = __esm({
|
|
83959
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83978
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/v7.js"() {
|
|
83960
83979
|
init_import_meta_url();
|
|
83961
83980
|
init_rng();
|
|
83962
83981
|
init_stringify();
|
|
@@ -83965,7 +83984,7 @@ var init_v7 = __esm({
|
|
|
83965
83984
|
}
|
|
83966
83985
|
});
|
|
83967
83986
|
|
|
83968
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
83987
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/version.js
|
|
83969
83988
|
function version(uuid) {
|
|
83970
83989
|
if (!validate_default(uuid)) {
|
|
83971
83990
|
throw TypeError("Invalid UUID");
|
|
@@ -83974,14 +83993,14 @@ function version(uuid) {
|
|
|
83974
83993
|
}
|
|
83975
83994
|
var version_default2;
|
|
83976
83995
|
var init_version8 = __esm({
|
|
83977
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
83996
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/version.js"() {
|
|
83978
83997
|
init_import_meta_url();
|
|
83979
83998
|
init_validate();
|
|
83980
83999
|
version_default2 = version;
|
|
83981
84000
|
}
|
|
83982
84001
|
});
|
|
83983
84002
|
|
|
83984
|
-
// node_modules/.pnpm/uuid@14.0.
|
|
84003
|
+
// node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/index.js
|
|
83985
84004
|
var dist_node_exports = {};
|
|
83986
84005
|
__export(dist_node_exports, {
|
|
83987
84006
|
MAX: () => max_default,
|
|
@@ -84000,7 +84019,7 @@ __export(dist_node_exports, {
|
|
|
84000
84019
|
version: () => version_default2
|
|
84001
84020
|
});
|
|
84002
84021
|
var init_dist_node = __esm({
|
|
84003
|
-
"node_modules/.pnpm/uuid@14.0.
|
|
84022
|
+
"node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist-node/index.js"() {
|
|
84004
84023
|
init_import_meta_url();
|
|
84005
84024
|
init_max();
|
|
84006
84025
|
init_nil();
|
|
@@ -128045,7 +128064,10 @@ var init_npm = __esm({
|
|
|
128045
128064
|
if (options.otp) {
|
|
128046
128065
|
spawnOptions.env.NPM_CONFIG_OTP = options.otp;
|
|
128047
128066
|
}
|
|
128048
|
-
return spawnProcess(bin, args, spawnOptions, {
|
|
128067
|
+
return spawnProcess(bin, args, spawnOptions, {
|
|
128068
|
+
showStdout: true,
|
|
128069
|
+
showStderr: true
|
|
128070
|
+
});
|
|
128049
128071
|
}
|
|
128050
128072
|
return withTempFile((filePath) => {
|
|
128051
128073
|
const spawnOptions = {};
|
|
@@ -128060,7 +128082,8 @@ var init_npm = __esm({
|
|
|
128060
128082
|
`//registry.npmjs.org/:_authToken=\${${NPM_TOKEN_ENV_VAR}}`
|
|
128061
128083
|
);
|
|
128062
128084
|
return spawnProcess(bin, args, spawnOptions, {
|
|
128063
|
-
showStdout: true
|
|
128085
|
+
showStdout: true,
|
|
128086
|
+
showStderr: true
|
|
128064
128087
|
});
|
|
128065
128088
|
});
|
|
128066
128089
|
}
|
|
@@ -167384,9 +167407,9 @@ var require_commonjs3 = __commonJS({
|
|
|
167384
167407
|
}
|
|
167385
167408
|
});
|
|
167386
167409
|
|
|
167387
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167410
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/common.js
|
|
167388
167411
|
var require_common3 = __commonJS({
|
|
167389
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167412
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/common.js"(exports2, module2) {
|
|
167390
167413
|
"use strict";
|
|
167391
167414
|
init_import_meta_url();
|
|
167392
167415
|
function isNothing(subject) {
|
|
@@ -167429,9 +167452,9 @@ var require_common3 = __commonJS({
|
|
|
167429
167452
|
}
|
|
167430
167453
|
});
|
|
167431
167454
|
|
|
167432
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167455
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/exception.js
|
|
167433
167456
|
var require_exception = __commonJS({
|
|
167434
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167457
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/exception.js"(exports2, module2) {
|
|
167435
167458
|
"use strict";
|
|
167436
167459
|
init_import_meta_url();
|
|
167437
167460
|
function formatError(exception2, compact) {
|
|
@@ -167468,9 +167491,9 @@ var require_exception = __commonJS({
|
|
|
167468
167491
|
}
|
|
167469
167492
|
});
|
|
167470
167493
|
|
|
167471
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167494
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/snippet.js
|
|
167472
167495
|
var require_snippet = __commonJS({
|
|
167473
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167496
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/snippet.js"(exports2, module2) {
|
|
167474
167497
|
"use strict";
|
|
167475
167498
|
init_import_meta_url();
|
|
167476
167499
|
var common2 = require_common3();
|
|
@@ -167549,9 +167572,9 @@ var require_snippet = __commonJS({
|
|
|
167549
167572
|
}
|
|
167550
167573
|
});
|
|
167551
167574
|
|
|
167552
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167575
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type.js
|
|
167553
167576
|
var require_type = __commonJS({
|
|
167554
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167577
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type.js"(exports2, module2) {
|
|
167555
167578
|
"use strict";
|
|
167556
167579
|
init_import_meta_url();
|
|
167557
167580
|
var YAMLException2 = require_exception();
|
|
@@ -167614,9 +167637,9 @@ var require_type = __commonJS({
|
|
|
167614
167637
|
}
|
|
167615
167638
|
});
|
|
167616
167639
|
|
|
167617
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167640
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema.js
|
|
167618
167641
|
var require_schema = __commonJS({
|
|
167619
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167642
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema.js"(exports2, module2) {
|
|
167620
167643
|
"use strict";
|
|
167621
167644
|
init_import_meta_url();
|
|
167622
167645
|
var YAMLException2 = require_exception();
|
|
@@ -167704,9 +167727,9 @@ var require_schema = __commonJS({
|
|
|
167704
167727
|
}
|
|
167705
167728
|
});
|
|
167706
167729
|
|
|
167707
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167730
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/str.js
|
|
167708
167731
|
var require_str = __commonJS({
|
|
167709
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167732
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/str.js"(exports2, module2) {
|
|
167710
167733
|
"use strict";
|
|
167711
167734
|
init_import_meta_url();
|
|
167712
167735
|
var Type2 = require_type();
|
|
@@ -167719,9 +167742,9 @@ var require_str = __commonJS({
|
|
|
167719
167742
|
}
|
|
167720
167743
|
});
|
|
167721
167744
|
|
|
167722
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167745
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/seq.js
|
|
167723
167746
|
var require_seq = __commonJS({
|
|
167724
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167747
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/seq.js"(exports2, module2) {
|
|
167725
167748
|
"use strict";
|
|
167726
167749
|
init_import_meta_url();
|
|
167727
167750
|
var Type2 = require_type();
|
|
@@ -167734,9 +167757,9 @@ var require_seq = __commonJS({
|
|
|
167734
167757
|
}
|
|
167735
167758
|
});
|
|
167736
167759
|
|
|
167737
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167760
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/map.js
|
|
167738
167761
|
var require_map = __commonJS({
|
|
167739
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167762
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/map.js"(exports2, module2) {
|
|
167740
167763
|
"use strict";
|
|
167741
167764
|
init_import_meta_url();
|
|
167742
167765
|
var Type2 = require_type();
|
|
@@ -167749,9 +167772,9 @@ var require_map = __commonJS({
|
|
|
167749
167772
|
}
|
|
167750
167773
|
});
|
|
167751
167774
|
|
|
167752
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167775
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/failsafe.js
|
|
167753
167776
|
var require_failsafe = __commonJS({
|
|
167754
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167777
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/failsafe.js"(exports2, module2) {
|
|
167755
167778
|
"use strict";
|
|
167756
167779
|
init_import_meta_url();
|
|
167757
167780
|
var Schema3 = require_schema();
|
|
@@ -167765,9 +167788,9 @@ var require_failsafe = __commonJS({
|
|
|
167765
167788
|
}
|
|
167766
167789
|
});
|
|
167767
167790
|
|
|
167768
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167791
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/null.js
|
|
167769
167792
|
var require_null2 = __commonJS({
|
|
167770
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167793
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/null.js"(exports2, module2) {
|
|
167771
167794
|
"use strict";
|
|
167772
167795
|
init_import_meta_url();
|
|
167773
167796
|
var Type2 = require_type();
|
|
@@ -167809,9 +167832,9 @@ var require_null2 = __commonJS({
|
|
|
167809
167832
|
}
|
|
167810
167833
|
});
|
|
167811
167834
|
|
|
167812
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167835
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/bool.js
|
|
167813
167836
|
var require_bool = __commonJS({
|
|
167814
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167837
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/bool.js"(exports2, module2) {
|
|
167815
167838
|
"use strict";
|
|
167816
167839
|
init_import_meta_url();
|
|
167817
167840
|
var Type2 = require_type();
|
|
@@ -167847,9 +167870,9 @@ var require_bool = __commonJS({
|
|
|
167847
167870
|
}
|
|
167848
167871
|
});
|
|
167849
167872
|
|
|
167850
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167873
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/int.js
|
|
167851
167874
|
var require_int = __commonJS({
|
|
167852
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167875
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/int.js"(exports2, module2) {
|
|
167853
167876
|
"use strict";
|
|
167854
167877
|
init_import_meta_url();
|
|
167855
167878
|
var common2 = require_common3();
|
|
@@ -167964,9 +167987,9 @@ var require_int = __commonJS({
|
|
|
167964
167987
|
}
|
|
167965
167988
|
});
|
|
167966
167989
|
|
|
167967
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
167990
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/float.js
|
|
167968
167991
|
var require_float = __commonJS({
|
|
167969
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
167992
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/float.js"(exports2, module2) {
|
|
167970
167993
|
"use strict";
|
|
167971
167994
|
init_import_meta_url();
|
|
167972
167995
|
var common2 = require_common3();
|
|
@@ -168050,9 +168073,9 @@ var require_float = __commonJS({
|
|
|
168050
168073
|
}
|
|
168051
168074
|
});
|
|
168052
168075
|
|
|
168053
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168076
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/json.js
|
|
168054
168077
|
var require_json2 = __commonJS({
|
|
168055
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168078
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/json.js"(exports2, module2) {
|
|
168056
168079
|
"use strict";
|
|
168057
168080
|
init_import_meta_url();
|
|
168058
168081
|
module2.exports = require_failsafe().extend({
|
|
@@ -168066,18 +168089,18 @@ var require_json2 = __commonJS({
|
|
|
168066
168089
|
}
|
|
168067
168090
|
});
|
|
168068
168091
|
|
|
168069
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168092
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/core.js
|
|
168070
168093
|
var require_core = __commonJS({
|
|
168071
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168094
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/core.js"(exports2, module2) {
|
|
168072
168095
|
"use strict";
|
|
168073
168096
|
init_import_meta_url();
|
|
168074
168097
|
module2.exports = require_json2();
|
|
168075
168098
|
}
|
|
168076
168099
|
});
|
|
168077
168100
|
|
|
168078
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168101
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/timestamp.js
|
|
168079
168102
|
var require_timestamp = __commonJS({
|
|
168080
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168103
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/timestamp.js"(exports2, module2) {
|
|
168081
168104
|
"use strict";
|
|
168082
168105
|
init_import_meta_url();
|
|
168083
168106
|
var Type2 = require_type();
|
|
@@ -168138,9 +168161,9 @@ var require_timestamp = __commonJS({
|
|
|
168138
168161
|
}
|
|
168139
168162
|
});
|
|
168140
168163
|
|
|
168141
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168164
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/merge.js
|
|
168142
168165
|
var require_merge2 = __commonJS({
|
|
168143
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168166
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/merge.js"(exports2, module2) {
|
|
168144
168167
|
"use strict";
|
|
168145
168168
|
init_import_meta_url();
|
|
168146
168169
|
var Type2 = require_type();
|
|
@@ -168154,9 +168177,9 @@ var require_merge2 = __commonJS({
|
|
|
168154
168177
|
}
|
|
168155
168178
|
});
|
|
168156
168179
|
|
|
168157
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168180
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/binary.js
|
|
168158
168181
|
var require_binary = __commonJS({
|
|
168159
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168182
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/binary.js"(exports2, module2) {
|
|
168160
168183
|
"use strict";
|
|
168161
168184
|
init_import_meta_url();
|
|
168162
168185
|
var Type2 = require_type();
|
|
@@ -168247,9 +168270,9 @@ var require_binary = __commonJS({
|
|
|
168247
168270
|
}
|
|
168248
168271
|
});
|
|
168249
168272
|
|
|
168250
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168273
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/omap.js
|
|
168251
168274
|
var require_omap = __commonJS({
|
|
168252
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168275
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/omap.js"(exports2, module2) {
|
|
168253
168276
|
"use strict";
|
|
168254
168277
|
init_import_meta_url();
|
|
168255
168278
|
var Type2 = require_type();
|
|
@@ -168287,9 +168310,9 @@ var require_omap = __commonJS({
|
|
|
168287
168310
|
}
|
|
168288
168311
|
});
|
|
168289
168312
|
|
|
168290
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168313
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/pairs.js
|
|
168291
168314
|
var require_pairs = __commonJS({
|
|
168292
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168315
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/pairs.js"(exports2, module2) {
|
|
168293
168316
|
"use strict";
|
|
168294
168317
|
init_import_meta_url();
|
|
168295
168318
|
var Type2 = require_type();
|
|
@@ -168326,9 +168349,9 @@ var require_pairs = __commonJS({
|
|
|
168326
168349
|
}
|
|
168327
168350
|
});
|
|
168328
168351
|
|
|
168329
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168352
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/set.js
|
|
168330
168353
|
var require_set = __commonJS({
|
|
168331
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168354
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/type/set.js"(exports2, module2) {
|
|
168332
168355
|
"use strict";
|
|
168333
168356
|
init_import_meta_url();
|
|
168334
168357
|
var Type2 = require_type();
|
|
@@ -168354,9 +168377,9 @@ var require_set = __commonJS({
|
|
|
168354
168377
|
}
|
|
168355
168378
|
});
|
|
168356
168379
|
|
|
168357
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168380
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/default.js
|
|
168358
168381
|
var require_default2 = __commonJS({
|
|
168359
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168382
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/schema/default.js"(exports2, module2) {
|
|
168360
168383
|
"use strict";
|
|
168361
168384
|
init_import_meta_url();
|
|
168362
168385
|
module2.exports = require_core().extend({
|
|
@@ -168374,9 +168397,9 @@ var require_default2 = __commonJS({
|
|
|
168374
168397
|
}
|
|
168375
168398
|
});
|
|
168376
168399
|
|
|
168377
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
168400
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/loader.js
|
|
168378
168401
|
var require_loader = __commonJS({
|
|
168379
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
168402
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/loader.js"(exports2, module2) {
|
|
168380
168403
|
"use strict";
|
|
168381
168404
|
init_import_meta_url();
|
|
168382
168405
|
var common2 = require_common3();
|
|
@@ -168679,16 +168702,21 @@ var require_loader = __commonJS({
|
|
|
168679
168702
|
state2.result += _result;
|
|
168680
168703
|
}
|
|
168681
168704
|
}
|
|
168705
|
+
function chargeMergeWork(state2) {
|
|
168706
|
+
state2.totalMergeKeys++;
|
|
168707
|
+
if (state2.maxTotalMergeKeys !== -1 && state2.totalMergeKeys > state2.maxTotalMergeKeys) {
|
|
168708
|
+
throwError(state2, "merge keys exceeded maxTotalMergeKeys (" + state2.maxTotalMergeKeys + ")");
|
|
168709
|
+
}
|
|
168710
|
+
}
|
|
168682
168711
|
function mergeMappings(state2, destination, source, overridableKeys) {
|
|
168683
168712
|
if (!common2.isObject(source)) {
|
|
168684
168713
|
throwError(state2, "cannot merge mappings; the provided source object is unacceptable");
|
|
168685
168714
|
}
|
|
168715
|
+
chargeMergeWork(state2);
|
|
168686
168716
|
const sourceKeys = Object.keys(source);
|
|
168687
168717
|
for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
168688
168718
|
const key = sourceKeys[index];
|
|
168689
|
-
|
|
168690
|
-
throwError(state2, "merge keys exceeded maxTotalMergeKeys (" + state2.maxTotalMergeKeys + ")");
|
|
168691
|
-
}
|
|
168719
|
+
chargeMergeWork(state2);
|
|
168692
168720
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
168693
168721
|
setProperty2(destination, key, source[key]);
|
|
168694
168722
|
overridableKeys[key] = true;
|
|
@@ -168716,6 +168744,9 @@ var require_loader = __commonJS({
|
|
|
168716
168744
|
}
|
|
168717
168745
|
if (keyTag === "tag:yaml.org,2002:merge") {
|
|
168718
168746
|
if (Array.isArray(valueNode)) {
|
|
168747
|
+
if (valueNode.length > 100) {
|
|
168748
|
+
throwError(state2, "abnormal merge sequence size");
|
|
168749
|
+
}
|
|
168719
168750
|
for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
|
168720
168751
|
mergeMappings(state2, _result, valueNode[index], overridableKeys);
|
|
168721
168752
|
}
|
|
@@ -169747,9 +169778,9 @@ var require_loader = __commonJS({
|
|
|
169747
169778
|
}
|
|
169748
169779
|
});
|
|
169749
169780
|
|
|
169750
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
169781
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/dumper.js
|
|
169751
169782
|
var require_dumper = __commonJS({
|
|
169752
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
169783
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/lib/dumper.js"(exports2, module2) {
|
|
169753
169784
|
"use strict";
|
|
169754
169785
|
init_import_meta_url();
|
|
169755
169786
|
var common2 = require_common3();
|
|
@@ -170401,9 +170432,9 @@ var require_dumper = __commonJS({
|
|
|
170401
170432
|
}
|
|
170402
170433
|
});
|
|
170403
170434
|
|
|
170404
|
-
// node_modules/.pnpm/js-yaml@4.3.
|
|
170435
|
+
// node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/index.js
|
|
170405
170436
|
var require_js_yaml = __commonJS({
|
|
170406
|
-
"node_modules/.pnpm/js-yaml@4.3.
|
|
170437
|
+
"node_modules/.pnpm/js-yaml@4.3.2/node_modules/js-yaml/index.js"(exports2, module2) {
|
|
170407
170438
|
"use strict";
|
|
170408
170439
|
init_import_meta_url();
|
|
170409
170440
|
var loader2 = require_loader();
|
|
@@ -170444,9 +170475,9 @@ var require_js_yaml = __commonJS({
|
|
|
170444
170475
|
}
|
|
170445
170476
|
});
|
|
170446
170477
|
|
|
170447
|
-
// node_modules/.pnpm/smol-toml@1.
|
|
170478
|
+
// node_modules/.pnpm/smol-toml@1.8.0/node_modules/smol-toml/dist/index.cjs
|
|
170448
170479
|
var require_dist10 = __commonJS({
|
|
170449
|
-
"node_modules/.pnpm/smol-toml@1.
|
|
170480
|
+
"node_modules/.pnpm/smol-toml@1.8.0/node_modules/smol-toml/dist/index.cjs"(exports2) {
|
|
170450
170481
|
"use strict";
|
|
170451
170482
|
init_import_meta_url();
|
|
170452
170483
|
Object.defineProperties(exports2, {
|
|
@@ -170571,288 +170602,285 @@ ${codeblock}`, options);
|
|
|
170571
170602
|
this.codeblock = codeblock;
|
|
170572
170603
|
}
|
|
170573
170604
|
};
|
|
170605
|
+
function indexOfNewline(str2, start = 0) {
|
|
170606
|
+
let idx = str2.indexOf("\n", start);
|
|
170607
|
+
if (str2.charCodeAt(idx - 1) === 13) idx--;
|
|
170608
|
+
return idx;
|
|
170609
|
+
}
|
|
170610
|
+
function skipComment(ctx) {
|
|
170611
|
+
for (; ctx.p < ctx.s.length; ctx.p++) {
|
|
170612
|
+
let c6 = ctx.s.charCodeAt(ctx.p);
|
|
170613
|
+
if (c6 === 10) break;
|
|
170614
|
+
if (c6 === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10) {
|
|
170615
|
+
ctx.p++;
|
|
170616
|
+
break;
|
|
170617
|
+
}
|
|
170618
|
+
if (c6 < 32 && c6 !== 9 || c6 === 127) throw new TomlError("control characters are not allowed in comments", {
|
|
170619
|
+
toml: ctx.s,
|
|
170620
|
+
ptr: ctx.p
|
|
170621
|
+
});
|
|
170622
|
+
}
|
|
170623
|
+
}
|
|
170624
|
+
function skipVoid(ctx, banNewLines, banComments) {
|
|
170625
|
+
let c6;
|
|
170626
|
+
while (1) {
|
|
170627
|
+
while ((c6 = ctx.s.charCodeAt(ctx.p)) === 32 || c6 === 9 || !banNewLines && (c6 === 10 || c6 === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10)) ctx.p++;
|
|
170628
|
+
if (banComments || c6 !== 35) break;
|
|
170629
|
+
skipComment(ctx);
|
|
170630
|
+
}
|
|
170631
|
+
}
|
|
170632
|
+
function skipUntil(ctx, sep4, end) {
|
|
170633
|
+
let ptr = ctx.p;
|
|
170634
|
+
if (!end) {
|
|
170635
|
+
ptr = indexOfNewline(ctx.s, ptr);
|
|
170636
|
+
ctx.p = ptr < 0 ? ctx.s.length : ptr;
|
|
170637
|
+
return;
|
|
170638
|
+
}
|
|
170639
|
+
for (; ctx.p < ctx.s.length; ctx.p++) {
|
|
170640
|
+
let c6 = ctx.s.charCodeAt(ctx.p);
|
|
170641
|
+
if (c6 === 35) skipComment(ctx);
|
|
170642
|
+
else if (c6 === end || c6 === sep4) return;
|
|
170643
|
+
}
|
|
170644
|
+
throw new TomlError("cannot find end of structure", {
|
|
170645
|
+
toml: ctx.s,
|
|
170646
|
+
ptr
|
|
170647
|
+
});
|
|
170648
|
+
}
|
|
170574
170649
|
var INT_REGEX = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/;
|
|
170575
170650
|
var FLOAT_REGEX = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/;
|
|
170576
170651
|
var LEADING_ZERO = /^[+-]?0[0-9_]/;
|
|
170577
|
-
function parseString(
|
|
170578
|
-
let
|
|
170652
|
+
function parseString(ctx) {
|
|
170653
|
+
let start = ctx.p;
|
|
170654
|
+
let c6 = ctx.s.charCodeAt(ctx.p++);
|
|
170579
170655
|
let first2 = c6;
|
|
170580
|
-
let isLiteral = c6 ===
|
|
170581
|
-
let isMultiline = c6 ===
|
|
170656
|
+
let isLiteral = c6 === 39;
|
|
170657
|
+
let isMultiline = c6 === ctx.s.charCodeAt(ctx.p) && c6 === ctx.s.charCodeAt(ctx.p + 1);
|
|
170582
170658
|
if (isMultiline) {
|
|
170583
|
-
if (
|
|
170584
|
-
else if (
|
|
170659
|
+
if ((c6 = ctx.s.charCodeAt(ctx.p += 2)) === 10) ctx.p++;
|
|
170660
|
+
else if (c6 === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10) ctx.p += 2;
|
|
170585
170661
|
}
|
|
170586
170662
|
let parsed = "";
|
|
170587
|
-
let sliceStart =
|
|
170663
|
+
let sliceStart = ctx.p;
|
|
170588
170664
|
let state2 = 0;
|
|
170589
|
-
for (
|
|
170590
|
-
c6 =
|
|
170591
|
-
if (isMultiline && (c6 ===
|
|
170592
|
-
else if (c6 <
|
|
170593
|
-
toml:
|
|
170594
|
-
ptr:
|
|
170595
|
-
});
|
|
170596
|
-
else if ((!state2 || state2 === 3) && c6 === first2 && (!isMultiline ||
|
|
170665
|
+
for (; ctx.p < ctx.s.length; ctx.p++) {
|
|
170666
|
+
c6 = ctx.s.charCodeAt(ctx.p);
|
|
170667
|
+
if (isMultiline && (c6 === 10 || c6 === 13 && ctx.s.charCodeAt(ctx.p + 1) === 10)) state2 = state2 && 3;
|
|
170668
|
+
else if (c6 < 32 && c6 !== 9 || c6 === 127) throw new TomlError("control characters are not allowed in strings", {
|
|
170669
|
+
toml: ctx.s,
|
|
170670
|
+
ptr: ctx.p
|
|
170671
|
+
});
|
|
170672
|
+
else if ((!state2 || state2 === 3) && c6 === first2 && (!isMultiline || ctx.s.charCodeAt(ctx.p + 1) === first2 && ctx.s.charCodeAt(ctx.p + 2) === first2)) {
|
|
170597
170673
|
if (isMultiline) {
|
|
170598
|
-
if (
|
|
170599
|
-
if (
|
|
170674
|
+
if (ctx.s.charCodeAt(ctx.p + 3) === first2) ctx.p++;
|
|
170675
|
+
if (ctx.s.charCodeAt(ctx.p + 3) === first2) ctx.p++;
|
|
170600
170676
|
}
|
|
170601
|
-
|
|
170677
|
+
if (!state2) parsed += ctx.s.slice(sliceStart, ctx.p);
|
|
170678
|
+
ctx.p += isMultiline ? 3 : 1;
|
|
170679
|
+
return parsed;
|
|
170602
170680
|
} else if (!state2) {
|
|
170603
|
-
if (!isLiteral && c6 ===
|
|
170604
|
-
parsed +=
|
|
170681
|
+
if (!isLiteral && c6 === 92) {
|
|
170682
|
+
parsed += ctx.s.slice(sliceStart, sliceStart = ctx.p);
|
|
170605
170683
|
state2 = 1;
|
|
170606
170684
|
}
|
|
170607
|
-
} else if (state2 === 1)
|
|
170608
|
-
|
|
170609
|
-
|
|
170610
|
-
|
|
170611
|
-
let
|
|
170612
|
-
|
|
170613
|
-
|
|
170614
|
-
|
|
170615
|
-
|
|
170685
|
+
} else if (state2 === 1) {
|
|
170686
|
+
if (c6 === 120 || c6 === 117 || c6 === 85) {
|
|
170687
|
+
let value = 0;
|
|
170688
|
+
let len = c6 === 120 ? 2 : c6 === 117 ? 4 : 8;
|
|
170689
|
+
for (let j7 = 0; j7 < len; j7++, ctx.p++) {
|
|
170690
|
+
let hex = ctx.s.charCodeAt(ctx.p + 1);
|
|
170691
|
+
let digit = hex >= 48 && hex <= 57 ? hex - 48 : hex >= 65 && hex <= 70 ? hex - 65 + 10 : hex >= 97 && hex <= 102 ? hex - 97 + 10 : -1;
|
|
170692
|
+
if (digit < 0) throw new TomlError("invalid non-hex character in unicode escape", {
|
|
170693
|
+
toml: ctx.s,
|
|
170694
|
+
ptr: ctx.p + 1
|
|
170695
|
+
});
|
|
170696
|
+
value = value << 4 | digit;
|
|
170697
|
+
}
|
|
170698
|
+
if (value < 0 || value > 1114111 || value >= 55296 && value <= 57343) throw new TomlError("invalid unicode escape", {
|
|
170699
|
+
toml: ctx.s,
|
|
170700
|
+
ptr: ctx.p
|
|
170701
|
+
});
|
|
170702
|
+
parsed += String.fromCodePoint(value);
|
|
170703
|
+
sliceStart = ctx.p + 1;
|
|
170704
|
+
state2 = 0;
|
|
170705
|
+
} else if (c6 === 32 || c6 === 9) state2 = 2;
|
|
170706
|
+
else {
|
|
170707
|
+
if (c6 === 98) parsed += "\b";
|
|
170708
|
+
else if (c6 === 116) parsed += " ";
|
|
170709
|
+
else if (c6 === 110) parsed += "\n";
|
|
170710
|
+
else if (c6 === 102) parsed += "\f";
|
|
170711
|
+
else if (c6 === 114) parsed += "\r";
|
|
170712
|
+
else if (c6 === 101) parsed += "\x1B";
|
|
170713
|
+
else if (c6 === 34) parsed += '"';
|
|
170714
|
+
else if (c6 === 92) parsed += "\\";
|
|
170715
|
+
else throw new TomlError("unrecognized escape sequence", {
|
|
170716
|
+
toml: ctx.s,
|
|
170717
|
+
ptr: ctx.p
|
|
170616
170718
|
});
|
|
170617
|
-
|
|
170719
|
+
sliceStart = ctx.p + 1;
|
|
170720
|
+
state2 = 0;
|
|
170618
170721
|
}
|
|
170619
|
-
|
|
170620
|
-
toml: str2,
|
|
170621
|
-
ptr: i5
|
|
170622
|
-
});
|
|
170623
|
-
parsed += String.fromCodePoint(value);
|
|
170624
|
-
sliceStart = i5 + 1;
|
|
170625
|
-
state2 = 0;
|
|
170626
|
-
} else if (c6 === " " || c6 === " ") state2 = 2;
|
|
170627
|
-
else {
|
|
170628
|
-
if (c6 === "b") parsed += "\b";
|
|
170629
|
-
else if (c6 === "t") parsed += " ";
|
|
170630
|
-
else if (c6 === "n") parsed += "\n";
|
|
170631
|
-
else if (c6 === "f") parsed += "\f";
|
|
170632
|
-
else if (c6 === "r") parsed += "\r";
|
|
170633
|
-
else if (c6 === "e") parsed += "\x1B";
|
|
170634
|
-
else if (c6 === '"') parsed += '"';
|
|
170635
|
-
else if (c6 === "\\") parsed += "\\";
|
|
170636
|
-
else throw new TomlError("unrecognized escape sequence", {
|
|
170637
|
-
toml: str2,
|
|
170638
|
-
ptr: i5
|
|
170639
|
-
});
|
|
170640
|
-
sliceStart = i5 + 1;
|
|
170641
|
-
state2 = 0;
|
|
170642
|
-
}
|
|
170643
|
-
else if (c6 !== " " && c6 !== " ") {
|
|
170722
|
+
} else if (c6 !== 32 && c6 !== 9) {
|
|
170644
170723
|
if (state2 === 2) throw new TomlError("invalid escape: only line-ending whitespace may be escaped", {
|
|
170645
|
-
toml:
|
|
170724
|
+
toml: ctx.s,
|
|
170646
170725
|
ptr: sliceStart
|
|
170647
170726
|
});
|
|
170648
|
-
state2 = !isLiteral && c6 ===
|
|
170649
|
-
sliceStart =
|
|
170727
|
+
state2 = !isLiteral && c6 === 92 ? 1 : 0;
|
|
170728
|
+
sliceStart = ctx.p;
|
|
170650
170729
|
}
|
|
170651
170730
|
}
|
|
170652
170731
|
throw new TomlError("unfinished string", {
|
|
170653
|
-
toml:
|
|
170654
|
-
ptr
|
|
170732
|
+
toml: ctx.s,
|
|
170733
|
+
ptr: start
|
|
170655
170734
|
});
|
|
170656
170735
|
}
|
|
170657
|
-
function
|
|
170658
|
-
|
|
170659
|
-
|
|
170736
|
+
function sliceAndTrimEndOf(ctx, start, end) {
|
|
170737
|
+
let value = ctx.s.slice(start, end);
|
|
170738
|
+
let commentIdx = value.indexOf("#");
|
|
170739
|
+
if (commentIdx > 0) {
|
|
170740
|
+
skipComment({
|
|
170741
|
+
s: value,
|
|
170742
|
+
p: commentIdx,
|
|
170743
|
+
d: 0
|
|
170744
|
+
});
|
|
170745
|
+
value = value.slice(0, commentIdx);
|
|
170746
|
+
}
|
|
170747
|
+
return value.trimEnd();
|
|
170748
|
+
}
|
|
170749
|
+
function parseValue2(ctx, integersAsBigInt, end) {
|
|
170750
|
+
let ptr = ctx.p;
|
|
170751
|
+
let err = {
|
|
170752
|
+
toml: ctx.s,
|
|
170753
|
+
ptr
|
|
170754
|
+
};
|
|
170755
|
+
skipUntil(ctx, 44, end);
|
|
170756
|
+
let value = sliceAndTrimEndOf(ctx, ptr, ctx.p);
|
|
170757
|
+
if (!value) throw new TomlError("incomplete declaration: value expected", err);
|
|
170660
170758
|
if (value === "-inf") return -Infinity;
|
|
170661
170759
|
if (value === "inf" || value === "+inf") return Infinity;
|
|
170662
170760
|
if (value === "nan" || value === "+nan" || value === "-nan") return NaN;
|
|
170663
170761
|
if (value === "-0") return integersAsBigInt ? 0n : 0;
|
|
170664
170762
|
let isInt = INT_REGEX.test(value);
|
|
170665
170763
|
if (isInt || FLOAT_REGEX.test(value)) {
|
|
170666
|
-
if (LEADING_ZERO.test(value)) throw new TomlError("leading zeroes are not allowed",
|
|
170667
|
-
toml,
|
|
170668
|
-
ptr
|
|
170669
|
-
});
|
|
170764
|
+
if (LEADING_ZERO.test(value)) throw new TomlError("leading zeroes are not allowed", err);
|
|
170670
170765
|
value = value.replace(/_/g, "");
|
|
170671
170766
|
let numeric2 = +value;
|
|
170672
|
-
if (isNaN(numeric2)) throw new TomlError("invalid number",
|
|
170673
|
-
toml,
|
|
170674
|
-
ptr
|
|
170675
|
-
});
|
|
170767
|
+
if (isNaN(numeric2)) throw new TomlError("invalid number", err);
|
|
170676
170768
|
if (isInt) {
|
|
170677
|
-
if ((isInt = !Number.isSafeInteger(numeric2)) && !integersAsBigInt) throw new TomlError("integer value cannot be represented losslessly",
|
|
170678
|
-
toml,
|
|
170679
|
-
ptr
|
|
170680
|
-
});
|
|
170769
|
+
if ((isInt = !Number.isSafeInteger(numeric2)) && !integersAsBigInt) throw new TomlError("integer value cannot be represented losslessly", err);
|
|
170681
170770
|
if (isInt || integersAsBigInt === true) numeric2 = BigInt(value);
|
|
170682
170771
|
}
|
|
170683
170772
|
return numeric2;
|
|
170684
170773
|
}
|
|
170685
170774
|
const date2 = new TomlDate(value);
|
|
170686
|
-
if (!date2.isValid()) throw new TomlError("invalid value",
|
|
170687
|
-
toml,
|
|
170688
|
-
ptr
|
|
170689
|
-
});
|
|
170775
|
+
if (!date2.isValid()) throw new TomlError("invalid value", err);
|
|
170690
170776
|
return date2;
|
|
170691
170777
|
}
|
|
170692
|
-
function
|
|
170693
|
-
let
|
|
170694
|
-
|
|
170695
|
-
|
|
170696
|
-
|
|
170697
|
-
|
|
170698
|
-
for (let i5 = ptr; i5 < str2.length; i5++) {
|
|
170699
|
-
let c6 = str2[i5];
|
|
170700
|
-
if (c6 === "\n") return i5;
|
|
170701
|
-
if (c6 === "\r" && str2[i5 + 1] === "\n") return i5 + 1;
|
|
170702
|
-
if (c6 < " " && c6 !== " " || c6 === "\x7F") throw new TomlError("control characters are not allowed in comments", {
|
|
170703
|
-
toml: str2,
|
|
170778
|
+
function extractValue(ctx, end, integersAsBigInt) {
|
|
170779
|
+
let ptr = ctx.p;
|
|
170780
|
+
let c6 = ctx.s.charCodeAt(ptr);
|
|
170781
|
+
if (c6 === 91 || c6 === 123) {
|
|
170782
|
+
if (!ctx.d--) throw new TomlError("document contains excessively nested structures. aborting.", {
|
|
170783
|
+
toml: ctx.s,
|
|
170704
170784
|
ptr
|
|
170705
170785
|
});
|
|
170786
|
+
let value = c6 === 91 ? parseArray(ctx, integersAsBigInt) : parseInlineTable(ctx, integersAsBigInt);
|
|
170787
|
+
ctx.d++;
|
|
170788
|
+
return value;
|
|
170706
170789
|
}
|
|
170707
|
-
return
|
|
170708
|
-
|
|
170709
|
-
|
|
170710
|
-
|
|
170711
|
-
|
|
170712
|
-
|
|
170713
|
-
|
|
170714
|
-
|
|
170715
|
-
}
|
|
170716
|
-
return ptr;
|
|
170717
|
-
}
|
|
170718
|
-
function skipUntil(str2, ptr, sep4, end, banNewLines = false) {
|
|
170719
|
-
if (!end) {
|
|
170720
|
-
ptr = indexOfNewline(str2, ptr);
|
|
170721
|
-
return ptr < 0 ? str2.length : ptr;
|
|
170722
|
-
}
|
|
170723
|
-
for (let i5 = ptr; i5 < str2.length; i5++) {
|
|
170724
|
-
let c6 = str2[i5];
|
|
170725
|
-
if (c6 === "#") {
|
|
170726
|
-
i5 = indexOfNewline(str2, i5);
|
|
170727
|
-
if (i5 < 0) break;
|
|
170728
|
-
} else if (c6 === sep4) return i5 + 1;
|
|
170729
|
-
else if (c6 === end || banNewLines && (c6 === "\n" || c6 === "\r" && str2[i5 + 1] === "\n")) return i5;
|
|
170730
|
-
}
|
|
170731
|
-
throw new TomlError("cannot find end of structure", {
|
|
170732
|
-
toml: str2,
|
|
170733
|
-
ptr
|
|
170734
|
-
});
|
|
170735
|
-
}
|
|
170736
|
-
function sliceAndTrimEndOf(str2, startPtr, endPtr) {
|
|
170737
|
-
let value = str2.slice(startPtr, endPtr);
|
|
170738
|
-
let commentIdx = value.indexOf("#");
|
|
170739
|
-
if (commentIdx > -1) {
|
|
170740
|
-
skipComment(str2, commentIdx);
|
|
170741
|
-
value = value.slice(0, commentIdx);
|
|
170742
|
-
}
|
|
170743
|
-
return [value.trimEnd(), commentIdx];
|
|
170744
|
-
}
|
|
170745
|
-
function extractValue(str2, ptr, end, depth, integersAsBigInt) {
|
|
170746
|
-
if (depth === 0) throw new TomlError("document contains excessively nested structures. aborting.", {
|
|
170747
|
-
toml: str2,
|
|
170748
|
-
ptr
|
|
170749
|
-
});
|
|
170750
|
-
let c6 = str2[ptr];
|
|
170751
|
-
if (c6 === "[" || c6 === "{") {
|
|
170752
|
-
let [value, endPtr2] = c6 === "[" ? parseArray(str2, ptr, depth, integersAsBigInt) : parseInlineTable(str2, ptr, depth, integersAsBigInt);
|
|
170753
|
-
if (end) {
|
|
170754
|
-
endPtr2 = skipVoid(str2, endPtr2);
|
|
170755
|
-
if (str2[endPtr2] === ",") endPtr2++;
|
|
170756
|
-
else if (str2[endPtr2] !== end) throw new TomlError("expected comma or end of structure", {
|
|
170757
|
-
toml: str2,
|
|
170758
|
-
ptr: endPtr2
|
|
170759
|
-
});
|
|
170760
|
-
}
|
|
170761
|
-
return [value, endPtr2];
|
|
170762
|
-
}
|
|
170763
|
-
if (c6 === '"' || c6 === "'") {
|
|
170764
|
-
let [parsed, endPtr2] = parseString(str2, ptr);
|
|
170765
|
-
if (end) {
|
|
170766
|
-
endPtr2 = skipVoid(str2, endPtr2);
|
|
170767
|
-
if (str2[endPtr2] && str2[endPtr2] !== "," && str2[endPtr2] !== end && str2[endPtr2] !== "\n" && str2[endPtr2] !== "\r") throw new TomlError("unexpected character encountered", {
|
|
170768
|
-
toml: str2,
|
|
170769
|
-
ptr: endPtr2
|
|
170770
|
-
});
|
|
170771
|
-
if (str2[endPtr2] === ",") endPtr2++;
|
|
170772
|
-
}
|
|
170773
|
-
return [parsed, endPtr2];
|
|
170790
|
+
if (c6 === 34 || c6 === 39) return parseString(ctx);
|
|
170791
|
+
if (c6 === 116) {
|
|
170792
|
+
if (ctx.s.charCodeAt(++ctx.p) !== 114 || ctx.s.charCodeAt(++ctx.p) !== 117 || ctx.s.charCodeAt(++ctx.p) !== 101) throw new TomlError("invalid value", {
|
|
170793
|
+
toml: ctx.s,
|
|
170794
|
+
ptr
|
|
170795
|
+
});
|
|
170796
|
+
ctx.p++;
|
|
170797
|
+
return true;
|
|
170774
170798
|
}
|
|
170775
|
-
|
|
170776
|
-
|
|
170777
|
-
|
|
170778
|
-
|
|
170779
|
-
|
|
170780
|
-
|
|
170781
|
-
|
|
170782
|
-
endPtr = skipVoid(str2, ptr + slice[1]);
|
|
170783
|
-
if (str2[endPtr] === ",") endPtr++;
|
|
170799
|
+
if (c6 === 102) {
|
|
170800
|
+
if (ctx.s.charCodeAt(++ctx.p) !== 97 || ctx.s.charCodeAt(++ctx.p) !== 108 || ctx.s.charCodeAt(++ctx.p) !== 115 || ctx.s.charCodeAt(++ctx.p) !== 101) throw new TomlError("invalid value", {
|
|
170801
|
+
toml: ctx.s,
|
|
170802
|
+
ptr
|
|
170803
|
+
});
|
|
170804
|
+
ctx.p++;
|
|
170805
|
+
return false;
|
|
170784
170806
|
}
|
|
170785
|
-
return
|
|
170807
|
+
return parseValue2(ctx, integersAsBigInt, end);
|
|
170786
170808
|
}
|
|
170787
170809
|
var KEY_PART_RE = /^[a-zA-Z0-9-_]+[ \t]*$/;
|
|
170788
|
-
function parseKey(
|
|
170789
|
-
let
|
|
170810
|
+
function parseKey(ctx, end = "=") {
|
|
170811
|
+
let start = ctx.p;
|
|
170812
|
+
let dot = start - 1;
|
|
170790
170813
|
let parsed = [];
|
|
170791
|
-
let endPtr =
|
|
170814
|
+
let endPtr = ctx.s.indexOf(end, start);
|
|
170792
170815
|
if (endPtr < 0) throw new TomlError("incomplete key-value: cannot find end of key", {
|
|
170793
|
-
toml:
|
|
170794
|
-
ptr
|
|
170816
|
+
toml: ctx.s,
|
|
170817
|
+
ptr: start
|
|
170795
170818
|
});
|
|
170796
170819
|
do {
|
|
170797
|
-
let c6 =
|
|
170798
|
-
if (c6 !==
|
|
170799
|
-
if (c6 ===
|
|
170800
|
-
|
|
170801
|
-
|
|
170802
|
-
|
|
170803
|
-
let [part, eos] = parseString(str2, ptr);
|
|
170804
|
-
dot = str2.indexOf(".", eos);
|
|
170805
|
-
let strEnd = str2.slice(eos, dot < 0 || dot > endPtr ? endPtr : dot);
|
|
170806
|
-
let newLine = indexOfNewline(strEnd);
|
|
170807
|
-
if (newLine > -1) throw new TomlError("newlines are not allowed in keys", {
|
|
170808
|
-
toml: str2,
|
|
170809
|
-
ptr: ptr + dot + newLine
|
|
170810
|
-
});
|
|
170811
|
-
if (strEnd.trimStart()) throw new TomlError("found extra tokens after the string part", {
|
|
170812
|
-
toml: str2,
|
|
170813
|
-
ptr: eos
|
|
170814
|
-
});
|
|
170815
|
-
if (endPtr < eos) {
|
|
170816
|
-
endPtr = str2.indexOf(end, eos);
|
|
170817
|
-
if (endPtr < 0) throw new TomlError("incomplete key-value: cannot find end of key", {
|
|
170818
|
-
toml: str2,
|
|
170819
|
-
ptr
|
|
170820
|
+
let c6 = ctx.s.charCodeAt(ctx.p = ++dot);
|
|
170821
|
+
if (c6 !== 32 && c6 !== 9) {
|
|
170822
|
+
if (c6 === 34 || c6 === 39) {
|
|
170823
|
+
if (c6 === ctx.s.charCodeAt(ctx.p + 1) && c6 === ctx.s.charCodeAt(ctx.p + 2)) throw new TomlError("multiline strings are not allowed in keys", {
|
|
170824
|
+
toml: ctx.s,
|
|
170825
|
+
ptr: ctx.p
|
|
170820
170826
|
});
|
|
170827
|
+
let part = parseString(ctx);
|
|
170828
|
+
dot = ctx.s.indexOf(".", ctx.p);
|
|
170829
|
+
let strEnd = ctx.s.slice(ctx.p, dot < 0 || dot > endPtr ? endPtr : dot);
|
|
170830
|
+
let newLine = indexOfNewline(strEnd);
|
|
170831
|
+
if (newLine > -1) throw new TomlError("newlines are not allowed in keys", {
|
|
170832
|
+
toml: ctx.s,
|
|
170833
|
+
ptr: newLine
|
|
170834
|
+
});
|
|
170835
|
+
if (strEnd.trimStart()) throw new TomlError("found extra tokens after the string part", {
|
|
170836
|
+
toml: ctx.s,
|
|
170837
|
+
ptr: ctx.p
|
|
170838
|
+
});
|
|
170839
|
+
if (endPtr < ctx.p) {
|
|
170840
|
+
endPtr = ctx.s.indexOf(end, ctx.p);
|
|
170841
|
+
if (endPtr < 0) throw new TomlError("incomplete key-value: cannot find end of key", {
|
|
170842
|
+
toml: ctx.s,
|
|
170843
|
+
ptr: start
|
|
170844
|
+
});
|
|
170845
|
+
}
|
|
170846
|
+
parsed.push(part);
|
|
170847
|
+
} else {
|
|
170848
|
+
dot = ctx.s.indexOf(".", ctx.p);
|
|
170849
|
+
let part = ctx.s.slice(ctx.p, dot < 0 || dot > endPtr ? endPtr : dot);
|
|
170850
|
+
if (!KEY_PART_RE.test(part)) throw new TomlError("only letter, numbers, dashes and underscores are allowed in keys", {
|
|
170851
|
+
toml: ctx.s,
|
|
170852
|
+
ptr: ctx.p
|
|
170853
|
+
});
|
|
170854
|
+
parsed.push(part.trimEnd());
|
|
170821
170855
|
}
|
|
170822
|
-
parsed.push(part);
|
|
170823
|
-
} else {
|
|
170824
|
-
dot = str2.indexOf(".", ptr);
|
|
170825
|
-
let part = str2.slice(ptr, dot < 0 || dot > endPtr ? endPtr : dot);
|
|
170826
|
-
if (!KEY_PART_RE.test(part)) throw new TomlError("only letter, numbers, dashes and underscores are allowed in keys", {
|
|
170827
|
-
toml: str2,
|
|
170828
|
-
ptr
|
|
170829
|
-
});
|
|
170830
|
-
parsed.push(part.trimEnd());
|
|
170831
170856
|
}
|
|
170832
170857
|
} while (dot + 1 && dot < endPtr);
|
|
170833
|
-
|
|
170858
|
+
ctx.p = endPtr + 1;
|
|
170859
|
+
skipVoid(ctx, true, true);
|
|
170860
|
+
return parsed;
|
|
170834
170861
|
}
|
|
170835
|
-
function parseInlineTable(
|
|
170862
|
+
function parseInlineTable(ctx, integersAsBigInt) {
|
|
170836
170863
|
let res = {};
|
|
170837
170864
|
let seen = /* @__PURE__ */ new Set();
|
|
170838
170865
|
let c6;
|
|
170839
|
-
|
|
170840
|
-
while (
|
|
170841
|
-
|
|
170842
|
-
|
|
170843
|
-
|
|
170844
|
-
|
|
170845
|
-
|
|
170866
|
+
ctx.p++;
|
|
170867
|
+
while (ctx.p < ctx.s.length) {
|
|
170868
|
+
skipVoid(ctx);
|
|
170869
|
+
if ((c6 = ctx.s.charCodeAt(ctx.p)) === 125) {
|
|
170870
|
+
ctx.p++;
|
|
170871
|
+
return res;
|
|
170872
|
+
}
|
|
170846
170873
|
let k7;
|
|
170847
170874
|
let t5 = res;
|
|
170848
170875
|
let hasOwn = false;
|
|
170849
|
-
let
|
|
170876
|
+
let p6 = ctx.p;
|
|
170877
|
+
let key = parseKey(ctx);
|
|
170850
170878
|
for (let i5 = 0; i5 < key.length; i5++) {
|
|
170851
170879
|
if (i5) t5 = hasOwn ? t5[k7] : t5[k7] = {};
|
|
170852
170880
|
k7 = key[i5];
|
|
170853
170881
|
if ((hasOwn = Object.hasOwn(t5, k7)) && (typeof t5[k7] !== "object" || seen.has(t5[k7]))) throw new TomlError("trying to redefine an already defined value", {
|
|
170854
|
-
toml:
|
|
170855
|
-
ptr
|
|
170882
|
+
toml: ctx.s,
|
|
170883
|
+
ptr: p6
|
|
170856
170884
|
});
|
|
170857
170885
|
if (!hasOwn && k7 === "__proto__") Object.defineProperty(t5, k7, {
|
|
170858
170886
|
enumerable: true,
|
|
@@ -170861,39 +170889,45 @@ ${codeblock}`, options);
|
|
|
170861
170889
|
});
|
|
170862
170890
|
}
|
|
170863
170891
|
if (hasOwn) throw new TomlError("trying to redefine an already defined value", {
|
|
170864
|
-
toml:
|
|
170865
|
-
ptr
|
|
170892
|
+
toml: ctx.s,
|
|
170893
|
+
ptr: ctx.p
|
|
170894
|
+
});
|
|
170895
|
+
let value = extractValue(ctx, 125, integersAsBigInt);
|
|
170896
|
+
seen.add(t5[k7] = value);
|
|
170897
|
+
skipVoid(ctx);
|
|
170898
|
+
if ((c6 = ctx.s.charCodeAt(ctx.p++)) === 125) return res;
|
|
170899
|
+
if (c6 !== 44) throw new TomlError("expected comma or end of structure", {
|
|
170900
|
+
toml: ctx.s,
|
|
170901
|
+
ptr: ctx.p - 1
|
|
170866
170902
|
});
|
|
170867
|
-
let [value, valueEndPtr] = extractValue(str2, keyEndPtr, "}", depth - 1, integersAsBigInt);
|
|
170868
|
-
seen.add(value);
|
|
170869
|
-
t5[k7] = value;
|
|
170870
|
-
ptr = valueEndPtr;
|
|
170871
170903
|
}
|
|
170872
|
-
|
|
170873
|
-
toml:
|
|
170874
|
-
ptr
|
|
170904
|
+
throw new TomlError("unfinished table encountered", {
|
|
170905
|
+
toml: ctx.s,
|
|
170906
|
+
ptr: ctx.p
|
|
170875
170907
|
});
|
|
170876
|
-
return [res, ptr];
|
|
170877
170908
|
}
|
|
170878
|
-
function parseArray(
|
|
170909
|
+
function parseArray(ctx, integersAsBigInt) {
|
|
170879
170910
|
let res = [];
|
|
170880
170911
|
let c6;
|
|
170881
|
-
|
|
170882
|
-
while (
|
|
170883
|
-
|
|
170884
|
-
|
|
170885
|
-
|
|
170886
|
-
|
|
170887
|
-
|
|
170888
|
-
|
|
170889
|
-
|
|
170890
|
-
|
|
170912
|
+
ctx.p++;
|
|
170913
|
+
while (ctx.p < ctx.s.length) {
|
|
170914
|
+
skipVoid(ctx);
|
|
170915
|
+
if ((c6 = ctx.s.charCodeAt(ctx.p)) === 93) {
|
|
170916
|
+
ctx.p++;
|
|
170917
|
+
return res;
|
|
170918
|
+
}
|
|
170919
|
+
res.push(extractValue(ctx, 93, integersAsBigInt));
|
|
170920
|
+
skipVoid(ctx);
|
|
170921
|
+
if ((c6 = ctx.s.charCodeAt(ctx.p++)) === 93) return res;
|
|
170922
|
+
if (c6 !== 44) throw new TomlError("expected comma or end of structure", {
|
|
170923
|
+
toml: ctx.s,
|
|
170924
|
+
ptr: ctx.p - 1
|
|
170925
|
+
});
|
|
170891
170926
|
}
|
|
170892
|
-
|
|
170893
|
-
toml:
|
|
170894
|
-
ptr
|
|
170927
|
+
throw new TomlError("unfinished array encountered", {
|
|
170928
|
+
toml: ctx.s,
|
|
170929
|
+
ptr: ctx.p
|
|
170895
170930
|
});
|
|
170896
|
-
return [res, ptr];
|
|
170897
170931
|
}
|
|
170898
170932
|
function peekTable(key, table, meta, type2) {
|
|
170899
170933
|
let t5 = table;
|
|
@@ -170961,46 +170995,51 @@ ${codeblock}`, options);
|
|
|
170961
170995
|
];
|
|
170962
170996
|
}
|
|
170963
170997
|
function parse8(toml, { maxDepth = 1e3, integersAsBigInt } = {}) {
|
|
170998
|
+
let ctx = {
|
|
170999
|
+
s: toml,
|
|
171000
|
+
p: 0,
|
|
171001
|
+
d: maxDepth
|
|
171002
|
+
};
|
|
170964
171003
|
let res = {};
|
|
170965
171004
|
let meta = {};
|
|
171005
|
+
let tmp2;
|
|
170966
171006
|
let tbl = res;
|
|
170967
171007
|
let m6 = meta;
|
|
170968
|
-
|
|
170969
|
-
|
|
170970
|
-
|
|
170971
|
-
let
|
|
171008
|
+
skipVoid(ctx);
|
|
171009
|
+
while (ctx.p < toml.length) {
|
|
171010
|
+
if (toml.charCodeAt(ctx.p) === 91) {
|
|
171011
|
+
let isTableArray = toml.charCodeAt(++ctx.p) === 91;
|
|
171012
|
+
tmp2 = ctx.p += +isTableArray;
|
|
171013
|
+
let k7 = parseKey(ctx, "]");
|
|
170972
171014
|
if (isTableArray) {
|
|
170973
|
-
if (toml
|
|
171015
|
+
if (toml.charCodeAt(ctx.p - 1) !== 93) throw new TomlError("expected end of table declaration", {
|
|
170974
171016
|
toml,
|
|
170975
|
-
ptr:
|
|
171017
|
+
ptr: ctx.p - 1
|
|
170976
171018
|
});
|
|
170977
|
-
|
|
171019
|
+
ctx.p++;
|
|
170978
171020
|
}
|
|
170979
|
-
let p6 = peekTable(k7
|
|
171021
|
+
let p6 = peekTable(k7, res, meta, isTableArray ? 2 : 1);
|
|
170980
171022
|
if (!p6) throw new TomlError("trying to redefine an already defined table or value", {
|
|
170981
171023
|
toml,
|
|
170982
|
-
ptr
|
|
171024
|
+
ptr: tmp2
|
|
170983
171025
|
});
|
|
170984
171026
|
m6 = p6[2];
|
|
170985
171027
|
tbl = p6[1];
|
|
170986
|
-
ptr = k7[1];
|
|
170987
171028
|
} else {
|
|
170988
|
-
|
|
170989
|
-
let p6 = peekTable(
|
|
171029
|
+
tmp2 = ctx.p;
|
|
171030
|
+
let p6 = peekTable(parseKey(ctx), tbl, m6, 0);
|
|
170990
171031
|
if (!p6) throw new TomlError("trying to redefine an already defined table or value", {
|
|
170991
171032
|
toml,
|
|
170992
|
-
ptr
|
|
171033
|
+
ptr: tmp2
|
|
170993
171034
|
});
|
|
170994
|
-
|
|
170995
|
-
p6[1][p6[0]] = v11[0];
|
|
170996
|
-
ptr = v11[1];
|
|
171035
|
+
p6[1][p6[0]] = extractValue(ctx, void 0, integersAsBigInt);
|
|
170997
171036
|
}
|
|
170998
|
-
|
|
170999
|
-
if (toml
|
|
171037
|
+
skipVoid(ctx, true);
|
|
171038
|
+
if (ctx.p < toml.length && (tmp2 = toml.charCodeAt(ctx.p)) !== 10 && tmp2 !== 13) throw new TomlError("each key-value declaration must be followed by an end-of-line", {
|
|
171000
171039
|
toml,
|
|
171001
|
-
ptr
|
|
171040
|
+
ptr: ctx.p
|
|
171002
171041
|
});
|
|
171003
|
-
|
|
171042
|
+
skipVoid(ctx);
|
|
171004
171043
|
}
|
|
171005
171044
|
return res;
|
|
171006
171045
|
}
|
|
@@ -171009,7 +171048,8 @@ ${codeblock}`, options);
|
|
|
171009
171048
|
let type2 = typeof obj;
|
|
171010
171049
|
if (type2 === "object") {
|
|
171011
171050
|
if (Array.isArray(obj)) return "array";
|
|
171012
|
-
if (obj instanceof Date) return "date";
|
|
171051
|
+
if (typeof obj?.getUTCDate === "function" && obj instanceof Date) return "date";
|
|
171052
|
+
if (globalThis.Temporal && typeof obj?.since === "function" && (obj instanceof Temporal.Instant || obj instanceof Temporal.PlainDate || obj instanceof Temporal.PlainDateTime || obj instanceof Temporal.PlainTime || obj instanceof Temporal.ZonedDateTime)) return "temporal";
|
|
171013
171053
|
}
|
|
171014
171054
|
return type2;
|
|
171015
171055
|
}
|
|
@@ -171020,23 +171060,35 @@ ${codeblock}`, options);
|
|
|
171020
171060
|
function formatString(s6) {
|
|
171021
171061
|
return JSON.stringify(s6).replace(/\x7f/g, "\\u007f");
|
|
171022
171062
|
}
|
|
171063
|
+
function stringifyTemporal(temporal) {
|
|
171064
|
+
return temporal.toString({
|
|
171065
|
+
calendarName: "never",
|
|
171066
|
+
timeZoneName: "never"
|
|
171067
|
+
});
|
|
171068
|
+
}
|
|
171023
171069
|
function stringifyValue2(val, type2, depth, numberAsFloat) {
|
|
171024
171070
|
if (depth === 0) throw new Error("Could not stringify the object: maximum object depth exceeded");
|
|
171025
|
-
|
|
171026
|
-
|
|
171027
|
-
|
|
171028
|
-
|
|
171029
|
-
|
|
171030
|
-
|
|
171031
|
-
|
|
171032
|
-
|
|
171033
|
-
|
|
171034
|
-
|
|
171035
|
-
|
|
171036
|
-
|
|
171037
|
-
|
|
171038
|
-
|
|
171039
|
-
|
|
171071
|
+
switch (type2) {
|
|
171072
|
+
case "number":
|
|
171073
|
+
if (isNaN(val)) return "nan";
|
|
171074
|
+
if (val === Infinity) return "inf";
|
|
171075
|
+
if (val === -Infinity) return "-inf";
|
|
171076
|
+
if (Number.isInteger(val) && (numberAsFloat || !Number.isSafeInteger(val))) return val.toFixed(1);
|
|
171077
|
+
case "bigint":
|
|
171078
|
+
case "boolean":
|
|
171079
|
+
return val.toString();
|
|
171080
|
+
case "string":
|
|
171081
|
+
return formatString(val);
|
|
171082
|
+
case "date":
|
|
171083
|
+
if (isNaN(val.getTime())) throw new TypeError("cannot serialize invalid date");
|
|
171084
|
+
return val.toISOString();
|
|
171085
|
+
case "object":
|
|
171086
|
+
return stringifyInlineTable(val, depth, numberAsFloat);
|
|
171087
|
+
case "array":
|
|
171088
|
+
return stringifyArray(val, depth, numberAsFloat);
|
|
171089
|
+
case "temporal":
|
|
171090
|
+
return stringifyTemporal(val);
|
|
171091
|
+
}
|
|
171040
171092
|
}
|
|
171041
171093
|
function stringifyInlineTable(obj, depth, numberAsFloat) {
|
|
171042
171094
|
let keys = Object.keys(obj);
|
|
@@ -233175,7 +233227,7 @@ var require_package7 = __commonJS({
|
|
|
233175
233227
|
"package.json"(exports2, module2) {
|
|
233176
233228
|
module2.exports = {
|
|
233177
233229
|
name: "@sentry/craft",
|
|
233178
|
-
version: "2.31.
|
|
233230
|
+
version: "2.31.1",
|
|
233179
233231
|
description: "The universal sentry workflow CLI",
|
|
233180
233232
|
main: "dist/craft",
|
|
233181
233233
|
repository: "https://github.com/getsentry/craft",
|
|
@@ -233223,7 +233275,7 @@ var require_package7 = __commonJS({
|
|
|
233223
233275
|
"git-url-parse": "^16.1.0",
|
|
233224
233276
|
glob: "^11.0.0",
|
|
233225
233277
|
"is-ci": "^2.0.0",
|
|
233226
|
-
"js-yaml": "4.3.
|
|
233278
|
+
"js-yaml": "4.3.2",
|
|
233227
233279
|
mkdirp: "^1.0.4",
|
|
233228
233280
|
mustache: "3.0.1",
|
|
233229
233281
|
nock: "^13.2.4",
|
|
@@ -233362,7 +233414,7 @@ function getPackage() {
|
|
|
233362
233414
|
}
|
|
233363
233415
|
function getPackageVersion() {
|
|
233364
233416
|
const { version: version2 } = getPackage();
|
|
233365
|
-
const buildInfo = "
|
|
233417
|
+
const buildInfo = "b5451aa5604f399ebaef98c0850bece7d062e288";
|
|
233366
233418
|
return buildInfo ? `${version2} (${buildInfo})` : version2;
|
|
233367
233419
|
}
|
|
233368
233420
|
function semVerToString(s6) {
|