@storm-software/linting-tools 1.119.10 → 1.119.12

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.
Files changed (100) hide show
  1. package/README.md +1 -1
  2. package/{dist/chunk-XV6IBRMZ.cjs → bin/chunk-2MMI4SWB.cjs} +44 -44
  3. package/{dist/chunk-P36IQ2HN.js → bin/chunk-32N2OGWN.js} +2 -2
  4. package/{dist/chunk-NENGWJYA.js → bin/chunk-3C4I67HA.js} +2 -2
  5. package/bin/{chunk-7TD5A5D7.js → chunk-54CFDIUE.js} +1 -1
  6. package/{dist/chunk-KANXUMWW.js → bin/chunk-54RWBTS6.js} +2 -2
  7. package/bin/{chunk-HP3XCXQR.cjs → chunk-5YNSXZUV.cjs} +11 -11
  8. package/{dist/chunk-B42TOUVC.cjs → bin/chunk-7GNWLBIN.cjs} +138 -138
  9. package/{dist/chunk-MEU6Q2ZZ.cjs → bin/chunk-C5CFETOZ.cjs} +152 -152
  10. package/bin/chunk-FQD7U3GL.cjs +105 -0
  11. package/bin/{chunk-KZMPPMLI.js → chunk-K6L3YLSV.js} +2 -2
  12. package/bin/chunk-LPZTUZI7.js +105 -0
  13. package/bin/{chunk-3U2JI7F4.cjs → chunk-MWIMLJFN.cjs} +204 -204
  14. package/{dist/chunk-OKHMCCMQ.cjs → bin/chunk-P57FV6C7.cjs} +2 -2
  15. package/bin/{chunk-DZ4CTAMG.cjs → chunk-RHWLTUG4.cjs} +40 -40
  16. package/{dist/chunk-QB4RY2O2.cjs → bin/chunk-RTS6UXXP.cjs} +32 -32
  17. package/bin/{chunk-SUCHSNMD.cjs → chunk-UGTDGDK4.cjs} +388 -388
  18. package/{dist/chunk-ZKD3DEX3.js → bin/chunk-WHKY3M5Z.js} +2 -2
  19. package/{dist/chunk-YJD2T3D3.js → bin/chunk-XSNTWOJH.js} +2 -2
  20. package/{dist/chunk-57CQKW3U.js → bin/chunk-YVJJXPQ6.js} +2 -2
  21. package/bin/{chunk-CPUOXQVO.js → chunk-ZCN56EP7.js} +1 -1
  22. package/bin/dist-25H3BHT5.js +34 -0
  23. package/bin/{dist-SF3G6LKO.cjs → dist-3WBV2IAS.cjs} +1007 -1004
  24. package/bin/dist-ADRPNADD.cjs +34 -0
  25. package/bin/{dist-LAXHN42C.js → dist-VPVBHEYK.js} +17 -14
  26. package/{dist/esm-6CGCFXB6.cjs → bin/esm-BNVF2MRI.cjs} +46 -46
  27. package/bin/{esm-YESBDQQ2.js → esm-RUXZNXEX.js} +1 -1
  28. package/bin/json5-4GROEWN5.cjs +10 -0
  29. package/bin/json5-OPEY7IVI.js +10 -0
  30. package/{dist/jsonc-YCDSJSS2.js → bin/jsonc-HBV365B7.js} +3 -3
  31. package/bin/jsonc-HON5YCSB.cjs +15 -0
  32. package/bin/lint.cjs +27146 -27780
  33. package/bin/lint.js +449 -1083
  34. package/{dist/multipart-parser-HZ46XN43.js → bin/multipart-parser-GIYQPD3I.js} +2 -2
  35. package/bin/{multipart-parser-JXBY73TG.cjs → multipart-parser-GL32RRIX.cjs} +11 -11
  36. package/{dist/package-json-RFV5FQSF.js → bin/package-json-BISGQCQA.js} +2 -2
  37. package/{dist/package-json-DOZ42I7U.cjs → bin/package-json-XQ2VHHU4.cjs} +248 -248
  38. package/bin/toml-4KC5RP7Q.js +10 -0
  39. package/bin/toml-52O5X4HU.cjs +10 -0
  40. package/bin/utils-B72MMWGL.cjs +120 -0
  41. package/bin/utils-ZXNPMV2B.js +120 -0
  42. package/bin/yaml-GU7KPIYY.cjs +10 -0
  43. package/bin/yaml-ODZRTFYX.js +10 -0
  44. package/{bin/chunk-XV6IBRMZ.cjs → dist/chunk-2MMI4SWB.cjs} +44 -44
  45. package/{bin/chunk-P36IQ2HN.js → dist/chunk-32N2OGWN.js} +2 -2
  46. package/{bin/chunk-NENGWJYA.js → dist/chunk-3C4I67HA.js} +2 -2
  47. package/dist/{chunk-7TD5A5D7.js → chunk-54CFDIUE.js} +1 -1
  48. package/{bin/chunk-KANXUMWW.js → dist/chunk-54RWBTS6.js} +2 -2
  49. package/dist/{chunk-HP3XCXQR.cjs → chunk-5YNSXZUV.cjs} +11 -11
  50. package/{bin/chunk-B42TOUVC.cjs → dist/chunk-7GNWLBIN.cjs} +138 -138
  51. package/{bin/chunk-MEU6Q2ZZ.cjs → dist/chunk-C5CFETOZ.cjs} +152 -152
  52. package/dist/chunk-FQD7U3GL.cjs +105 -0
  53. package/dist/{chunk-KZMPPMLI.js → chunk-K6L3YLSV.js} +2 -2
  54. package/dist/chunk-LPZTUZI7.js +105 -0
  55. package/dist/{chunk-3U2JI7F4.cjs → chunk-MWIMLJFN.cjs} +204 -204
  56. package/{bin/chunk-OKHMCCMQ.cjs → dist/chunk-P57FV6C7.cjs} +2 -2
  57. package/dist/{chunk-DZ4CTAMG.cjs → chunk-RHWLTUG4.cjs} +40 -40
  58. package/{bin/chunk-QB4RY2O2.cjs → dist/chunk-RTS6UXXP.cjs} +32 -32
  59. package/dist/{chunk-SUCHSNMD.cjs → chunk-UGTDGDK4.cjs} +388 -388
  60. package/{bin/chunk-ZKD3DEX3.js → dist/chunk-WHKY3M5Z.js} +2 -2
  61. package/{bin/chunk-YJD2T3D3.js → dist/chunk-XSNTWOJH.js} +2 -2
  62. package/{bin/chunk-57CQKW3U.js → dist/chunk-YVJJXPQ6.js} +2 -2
  63. package/dist/{chunk-CPUOXQVO.js → chunk-ZCN56EP7.js} +1 -1
  64. package/dist/dist-25H3BHT5.js +34 -0
  65. package/dist/{dist-SF3G6LKO.cjs → dist-3WBV2IAS.cjs} +1007 -1004
  66. package/dist/dist-ADRPNADD.cjs +34 -0
  67. package/dist/{dist-LAXHN42C.js → dist-VPVBHEYK.js} +17 -14
  68. package/{bin/esm-6CGCFXB6.cjs → dist/esm-BNVF2MRI.cjs} +46 -46
  69. package/dist/{esm-YESBDQQ2.js → esm-RUXZNXEX.js} +1 -1
  70. package/dist/index.cjs +27141 -27775
  71. package/dist/index.js +449 -1083
  72. package/dist/json5-4GROEWN5.cjs +10 -0
  73. package/dist/json5-OPEY7IVI.js +10 -0
  74. package/{bin/jsonc-YCDSJSS2.js → dist/jsonc-HBV365B7.js} +3 -3
  75. package/dist/jsonc-HON5YCSB.cjs +15 -0
  76. package/{bin/multipart-parser-HZ46XN43.js → dist/multipart-parser-GIYQPD3I.js} +2 -2
  77. package/dist/{multipart-parser-JXBY73TG.cjs → multipart-parser-GL32RRIX.cjs} +11 -11
  78. package/{bin/package-json-RFV5FQSF.js → dist/package-json-BISGQCQA.js} +2 -2
  79. package/{bin/package-json-DOZ42I7U.cjs → dist/package-json-XQ2VHHU4.cjs} +248 -248
  80. package/dist/toml-4KC5RP7Q.js +10 -0
  81. package/dist/toml-52O5X4HU.cjs +10 -0
  82. package/dist/utils-B72MMWGL.cjs +120 -0
  83. package/dist/utils-ZXNPMV2B.js +120 -0
  84. package/dist/yaml-GU7KPIYY.cjs +10 -0
  85. package/dist/yaml-ODZRTFYX.js +10 -0
  86. package/package.json +1 -1
  87. package/bin/json5-KFL2546J.cjs +0 -10
  88. package/bin/json5-QOJRSU3X.js +0 -10
  89. package/bin/jsonc-VKQ5AIAI.cjs +0 -15
  90. package/bin/toml-QAWFQPIQ.cjs +0 -10
  91. package/bin/toml-U5TVWQLZ.js +0 -10
  92. package/bin/yaml-6KMQU4W5.cjs +0 -10
  93. package/bin/yaml-XP5UAV4Y.js +0 -10
  94. package/dist/json5-KFL2546J.cjs +0 -10
  95. package/dist/json5-QOJRSU3X.js +0 -10
  96. package/dist/jsonc-VKQ5AIAI.cjs +0 -15
  97. package/dist/toml-QAWFQPIQ.cjs +0 -10
  98. package/dist/toml-U5TVWQLZ.js +0 -10
  99. package/dist/yaml-6KMQU4W5.cjs +0 -10
  100. package/dist/yaml-XP5UAV4Y.js +0 -10
@@ -0,0 +1,105 @@
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;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  C,
3
3
  N
4
- } from "./chunk-7TD5A5D7.js";
4
+ } from "./chunk-54CFDIUE.js";
5
5
  import {
6
6
  __name,
7
7
  init_esm_shims
8
- } from "./chunk-NENGWJYA.js";
8
+ } from "./chunk-3C4I67HA.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/toml.mjs
11
11
  init_esm_shims();
@@ -0,0 +1,105 @@
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
+ };