@storm-software/linting-tools 1.119.14 → 1.119.16
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 +7 -7
- package/{dist/chunk-P57FV6C7.cjs → bin/chunk-2HPUSEOW.cjs} +2 -2
- package/{dist/chunk-54CFDIUE.js → bin/chunk-2IE4DLUN.js} +1 -1
- package/bin/{chunk-5YNSXZUV.cjs → chunk-2KDMIKWU.cjs} +11 -11
- package/bin/{chunk-54RWBTS6.js → chunk-A4TZZH23.js} +2 -2
- package/bin/{chunk-2MMI4SWB.cjs → chunk-B5GG3XCQ.cjs} +44 -44
- package/{dist/chunk-ZCN56EP7.js → bin/chunk-BLCDYU3V.js} +1 -1
- package/{dist/chunk-UGTDGDK4.cjs → bin/chunk-BPGBQ4AU.cjs} +388 -388
- package/bin/{chunk-MWIMLJFN.cjs → chunk-EF2QNWS4.cjs} +204 -204
- package/bin/chunk-F6SMOBG3.js +112 -0
- package/bin/{chunk-3C4I67HA.js → chunk-FH3GDOOO.js} +2 -2
- package/{dist/chunk-XSNTWOJH.js → bin/chunk-HEZ4RO23.js} +2 -2
- package/bin/{chunk-YVJJXPQ6.js → chunk-NBPTD76Q.js} +2 -2
- package/bin/{chunk-32N2OGWN.js → chunk-NJWQ5DAN.js} +2 -2
- package/{dist/chunk-RHWLTUG4.cjs → bin/chunk-PQ5PUA5Y.cjs} +40 -40
- package/bin/{chunk-7GNWLBIN.cjs → chunk-SG7EAXX4.cjs} +138 -138
- package/{dist/chunk-RTS6UXXP.cjs → bin/chunk-SQCSB444.cjs} +32 -32
- package/{dist/chunk-K6L3YLSV.js → bin/chunk-VO3ZJK3W.js} +2 -2
- package/bin/{chunk-WHKY3M5Z.js → chunk-YGKJSNX7.js} +2 -2
- package/bin/chunk-YPA2QUMR.cjs +112 -0
- package/{dist/chunk-C5CFETOZ.cjs → bin/chunk-ZDJ6A2LW.cjs} +152 -152
- package/bin/{dist-ADRPNADD.cjs → dist-7LMLAWUP.cjs} +13 -11
- package/bin/{dist-3WBV2IAS.cjs → dist-OHY4PLS2.cjs} +989 -989
- package/bin/{dist-25H3BHT5.js → dist-RWR2JNAL.js} +7 -5
- package/bin/{dist-VPVBHEYK.js → dist-VFELXY4D.js} +8 -8
- package/bin/{esm-RUXZNXEX.js → esm-HY37SH6N.js} +1 -1
- package/{dist/esm-BNVF2MRI.cjs → bin/esm-XU4H3B2N.cjs} +46 -46
- package/bin/json5-3VVARTPN.cjs +10 -0
- package/bin/json5-WUIP5FMS.js +10 -0
- package/bin/jsonc-IS6EPVRJ.cjs +15 -0
- package/{dist/jsonc-HBV365B7.js → bin/jsonc-KYPEKHOV.js} +3 -3
- package/bin/lint.cjs +27626 -27108
- package/bin/lint.js +1102 -584
- package/{dist/multipart-parser-GIYQPD3I.js → bin/multipart-parser-5HBMD6JO.js} +2 -2
- package/bin/{multipart-parser-GL32RRIX.cjs → multipart-parser-CF3BQORX.cjs} +11 -11
- package/bin/{package-json-XQ2VHHU4.cjs → package-json-6XHUARKD.cjs} +248 -248
- package/{dist/package-json-BISGQCQA.js → bin/package-json-V5Z5DK5X.js} +2 -2
- package/bin/toml-BAOM6BGG.js +10 -0
- package/bin/toml-JQMR5ASK.cjs +10 -0
- package/bin/{utils-ZXNPMV2B.js → utils-DUARF7MU.js} +4 -13
- package/{dist/utils-B72MMWGL.cjs → bin/utils-ZLRC2VXJ.cjs} +12 -21
- package/bin/yaml-LF4MDF3I.cjs +10 -0
- package/bin/yaml-TI2L6CZN.js +10 -0
- package/{bin/chunk-P57FV6C7.cjs → dist/chunk-2HPUSEOW.cjs} +2 -2
- package/{bin/chunk-54CFDIUE.js → dist/chunk-2IE4DLUN.js} +1 -1
- package/dist/{chunk-5YNSXZUV.cjs → chunk-2KDMIKWU.cjs} +11 -11
- package/dist/{chunk-54RWBTS6.js → chunk-A4TZZH23.js} +2 -2
- package/dist/{chunk-2MMI4SWB.cjs → chunk-B5GG3XCQ.cjs} +44 -44
- package/{bin/chunk-ZCN56EP7.js → dist/chunk-BLCDYU3V.js} +1 -1
- package/{bin/chunk-UGTDGDK4.cjs → dist/chunk-BPGBQ4AU.cjs} +388 -388
- package/dist/{chunk-MWIMLJFN.cjs → chunk-EF2QNWS4.cjs} +204 -204
- package/dist/chunk-F6SMOBG3.js +112 -0
- package/dist/{chunk-3C4I67HA.js → chunk-FH3GDOOO.js} +2 -2
- package/{bin/chunk-XSNTWOJH.js → dist/chunk-HEZ4RO23.js} +2 -2
- package/dist/{chunk-YVJJXPQ6.js → chunk-NBPTD76Q.js} +2 -2
- package/dist/{chunk-32N2OGWN.js → chunk-NJWQ5DAN.js} +2 -2
- package/{bin/chunk-RHWLTUG4.cjs → dist/chunk-PQ5PUA5Y.cjs} +40 -40
- package/dist/{chunk-7GNWLBIN.cjs → chunk-SG7EAXX4.cjs} +138 -138
- package/{bin/chunk-RTS6UXXP.cjs → dist/chunk-SQCSB444.cjs} +32 -32
- package/{bin/chunk-K6L3YLSV.js → dist/chunk-VO3ZJK3W.js} +2 -2
- package/dist/{chunk-WHKY3M5Z.js → chunk-YGKJSNX7.js} +2 -2
- package/dist/chunk-YPA2QUMR.cjs +112 -0
- package/{bin/chunk-C5CFETOZ.cjs → dist/chunk-ZDJ6A2LW.cjs} +152 -152
- package/dist/{dist-ADRPNADD.cjs → dist-7LMLAWUP.cjs} +13 -11
- package/dist/{dist-3WBV2IAS.cjs → dist-OHY4PLS2.cjs} +989 -989
- package/dist/{dist-25H3BHT5.js → dist-RWR2JNAL.js} +7 -5
- package/dist/{dist-VPVBHEYK.js → dist-VFELXY4D.js} +8 -8
- package/dist/{esm-RUXZNXEX.js → esm-HY37SH6N.js} +1 -1
- package/{bin/esm-BNVF2MRI.cjs → dist/esm-XU4H3B2N.cjs} +46 -46
- package/dist/index.cjs +27622 -27104
- package/dist/index.d.cts +64 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.js +1102 -584
- package/dist/json5-3VVARTPN.cjs +10 -0
- package/dist/json5-WUIP5FMS.js +10 -0
- package/dist/jsonc-IS6EPVRJ.cjs +15 -0
- package/{bin/jsonc-HBV365B7.js → dist/jsonc-KYPEKHOV.js} +3 -3
- package/{bin/multipart-parser-GIYQPD3I.js → dist/multipart-parser-5HBMD6JO.js} +2 -2
- package/dist/{multipart-parser-GL32RRIX.cjs → multipart-parser-CF3BQORX.cjs} +11 -11
- package/dist/{package-json-XQ2VHHU4.cjs → package-json-6XHUARKD.cjs} +248 -248
- package/{bin/package-json-BISGQCQA.js → dist/package-json-V5Z5DK5X.js} +2 -2
- package/dist/toml-BAOM6BGG.js +10 -0
- package/dist/toml-JQMR5ASK.cjs +10 -0
- package/dist/{utils-ZXNPMV2B.js → utils-DUARF7MU.js} +4 -13
- package/{bin/utils-B72MMWGL.cjs → dist/utils-ZLRC2VXJ.cjs} +12 -21
- package/dist/yaml-LF4MDF3I.cjs +10 -0
- package/dist/yaml-TI2L6CZN.js +10 -0
- package/package.json +1 -1
- package/zizmor/config.yml +1 -2
- package/bin/chunk-FQD7U3GL.cjs +0 -105
- package/bin/chunk-LPZTUZI7.js +0 -105
- package/bin/json5-4GROEWN5.cjs +0 -10
- package/bin/json5-OPEY7IVI.js +0 -10
- package/bin/jsonc-HON5YCSB.cjs +0 -15
- package/bin/toml-4KC5RP7Q.js +0 -10
- package/bin/toml-52O5X4HU.cjs +0 -10
- package/bin/yaml-GU7KPIYY.cjs +0 -10
- package/bin/yaml-ODZRTFYX.js +0 -10
- package/dist/chunk-FQD7U3GL.cjs +0 -105
- package/dist/chunk-LPZTUZI7.js +0 -105
- package/dist/json5-4GROEWN5.cjs +0 -10
- package/dist/json5-OPEY7IVI.js +0 -10
- package/dist/jsonc-HON5YCSB.cjs +0 -15
- package/dist/toml-4KC5RP7Q.js +0 -10
- package/dist/toml-52O5X4HU.cjs +0 -10
- package/dist/yaml-GU7KPIYY.cjs +0 -10
- package/dist/yaml-ODZRTFYX.js +0 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_semver
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BLCDYU3V.js";
|
|
4
4
|
import {
|
|
5
5
|
__commonJS,
|
|
6
6
|
__dirname,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__require,
|
|
9
9
|
__toESM,
|
|
10
10
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FH3GDOOO.js";
|
|
12
12
|
|
|
13
13
|
// ../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js
|
|
14
14
|
var require_ini = __commonJS({
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkPQ5PUA5Ycjs = require('./chunk-PQ5PUA5Y.cjs');
|
|
5
|
+
require('./chunk-2KDMIKWU.cjs');
|
|
6
|
+
require('./chunk-2HPUSEOW.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.parseTOML = _chunkPQ5PUA5Ycjs.ae; exports.stringifyTOML = _chunkPQ5PUA5Ycjs.ue;
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
+
isEqual,
|
|
2
3
|
serialize
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F6SMOBG3.js";
|
|
4
5
|
import {
|
|
5
6
|
__name,
|
|
6
7
|
init_esm_shims
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FH3GDOOO.js";
|
|
8
9
|
|
|
9
|
-
// ../../node_modules/.pnpm/ohash@2.0.
|
|
10
|
+
// ../../node_modules/.pnpm/ohash@2.0.10/node_modules/ohash/dist/utils/index.mjs
|
|
10
11
|
init_esm_shims();
|
|
11
|
-
function isEqual(object1, object2) {
|
|
12
|
-
if (object1 === object2) {
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
if (serialize(object1) === serialize(object2)) {
|
|
16
|
-
return true;
|
|
17
|
-
}
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
__name(isEqual, "isEqual");
|
|
21
12
|
function diff(obj1, obj2) {
|
|
22
13
|
const h1 = _toHashedObject(obj1);
|
|
23
14
|
const h2 = _toHashedObject(obj2);
|
|
@@ -1,29 +1,20 @@
|
|
|
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
|
-
var _chunkFQD7U3GLcjs = require('./chunk-FQD7U3GL.cjs');
|
|
4
3
|
|
|
4
|
+
var _chunkYPA2QUMRcjs = require('./chunk-YPA2QUMR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var _chunkP57FV6C7cjs = require('./chunk-P57FV6C7.cjs');
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
if (_chunkFQD7U3GLcjs.serialize.call(void 0, object1) === _chunkFQD7U3GLcjs.serialize.call(void 0, object2)) {
|
|
16
|
-
return true;
|
|
17
|
-
}
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
_chunkP57FV6C7cjs.__name.call(void 0, isEqual, "isEqual");
|
|
8
|
+
var _chunk2HPUSEOWcjs = require('./chunk-2HPUSEOW.cjs');
|
|
9
|
+
|
|
10
|
+
// ../../node_modules/.pnpm/ohash@2.0.10/node_modules/ohash/dist/utils/index.mjs
|
|
11
|
+
_chunk2HPUSEOWcjs.init_cjs_shims.call(void 0, );
|
|
21
12
|
function diff(obj1, obj2) {
|
|
22
13
|
const h1 = _toHashedObject(obj1);
|
|
23
14
|
const h2 = _toHashedObject(obj2);
|
|
24
15
|
return _diff(h1, h2);
|
|
25
16
|
}
|
|
26
|
-
|
|
17
|
+
_chunk2HPUSEOWcjs.__name.call(void 0, diff, "diff");
|
|
27
18
|
function _diff(h1, h2) {
|
|
28
19
|
const diffs = [];
|
|
29
20
|
const allProps = /* @__PURE__ */ new Set([
|
|
@@ -48,10 +39,10 @@ function _diff(h1, h2) {
|
|
|
48
39
|
}
|
|
49
40
|
return diffs;
|
|
50
41
|
}
|
|
51
|
-
|
|
42
|
+
_chunk2HPUSEOWcjs.__name.call(void 0, _diff, "_diff");
|
|
52
43
|
function _toHashedObject(obj, key = "") {
|
|
53
44
|
if (obj && typeof obj !== "object") {
|
|
54
|
-
return new DiffHashedObject(key, obj,
|
|
45
|
+
return new DiffHashedObject(key, obj, _chunkYPA2QUMRcjs.serialize.call(void 0, obj));
|
|
55
46
|
}
|
|
56
47
|
const props = {};
|
|
57
48
|
const hashes = [];
|
|
@@ -61,10 +52,10 @@ function _toHashedObject(obj, key = "") {
|
|
|
61
52
|
}
|
|
62
53
|
return new DiffHashedObject(key, obj, `{${hashes.join(":")}}`, props);
|
|
63
54
|
}
|
|
64
|
-
|
|
55
|
+
_chunk2HPUSEOWcjs.__name.call(void 0, _toHashedObject, "_toHashedObject");
|
|
65
56
|
var DiffEntry = class {
|
|
66
57
|
static {
|
|
67
|
-
|
|
58
|
+
_chunk2HPUSEOWcjs.__name.call(void 0, this, "DiffEntry");
|
|
68
59
|
}
|
|
69
60
|
constructor(key, type, newValue, oldValue) {
|
|
70
61
|
this.key = key;
|
|
@@ -91,7 +82,7 @@ var DiffEntry = class {
|
|
|
91
82
|
};
|
|
92
83
|
var DiffHashedObject = class {
|
|
93
84
|
static {
|
|
94
|
-
|
|
85
|
+
_chunk2HPUSEOWcjs.__name.call(void 0, this, "DiffHashedObject");
|
|
95
86
|
}
|
|
96
87
|
constructor(key, value, hash, props) {
|
|
97
88
|
this.key = key;
|
|
@@ -117,4 +108,4 @@ var DiffHashedObject = class {
|
|
|
117
108
|
|
|
118
109
|
|
|
119
110
|
|
|
120
|
-
exports.diff = diff; exports.isEqual = isEqual;
|
|
111
|
+
exports.diff = diff; exports.isEqual = _chunkYPA2QUMRcjs.isEqual;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkSG7EAXX4cjs = require('./chunk-SG7EAXX4.cjs');
|
|
5
|
+
require('./chunk-2KDMIKWU.cjs');
|
|
6
|
+
require('./chunk-2HPUSEOW.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.parseYAML = _chunkSG7EAXX4cjs.Ar; exports.stringifyYAML = _chunkSG7EAXX4cjs.vr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.119.
|
|
3
|
+
"version": "1.119.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"repository": {
|
package/zizmor/config.yml
CHANGED
package/bin/chunk-FQD7U3GL.cjs
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkP57FV6C7cjs = require('./chunk-P57FV6C7.cjs');
|
|
5
|
-
|
|
6
|
-
// ../../node_modules/.pnpm/ohash@2.0.4/node_modules/ohash/dist/shared/ohash.CL_iaQBA.mjs
|
|
7
|
-
_chunkP57FV6C7cjs.init_cjs_shims.call(void 0, );
|
|
8
|
-
function serialize(s) {
|
|
9
|
-
if (typeof s == "string") return `'${s}'`;
|
|
10
|
-
const i = new c();
|
|
11
|
-
return i.dispatch(s), i.serialized;
|
|
12
|
-
}
|
|
13
|
-
_chunkP57FV6C7cjs.__name.call(void 0, serialize, "serialize");
|
|
14
|
-
var c = /* @__PURE__ */ function() {
|
|
15
|
-
class s {constructor() { s.prototype.__init.call(this); }
|
|
16
|
-
static {
|
|
17
|
-
_chunkP57FV6C7cjs.__name.call(void 0, this, "s");
|
|
18
|
-
}
|
|
19
|
-
__init() {this.serialized = ""}
|
|
20
|
-
#t = /* @__PURE__ */ new Map();
|
|
21
|
-
write(t) {
|
|
22
|
-
this.serialized += t;
|
|
23
|
-
}
|
|
24
|
-
dispatch(t) {
|
|
25
|
-
return this["$" + (t === null ? "null" : typeof t)].call(this, t);
|
|
26
|
-
}
|
|
27
|
-
compare(t, r) {
|
|
28
|
-
return typeof t == "string" && typeof r == "string" ? t.localeCompare(r) : serialize(t).localeCompare(serialize(r));
|
|
29
|
-
}
|
|
30
|
-
objectEntries(t, r) {
|
|
31
|
-
const e = Array.from(r).sort((n, a) => this.compare(n[0], a[0]));
|
|
32
|
-
this.write(`${t}{`);
|
|
33
|
-
for (let n = 0; n < e.length; n++) {
|
|
34
|
-
const [a, o] = e[n];
|
|
35
|
-
this.write(`${a}:`), this.dispatch(o), n < e.length - 1 && this.write(",");
|
|
36
|
-
}
|
|
37
|
-
this.write("}");
|
|
38
|
-
}
|
|
39
|
-
$string(t) {
|
|
40
|
-
this.write("'" + t + "'");
|
|
41
|
-
}
|
|
42
|
-
$symbol(t) {
|
|
43
|
-
this.write(t.toString());
|
|
44
|
-
}
|
|
45
|
-
$bigint(t) {
|
|
46
|
-
this.write(`${t}n`);
|
|
47
|
-
}
|
|
48
|
-
$object(t) {
|
|
49
|
-
const r = Object.prototype.toString.call(t);
|
|
50
|
-
let e = "";
|
|
51
|
-
const n = r.length;
|
|
52
|
-
n < 10 ? e = "unknown:[" + r + "]" : e = r.slice(8, n - 1);
|
|
53
|
-
let a = null;
|
|
54
|
-
if ((a = this.#t.get(t)) === void 0) this.#t.set(t, this.#t.size);
|
|
55
|
-
else return this.write(`#${a}`);
|
|
56
|
-
if (e !== "Object" && e !== "Function" && e !== "AsyncFunction") {
|
|
57
|
-
const o = this["$" + e];
|
|
58
|
-
if (o) o.call(this, t);
|
|
59
|
-
else {
|
|
60
|
-
if (typeof _optionalChain([t, 'optionalAccess', _ => _.entries]) == "function") return this.objectEntries(e, t.entries());
|
|
61
|
-
throw new Error(`Cannot serialize ${e}`);
|
|
62
|
-
}
|
|
63
|
-
} else {
|
|
64
|
-
const o = t.constructor.name, l = o === "Object" ? "" : o;
|
|
65
|
-
return typeof t.toJSON == "function" ? (l && this.write(l), this.$object(t.toJSON())) : this.objectEntries(l, Object.entries(t));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
$function(t) {
|
|
69
|
-
const r = Function.prototype.toString.call(t);
|
|
70
|
-
if (r.slice(-15) === "[native code] }") return this.write(`${t.name || ""}()[native]`);
|
|
71
|
-
this.write(`${t.name}(${t.length})${r.replace(/\s*\n\s*/g, "")}`);
|
|
72
|
-
}
|
|
73
|
-
$Array(t) {
|
|
74
|
-
this.write("[");
|
|
75
|
-
for (let r = 0; r < t.length; r++) this.dispatch(t[r]), r < t.length - 1 && this.write(",");
|
|
76
|
-
this.write("]");
|
|
77
|
-
}
|
|
78
|
-
$Date(t) {
|
|
79
|
-
return this.write(`Date(${t.toJSON()})`);
|
|
80
|
-
}
|
|
81
|
-
$ArrayBuffer(t) {
|
|
82
|
-
this.write(`ArrayBuffer[${Array.prototype.slice.call(new Uint8Array(t)).join(",")}]`);
|
|
83
|
-
}
|
|
84
|
-
$Set(t) {
|
|
85
|
-
this.write("Set"), this.$Array(Array.from(t).sort((r, e) => this.compare(r, e)));
|
|
86
|
-
}
|
|
87
|
-
$Map(t) {
|
|
88
|
-
return this.objectEntries("Map", t.entries());
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
for (const i of ["boolean", "number", "null", "undefined"]) s.prototype["$" + i] = function(t) {
|
|
92
|
-
return this.write(t);
|
|
93
|
-
};
|
|
94
|
-
for (const i of ["Error", "RegExp", "URL"]) s.prototype["$" + i] = function(t) {
|
|
95
|
-
return this.write(`${i}(${t.toString()})`);
|
|
96
|
-
};
|
|
97
|
-
for (const i of ["Uint8Array", "Uint8ClampedArray", "Unt8Array", "Uint16Array", "Unt16Array", "Uint32Array", "Unt32Array", "Float32Array", "Float64Array"]) s.prototype["$" + i] = function(t) {
|
|
98
|
-
this.write(`${i}[${Array.prototype.slice.call(t).join(",")}]`);
|
|
99
|
-
};
|
|
100
|
-
return s;
|
|
101
|
-
}();
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
exports.serialize = serialize;
|
package/bin/chunk-LPZTUZI7.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__name,
|
|
3
|
-
init_esm_shims
|
|
4
|
-
} from "./chunk-3C4I67HA.js";
|
|
5
|
-
|
|
6
|
-
// ../../node_modules/.pnpm/ohash@2.0.4/node_modules/ohash/dist/shared/ohash.CL_iaQBA.mjs
|
|
7
|
-
init_esm_shims();
|
|
8
|
-
function serialize(s) {
|
|
9
|
-
if (typeof s == "string") return `'${s}'`;
|
|
10
|
-
const i = new c();
|
|
11
|
-
return i.dispatch(s), i.serialized;
|
|
12
|
-
}
|
|
13
|
-
__name(serialize, "serialize");
|
|
14
|
-
var c = /* @__PURE__ */ function() {
|
|
15
|
-
class s {
|
|
16
|
-
static {
|
|
17
|
-
__name(this, "s");
|
|
18
|
-
}
|
|
19
|
-
serialized = "";
|
|
20
|
-
#t = /* @__PURE__ */ new Map();
|
|
21
|
-
write(t) {
|
|
22
|
-
this.serialized += t;
|
|
23
|
-
}
|
|
24
|
-
dispatch(t) {
|
|
25
|
-
return this["$" + (t === null ? "null" : typeof t)].call(this, t);
|
|
26
|
-
}
|
|
27
|
-
compare(t, r) {
|
|
28
|
-
return typeof t == "string" && typeof r == "string" ? t.localeCompare(r) : serialize(t).localeCompare(serialize(r));
|
|
29
|
-
}
|
|
30
|
-
objectEntries(t, r) {
|
|
31
|
-
const e = Array.from(r).sort((n, a) => this.compare(n[0], a[0]));
|
|
32
|
-
this.write(`${t}{`);
|
|
33
|
-
for (let n = 0; n < e.length; n++) {
|
|
34
|
-
const [a, o] = e[n];
|
|
35
|
-
this.write(`${a}:`), this.dispatch(o), n < e.length - 1 && this.write(",");
|
|
36
|
-
}
|
|
37
|
-
this.write("}");
|
|
38
|
-
}
|
|
39
|
-
$string(t) {
|
|
40
|
-
this.write("'" + t + "'");
|
|
41
|
-
}
|
|
42
|
-
$symbol(t) {
|
|
43
|
-
this.write(t.toString());
|
|
44
|
-
}
|
|
45
|
-
$bigint(t) {
|
|
46
|
-
this.write(`${t}n`);
|
|
47
|
-
}
|
|
48
|
-
$object(t) {
|
|
49
|
-
const r = Object.prototype.toString.call(t);
|
|
50
|
-
let e = "";
|
|
51
|
-
const n = r.length;
|
|
52
|
-
n < 10 ? e = "unknown:[" + r + "]" : e = r.slice(8, n - 1);
|
|
53
|
-
let a = null;
|
|
54
|
-
if ((a = this.#t.get(t)) === void 0) this.#t.set(t, this.#t.size);
|
|
55
|
-
else return this.write(`#${a}`);
|
|
56
|
-
if (e !== "Object" && e !== "Function" && e !== "AsyncFunction") {
|
|
57
|
-
const o = this["$" + e];
|
|
58
|
-
if (o) o.call(this, t);
|
|
59
|
-
else {
|
|
60
|
-
if (typeof t?.entries == "function") return this.objectEntries(e, t.entries());
|
|
61
|
-
throw new Error(`Cannot serialize ${e}`);
|
|
62
|
-
}
|
|
63
|
-
} else {
|
|
64
|
-
const o = t.constructor.name, l = o === "Object" ? "" : o;
|
|
65
|
-
return typeof t.toJSON == "function" ? (l && this.write(l), this.$object(t.toJSON())) : this.objectEntries(l, Object.entries(t));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
$function(t) {
|
|
69
|
-
const r = Function.prototype.toString.call(t);
|
|
70
|
-
if (r.slice(-15) === "[native code] }") return this.write(`${t.name || ""}()[native]`);
|
|
71
|
-
this.write(`${t.name}(${t.length})${r.replace(/\s*\n\s*/g, "")}`);
|
|
72
|
-
}
|
|
73
|
-
$Array(t) {
|
|
74
|
-
this.write("[");
|
|
75
|
-
for (let r = 0; r < t.length; r++) this.dispatch(t[r]), r < t.length - 1 && this.write(",");
|
|
76
|
-
this.write("]");
|
|
77
|
-
}
|
|
78
|
-
$Date(t) {
|
|
79
|
-
return this.write(`Date(${t.toJSON()})`);
|
|
80
|
-
}
|
|
81
|
-
$ArrayBuffer(t) {
|
|
82
|
-
this.write(`ArrayBuffer[${Array.prototype.slice.call(new Uint8Array(t)).join(",")}]`);
|
|
83
|
-
}
|
|
84
|
-
$Set(t) {
|
|
85
|
-
this.write("Set"), this.$Array(Array.from(t).sort((r, e) => this.compare(r, e)));
|
|
86
|
-
}
|
|
87
|
-
$Map(t) {
|
|
88
|
-
return this.objectEntries("Map", t.entries());
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
for (const i of ["boolean", "number", "null", "undefined"]) s.prototype["$" + i] = function(t) {
|
|
92
|
-
return this.write(t);
|
|
93
|
-
};
|
|
94
|
-
for (const i of ["Error", "RegExp", "URL"]) s.prototype["$" + i] = function(t) {
|
|
95
|
-
return this.write(`${i}(${t.toString()})`);
|
|
96
|
-
};
|
|
97
|
-
for (const i of ["Uint8Array", "Uint8ClampedArray", "Unt8Array", "Uint16Array", "Unt16Array", "Uint32Array", "Unt32Array", "Float32Array", "Float64Array"]) s.prototype["$" + i] = function(t) {
|
|
98
|
-
this.write(`${i}[${Array.prototype.slice.call(t).join(",")}]`);
|
|
99
|
-
};
|
|
100
|
-
return s;
|
|
101
|
-
}();
|
|
102
|
-
|
|
103
|
-
export {
|
|
104
|
-
serialize
|
|
105
|
-
};
|
package/bin/json5-4GROEWN5.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkRTS6UXXPcjs = require('./chunk-RTS6UXXP.cjs');
|
|
5
|
-
require('./chunk-5YNSXZUV.cjs');
|
|
6
|
-
require('./chunk-P57FV6C7.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.parseJSON5 = _chunkRTS6UXXPcjs.ou; exports.stringifyJSON5 = _chunkRTS6UXXPcjs.cu;
|
package/bin/json5-OPEY7IVI.js
DELETED
package/bin/jsonc-HON5YCSB.cjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk2MMI4SWBcjs = require('./chunk-2MMI4SWB.cjs');
|
|
5
|
-
require('./chunk-5YNSXZUV.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkP57FV6C7cjs = require('./chunk-P57FV6C7.cjs');
|
|
9
|
-
|
|
10
|
-
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
|
-
_chunkP57FV6C7cjs.init_cjs_shims.call(void 0, );
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
exports.parseJSONC = _chunk2MMI4SWBcjs.h; exports.stringifyJSONC = _chunk2MMI4SWBcjs.d;
|
package/bin/toml-4KC5RP7Q.js
DELETED
package/bin/toml-52O5X4HU.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkRHWLTUG4cjs = require('./chunk-RHWLTUG4.cjs');
|
|
5
|
-
require('./chunk-5YNSXZUV.cjs');
|
|
6
|
-
require('./chunk-P57FV6C7.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.parseTOML = _chunkRHWLTUG4cjs.ae; exports.stringifyTOML = _chunkRHWLTUG4cjs.ue;
|
package/bin/yaml-GU7KPIYY.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk7GNWLBINcjs = require('./chunk-7GNWLBIN.cjs');
|
|
5
|
-
require('./chunk-5YNSXZUV.cjs');
|
|
6
|
-
require('./chunk-P57FV6C7.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.parseYAML = _chunk7GNWLBINcjs.Ar; exports.stringifyYAML = _chunk7GNWLBINcjs.vr;
|
package/bin/yaml-ODZRTFYX.js
DELETED
package/dist/chunk-FQD7U3GL.cjs
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkP57FV6C7cjs = require('./chunk-P57FV6C7.cjs');
|
|
5
|
-
|
|
6
|
-
// ../../node_modules/.pnpm/ohash@2.0.4/node_modules/ohash/dist/shared/ohash.CL_iaQBA.mjs
|
|
7
|
-
_chunkP57FV6C7cjs.init_cjs_shims.call(void 0, );
|
|
8
|
-
function serialize(s) {
|
|
9
|
-
if (typeof s == "string") return `'${s}'`;
|
|
10
|
-
const i = new c();
|
|
11
|
-
return i.dispatch(s), i.serialized;
|
|
12
|
-
}
|
|
13
|
-
_chunkP57FV6C7cjs.__name.call(void 0, serialize, "serialize");
|
|
14
|
-
var c = /* @__PURE__ */ function() {
|
|
15
|
-
class s {constructor() { s.prototype.__init.call(this); }
|
|
16
|
-
static {
|
|
17
|
-
_chunkP57FV6C7cjs.__name.call(void 0, this, "s");
|
|
18
|
-
}
|
|
19
|
-
__init() {this.serialized = ""}
|
|
20
|
-
#t = /* @__PURE__ */ new Map();
|
|
21
|
-
write(t) {
|
|
22
|
-
this.serialized += t;
|
|
23
|
-
}
|
|
24
|
-
dispatch(t) {
|
|
25
|
-
return this["$" + (t === null ? "null" : typeof t)].call(this, t);
|
|
26
|
-
}
|
|
27
|
-
compare(t, r) {
|
|
28
|
-
return typeof t == "string" && typeof r == "string" ? t.localeCompare(r) : serialize(t).localeCompare(serialize(r));
|
|
29
|
-
}
|
|
30
|
-
objectEntries(t, r) {
|
|
31
|
-
const e = Array.from(r).sort((n, a) => this.compare(n[0], a[0]));
|
|
32
|
-
this.write(`${t}{`);
|
|
33
|
-
for (let n = 0; n < e.length; n++) {
|
|
34
|
-
const [a, o] = e[n];
|
|
35
|
-
this.write(`${a}:`), this.dispatch(o), n < e.length - 1 && this.write(",");
|
|
36
|
-
}
|
|
37
|
-
this.write("}");
|
|
38
|
-
}
|
|
39
|
-
$string(t) {
|
|
40
|
-
this.write("'" + t + "'");
|
|
41
|
-
}
|
|
42
|
-
$symbol(t) {
|
|
43
|
-
this.write(t.toString());
|
|
44
|
-
}
|
|
45
|
-
$bigint(t) {
|
|
46
|
-
this.write(`${t}n`);
|
|
47
|
-
}
|
|
48
|
-
$object(t) {
|
|
49
|
-
const r = Object.prototype.toString.call(t);
|
|
50
|
-
let e = "";
|
|
51
|
-
const n = r.length;
|
|
52
|
-
n < 10 ? e = "unknown:[" + r + "]" : e = r.slice(8, n - 1);
|
|
53
|
-
let a = null;
|
|
54
|
-
if ((a = this.#t.get(t)) === void 0) this.#t.set(t, this.#t.size);
|
|
55
|
-
else return this.write(`#${a}`);
|
|
56
|
-
if (e !== "Object" && e !== "Function" && e !== "AsyncFunction") {
|
|
57
|
-
const o = this["$" + e];
|
|
58
|
-
if (o) o.call(this, t);
|
|
59
|
-
else {
|
|
60
|
-
if (typeof _optionalChain([t, 'optionalAccess', _ => _.entries]) == "function") return this.objectEntries(e, t.entries());
|
|
61
|
-
throw new Error(`Cannot serialize ${e}`);
|
|
62
|
-
}
|
|
63
|
-
} else {
|
|
64
|
-
const o = t.constructor.name, l = o === "Object" ? "" : o;
|
|
65
|
-
return typeof t.toJSON == "function" ? (l && this.write(l), this.$object(t.toJSON())) : this.objectEntries(l, Object.entries(t));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
$function(t) {
|
|
69
|
-
const r = Function.prototype.toString.call(t);
|
|
70
|
-
if (r.slice(-15) === "[native code] }") return this.write(`${t.name || ""}()[native]`);
|
|
71
|
-
this.write(`${t.name}(${t.length})${r.replace(/\s*\n\s*/g, "")}`);
|
|
72
|
-
}
|
|
73
|
-
$Array(t) {
|
|
74
|
-
this.write("[");
|
|
75
|
-
for (let r = 0; r < t.length; r++) this.dispatch(t[r]), r < t.length - 1 && this.write(",");
|
|
76
|
-
this.write("]");
|
|
77
|
-
}
|
|
78
|
-
$Date(t) {
|
|
79
|
-
return this.write(`Date(${t.toJSON()})`);
|
|
80
|
-
}
|
|
81
|
-
$ArrayBuffer(t) {
|
|
82
|
-
this.write(`ArrayBuffer[${Array.prototype.slice.call(new Uint8Array(t)).join(",")}]`);
|
|
83
|
-
}
|
|
84
|
-
$Set(t) {
|
|
85
|
-
this.write("Set"), this.$Array(Array.from(t).sort((r, e) => this.compare(r, e)));
|
|
86
|
-
}
|
|
87
|
-
$Map(t) {
|
|
88
|
-
return this.objectEntries("Map", t.entries());
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
for (const i of ["boolean", "number", "null", "undefined"]) s.prototype["$" + i] = function(t) {
|
|
92
|
-
return this.write(t);
|
|
93
|
-
};
|
|
94
|
-
for (const i of ["Error", "RegExp", "URL"]) s.prototype["$" + i] = function(t) {
|
|
95
|
-
return this.write(`${i}(${t.toString()})`);
|
|
96
|
-
};
|
|
97
|
-
for (const i of ["Uint8Array", "Uint8ClampedArray", "Unt8Array", "Uint16Array", "Unt16Array", "Uint32Array", "Unt32Array", "Float32Array", "Float64Array"]) s.prototype["$" + i] = function(t) {
|
|
98
|
-
this.write(`${i}[${Array.prototype.slice.call(t).join(",")}]`);
|
|
99
|
-
};
|
|
100
|
-
return s;
|
|
101
|
-
}();
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
exports.serialize = serialize;
|