@storm-software/linting-tools 1.134.39 → 1.134.40
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-JVT6Y4EK.js → chunk-2EYSI6CQ.js} +2 -2
- package/bin/{chunk-BB7AII4Z.js → chunk-2OT5CMLL.js} +2 -2
- package/bin/{chunk-XVPSI5YI.js → chunk-2RZPMPOA.js} +1 -1
- package/bin/{chunk-VSYYREDY.cjs → chunk-7YHXX2ZG.cjs} +2 -2
- package/bin/{chunk-FN7YOJQF.cjs → chunk-ABH34GZZ.cjs} +5 -5
- package/bin/{chunk-XLBXFWBB.cjs → chunk-AZWNPJHN.cjs} +2 -2
- package/bin/{chunk-GNQHDIMU.cjs → chunk-CJRABAKC.cjs} +20 -20
- package/bin/{chunk-NXKDGL3Q.cjs → chunk-FKRXTX4L.cjs} +2 -2
- package/bin/{chunk-ILVV4H2U.js → chunk-HPJLDOCS.js} +20 -10
- package/bin/{chunk-64YA4I5I.cjs → chunk-IU67RK7A.cjs} +5 -5
- package/bin/{chunk-SNSRBC4K.cjs → chunk-J7X4W5WR.cjs} +93 -93
- package/bin/{chunk-JKSRJYM2.js → chunk-L34GNHFN.js} +1 -1
- package/bin/{chunk-G6VRBXQZ.js → chunk-OANM63BJ.js} +2 -2
- package/bin/{chunk-A4GH6YKL.js → chunk-OXTDBCCV.js} +1 -1
- package/bin/{chunk-ACBNBNAM.js → chunk-QW7FBKVS.js} +2 -2
- package/bin/{chunk-DGPF2454.cjs → chunk-SEMIOAS7.cjs} +32 -22
- package/bin/{chunk-SHCTKHBI.cjs → chunk-T2URNDZB.cjs} +5 -5
- package/bin/{chunk-BN657RWD.js → chunk-XNVETDTT.js} +2 -2
- package/bin/{chunk-5T4KSK6X.js → chunk-YU5W2BDC.js} +2 -2
- package/bin/{chunk-PSVSI5ZF.cjs → chunk-ZAKOAR7Y.cjs} +6 -6
- package/bin/{dist-HLUYBP5V.cjs → dist-3Q5IAMV7.cjs} +6 -6
- package/bin/{dist-F6MXQ7SZ.js → dist-GIWKEDAJ.js} +2 -2
- package/bin/{dist-SSP3POIX.cjs → dist-IO75YHOF.cjs} +206 -206
- package/bin/{dist-L3JBTH75.js → dist-LQ5D4AU5.js} +8 -8
- package/bin/{esm-UQPZKWZ3.cjs → esm-WCUI36EU.cjs} +4 -4
- package/bin/{esm-5SGWCP2V.js → esm-Y6ZA7M3U.js} +1 -1
- package/bin/json5-DL664IVS.cjs +10 -0
- package/bin/json5-QAWUP7YC.js +10 -0
- package/bin/{jsonc-JSJOGNST.js → jsonc-6VMGBPEF.js} +3 -3
- package/bin/jsonc-ECK46Q5F.cjs +15 -0
- package/bin/lint.cjs +2235 -2120
- package/bin/lint.js +297 -182
- package/bin/{multipart-parser-ASU6VPAI.js → multipart-parser-IK7BDPLV.js} +2 -2
- package/bin/{multipart-parser-FECCFVIV.cjs → multipart-parser-S4WPKQ5V.cjs} +6 -6
- package/bin/{package-json-NTJHTJOW.js → package-json-4SJ6XQAY.js} +2 -2
- package/bin/{package-json-XMMZCUV4.cjs → package-json-S4OZILYC.cjs} +94 -94
- package/bin/toml-22ULSR3T.js +10 -0
- package/bin/toml-E536UCEW.cjs +10 -0
- package/bin/{utils-WG3BMMTY.js → utils-JYSRR4DQ.js} +2 -2
- package/bin/{utils-4HADYUPW.cjs → utils-NW5T7QUM.cjs} +5 -5
- package/bin/yaml-CZQ5J3VV.js +10 -0
- package/bin/yaml-FQTGALXQ.cjs +10 -0
- package/package.json +2 -2
- package/bin/json5-65MYDKU6.js +0 -10
- package/bin/json5-B3QDMVIB.cjs +0 -10
- package/bin/jsonc-B56UOBJP.cjs +0 -15
- package/bin/toml-ECJPV37R.cjs +0 -10
- package/bin/toml-HTZAAZBD.js +0 -10
- package/bin/yaml-AYMYDPBM.js +0 -10
- package/bin/yaml-GEKG7FEH.cjs +0 -10
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -38,12 +38,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
41
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=a9def7e06ce25c19654987ab91979289197bf4d3e7e124c514a4487c3e8d68c6__806f9a30730e288b61b136fa656126ea/node_modules/tsup/assets/esm_shims.js
|
|
42
42
|
import { fileURLToPath } from "url";
|
|
43
43
|
import path from "path";
|
|
44
44
|
var getFilename, getDirname, __dirname, __filename;
|
|
45
45
|
var init_esm_shims = __esm({
|
|
46
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
46
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=a9def7e06ce25c19654987ab91979289197bf4d3e7e124c514a4487c3e8d68c6__806f9a30730e288b61b136fa656126ea/node_modules/tsup/assets/esm_shims.js"() {
|
|
47
47
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
48
48
|
getDirname = () => path.dirname(getFilename());
|
|
49
49
|
__dirname = /* @__PURE__ */ getDirname();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
C,
|
|
3
3
|
N
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L34GNHFN.js";
|
|
5
5
|
import {
|
|
6
6
|
init_esm_shims
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2EYSI6CQ.js";
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs
|
|
10
10
|
init_esm_shims();
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
3
|
+
var _chunkAZWNPJHNcjs = require('./chunk-AZWNPJHN.cjs');
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.9388d834.mjs
|
|
6
|
-
|
|
6
|
+
_chunkAZWNPJHNcjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
var b = /^(?:( )+|\t+)/;
|
|
8
8
|
var d = "space";
|
|
9
9
|
var h = "tab";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk7YHXX2ZGcjs = require('./chunk-7YHXX2ZG.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAZWNPJHNcjs = require('./chunk-AZWNPJHN.cjs');
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/yaml.mjs
|
|
10
|
-
|
|
10
|
+
_chunkAZWNPJHNcjs.init_cjs_shims.call(void 0, );
|
|
11
11
|
function oe(e) {
|
|
12
12
|
return typeof e > "u" || e === null;
|
|
13
13
|
}
|
|
@@ -985,10 +985,10 @@ var mr = Ni.load;
|
|
|
985
985
|
var gr = xr.dump;
|
|
986
986
|
function Ar(e, n) {
|
|
987
987
|
const i = mr(e, n);
|
|
988
|
-
return
|
|
988
|
+
return _chunk7YHXX2ZGcjs.N.call(void 0, e, i, n), i;
|
|
989
989
|
}
|
|
990
990
|
function vr(e, n) {
|
|
991
|
-
const i =
|
|
991
|
+
const i = _chunk7YHXX2ZGcjs.C.call(void 0, e, { preserveIndentation: false }), l = typeof i.indent == "string" ? i.indent.length : i.indent, r = gr(e, { indent: l, ...n });
|
|
992
992
|
return i.whitespace.start + r.trim() + i.whitespace.end;
|
|
993
993
|
}
|
|
994
994
|
|
|
@@ -39,10 +39,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
39
39
|
));
|
|
40
40
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
41
41
|
|
|
42
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
42
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=a9def7e06ce25c19654987ab91979289197bf4d3e7e124c514a4487c3e8d68c6__806f9a30730e288b61b136fa656126ea/node_modules/tsup/assets/cjs_shims.js
|
|
43
43
|
var getImportMetaUrl, importMetaUrl;
|
|
44
44
|
var init_cjs_shims = __esm({
|
|
45
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
45
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=a9def7e06ce25c19654987ab91979289197bf4d3e7e124c514a4487c3e8d68c6__806f9a30730e288b61b136fa656126ea/node_modules/tsup/assets/cjs_shims.js"() {
|
|
46
46
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
47
47
|
importMetaUrl = exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
48
48
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkAZWNPJHNcjs = require('./chunk-AZWNPJHN.cjs');
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs
|
|
8
|
-
var require_node_fetch_native_DhEqb06g =
|
|
8
|
+
var require_node_fetch_native_DhEqb06g = _chunkAZWNPJHNcjs.__commonJS.call(void 0, {
|
|
9
9
|
"../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs"(exports) {
|
|
10
10
|
"use strict";
|
|
11
|
-
|
|
11
|
+
_chunkAZWNPJHNcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var l = Object.defineProperty;
|
|
13
13
|
var o = (e, t) => l(e, "name", { value: t, configurable: true });
|
|
14
14
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -20,10 +20,10 @@ var require_node_fetch_native_DhEqb06g = _chunkXLBXFWBBcjs.__commonJS.call(void
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs
|
|
23
|
-
var require_node =
|
|
23
|
+
var require_node = _chunkAZWNPJHNcjs.__commonJS.call(void 0, {
|
|
24
24
|
"../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs"(exports) {
|
|
25
25
|
"use strict";
|
|
26
|
-
|
|
26
|
+
_chunkAZWNPJHNcjs.init_cjs_shims.call(void 0, );
|
|
27
27
|
var ys = Object.defineProperty;
|
|
28
28
|
var Po = (c) => {
|
|
29
29
|
throw TypeError(c);
|
|
@@ -47,17 +47,17 @@ var require_node = _chunkXLBXFWBBcjs.__commonJS.call(void 0, {
|
|
|
47
47
|
var Ue;
|
|
48
48
|
var at;
|
|
49
49
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
var http =
|
|
51
|
-
var https =
|
|
52
|
-
var zlib =
|
|
53
|
-
var Stream =
|
|
54
|
-
var require$$0 =
|
|
55
|
-
var require$$0$1 =
|
|
50
|
+
var http = _chunkAZWNPJHNcjs.__require.call(void 0, "http");
|
|
51
|
+
var https = _chunkAZWNPJHNcjs.__require.call(void 0, "https");
|
|
52
|
+
var zlib = _chunkAZWNPJHNcjs.__require.call(void 0, "zlib");
|
|
53
|
+
var Stream = _chunkAZWNPJHNcjs.__require.call(void 0, "stream");
|
|
54
|
+
var require$$0 = _chunkAZWNPJHNcjs.__require.call(void 0, "buffer");
|
|
55
|
+
var require$$0$1 = _chunkAZWNPJHNcjs.__require.call(void 0, "util");
|
|
56
56
|
var _commonjsHelpers = require_node_fetch_native_DhEqb06g();
|
|
57
|
-
var require$$1 =
|
|
58
|
-
var require$$0$2 =
|
|
59
|
-
var node_fs =
|
|
60
|
-
var node_path =
|
|
57
|
+
var require$$1 = _chunkAZWNPJHNcjs.__require.call(void 0, "url");
|
|
58
|
+
var require$$0$2 = _chunkAZWNPJHNcjs.__require.call(void 0, "net");
|
|
59
|
+
var node_fs = _chunkAZWNPJHNcjs.__require.call(void 0, "fs");
|
|
60
|
+
var node_path = _chunkAZWNPJHNcjs.__require.call(void 0, "path");
|
|
61
61
|
function _interopDefaultCompat(c) {
|
|
62
62
|
return c && typeof c == "object" && "default" in c ? c.default : c;
|
|
63
63
|
}
|
|
@@ -2467,10 +2467,10 @@ var require_node = _chunkXLBXFWBBcjs.__commonJS.call(void 0, {
|
|
|
2467
2467
|
hasRequiredStreams = 1;
|
|
2468
2468
|
const c = 65536;
|
|
2469
2469
|
if (!globalThis.ReadableStream) try {
|
|
2470
|
-
const l =
|
|
2470
|
+
const l = _chunkAZWNPJHNcjs.__require.call(void 0, "process"), { emitWarning: d } = l;
|
|
2471
2471
|
try {
|
|
2472
2472
|
l.emitWarning = () => {
|
|
2473
|
-
}, Object.assign(globalThis,
|
|
2473
|
+
}, Object.assign(globalThis, _chunkAZWNPJHNcjs.__require.call(void 0, "stream/web")), l.emitWarning = d;
|
|
2474
2474
|
} catch (g) {
|
|
2475
2475
|
throw l.emitWarning = d, g;
|
|
2476
2476
|
}
|
|
@@ -2478,7 +2478,7 @@ var require_node = _chunkXLBXFWBBcjs.__commonJS.call(void 0, {
|
|
|
2478
2478
|
Object.assign(globalThis, requirePonyfill_es2018());
|
|
2479
2479
|
}
|
|
2480
2480
|
try {
|
|
2481
|
-
const { Blob: l } =
|
|
2481
|
+
const { Blob: l } = _chunkAZWNPJHNcjs.__require.call(void 0, "buffer");
|
|
2482
2482
|
l && !l.prototype.stream && (l.prototype.stream = u(function(g) {
|
|
2483
2483
|
let b = 0;
|
|
2484
2484
|
const R = this;
|
|
@@ -2744,7 +2744,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
2744
2744
|
for (const [R, w] of b) g.append(R, w);
|
|
2745
2745
|
return g;
|
|
2746
2746
|
}
|
|
2747
|
-
const { toFormData: d } = await Promise.resolve().then(() => _interopRequireWildcard(require("./multipart-parser-
|
|
2747
|
+
const { toFormData: d } = await Promise.resolve().then(() => _interopRequireWildcard(require("./multipart-parser-S4WPKQ5V.cjs")));
|
|
2748
2748
|
return d(this.body, l);
|
|
2749
2749
|
}
|
|
2750
2750
|
async blob() {
|
|
@@ -3115,7 +3115,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
3115
3115
|
function requireNodeDomexception() {
|
|
3116
3116
|
if (hasRequiredNodeDomexception) return nodeDomexception;
|
|
3117
3117
|
if (hasRequiredNodeDomexception = 1, !globalThis.DOMException) try {
|
|
3118
|
-
const { MessageChannel: c } =
|
|
3118
|
+
const { MessageChannel: c } = _chunkAZWNPJHNcjs.__require.call(void 0, "worker_threads"), l = new c().port1, d = new ArrayBuffer();
|
|
3119
3119
|
l.postMessage(d, [d, d]);
|
|
3120
3120
|
} catch (c) {
|
|
3121
3121
|
c.constructor.name === "DOMException" && (globalThis.DOMException = c.constructor);
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
3
|
+
var _chunkAZWNPJHNcjs = require('./chunk-AZWNPJHN.cjs');
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs
|
|
6
|
-
|
|
6
|
+
_chunkAZWNPJHNcjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
function serialize(o) {
|
|
8
8
|
return typeof o == "string" ? `'${o}'` : new c().serialize(o);
|
|
9
9
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
h,
|
|
3
3
|
x
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2OT5CMLL.js";
|
|
5
5
|
import {
|
|
6
6
|
init_esm_shims
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2EYSI6CQ.js";
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
|
|
10
10
|
init_esm_shims();
|
|
@@ -325,7 +325,7 @@ import { statSync as statSync2, promises as promises2 } from "node:fs";
|
|
|
325
325
|
// ../../node_modules/.pnpm/mlly@1.8.2/node_modules/mlly/dist/index.mjs
|
|
326
326
|
init_esm_shims();
|
|
327
327
|
|
|
328
|
-
// ../../node_modules/.pnpm/acorn@8.
|
|
328
|
+
// ../../node_modules/.pnpm/acorn@8.18.0/node_modules/acorn/dist/acorn.mjs
|
|
329
329
|
init_esm_shims();
|
|
330
330
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
331
331
|
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 7, 25, 39, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 5, 57, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 24, 43, 261, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
|
|
@@ -645,6 +645,11 @@ var defaultOptions = {
|
|
|
645
645
|
// line being 1-based and column 0-based) will be attached to the
|
|
646
646
|
// nodes.
|
|
647
647
|
locations: false,
|
|
648
|
+
// Pass an optional `{line, column}` object to use for the start of
|
|
649
|
+
// the parse. This is mostly useful when using `parseExpressionAt`
|
|
650
|
+
// with `locations: true`, to prevent the parser from having to
|
|
651
|
+
// determine the line position at the start position.
|
|
652
|
+
startLocation: null,
|
|
648
653
|
// A function can be passed as `onToken` option, which will
|
|
649
654
|
// cause Acorn to call that function with object in the same
|
|
650
655
|
// format as tokens returned from `tokenizer().getToken()`. Note
|
|
@@ -781,13 +786,18 @@ var Parser = function Parser2(options, input, startPos) {
|
|
|
781
786
|
this.reservedWordsStrictBind = wordsRegexp(reservedStrict + " " + reservedWords.strictBind);
|
|
782
787
|
this.input = String(input);
|
|
783
788
|
this.containsEsc = false;
|
|
784
|
-
|
|
785
|
-
|
|
789
|
+
this.pos = startPos || 0;
|
|
790
|
+
this.curLine = 1;
|
|
791
|
+
if (options.startLocation) {
|
|
792
|
+
this.lineStart = this.pos - options.startLocation.column;
|
|
793
|
+
this.curLine = options.startLocation.line;
|
|
794
|
+
} else if (startPos) {
|
|
786
795
|
this.lineStart = this.input.lastIndexOf("\n", startPos - 1) + 1;
|
|
787
|
-
|
|
796
|
+
if (this.options.locations) {
|
|
797
|
+
this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length;
|
|
798
|
+
}
|
|
788
799
|
} else {
|
|
789
|
-
this.
|
|
790
|
-
this.curLine = 1;
|
|
800
|
+
this.lineStart = 0;
|
|
791
801
|
}
|
|
792
802
|
this.type = types$1.eof;
|
|
793
803
|
this.value = null;
|
|
@@ -2828,7 +2838,7 @@ pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forIni
|
|
|
2828
2838
|
expr = this.finishNode(node$1, "UpdateExpression");
|
|
2829
2839
|
}
|
|
2830
2840
|
}
|
|
2831
|
-
if (!incDec && this.eat(types$1.starstar)) {
|
|
2841
|
+
if (!incDec && !(expr.type === "ArrowFunctionExpression" && expr.start === startPos) && this.eat(types$1.starstar)) {
|
|
2832
2842
|
if (sawUnary) {
|
|
2833
2843
|
this.unexpected(this.lastTokStart);
|
|
2834
2844
|
} else {
|
|
@@ -5987,7 +5997,7 @@ pp.readWord = function() {
|
|
|
5987
5997
|
}
|
|
5988
5998
|
return this.finishToken(type, word);
|
|
5989
5999
|
};
|
|
5990
|
-
var version = "8.
|
|
6000
|
+
var version = "8.18.0";
|
|
5991
6001
|
Parser.acorn = {
|
|
5992
6002
|
Parser,
|
|
5993
6003
|
version,
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunk7YHXX2ZGcjs = require('./chunk-7YHXX2ZG.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAZWNPJHNcjs = require('./chunk-AZWNPJHN.cjs');
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/json5.mjs
|
|
10
|
-
|
|
10
|
+
_chunkAZWNPJHNcjs.init_cjs_shims.call(void 0, );
|
|
11
11
|
function X(D) {
|
|
12
12
|
return D && D.__esModule && Object.prototype.hasOwnProperty.call(D, "default") ? D.default : D;
|
|
13
13
|
}
|
|
@@ -726,10 +726,10 @@ var Bu = function(C2, E, n) {
|
|
|
726
726
|
var su = X(Bu);
|
|
727
727
|
function ou(D, C2) {
|
|
728
728
|
const E = au(D, _optionalChain([C2, 'optionalAccess', _2 => _2.reviver]));
|
|
729
|
-
return
|
|
729
|
+
return _chunk7YHXX2ZGcjs.N.call(void 0, D, E, C2), E;
|
|
730
730
|
}
|
|
731
731
|
function cu(D, C2) {
|
|
732
|
-
const E =
|
|
732
|
+
const E = _chunk7YHXX2ZGcjs.C.call(void 0, D, C2), n = su(D, _optionalChain([C2, 'optionalAccess', _3 => _3.replacer]), E.indent);
|
|
733
733
|
return E.whitespace.start + n + E.whitespace.end;
|
|
734
734
|
}
|
|
735
735
|
|