@storm-software/linting-tools 1.131.7 → 1.131.9
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/README.md +1 -1
- package/bin/{chunk-Q4PY4E3P.cjs → chunk-5G2ZS4IK.cjs} +91 -91
- package/bin/{chunk-OSKNTSED.js → chunk-5NXARSSA.js} +2 -2
- package/bin/{chunk-LR64WSD7.js → chunk-6JMR3UNJ.js} +2 -2
- package/bin/{chunk-H57R4QZ4.js → chunk-AHED5RED.js} +2 -2
- package/bin/{chunk-QWEEU5ES.cjs → chunk-B5ACXIH4.cjs} +2 -2
- package/bin/{chunk-QWAGYRDD.cjs → chunk-EB3OTFPL.cjs} +2 -2
- package/bin/{chunk-BCFELX5K.js → chunk-EGEQMQAU.js} +1 -1
- package/bin/{chunk-HNIIDQ4F.js → chunk-EGOYH47X.js} +1 -1
- package/bin/{chunk-36BNRK2Y.js → chunk-GFPVXLSI.js} +2 -2
- package/bin/{chunk-G6ABQU5R.cjs → chunk-HDMEIHTZ.cjs} +5 -5
- package/bin/{chunk-4FC4JMQQ.js → chunk-KHPDEPRP.js} +2 -2
- package/bin/{chunk-4PNNRPPG.cjs → chunk-NX3ZRMZO.cjs} +5 -5
- package/bin/{chunk-TJM7XLO6.js → chunk-PHWJMLNT.js} +1 -1
- package/bin/{chunk-CIGAWZYW.cjs → chunk-PPJJWBDI.cjs} +5 -5
- package/bin/{chunk-SKWIFCZT.cjs → chunk-TT4VR6CQ.cjs} +14 -14
- package/bin/{chunk-FG4MF6DP.js → chunk-UG36I2L6.js} +2 -2
- package/bin/{chunk-XLSFNKID.js → chunk-UMOC7RVL.js} +2 -2
- package/bin/{chunk-NQH7YR4J.cjs → chunk-VISPKRVU.cjs} +6 -6
- package/bin/{chunk-JLY2EPI7.cjs → chunk-XFEVD44F.cjs} +2 -2
- package/bin/{chunk-JCVIIPFW.cjs → chunk-ZUSFPPJ3.cjs} +20 -20
- package/bin/{dist-JGAVRJT6.cjs → dist-4TN2AGOL.cjs} +206 -206
- package/bin/{dist-O7KIOWLQ.cjs → dist-BAP35CCV.cjs} +6 -6
- package/bin/{dist-JVNNBIDX.js → dist-RZMKILKO.js} +2 -2
- package/bin/{dist-WHGWDI3W.js → dist-WTATLZJH.js} +8 -8
- package/bin/{esm-4USZTJHX.cjs → esm-4QTYP3S2.cjs} +4 -4
- package/bin/{esm-O26WIUWB.js → esm-A5MDYDIO.js} +1 -1
- package/bin/json5-DJ6Z73HD.cjs +10 -0
- package/bin/json5-UMTR23SA.js +10 -0
- package/bin/jsonc-3URBSXLN.cjs +15 -0
- package/bin/{jsonc-WRGX7XMB.js → jsonc-MNVXC3JO.js} +3 -3
- package/bin/lint.cjs +2111 -2095
- package/bin/lint.js +138 -124
- package/bin/{multipart-parser-TF6JHID4.js → multipart-parser-HKDNSW7I.js} +2 -2
- package/bin/{multipart-parser-M3ULTPMW.cjs → multipart-parser-XWKEU5TC.cjs} +6 -6
- package/bin/{package-json-57QILM2O.cjs → package-json-BXPGSXA5.cjs} +157 -172
- package/bin/{package-json-3FMBXXED.js → package-json-MWGKH3JA.js} +64 -79
- package/bin/toml-CO2HMBNZ.cjs +10 -0
- package/bin/toml-HZ2H2PJ4.js +10 -0
- package/bin/{utils-QSZF4BSR.js → utils-OORWGFJ3.js} +2 -2
- package/bin/{utils-OB4RNXNR.cjs → utils-RXIWILNZ.cjs} +5 -5
- package/bin/yaml-QAOFMOAH.cjs +10 -0
- package/bin/yaml-WWRPZQHR.js +10 -0
- package/package.json +2 -2
- package/bin/json5-55JN5MEJ.js +0 -10
- package/bin/json5-YS4GTBEO.cjs +0 -10
- package/bin/jsonc-TA6EMB6J.cjs +0 -15
- package/bin/toml-344RGGX4.cjs +0 -10
- package/bin/toml-LOSGZ7EB.js +0 -10
- package/bin/yaml-AILP6H6D.js +0 -10
- package/bin/yaml-UN6JFE2R.cjs +0 -10
package/bin/lint.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
require_clean,
|
|
4
4
|
require_semver,
|
|
5
5
|
require_valid
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EGOYH47X.js";
|
|
7
7
|
import {
|
|
8
8
|
basename,
|
|
9
9
|
be,
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
join,
|
|
16
16
|
readPackageJSON,
|
|
17
17
|
resolve
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-UG36I2L6.js";
|
|
19
|
+
import "./chunk-5NXARSSA.js";
|
|
20
|
+
import "./chunk-AHED5RED.js";
|
|
21
|
+
import "./chunk-6JMR3UNJ.js";
|
|
22
|
+
import "./chunk-KHPDEPRP.js";
|
|
23
|
+
import "./chunk-PHWJMLNT.js";
|
|
24
24
|
import {
|
|
25
25
|
__commonJS,
|
|
26
26
|
__dirname,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
__require,
|
|
32
32
|
__toESM,
|
|
33
33
|
init_esm_shims
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UMOC7RVL.js";
|
|
35
35
|
|
|
36
36
|
// ../../node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/dist/jiti.cjs
|
|
37
37
|
import * as __import_node_os from "node:os";
|
|
@@ -59288,23 +59288,11 @@ var require_src2 = __commonJS({
|
|
|
59288
59288
|
}
|
|
59289
59289
|
});
|
|
59290
59290
|
|
|
59291
|
-
// ../../node_modules/.pnpm/
|
|
59292
|
-
var require_has_own_prop = __commonJS({
|
|
59293
|
-
"../../node_modules/.pnpm/has-own-prop@2.0.0/node_modules/has-own-prop/index.js"(exports2, module) {
|
|
59294
|
-
"use strict";
|
|
59295
|
-
init_esm_shims();
|
|
59296
|
-
var hasOwnProp = Object.prototype.hasOwnProperty;
|
|
59297
|
-
module.exports = (object3, property) => hasOwnProp.call(object3, property);
|
|
59298
|
-
}
|
|
59299
|
-
});
|
|
59300
|
-
|
|
59301
|
-
// ../../node_modules/.pnpm/comment-json@4.2.5/node_modules/comment-json/src/common.js
|
|
59291
|
+
// ../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/common.js
|
|
59302
59292
|
var require_common3 = __commonJS({
|
|
59303
|
-
"../../node_modules/.pnpm/comment-json@4.
|
|
59293
|
+
"../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/common.js"(exports2, module) {
|
|
59304
59294
|
init_esm_shims();
|
|
59305
|
-
var __import_hasOwnProp = __toESM(require_has_own_prop());
|
|
59306
59295
|
var __import_coreUtilIs = __toESM(require_util2());
|
|
59307
|
-
var hasOwnProperty5 = __import_hasOwnProp;
|
|
59308
59296
|
var {
|
|
59309
59297
|
isObject: isObject4,
|
|
59310
59298
|
isArray: isArray3,
|
|
@@ -59347,7 +59335,7 @@ var require_common3 = __commonJS({
|
|
|
59347
59335
|
});
|
|
59348
59336
|
var copy_comments_by_kind = (target, source, target_key, source_key, prefix, remove_source) => {
|
|
59349
59337
|
const source_prop = symbol(prefix, source_key);
|
|
59350
|
-
if (!
|
|
59338
|
+
if (!Object.hasOwn(source, source_prop)) {
|
|
59351
59339
|
return;
|
|
59352
59340
|
}
|
|
59353
59341
|
const target_prop = target_key === source_key ? source_prop : symbol(prefix, target_key);
|
|
@@ -59374,7 +59362,7 @@ var require_common3 = __commonJS({
|
|
|
59374
59362
|
}
|
|
59375
59363
|
SYMBOL_PREFIXES.forEach((prefix) => {
|
|
59376
59364
|
const target_prop = symbol(prefix, to);
|
|
59377
|
-
if (!
|
|
59365
|
+
if (!Object.hasOwn(array2, target_prop)) {
|
|
59378
59366
|
copy_comments_by_kind(array2, array2, to, from, prefix, true);
|
|
59379
59367
|
return;
|
|
59380
59368
|
}
|
|
@@ -59397,7 +59385,7 @@ var require_common3 = __commonJS({
|
|
|
59397
59385
|
if (!isString2(key) && !isNumber(key)) {
|
|
59398
59386
|
return;
|
|
59399
59387
|
}
|
|
59400
|
-
if (!
|
|
59388
|
+
if (!Object.hasOwn(source, key)) {
|
|
59401
59389
|
return;
|
|
59402
59390
|
}
|
|
59403
59391
|
target[key] = source[key];
|
|
@@ -59449,9 +59437,9 @@ var require_common3 = __commonJS({
|
|
|
59449
59437
|
}
|
|
59450
59438
|
});
|
|
59451
59439
|
|
|
59452
|
-
// ../../node_modules/.pnpm/comment-json@4.
|
|
59440
|
+
// ../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/array.js
|
|
59453
59441
|
var require_array2 = __commonJS({
|
|
59454
|
-
"../../node_modules/.pnpm/comment-json@4.
|
|
59442
|
+
"../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/array.js"(exports2, module) {
|
|
59455
59443
|
init_esm_shims();
|
|
59456
59444
|
var __import_coreUtilIs = __toESM(require_util2());
|
|
59457
59445
|
var __import_arrayTimsort = __toESM(require_src2());
|
|
@@ -59621,9 +59609,9 @@ var require_array2 = __commonJS({
|
|
|
59621
59609
|
}
|
|
59622
59610
|
});
|
|
59623
59611
|
|
|
59624
|
-
// ../../node_modules/.pnpm/comment-json@4.
|
|
59612
|
+
// ../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/parse.js
|
|
59625
59613
|
var require_parse4 = __commonJS({
|
|
59626
|
-
"../../node_modules/.pnpm/comment-json@4.
|
|
59614
|
+
"../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/parse.js"(exports2, module) {
|
|
59627
59615
|
init_esm_shims();
|
|
59628
59616
|
var __import_esprima = __toESM(require_esprima());
|
|
59629
59617
|
var __import___array = __toESM(require_array2());
|
|
@@ -59656,6 +59644,7 @@ var require_parse4 = __commonJS({
|
|
|
59656
59644
|
comment: true,
|
|
59657
59645
|
loc: true
|
|
59658
59646
|
});
|
|
59647
|
+
var current_code;
|
|
59659
59648
|
var previous_hosts = [];
|
|
59660
59649
|
var comments_host = null;
|
|
59661
59650
|
var unassigned_comments = null;
|
|
@@ -59669,6 +59658,7 @@ var require_parse4 = __commonJS({
|
|
|
59669
59658
|
var index2;
|
|
59670
59659
|
var reviver = null;
|
|
59671
59660
|
var clean6 = () => {
|
|
59661
|
+
current_code = UNDEFINED;
|
|
59672
59662
|
previous_props.length = previous_hosts.length = 0;
|
|
59673
59663
|
last = null;
|
|
59674
59664
|
last_prop = UNDEFINED;
|
|
@@ -59677,14 +59667,16 @@ var require_parse4 = __commonJS({
|
|
|
59677
59667
|
clean6();
|
|
59678
59668
|
tokens.length = 0;
|
|
59679
59669
|
unassigned_comments = comments_host = tokens = last = current = reviver = null;
|
|
59670
|
+
current_code = UNDEFINED;
|
|
59680
59671
|
};
|
|
59681
59672
|
var symbolFor = (prefix) => Symbol.for(
|
|
59682
59673
|
last_prop !== UNDEFINED ? prefix + COLON + last_prop : prefix
|
|
59683
59674
|
);
|
|
59684
|
-
var transform6 = (k,
|
|
59675
|
+
var transform6 = (k, { value: value2, context = {} }) => reviver ? reviver(k, value2, context) : value2;
|
|
59685
59676
|
var unexpected = () => {
|
|
59686
|
-
const error2 = new SyntaxError(`Unexpected token ${current.value.slice(0, 1)}`);
|
|
59677
|
+
const error2 = new SyntaxError(`Unexpected token '${current.value.slice(0, 1)}', "${current_code}" is not valid JSON`);
|
|
59687
59678
|
Object.assign(error2, current.loc.start);
|
|
59679
|
+
free();
|
|
59688
59680
|
throw error2;
|
|
59689
59681
|
};
|
|
59690
59682
|
var unexpected_end = () => {
|
|
@@ -59693,6 +59685,7 @@ var require_parse4 = __commonJS({
|
|
|
59693
59685
|
line: 1,
|
|
59694
59686
|
column: 0
|
|
59695
59687
|
});
|
|
59688
|
+
free();
|
|
59696
59689
|
throw error2;
|
|
59697
59690
|
};
|
|
59698
59691
|
var next = () => {
|
|
@@ -59865,11 +59858,15 @@ var require_parse4 = __commonJS({
|
|
|
59865
59858
|
let tt = type2();
|
|
59866
59859
|
if (tt === CURLY_BRACKET_OPEN) {
|
|
59867
59860
|
next();
|
|
59868
|
-
return
|
|
59861
|
+
return {
|
|
59862
|
+
value: parse_object()
|
|
59863
|
+
};
|
|
59869
59864
|
}
|
|
59870
59865
|
if (tt === BRACKET_OPEN) {
|
|
59871
59866
|
next();
|
|
59872
|
-
return
|
|
59867
|
+
return {
|
|
59868
|
+
value: parse_array()
|
|
59869
|
+
};
|
|
59873
59870
|
}
|
|
59874
59871
|
let negative = EMPTY;
|
|
59875
59872
|
if (tt === MINUS) {
|
|
@@ -59878,6 +59875,7 @@ var require_parse4 = __commonJS({
|
|
|
59878
59875
|
negative = MINUS;
|
|
59879
59876
|
}
|
|
59880
59877
|
let v;
|
|
59878
|
+
let source;
|
|
59881
59879
|
switch (tt) {
|
|
59882
59880
|
case "String":
|
|
59883
59881
|
case "Boolean":
|
|
@@ -59885,13 +59883,21 @@ var require_parse4 = __commonJS({
|
|
|
59885
59883
|
case "Numeric":
|
|
59886
59884
|
v = current.value;
|
|
59887
59885
|
next();
|
|
59888
|
-
|
|
59886
|
+
source = negative + v;
|
|
59887
|
+
return {
|
|
59888
|
+
value: JSON.parse(source),
|
|
59889
|
+
context: {
|
|
59890
|
+
source
|
|
59891
|
+
}
|
|
59892
|
+
};
|
|
59889
59893
|
default:
|
|
59894
|
+
return {};
|
|
59890
59895
|
}
|
|
59891
59896
|
}
|
|
59892
59897
|
var isObject4 = (subject) => Object(subject) === subject;
|
|
59893
59898
|
var parse9 = (code, rev, no_comments) => {
|
|
59894
59899
|
clean6();
|
|
59900
|
+
current_code = code;
|
|
59895
59901
|
tokens = tokenize(code);
|
|
59896
59902
|
reviver = rev;
|
|
59897
59903
|
remove_comments = no_comments;
|
|
@@ -59902,11 +59908,12 @@ var require_parse4 = __commonJS({
|
|
|
59902
59908
|
next();
|
|
59903
59909
|
set_comments_host({});
|
|
59904
59910
|
parse_comments(PREFIX_BEFORE_ALL);
|
|
59905
|
-
|
|
59911
|
+
const final = walk2();
|
|
59906
59912
|
parse_comments(PREFIX_AFTER_ALL);
|
|
59907
59913
|
if (current) {
|
|
59908
59914
|
unexpected();
|
|
59909
59915
|
}
|
|
59916
|
+
let result = transform6("", final);
|
|
59910
59917
|
if (!no_comments && result !== null) {
|
|
59911
59918
|
if (!isObject4(result)) {
|
|
59912
59919
|
result = new Object(result);
|
|
@@ -59914,7 +59921,6 @@ var require_parse4 = __commonJS({
|
|
|
59914
59921
|
assign_non_prop_comments(result, comments_host);
|
|
59915
59922
|
}
|
|
59916
59923
|
restore_comments_host();
|
|
59917
|
-
result = transform6("", result);
|
|
59918
59924
|
free();
|
|
59919
59925
|
return result;
|
|
59920
59926
|
};
|
|
@@ -59925,47 +59931,11 @@ var require_parse4 = __commonJS({
|
|
|
59925
59931
|
}
|
|
59926
59932
|
});
|
|
59927
59933
|
|
|
59928
|
-
// ../../node_modules/.pnpm/
|
|
59929
|
-
var require_repeat_string = __commonJS({
|
|
59930
|
-
"../../node_modules/.pnpm/repeat-string@1.6.1/node_modules/repeat-string/index.js"(exports2, module) {
|
|
59931
|
-
"use strict";
|
|
59932
|
-
init_esm_shims();
|
|
59933
|
-
var res = "";
|
|
59934
|
-
var cache5;
|
|
59935
|
-
module.exports = repeat2;
|
|
59936
|
-
function repeat2(str2, num) {
|
|
59937
|
-
if (typeof str2 !== "string") {
|
|
59938
|
-
throw new TypeError("expected a string");
|
|
59939
|
-
}
|
|
59940
|
-
if (num === 1) return str2;
|
|
59941
|
-
if (num === 2) return str2 + str2;
|
|
59942
|
-
var max4 = str2.length * num;
|
|
59943
|
-
if (cache5 !== str2 || typeof cache5 === "undefined") {
|
|
59944
|
-
cache5 = str2;
|
|
59945
|
-
res = "";
|
|
59946
|
-
} else if (res.length >= max4) {
|
|
59947
|
-
return res.substr(0, max4);
|
|
59948
|
-
}
|
|
59949
|
-
while (max4 > res.length && num > 1) {
|
|
59950
|
-
if (num & 1) {
|
|
59951
|
-
res += str2;
|
|
59952
|
-
}
|
|
59953
|
-
num >>= 1;
|
|
59954
|
-
str2 += str2;
|
|
59955
|
-
}
|
|
59956
|
-
res += str2;
|
|
59957
|
-
res = res.substr(0, max4);
|
|
59958
|
-
return res;
|
|
59959
|
-
}
|
|
59960
|
-
}
|
|
59961
|
-
});
|
|
59962
|
-
|
|
59963
|
-
// ../../node_modules/.pnpm/comment-json@4.2.5/node_modules/comment-json/src/stringify.js
|
|
59934
|
+
// ../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/stringify.js
|
|
59964
59935
|
var require_stringify2 = __commonJS({
|
|
59965
|
-
"../../node_modules/.pnpm/comment-json@4.
|
|
59936
|
+
"../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/stringify.js"(exports2, module) {
|
|
59966
59937
|
init_esm_shims();
|
|
59967
59938
|
var __import_coreUtilIs = __toESM(require_util2());
|
|
59968
|
-
var __import_repeatString = __toESM(require_repeat_string());
|
|
59969
59939
|
var __import___common = __toESM(require_common3());
|
|
59970
59940
|
var {
|
|
59971
59941
|
isArray: isArray3,
|
|
@@ -59974,7 +59944,6 @@ var require_stringify2 = __commonJS({
|
|
|
59974
59944
|
isNumber,
|
|
59975
59945
|
isString: isString2
|
|
59976
59946
|
} = __import_coreUtilIs;
|
|
59977
|
-
var repeat2 = __import_repeatString;
|
|
59978
59947
|
var {
|
|
59979
59948
|
PREFIX_BEFORE_ALL,
|
|
59980
59949
|
PREFIX_BEFORE,
|
|
@@ -60135,7 +60104,7 @@ var require_stringify2 = __commonJS({
|
|
|
60135
60104
|
default:
|
|
60136
60105
|
}
|
|
60137
60106
|
}
|
|
60138
|
-
var get_indent = (space) => isString2(space) ? space : isNumber(space) ?
|
|
60107
|
+
var get_indent = (space) => isString2(space) ? space : isNumber(space) ? SPACE.repeat(space) : EMPTY;
|
|
60139
60108
|
var { toString: toString3 } = Object.prototype;
|
|
60140
60109
|
var PRIMITIVE_OBJECT_TYPES = [
|
|
60141
60110
|
"[object Number]",
|
|
@@ -60161,14 +60130,14 @@ var require_stringify2 = __commonJS({
|
|
|
60161
60130
|
indent2 = indent_;
|
|
60162
60131
|
const str2 = is_primitive_object(value2) ? JSON.stringify(value2) : stringify5("", { "": value2 }, EMPTY);
|
|
60163
60132
|
clean6();
|
|
60164
|
-
return isObject4(value2) ? process_comments(value2, PREFIX_BEFORE_ALL, EMPTY).trimLeft() + str2 + process_comments(value2, PREFIX_AFTER_ALL, EMPTY).trimRight() : str2;
|
|
60133
|
+
return isObject4(value2) ? process_comments(value2, PREFIX_BEFORE_ALL, EMPTY, true).trimLeft() + str2 + process_comments(value2, PREFIX_AFTER_ALL, EMPTY).trimRight() : str2;
|
|
60165
60134
|
};
|
|
60166
60135
|
}
|
|
60167
60136
|
});
|
|
60168
60137
|
|
|
60169
|
-
// ../../node_modules/.pnpm/comment-json@4.
|
|
60138
|
+
// ../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/index.js
|
|
60170
60139
|
var require_src3 = __commonJS({
|
|
60171
|
-
"../../node_modules/.pnpm/comment-json@4.
|
|
60140
|
+
"../../node_modules/.pnpm/comment-json@4.4.0/node_modules/comment-json/src/index.js"(exports2, module) {
|
|
60172
60141
|
init_esm_shims();
|
|
60173
60142
|
var __import___parse = __toESM(require_parse4());
|
|
60174
60143
|
var __import___stringify = __toESM(require_stringify2());
|
|
@@ -60177,8 +60146,24 @@ var require_src3 = __commonJS({
|
|
|
60177
60146
|
var { parse: parse9, tokenize } = __import___parse;
|
|
60178
60147
|
var stringify5 = __import___stringify;
|
|
60179
60148
|
var { CommentArray } = __import___array;
|
|
60180
|
-
var {
|
|
60149
|
+
var {
|
|
60150
|
+
PREFIX_BEFORE,
|
|
60151
|
+
PREFIX_AFTER_PROP,
|
|
60152
|
+
PREFIX_AFTER_COLON,
|
|
60153
|
+
PREFIX_AFTER_VALUE,
|
|
60154
|
+
PREFIX_AFTER,
|
|
60155
|
+
PREFIX_BEFORE_ALL,
|
|
60156
|
+
PREFIX_AFTER_ALL,
|
|
60157
|
+
assign: assign3
|
|
60158
|
+
} = __import___common;
|
|
60181
60159
|
module.exports = {
|
|
60160
|
+
PREFIX_BEFORE,
|
|
60161
|
+
PREFIX_AFTER_PROP,
|
|
60162
|
+
PREFIX_AFTER_COLON,
|
|
60163
|
+
PREFIX_AFTER_VALUE,
|
|
60164
|
+
PREFIX_AFTER,
|
|
60165
|
+
PREFIX_BEFORE_ALL,
|
|
60166
|
+
PREFIX_AFTER_ALL,
|
|
60182
60167
|
parse: parse9,
|
|
60183
60168
|
stringify: stringify5,
|
|
60184
60169
|
tokenize,
|
|
@@ -80608,13 +80593,13 @@ var require_source_map_support = __commonJS({
|
|
|
80608
80593
|
}
|
|
80609
80594
|
});
|
|
80610
80595
|
|
|
80611
|
-
// ../../node_modules/.pnpm/typescript@5.9.
|
|
80596
|
+
// ../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js
|
|
80612
80597
|
import * as __import_fs13 from "fs";
|
|
80613
80598
|
import * as __import_path30 from "path";
|
|
80614
80599
|
import * as __import_os7 from "os";
|
|
80615
80600
|
import * as __import_inspector from "inspector";
|
|
80616
80601
|
var require_typescript = __commonJS({
|
|
80617
|
-
"../../node_modules/.pnpm/typescript@5.9.
|
|
80602
|
+
"../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js"(exports2, module) {
|
|
80618
80603
|
init_esm_shims();
|
|
80619
80604
|
var ts = {};
|
|
80620
80605
|
((module2) => {
|
|
@@ -82885,7 +82870,7 @@ var require_typescript = __commonJS({
|
|
|
82885
82870
|
});
|
|
82886
82871
|
module2.exports = __toCommonJS(typescript_exports);
|
|
82887
82872
|
var versionMajorMinor = "5.9";
|
|
82888
|
-
var version6 = "5.9.
|
|
82873
|
+
var version6 = "5.9.3";
|
|
82889
82874
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
82890
82875
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
82891
82876
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -87541,10 +87526,10 @@ ${lanes.join("\n")}
|
|
|
87541
87526
|
] = "Latest";
|
|
87542
87527
|
return ScriptTarget12;
|
|
87543
87528
|
})(ScriptTarget || {});
|
|
87544
|
-
var LanguageVariant = /* @__PURE__ */ ((
|
|
87545
|
-
|
|
87546
|
-
|
|
87547
|
-
return
|
|
87529
|
+
var LanguageVariant = /* @__PURE__ */ ((LanguageVariant4) => {
|
|
87530
|
+
LanguageVariant4[LanguageVariant4["Standard"] = 0] = "Standard";
|
|
87531
|
+
LanguageVariant4[LanguageVariant4["JSX"] = 1] = "JSX";
|
|
87532
|
+
return LanguageVariant4;
|
|
87548
87533
|
})(LanguageVariant || {});
|
|
87549
87534
|
var WatchDirectoryFlags = /* @__PURE__ */ ((WatchDirectoryFlags3) => {
|
|
87550
87535
|
WatchDirectoryFlags3[WatchDirectoryFlags3["None"] = 0] = "None";
|
|
@@ -105667,10 +105652,22 @@ ${lanes.join("\n")}
|
|
|
105667
105652
|
}
|
|
105668
105653
|
return parenthesizerRule;
|
|
105669
105654
|
}
|
|
105655
|
+
function mixingBinaryOperatorsRequiresParentheses(a, b) {
|
|
105656
|
+
if (a === 61) {
|
|
105657
|
+
return b === 56 || b === 57;
|
|
105658
|
+
}
|
|
105659
|
+
if (b === 61) {
|
|
105660
|
+
return a === 56 || a === 57;
|
|
105661
|
+
}
|
|
105662
|
+
return false;
|
|
105663
|
+
}
|
|
105670
105664
|
function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) {
|
|
105665
|
+
const emittedOperand = skipPartiallyEmittedExpressions(operand);
|
|
105666
|
+
if (isBinaryExpression(emittedOperand) && mixingBinaryOperatorsRequiresParentheses(binaryOperator, emittedOperand.operatorToken.kind)) {
|
|
105667
|
+
return true;
|
|
105668
|
+
}
|
|
105671
105669
|
const binaryOperatorPrecedence = getOperatorPrecedence(227, binaryOperator);
|
|
105672
105670
|
const binaryOperatorAssociativity = getOperatorAssociativity(227, binaryOperator);
|
|
105673
|
-
const emittedOperand = skipPartiallyEmittedExpressions(operand);
|
|
105674
105671
|
if (!isLeftSideOfBinary && operand.kind === 220 && binaryOperatorPrecedence > 3) {
|
|
105675
105672
|
return true;
|
|
105676
105673
|
}
|
|
@@ -142698,7 +142695,22 @@ ${lanes.join("\n")}
|
|
|
142698
142695
|
function getPropertyNameNodeForSymbol(symbol, context) {
|
|
142699
142696
|
const hashPrivateName = getClonedHashPrivateName(symbol);
|
|
142700
142697
|
if (hashPrivateName) {
|
|
142701
|
-
|
|
142698
|
+
const shouldEmitErroneousFieldName = !!context.tracker.reportPrivateInBaseOfClassExpression && context.flags & 2048;
|
|
142699
|
+
if (!shouldEmitErroneousFieldName) {
|
|
142700
|
+
return hashPrivateName;
|
|
142701
|
+
} else {
|
|
142702
|
+
let rawName2 = unescapeLeadingUnderscores(symbol.escapedName);
|
|
142703
|
+
rawName2 = rawName2.replace(/__#\d+@#/g, "__#private@#");
|
|
142704
|
+
return createPropertyNameNodeForIdentifierOrLiteral(
|
|
142705
|
+
rawName2,
|
|
142706
|
+
getEmitScriptTarget(compilerOptions),
|
|
142707
|
+
/*singleQuote*/
|
|
142708
|
+
false,
|
|
142709
|
+
/*stringNamed*/
|
|
142710
|
+
true,
|
|
142711
|
+
!!(symbol.flags & 8192)
|
|
142712
|
+
);
|
|
142713
|
+
}
|
|
142702
142714
|
}
|
|
142703
142715
|
const stringNamed = !!length(symbol.declarations) && every(symbol.declarations, isStringNamed);
|
|
142704
142716
|
const singleQuote = !!length(symbol.declarations) && every(symbol.declarations, isSingleQuotedStringNamed);
|
|
@@ -218796,10 +218808,9 @@ ${lanes.join("\n")}
|
|
|
218796
218808
|
}
|
|
218797
218809
|
const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(resolvedRef.commandLine, !host.useCaseSensitiveFileNames()));
|
|
218798
218810
|
commandLine.fileNames.forEach((fileName) => {
|
|
218799
|
-
if (isDeclarationFileName(fileName)) return;
|
|
218800
218811
|
const path32 = toPath3(fileName);
|
|
218801
218812
|
let outputDts;
|
|
218802
|
-
if (!fileExtensionIs(
|
|
218813
|
+
if (!isDeclarationFileName(fileName) && !fileExtensionIs(
|
|
218803
218814
|
fileName,
|
|
218804
218815
|
".json"
|
|
218805
218816
|
/* Json */
|
|
@@ -230464,7 +230475,7 @@ ${lanes.join("\n")}
|
|
|
230464
230475
|
if (token && token.kind === 20 && token.parent.kind === 295) {
|
|
230465
230476
|
return true;
|
|
230466
230477
|
}
|
|
230467
|
-
if (token.kind ===
|
|
230478
|
+
if (token.kind === 30 && token.parent.kind === 288) {
|
|
230468
230479
|
return true;
|
|
230469
230480
|
}
|
|
230470
230481
|
return false;
|
|
@@ -230492,7 +230503,7 @@ ${lanes.join("\n")}
|
|
|
230492
230503
|
function isInsideJsxElement(sourceFile, position3) {
|
|
230493
230504
|
function isInsideJsxElementTraversal(node) {
|
|
230494
230505
|
while (node) {
|
|
230495
|
-
if (node.kind >= 286 && node.kind <= 295 || node.kind === 12 || node.kind === 30 || node.kind === 32 || node.kind === 80 || node.kind === 20 || node.kind === 19 || node.kind === 44
|
|
230506
|
+
if (node.kind >= 286 && node.kind <= 295 || node.kind === 12 || node.kind === 30 || node.kind === 32 || node.kind === 80 || node.kind === 20 || node.kind === 19 || node.kind === 44) {
|
|
230496
230507
|
node = node.parent;
|
|
230497
230508
|
} else if (node.kind === 285) {
|
|
230498
230509
|
if (position3 > node.getStart(sourceFile)) return true;
|
|
@@ -242548,9 +242559,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
242548
242559
|
});
|
|
242549
242560
|
return children;
|
|
242550
242561
|
}
|
|
242551
|
-
const languageVariant = (sourceFile == null ? void 0 : sourceFile.languageVariant) ?? 0;
|
|
242552
242562
|
scanner.setText((sourceFile || node.getSourceFile()).text);
|
|
242553
|
-
scanner.setLanguageVariant(languageVariant);
|
|
242554
242563
|
let pos = node.pos;
|
|
242555
242564
|
const processNode = (child) => {
|
|
242556
242565
|
addSyntheticNodes(children, pos, child.pos, node);
|
|
@@ -242567,10 +242576,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
242567
242576
|
node.forEachChild(processNode, processNodes);
|
|
242568
242577
|
addSyntheticNodes(children, pos, node.end, node);
|
|
242569
242578
|
scanner.setText(void 0);
|
|
242570
|
-
scanner.setLanguageVariant(
|
|
242571
|
-
0
|
|
242572
|
-
/* Standard */
|
|
242573
|
-
);
|
|
242574
242579
|
return children;
|
|
242575
242580
|
}
|
|
242576
242581
|
function addSyntheticNodes(nodes, pos, end, parent2) {
|
|
@@ -258689,7 +258694,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
258689
258694
|
switch (node.kind) {
|
|
258690
258695
|
case 288:
|
|
258691
258696
|
return true;
|
|
258692
|
-
case
|
|
258697
|
+
case 44:
|
|
258693
258698
|
case 32:
|
|
258694
258699
|
case 80:
|
|
258695
258700
|
case 212:
|
|
@@ -260088,7 +260093,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
260088
260093
|
location2 = currentToken;
|
|
260089
260094
|
}
|
|
260090
260095
|
break;
|
|
260091
|
-
case
|
|
260096
|
+
case 44:
|
|
260092
260097
|
if (currentToken.parent.kind === 286) {
|
|
260093
260098
|
location2 = currentToken;
|
|
260094
260099
|
}
|
|
@@ -260097,7 +260102,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
260097
260102
|
}
|
|
260098
260103
|
switch (parent2.kind) {
|
|
260099
260104
|
case 288:
|
|
260100
|
-
if (contextToken.kind ===
|
|
260105
|
+
if (contextToken.kind === 44) {
|
|
260101
260106
|
isStartingCloseTag = true;
|
|
260102
260107
|
location2 = contextToken;
|
|
260103
260108
|
}
|
|
@@ -261768,7 +261773,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
261768
261773
|
case "<":
|
|
261769
261774
|
return !!contextToken && contextToken.kind === 30 && (!isBinaryExpression(contextToken.parent) || binaryExpressionMayBeOpenTag(contextToken.parent));
|
|
261770
261775
|
case "/":
|
|
261771
|
-
return !!contextToken && (isStringLiteralLike(contextToken) ? !!tryGetImportFromModuleSpecifier(contextToken) : contextToken.kind ===
|
|
261776
|
+
return !!contextToken && (isStringLiteralLike(contextToken) ? !!tryGetImportFromModuleSpecifier(contextToken) : contextToken.kind === 44 && isJsxClosingElement(contextToken.parent));
|
|
261772
261777
|
case " ":
|
|
261773
261778
|
return !!contextToken && isImportKeyword(contextToken) && contextToken.parent.kind === 308;
|
|
261774
261779
|
default:
|
|
@@ -314254,11 +314259,11 @@ function interpolate(target, source = {}, parse9 = (v) => v) {
|
|
|
314254
314259
|
}
|
|
314255
314260
|
var _normalize = (p) => p?.replace(/\\/g, "/");
|
|
314256
314261
|
var ASYNC_LOADERS = {
|
|
314257
|
-
".yaml": () => import("./yaml-
|
|
314258
|
-
".yml": () => import("./yaml-
|
|
314259
|
-
".jsonc": () => import("./jsonc-
|
|
314260
|
-
".json5": () => import("./json5-
|
|
314261
|
-
".toml": () => import("./toml-
|
|
314262
|
+
".yaml": () => import("./yaml-WWRPZQHR.js").then((r) => r.parseYAML),
|
|
314263
|
+
".yml": () => import("./yaml-WWRPZQHR.js").then((r) => r.parseYAML),
|
|
314264
|
+
".jsonc": () => import("./jsonc-MNVXC3JO.js").then((r) => r.parseJSONC),
|
|
314265
|
+
".json5": () => import("./json5-UMTR23SA.js").then((r) => r.parseJSON5),
|
|
314266
|
+
".toml": () => import("./toml-HZ2H2PJ4.js").then((r) => r.parseTOML)
|
|
314262
314267
|
};
|
|
314263
314268
|
var SUPPORTED_EXTENSIONS = [
|
|
314264
314269
|
// with jiti
|
|
@@ -314458,8 +314463,8 @@ async function resolveConfig(source, options, sourceOptions = {}) {
|
|
|
314458
314463
|
}
|
|
314459
314464
|
const _merger = options.merger || defu;
|
|
314460
314465
|
if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
|
|
314461
|
-
const { downloadTemplate } = await import("./dist-
|
|
314462
|
-
const { digest } = await import("./dist-
|
|
314466
|
+
const { downloadTemplate } = await import("./dist-WTATLZJH.js");
|
|
314467
|
+
const { digest } = await import("./dist-RZMKILKO.js");
|
|
314463
314468
|
const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
|
|
314464
314469
|
let cloneDir;
|
|
314465
314470
|
const localNodeModules = resolve(options.cwd, "node_modules");
|
|
@@ -327120,7 +327125,7 @@ function isDefined(v) {
|
|
|
327120
327125
|
init_esm_shims();
|
|
327121
327126
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
327122
327127
|
|
|
327123
|
-
// ../../node_modules/.pnpm/fast-equals@5.
|
|
327128
|
+
// ../../node_modules/.pnpm/fast-equals@5.3.2/node_modules/fast-equals/dist/esm/index.mjs
|
|
327124
327129
|
init_esm_shims();
|
|
327125
327130
|
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
327126
327131
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
@@ -327149,6 +327154,9 @@ function createIsCircular(areItemsEqual) {
|
|
|
327149
327154
|
return result;
|
|
327150
327155
|
};
|
|
327151
327156
|
}
|
|
327157
|
+
function getShortTag(value2) {
|
|
327158
|
+
return value2 != null ? value2[Symbol.toStringTag] : void 0;
|
|
327159
|
+
}
|
|
327152
327160
|
function getStrictProperties(object3) {
|
|
327153
327161
|
return getOwnPropertyNames(object3).concat(getOwnPropertySymbols(object3));
|
|
327154
327162
|
}
|
|
@@ -327341,7 +327349,7 @@ var isTypedArray = typeof ArrayBuffer === "function" && ArrayBuffer.isView ? Arr
|
|
|
327341
327349
|
var assign2 = Object.assign;
|
|
327342
327350
|
var getTag = Object.prototype.toString.call.bind(Object.prototype.toString);
|
|
327343
327351
|
function createEqualityComparator(_a) {
|
|
327344
|
-
var areArraysEqual2 = _a.areArraysEqual, areDatesEqual2 = _a.areDatesEqual, areErrorsEqual2 = _a.areErrorsEqual, areFunctionsEqual2 = _a.areFunctionsEqual, areMapsEqual2 = _a.areMapsEqual, areNumbersEqual2 = _a.areNumbersEqual, areObjectsEqual2 = _a.areObjectsEqual, arePrimitiveWrappersEqual2 = _a.arePrimitiveWrappersEqual, areRegExpsEqual2 = _a.areRegExpsEqual, areSetsEqual2 = _a.areSetsEqual, areTypedArraysEqual2 = _a.areTypedArraysEqual, areUrlsEqual2 = _a.areUrlsEqual;
|
|
327352
|
+
var areArraysEqual2 = _a.areArraysEqual, areDatesEqual2 = _a.areDatesEqual, areErrorsEqual2 = _a.areErrorsEqual, areFunctionsEqual2 = _a.areFunctionsEqual, areMapsEqual2 = _a.areMapsEqual, areNumbersEqual2 = _a.areNumbersEqual, areObjectsEqual2 = _a.areObjectsEqual, arePrimitiveWrappersEqual2 = _a.arePrimitiveWrappersEqual, areRegExpsEqual2 = _a.areRegExpsEqual, areSetsEqual2 = _a.areSetsEqual, areTypedArraysEqual2 = _a.areTypedArraysEqual, areUrlsEqual2 = _a.areUrlsEqual, unknownTagComparators = _a.unknownTagComparators;
|
|
327345
327353
|
return function comparator(a, b, state) {
|
|
327346
327354
|
if (a === b) {
|
|
327347
327355
|
return true;
|
|
@@ -327415,6 +327423,18 @@ function createEqualityComparator(_a) {
|
|
|
327415
327423
|
if (tag === BOOLEAN_TAG || tag === NUMBER_TAG || tag === STRING_TAG) {
|
|
327416
327424
|
return arePrimitiveWrappersEqual2(a, b, state);
|
|
327417
327425
|
}
|
|
327426
|
+
if (unknownTagComparators) {
|
|
327427
|
+
var unknownTagComparator = unknownTagComparators[tag];
|
|
327428
|
+
if (!unknownTagComparator) {
|
|
327429
|
+
var shortTag = getShortTag(a);
|
|
327430
|
+
if (shortTag) {
|
|
327431
|
+
unknownTagComparator = unknownTagComparators[shortTag];
|
|
327432
|
+
}
|
|
327433
|
+
}
|
|
327434
|
+
if (unknownTagComparator) {
|
|
327435
|
+
return unknownTagComparator(a, b, state);
|
|
327436
|
+
}
|
|
327437
|
+
}
|
|
327418
327438
|
return false;
|
|
327419
327439
|
};
|
|
327420
327440
|
}
|
|
@@ -327432,7 +327452,8 @@ function createEqualityComparatorConfig(_a) {
|
|
|
327432
327452
|
areRegExpsEqual,
|
|
327433
327453
|
areSetsEqual: strict ? combineComparators(areSetsEqual, areObjectsEqualStrict) : areSetsEqual,
|
|
327434
327454
|
areTypedArraysEqual: strict ? areObjectsEqualStrict : areTypedArraysEqual,
|
|
327435
|
-
areUrlsEqual
|
|
327455
|
+
areUrlsEqual,
|
|
327456
|
+
unknownTagComparators: void 0
|
|
327436
327457
|
};
|
|
327437
327458
|
if (createCustomConfig) {
|
|
327438
327459
|
config2 = assign2({}, config2, createCustomConfig(config2));
|
|
@@ -360779,7 +360800,7 @@ import { fileURLToPath as fileURLToPath26 } from "node:url";
|
|
|
360779
360800
|
// ../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js
|
|
360780
360801
|
init_esm_shims();
|
|
360781
360802
|
|
|
360782
|
-
// ../../node_modules/.pnpm/lru-cache@11.2.
|
|
360803
|
+
// ../../node_modules/.pnpm/lru-cache@11.2.2/node_modules/lru-cache/dist/esm/index.js
|
|
360783
360804
|
init_esm_shims();
|
|
360784
360805
|
var defaultPerf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date;
|
|
360785
360806
|
var warned2 = /* @__PURE__ */ new Set();
|
|
@@ -361826,7 +361847,8 @@ var LRUCache2 = class _LRUCache {
|
|
|
361826
361847
|
return fetchFail(ac.signal.reason);
|
|
361827
361848
|
}
|
|
361828
361849
|
const bf2 = p;
|
|
361829
|
-
|
|
361850
|
+
const vl = this.#valList[index2];
|
|
361851
|
+
if (vl === p || ignoreAbort && updateCache && vl === void 0) {
|
|
361830
361852
|
if (v2 === void 0) {
|
|
361831
361853
|
if (bf2.__staleWhileFetching !== void 0) {
|
|
361832
361854
|
this.#valList[index2] = bf2.__staleWhileFetching;
|
|
@@ -372825,7 +372847,7 @@ async function upgradeDependency([name3, tag = "latest"]) {
|
|
|
372825
372847
|
var npmRequestLimit = (0, import_p_limit2.default)(40);
|
|
372826
372848
|
function getPackageInfo(pkgName) {
|
|
372827
372849
|
return npmRequestLimit(async () => {
|
|
372828
|
-
const getPackageJson = (await import("./package-json-
|
|
372850
|
+
const getPackageJson = (await import("./package-json-MWGKH3JA.js")).default;
|
|
372829
372851
|
return getPackageJson(pkgName, {
|
|
372830
372852
|
allVersions: true
|
|
372831
372853
|
});
|
|
@@ -373512,14 +373534,6 @@ queue-microtask/index.js:
|
|
|
373512
373534
|
run-parallel/index.js:
|
|
373513
373535
|
(*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
373514
373536
|
|
|
373515
|
-
repeat-string/index.js:
|
|
373516
|
-
(*!
|
|
373517
|
-
* repeat-string <https://github.com/jonschlinkert/repeat-string>
|
|
373518
|
-
*
|
|
373519
|
-
* Copyright (c) 2014-2015, Jon Schlinkert.
|
|
373520
|
-
* Licensed under the MIT License.
|
|
373521
|
-
*)
|
|
373522
|
-
|
|
373523
373537
|
typescript/lib/typescript.js:
|
|
373524
373538
|
(*! *****************************************************************************
|
|
373525
373539
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
init_node,
|
|
4
4
|
init_node_fetch_native_DfbY2q_x,
|
|
5
5
|
qn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GFPVXLSI.js";
|
|
7
7
|
import {
|
|
8
8
|
__esm,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UMOC7RVL.js";
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs
|
|
13
13
|
function v(u) {
|