@storm-software/linting-tools 1.119.23 → 1.119.25
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/{dist/chunk-YGKJSNX7.js → bin/chunk-32XQHFGE.js} +2 -2
- package/{dist/chunk-ZDJ6A2LW.cjs → bin/chunk-3UGTJRWY.cjs} +152 -152
- package/{dist/chunk-SG7EAXX4.cjs → bin/chunk-4RF6THIX.cjs} +138 -138
- package/{dist/chunk-EF2QNWS4.cjs → bin/chunk-C22CM2QI.cjs} +243 -231
- package/bin/{chunk-2KDMIKWU.cjs → chunk-EIO5QEUI.cjs} +11 -11
- package/{dist/chunk-YPA2QUMR.cjs → bin/chunk-I2JYD3H6.cjs} +24 -19
- package/{dist/chunk-SQCSB444.cjs → bin/chunk-JMC2RKOQ.cjs} +32 -32
- package/{dist/chunk-NBPTD76Q.js → bin/chunk-K6MMXF46.js} +2 -2
- package/{dist/chunk-A4TZZH23.js → bin/chunk-LIJ5WV4A.js} +2 -2
- package/bin/{chunk-2HPUSEOW.cjs → chunk-LKG4W7DJ.cjs} +2 -2
- package/bin/{chunk-HEZ4RO23.js → chunk-MABAGCQ6.js} +41 -29
- package/{dist/chunk-PQ5PUA5Y.cjs → bin/chunk-MMZUGSMN.cjs} +40 -40
- package/bin/{chunk-2IE4DLUN.js → chunk-NDKCDPQO.js} +1 -1
- package/bin/{chunk-NJWQ5DAN.js → chunk-NDQ2CW4A.js} +2 -2
- package/bin/{chunk-BPGBQ4AU.cjs → chunk-PDUGQAZO.cjs} +388 -388
- package/bin/{chunk-BLCDYU3V.js → chunk-RBBW5SMK.js} +1 -1
- package/{dist/chunk-F6SMOBG3.js → bin/chunk-RHDLCCAJ.js} +20 -15
- package/bin/{chunk-FH3GDOOO.js → chunk-ULL57BC3.js} +2 -2
- package/bin/{chunk-VO3ZJK3W.js → chunk-ZJGO7CH5.js} +2 -2
- package/bin/{chunk-B5GG3XCQ.cjs → chunk-ZTPDBXJ7.cjs} +44 -44
- package/bin/{dist-RWR2JNAL.js → dist-LKHUGSWR.js} +5 -5
- package/bin/{dist-OHY4PLS2.cjs → dist-NMN4MHNO.cjs} +989 -989
- package/{dist/dist-7LMLAWUP.cjs → bin/dist-UIFUFPNF.cjs} +11 -11
- package/bin/{dist-VFELXY4D.js → dist-VQR5XTRX.js} +8 -8
- package/{dist/esm-HY37SH6N.js → bin/esm-RKT3LFXX.js} +1 -1
- package/{dist/esm-XU4H3B2N.cjs → bin/esm-U35YC6KQ.cjs} +46 -46
- package/bin/json5-CWKRIV7X.js +10 -0
- package/bin/json5-XI6JKVFM.cjs +10 -0
- package/{dist/jsonc-KYPEKHOV.js → bin/jsonc-6CGHMLZO.js} +3 -3
- package/bin/jsonc-BYJLN6Q4.cjs +15 -0
- package/bin/lint.cjs +31839 -31612
- package/bin/lint.js +5153 -4925
- package/{dist/multipart-parser-5HBMD6JO.js → bin/multipart-parser-LGBOR4F3.js} +2 -2
- package/{dist/multipart-parser-CF3BQORX.cjs → bin/multipart-parser-TTCELASL.cjs} +11 -11
- package/bin/{package-json-V5Z5DK5X.js → package-json-ITRNRAWE.js} +250 -153
- package/{dist/package-json-6XHUARKD.cjs → bin/package-json-L3F3J6R4.cjs} +487 -390
- package/bin/toml-I3FOMOEL.js +10 -0
- package/bin/toml-YQ3ON7DN.cjs +10 -0
- package/{dist/utils-DUARF7MU.js → bin/utils-ITF452JH.js} +3 -3
- package/bin/{utils-ZLRC2VXJ.cjs → utils-ZQ55RYQ3.cjs} +11 -11
- package/bin/yaml-EMLF46N6.js +10 -0
- package/bin/yaml-WRJ2JXLS.cjs +10 -0
- package/{bin/chunk-YGKJSNX7.js → dist/chunk-32XQHFGE.js} +2 -2
- package/{bin/chunk-ZDJ6A2LW.cjs → dist/chunk-3UGTJRWY.cjs} +152 -152
- package/{bin/chunk-SG7EAXX4.cjs → dist/chunk-4RF6THIX.cjs} +138 -138
- package/{bin/chunk-EF2QNWS4.cjs → dist/chunk-C22CM2QI.cjs} +243 -231
- package/dist/{chunk-2KDMIKWU.cjs → chunk-EIO5QEUI.cjs} +11 -11
- package/{bin/chunk-YPA2QUMR.cjs → dist/chunk-I2JYD3H6.cjs} +24 -19
- package/{bin/chunk-SQCSB444.cjs → dist/chunk-JMC2RKOQ.cjs} +32 -32
- package/{bin/chunk-NBPTD76Q.js → dist/chunk-K6MMXF46.js} +2 -2
- package/{bin/chunk-A4TZZH23.js → dist/chunk-LIJ5WV4A.js} +2 -2
- package/dist/{chunk-2HPUSEOW.cjs → chunk-LKG4W7DJ.cjs} +2 -2
- package/dist/{chunk-HEZ4RO23.js → chunk-MABAGCQ6.js} +41 -29
- package/{bin/chunk-PQ5PUA5Y.cjs → dist/chunk-MMZUGSMN.cjs} +40 -40
- package/dist/{chunk-2IE4DLUN.js → chunk-NDKCDPQO.js} +1 -1
- package/dist/{chunk-NJWQ5DAN.js → chunk-NDQ2CW4A.js} +2 -2
- package/dist/{chunk-BPGBQ4AU.cjs → chunk-PDUGQAZO.cjs} +388 -388
- package/dist/{chunk-BLCDYU3V.js → chunk-RBBW5SMK.js} +1 -1
- package/{bin/chunk-F6SMOBG3.js → dist/chunk-RHDLCCAJ.js} +20 -15
- package/dist/{chunk-FH3GDOOO.js → chunk-ULL57BC3.js} +2 -2
- package/dist/{chunk-VO3ZJK3W.js → chunk-ZJGO7CH5.js} +2 -2
- package/dist/{chunk-B5GG3XCQ.cjs → chunk-ZTPDBXJ7.cjs} +44 -44
- package/dist/{dist-RWR2JNAL.js → dist-LKHUGSWR.js} +5 -5
- package/dist/{dist-OHY4PLS2.cjs → dist-NMN4MHNO.cjs} +989 -989
- package/{bin/dist-7LMLAWUP.cjs → dist/dist-UIFUFPNF.cjs} +11 -11
- package/dist/{dist-VFELXY4D.js → dist-VQR5XTRX.js} +8 -8
- package/{bin/esm-HY37SH6N.js → dist/esm-RKT3LFXX.js} +1 -1
- package/{bin/esm-XU4H3B2N.cjs → dist/esm-U35YC6KQ.cjs} +46 -46
- package/dist/index.cjs +31834 -31607
- package/dist/index.js +5153 -4925
- package/dist/json5-CWKRIV7X.js +10 -0
- package/dist/json5-XI6JKVFM.cjs +10 -0
- package/{bin/jsonc-KYPEKHOV.js → dist/jsonc-6CGHMLZO.js} +3 -3
- package/dist/jsonc-BYJLN6Q4.cjs +15 -0
- package/{bin/multipart-parser-5HBMD6JO.js → dist/multipart-parser-LGBOR4F3.js} +2 -2
- package/{bin/multipart-parser-CF3BQORX.cjs → dist/multipart-parser-TTCELASL.cjs} +11 -11
- package/dist/{package-json-V5Z5DK5X.js → package-json-ITRNRAWE.js} +250 -153
- package/{bin/package-json-6XHUARKD.cjs → dist/package-json-L3F3J6R4.cjs} +487 -390
- package/dist/toml-I3FOMOEL.js +10 -0
- package/dist/toml-YQ3ON7DN.cjs +10 -0
- package/{bin/utils-DUARF7MU.js → dist/utils-ITF452JH.js} +3 -3
- package/dist/{utils-ZLRC2VXJ.cjs → utils-ZQ55RYQ3.cjs} +11 -11
- package/dist/yaml-EMLF46N6.js +10 -0
- package/dist/yaml-WRJ2JXLS.cjs +10 -0
- package/package.json +1 -1
- package/bin/json5-3VVARTPN.cjs +0 -10
- package/bin/json5-WUIP5FMS.js +0 -10
- package/bin/jsonc-IS6EPVRJ.cjs +0 -15
- package/bin/toml-BAOM6BGG.js +0 -10
- package/bin/toml-JQMR5ASK.cjs +0 -10
- package/bin/yaml-LF4MDF3I.cjs +0 -10
- package/bin/yaml-TI2L6CZN.js +0 -10
- package/dist/json5-3VVARTPN.cjs +0 -10
- package/dist/json5-WUIP5FMS.js +0 -10
- package/dist/jsonc-IS6EPVRJ.cjs +0 -15
- package/dist/toml-BAOM6BGG.js +0 -10
- package/dist/toml-JQMR5ASK.cjs +0 -10
- package/dist/yaml-LF4MDF3I.cjs +0 -10
- package/dist/yaml-TI2L6CZN.js +0 -10
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__name,
|
|
3
3
|
init_esm_shims
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ULL57BC3.js";
|
|
5
5
|
|
|
6
|
-
// ../../node_modules/.pnpm/ohash@2.0.
|
|
6
|
+
// ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs
|
|
7
7
|
init_esm_shims();
|
|
8
8
|
function serialize(o) {
|
|
9
|
-
return typeof o == "string" ? `'${o}'` : new
|
|
9
|
+
return typeof o == "string" ? `'${o}'` : new c().serialize(o);
|
|
10
10
|
}
|
|
11
11
|
__name(serialize, "serialize");
|
|
12
|
-
var
|
|
12
|
+
var c = /* @__PURE__ */ function() {
|
|
13
13
|
class o {
|
|
14
14
|
static {
|
|
15
15
|
__name(this, "o");
|
|
@@ -37,7 +37,12 @@ var l = /* @__PURE__ */ function() {
|
|
|
37
37
|
const r = Object.prototype.toString.call(t);
|
|
38
38
|
if (r !== "[object Object]") return this.serializeBuiltInType(r.length < 10 ? `unknown:${r}` : r.slice(8, -1), t);
|
|
39
39
|
const e = t.constructor, n = e === Object || e === void 0 ? "" : e.name;
|
|
40
|
-
|
|
40
|
+
if (n !== "" && globalThis[n] === e) return this.serializeBuiltInType(n, t);
|
|
41
|
+
if (typeof t.toJSON == "function") {
|
|
42
|
+
const i = t.toJSON();
|
|
43
|
+
return n + (i !== null && typeof i == "object" ? this.$object(i) : `(${this.serialize(i)})`);
|
|
44
|
+
}
|
|
45
|
+
return this.serializeObjectEntries(n, Object.entries(t));
|
|
41
46
|
}
|
|
42
47
|
serializeBuiltInType(t, r) {
|
|
43
48
|
const e = this["$" + t];
|
|
@@ -46,11 +51,11 @@ var l = /* @__PURE__ */ function() {
|
|
|
46
51
|
throw new Error(`Cannot serialize ${t}`);
|
|
47
52
|
}
|
|
48
53
|
serializeObjectEntries(t, r) {
|
|
49
|
-
const e = Array.from(r).sort((
|
|
54
|
+
const e = Array.from(r).sort((i, a) => this.compare(i[0], a[0]));
|
|
50
55
|
let n = `${t}{`;
|
|
51
|
-
for (let
|
|
52
|
-
const [a,
|
|
53
|
-
n += `${a}:${this.serialize(
|
|
56
|
+
for (let i = 0; i < e.length; i++) {
|
|
57
|
+
const [a, l] = e[i];
|
|
58
|
+
n += `${this.serialize(a, true)}:${this.serialize(l)}`, i < e.length - 1 && (n += ",");
|
|
54
59
|
}
|
|
55
60
|
return n + "}";
|
|
56
61
|
}
|
|
@@ -84,14 +89,14 @@ var l = /* @__PURE__ */ function() {
|
|
|
84
89
|
return this.serializeObjectEntries("Map", t.entries());
|
|
85
90
|
}
|
|
86
91
|
}
|
|
87
|
-
for (const
|
|
88
|
-
return `${
|
|
92
|
+
for (const s of ["Error", "RegExp", "URL"]) o.prototype["$" + s] = function(t) {
|
|
93
|
+
return `${s}(${t})`;
|
|
89
94
|
};
|
|
90
|
-
for (const
|
|
91
|
-
return `${
|
|
95
|
+
for (const s of ["Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]) o.prototype["$" + s] = function(t) {
|
|
96
|
+
return `${s}[${t.join(",")}]`;
|
|
92
97
|
};
|
|
93
|
-
for (const
|
|
94
|
-
return `${
|
|
98
|
+
for (const s of ["BigInt64Array", "BigUint64Array"]) o.prototype["$" + s] = function(t) {
|
|
99
|
+
return `${s}[${t.join("n,")}${t.length > 0 ? "n" : ""}]`;
|
|
95
100
|
};
|
|
96
101
|
return o;
|
|
97
102
|
}();
|
|
@@ -40,12 +40,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
40
40
|
));
|
|
41
41
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.
|
|
43
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/esm_shims.js
|
|
44
44
|
import { fileURLToPath } from "url";
|
|
45
45
|
import path from "path";
|
|
46
46
|
var getFilename, getDirname, __dirname, __filename;
|
|
47
47
|
var init_esm_shims = __esm({
|
|
48
|
-
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.
|
|
48
|
+
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/esm_shims.js"() {
|
|
49
49
|
getFilename = /* @__PURE__ */ __name(() => fileURLToPath(import.meta.url), "getFilename");
|
|
50
50
|
getDirname = /* @__PURE__ */ __name(() => path.dirname(getFilename()), "getDirname");
|
|
51
51
|
__dirname = /* @__PURE__ */ getDirname();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
C,
|
|
3
3
|
N
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NDKCDPQO.js";
|
|
5
5
|
import {
|
|
6
6
|
__name,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ULL57BC3.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/toml.mjs
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEIO5QEUIcjs = require('./chunk-EIO5QEUI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkLKG4W7DJcjs = require('./chunk-LKG4W7DJ.cjs');
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs
|
|
11
|
-
|
|
11
|
+
_chunkLKG4W7DJcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
function $(n, l = false) {
|
|
13
13
|
const g = n.length;
|
|
14
14
|
let e = 0, u = "", p = 0, k = 16, A = 0, o = 0, O = 0, B = 0, b = 0;
|
|
@@ -24,11 +24,11 @@ function $(n, l = false) {
|
|
|
24
24
|
}
|
|
25
25
|
return s < i && (c = -1), c;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, I, "I");
|
|
28
28
|
function V(i) {
|
|
29
29
|
e = i, u = "", p = 0, k = 16, b = 0;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, V, "V");
|
|
32
32
|
function F() {
|
|
33
33
|
let i = e;
|
|
34
34
|
if (n.charCodeAt(e) === 48) e++;
|
|
@@ -42,7 +42,7 @@ function $(n, l = false) {
|
|
|
42
42
|
} else b = 3;
|
|
43
43
|
return n.substring(i, T);
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, F, "F");
|
|
46
46
|
function j() {
|
|
47
47
|
let i = "", T = e;
|
|
48
48
|
for (; ; ) {
|
|
@@ -104,7 +104,7 @@ function $(n, l = false) {
|
|
|
104
104
|
}
|
|
105
105
|
return i;
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, j, "j");
|
|
108
108
|
function w() {
|
|
109
109
|
if (u = "", b = 0, p = e, o = A, B = O, e >= g) return p = g, k = 17;
|
|
110
110
|
let i = n.charCodeAt(e);
|
|
@@ -181,7 +181,7 @@ function $(n, l = false) {
|
|
|
181
181
|
return u += String.fromCharCode(i), e++, k = 16;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, w, "w");
|
|
185
185
|
function v(i) {
|
|
186
186
|
if (J(i) || r(i)) return false;
|
|
187
187
|
switch (i) {
|
|
@@ -197,7 +197,7 @@ function $(n, l = false) {
|
|
|
197
197
|
}
|
|
198
198
|
return true;
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, v, "v");
|
|
201
201
|
function E() {
|
|
202
202
|
let i;
|
|
203
203
|
do
|
|
@@ -205,22 +205,22 @@ function $(n, l = false) {
|
|
|
205
205
|
while (i >= 12 && i <= 15);
|
|
206
206
|
return i;
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
return { setPosition: V, getPosition: /* @__PURE__ */
|
|
208
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, E, "E");
|
|
209
|
+
return { setPosition: V, getPosition: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => e, "getPosition"), scan: l ? E : w, getToken: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => k, "getToken"), getTokenValue: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => u, "getTokenValue"), getTokenOffset: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => p, "getTokenOffset"), getTokenLength: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => e - p, "getTokenLength"), getTokenStartLine: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => o, "getTokenStartLine"), getTokenStartCharacter: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => p - B, "getTokenStartCharacter"), getTokenError: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => b, "getTokenError") };
|
|
210
210
|
}
|
|
211
|
-
|
|
211
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, $, "$");
|
|
212
212
|
function J(n) {
|
|
213
213
|
return n === 32 || n === 9;
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, J, "J");
|
|
216
216
|
function r(n) {
|
|
217
217
|
return n === 10 || n === 13;
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, r, "r");
|
|
220
220
|
function L(n) {
|
|
221
221
|
return n >= 48 && n <= 57;
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, L, "L");
|
|
224
224
|
var Q;
|
|
225
225
|
(function(n) {
|
|
226
226
|
n[n.lineFeed = 10] = "lineFeed", n[n.carriageReturn = 13] = "carriageReturn", n[n.space = 32] = "space", n[n._0 = 48] = "_0", n[n._1 = 49] = "_1", n[n._2 = 50] = "_2", n[n._3 = 51] = "_3", n[n._4 = 52] = "_4", n[n._5 = 53] = "_5", n[n._6 = 54] = "_6", n[n._7 = 55] = "_7", n[n._8 = 56] = "_8", n[n._9 = 57] = "_9", n[n.a = 97] = "a", n[n.b = 98] = "b", n[n.c = 99] = "c", n[n.d = 100] = "d", n[n.e = 101] = "e", n[n.f = 102] = "f", n[n.g = 103] = "g", n[n.h = 104] = "h", n[n.i = 105] = "i", n[n.j = 106] = "j", n[n.k = 107] = "k", n[n.l = 108] = "l", n[n.m = 109] = "m", n[n.n = 110] = "n", n[n.o = 111] = "o", n[n.p = 112] = "p", n[n.q = 113] = "q", n[n.r = 114] = "r", n[n.s = 115] = "s", n[n.t = 116] = "t", n[n.u = 117] = "u", n[n.v = 118] = "v", n[n.w = 119] = "w", n[n.x = 120] = "x", n[n.y = 121] = "y", n[n.z = 122] = "z", n[n.A = 65] = "A", n[n.B = 66] = "B", n[n.C = 67] = "C", n[n.D = 68] = "D", n[n.E = 69] = "E", n[n.F = 70] = "F", n[n.G = 71] = "G", n[n.H = 72] = "H", n[n.I = 73] = "I", n[n.J = 74] = "J", n[n.K = 75] = "K", n[n.L = 76] = "L", n[n.M = 77] = "M", n[n.N = 78] = "N", n[n.O = 79] = "O", n[n.P = 80] = "P", n[n.Q = 81] = "Q", n[n.R = 82] = "R", n[n.S = 83] = "S", n[n.T = 84] = "T", n[n.U = 85] = "U", n[n.V = 86] = "V", n[n.W = 87] = "W", n[n.X = 88] = "X", n[n.Y = 89] = "Y", n[n.Z = 90] = "Z", n[n.asterisk = 42] = "asterisk", n[n.backslash = 92] = "backslash", n[n.closeBrace = 125] = "closeBrace", n[n.closeBracket = 93] = "closeBracket", n[n.colon = 58] = "colon", n[n.comma = 44] = "comma", n[n.dot = 46] = "dot", n[n.doubleQuote = 34] = "doubleQuote", n[n.minus = 45] = "minus", n[n.openBrace = 123] = "openBrace", n[n.openBracket = 91] = "openBracket", n[n.plus = 43] = "plus", n[n.slash = 47] = "slash", n[n.formFeed = 12] = "formFeed", n[n.tab = 9] = "tab";
|
|
@@ -241,51 +241,51 @@ function S(n, l = [], g = U.DEFAULT) {
|
|
|
241
241
|
function k(o) {
|
|
242
242
|
Array.isArray(u) ? u.push(o) : e !== null && (u[e] = o);
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
return P(n, { onObjectBegin: /* @__PURE__ */
|
|
244
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, k, "k");
|
|
245
|
+
return P(n, { onObjectBegin: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => {
|
|
246
246
|
const o = {};
|
|
247
247
|
k(o), p.push(u), u = o, e = null;
|
|
248
|
-
}, "onObjectBegin"), onObjectProperty: /* @__PURE__ */
|
|
248
|
+
}, "onObjectBegin"), onObjectProperty: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (o) => {
|
|
249
249
|
e = o;
|
|
250
|
-
}, "onObjectProperty"), onObjectEnd: /* @__PURE__ */
|
|
250
|
+
}, "onObjectProperty"), onObjectEnd: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => {
|
|
251
251
|
u = p.pop();
|
|
252
|
-
}, "onObjectEnd"), onArrayBegin: /* @__PURE__ */
|
|
252
|
+
}, "onObjectEnd"), onArrayBegin: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => {
|
|
253
253
|
const o = [];
|
|
254
254
|
k(o), p.push(u), u = o, e = null;
|
|
255
|
-
}, "onArrayBegin"), onArrayEnd: /* @__PURE__ */
|
|
255
|
+
}, "onArrayBegin"), onArrayEnd: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, () => {
|
|
256
256
|
u = p.pop();
|
|
257
|
-
}, "onArrayEnd"), onLiteralValue: k, onError: /* @__PURE__ */
|
|
257
|
+
}, "onArrayEnd"), onLiteralValue: k, onError: /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (o, O, B) => {
|
|
258
258
|
l.push({ error: o, offset: O, length: B });
|
|
259
259
|
}, "onError") }, g), u[0];
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, S, "S");
|
|
262
262
|
function P(n, l, g = U.DEFAULT) {
|
|
263
263
|
const e = $(n, false), u = [];
|
|
264
264
|
let p = 0;
|
|
265
265
|
function k(f) {
|
|
266
266
|
return f ? () => p === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
|
|
267
267
|
}
|
|
268
|
-
|
|
268
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, k, "k");
|
|
269
269
|
function A(f) {
|
|
270
270
|
return f ? (m) => p === 0 && f(m, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, A, "A");
|
|
273
273
|
function o(f) {
|
|
274
274
|
return f ? (m) => p === 0 && f(m, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) : () => true;
|
|
275
275
|
}
|
|
276
|
-
|
|
276
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, o, "o");
|
|
277
277
|
function O(f) {
|
|
278
278
|
return f ? () => {
|
|
279
279
|
p > 0 ? p++ : f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) === false && (p = 1);
|
|
280
280
|
} : () => true;
|
|
281
281
|
}
|
|
282
|
-
|
|
282
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, O, "O");
|
|
283
283
|
function B(f) {
|
|
284
284
|
return f ? () => {
|
|
285
285
|
p > 0 && p--, p === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter());
|
|
286
286
|
} : () => true;
|
|
287
287
|
}
|
|
288
|
-
|
|
288
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, B, "B");
|
|
289
289
|
const b = O(l.onObjectBegin), I = o(l.onObjectProperty), V = B(l.onObjectEnd), F = O(l.onArrayBegin), j = B(l.onArrayEnd), w = o(l.onLiteralValue), v = A(l.onSeparator), E = k(l.onComment), i = A(l.onError), T = g && g.disallowComments, s = g && g.allowTrailingComma;
|
|
290
290
|
function c() {
|
|
291
291
|
for (; ; ) {
|
|
@@ -326,7 +326,7 @@ function P(n, l, g = U.DEFAULT) {
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, c, "c");
|
|
330
330
|
function t(f, m = [], y = []) {
|
|
331
331
|
if (i(f), m.length + y.length > 0) {
|
|
332
332
|
let _ = e.getToken();
|
|
@@ -339,12 +339,12 @@ function P(n, l, g = U.DEFAULT) {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
|
|
342
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, t, "t");
|
|
343
343
|
function D(f) {
|
|
344
344
|
const m = e.getTokenValue();
|
|
345
345
|
return f ? w(m) : (I(m), u.push(m)), c(), true;
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, D, "D");
|
|
348
348
|
function G() {
|
|
349
349
|
switch (e.getToken()) {
|
|
350
350
|
case 11:
|
|
@@ -366,11 +366,11 @@ function P(n, l, g = U.DEFAULT) {
|
|
|
366
366
|
}
|
|
367
367
|
return c(), true;
|
|
368
368
|
}
|
|
369
|
-
|
|
369
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, G, "G");
|
|
370
370
|
function M() {
|
|
371
371
|
return e.getToken() !== 10 ? (t(3, [], [2, 5]), false) : (D(false), e.getToken() === 6 ? (v(":"), c(), a() || t(4, [], [2, 5])) : t(5, [], [2, 5]), u.pop(), true);
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, M, "M");
|
|
374
374
|
function X() {
|
|
375
375
|
b(), c();
|
|
376
376
|
let f = false;
|
|
@@ -382,7 +382,7 @@ function P(n, l, g = U.DEFAULT) {
|
|
|
382
382
|
}
|
|
383
383
|
return V(), e.getToken() !== 2 ? t(7, [2], []) : c(), true;
|
|
384
384
|
}
|
|
385
|
-
|
|
385
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, X, "X");
|
|
386
386
|
function Y() {
|
|
387
387
|
F(), c();
|
|
388
388
|
let f = true, m = false;
|
|
@@ -394,7 +394,7 @@ function P(n, l, g = U.DEFAULT) {
|
|
|
394
394
|
}
|
|
395
395
|
return j(), f || u.pop(), e.getToken() !== 4 ? t(8, [4], []) : c(), true;
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, Y, "Y");
|
|
398
398
|
function a() {
|
|
399
399
|
switch (e.getToken()) {
|
|
400
400
|
case 3:
|
|
@@ -407,10 +407,10 @@ function P(n, l, g = U.DEFAULT) {
|
|
|
407
407
|
return G();
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
|
|
410
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, a, "a");
|
|
411
411
|
return c(), e.getToken() === 17 ? g.allowEmptyContent ? true : (t(4, [], []), false) : a() ? (e.getToken() !== 17 && t(9, [], []), true) : (t(4, [], []), false);
|
|
412
412
|
}
|
|
413
|
-
|
|
413
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, P, "P");
|
|
414
414
|
var W;
|
|
415
415
|
(function(n) {
|
|
416
416
|
n[n.None = 0] = "None", n[n.UnexpectedEndOfComment = 1] = "UnexpectedEndOfComment", n[n.UnexpectedEndOfString = 2] = "UnexpectedEndOfString", n[n.UnexpectedEndOfNumber = 3] = "UnexpectedEndOfNumber", n[n.InvalidUnicode = 4] = "InvalidUnicode", n[n.InvalidEscapeCharacter = 5] = "InvalidEscapeCharacter", n[n.InvalidCharacter = 6] = "InvalidCharacter";
|
|
@@ -426,23 +426,23 @@ var q;
|
|
|
426
426
|
})(q || (q = {}));
|
|
427
427
|
function x(n, l) {
|
|
428
428
|
const g = JSON.parse(n, _optionalChain([l, 'optionalAccess', _10 => _10.reviver]));
|
|
429
|
-
return
|
|
429
|
+
return _chunkEIO5QEUIcjs.N.call(void 0, n, g, l), g;
|
|
430
430
|
}
|
|
431
|
-
|
|
431
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, x, "x");
|
|
432
432
|
function z(n, l) {
|
|
433
|
-
const g =
|
|
433
|
+
const g = _chunkEIO5QEUIcjs.C.call(void 0, n, l), e = JSON.stringify(n, _optionalChain([l, 'optionalAccess', _11 => _11.replacer]), g.indent);
|
|
434
434
|
return g.whitespace.start + e + g.whitespace.end;
|
|
435
435
|
}
|
|
436
|
-
|
|
436
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, z, "z");
|
|
437
437
|
function h(n, l) {
|
|
438
438
|
const g = K(n, _optionalChain([l, 'optionalAccess', _12 => _12.errors]), l);
|
|
439
|
-
return
|
|
439
|
+
return _chunkEIO5QEUIcjs.N.call(void 0, n, g, l), g;
|
|
440
440
|
}
|
|
441
|
-
|
|
441
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, h, "h");
|
|
442
442
|
function d(n, l) {
|
|
443
443
|
return z(n, l);
|
|
444
444
|
}
|
|
445
|
-
|
|
445
|
+
_chunkLKG4W7DJcjs.__name.call(void 0, d, "d");
|
|
446
446
|
|
|
447
447
|
|
|
448
448
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isEqual,
|
|
3
3
|
serialize
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RHDLCCAJ.js";
|
|
5
5
|
import {
|
|
6
6
|
__name,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ULL57BC3.js";
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/ohash@2.0.
|
|
10
|
+
// ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs
|
|
11
11
|
init_esm_shims();
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/ohash@2.0.
|
|
13
|
+
// ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs
|
|
14
14
|
init_esm_shims();
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
16
16
|
var e = globalThis.process?.getBuiltinModule?.("crypto")?.hash;
|
|
@@ -23,7 +23,7 @@ function digest(t) {
|
|
|
23
23
|
}
|
|
24
24
|
__name(digest, "digest");
|
|
25
25
|
|
|
26
|
-
// ../../node_modules/.pnpm/ohash@2.0.
|
|
26
|
+
// ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs
|
|
27
27
|
function hash(input) {
|
|
28
28
|
return digest(serialize(input));
|
|
29
29
|
}
|