@storm-software/linting-tools 1.119.6 → 1.119.7
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/{dist/chunk-VLPTUXW4.cjs → bin/chunk-3U2JI7F4.cjs} +204 -204
- package/{dist/chunk-5ZMWUMUC.js → bin/chunk-57CQKW3U.js} +2 -2
- package/{dist/chunk-U4UFTI6B.js → bin/chunk-7TD5A5D7.js} +1 -1
- package/bin/{chunk-F3W33PFH.cjs → chunk-B42TOUVC.cjs} +138 -138
- package/bin/{chunk-B3RHPIJP.js → chunk-CPUOXQVO.js} +1 -1
- package/bin/{chunk-3FBUAA7Z.cjs → chunk-DZ4CTAMG.cjs} +40 -40
- package/bin/{chunk-4ZFXOAID.cjs → chunk-HP3XCXQR.cjs} +11 -11
- package/bin/{chunk-SXVDNBBQ.js → chunk-KANXUMWW.js} +2 -2
- package/bin/{chunk-DIIWBHCG.js → chunk-KZMPPMLI.js} +2 -2
- package/{dist/chunk-XQETQP2H.cjs → bin/chunk-MEU6Q2ZZ.cjs} +152 -152
- package/bin/{chunk-Q2UNFIZN.js → chunk-NENGWJYA.js} +2 -2
- package/bin/{chunk-GPU42JLK.cjs → chunk-OKHMCCMQ.cjs} +2 -2
- package/{dist/chunk-5WDTXQYE.js → bin/chunk-P36IQ2HN.js} +2 -2
- package/{dist/chunk-FXD4YL75.cjs → bin/chunk-QB4RY2O2.cjs} +32 -32
- package/bin/{chunk-6PBDI6OA.cjs → chunk-SUCHSNMD.cjs} +388 -388
- package/bin/{chunk-N6P3NGIL.cjs → chunk-XV6IBRMZ.cjs} +44 -44
- package/{dist/chunk-Y4YNZAVE.js → bin/chunk-YJD2T3D3.js} +2 -2
- package/bin/{chunk-L2GU4VVI.js → chunk-ZKD3DEX3.js} +2 -2
- package/bin/{dist-2OO6NCYC.js → dist-LAXHN42C.js} +8 -8
- package/bin/{dist-SA37GSFD.cjs → dist-SF3G6LKO.cjs} +989 -989
- package/{dist/esm-667BEMXO.cjs → bin/esm-6CGCFXB6.cjs} +48 -51
- package/bin/{esm-OOYUY4AM.js → esm-YESBDQQ2.js} +3 -6
- package/bin/json5-KFL2546J.cjs +10 -0
- package/bin/json5-QOJRSU3X.js +10 -0
- package/bin/jsonc-VKQ5AIAI.cjs +15 -0
- package/{dist/jsonc-3GXFMZE7.js → bin/jsonc-YCDSJSS2.js} +3 -3
- package/bin/lint.cjs +26925 -26833
- package/bin/lint.js +372 -280
- package/bin/{multipart-parser-HBA2WX6Y.js → multipart-parser-HZ46XN43.js} +2 -2
- package/bin/{multipart-parser-VQZG3CLL.cjs → multipart-parser-JXBY73TG.cjs} +11 -11
- package/bin/{package-json-TMUUO3QU.cjs → package-json-DOZ42I7U.cjs} +248 -248
- package/bin/{package-json-2QZEJOJE.js → package-json-RFV5FQSF.js} +2 -2
- package/bin/toml-QAWFQPIQ.cjs +10 -0
- package/bin/toml-U5TVWQLZ.js +10 -0
- package/bin/yaml-6KMQU4W5.cjs +10 -0
- package/bin/yaml-XP5UAV4Y.js +10 -0
- package/{bin/chunk-VLPTUXW4.cjs → dist/chunk-3U2JI7F4.cjs} +204 -204
- package/{bin/chunk-5ZMWUMUC.js → dist/chunk-57CQKW3U.js} +2 -2
- package/{bin/chunk-U4UFTI6B.js → dist/chunk-7TD5A5D7.js} +1 -1
- package/dist/{chunk-F3W33PFH.cjs → chunk-B42TOUVC.cjs} +138 -138
- package/dist/{chunk-B3RHPIJP.js → chunk-CPUOXQVO.js} +1 -1
- package/dist/{chunk-3FBUAA7Z.cjs → chunk-DZ4CTAMG.cjs} +40 -40
- package/dist/{chunk-4ZFXOAID.cjs → chunk-HP3XCXQR.cjs} +11 -11
- package/dist/{chunk-SXVDNBBQ.js → chunk-KANXUMWW.js} +2 -2
- package/dist/{chunk-DIIWBHCG.js → chunk-KZMPPMLI.js} +2 -2
- package/{bin/chunk-XQETQP2H.cjs → dist/chunk-MEU6Q2ZZ.cjs} +152 -152
- package/dist/{chunk-Q2UNFIZN.js → chunk-NENGWJYA.js} +2 -2
- package/dist/{chunk-GPU42JLK.cjs → chunk-OKHMCCMQ.cjs} +2 -2
- package/{bin/chunk-5WDTXQYE.js → dist/chunk-P36IQ2HN.js} +2 -2
- package/{bin/chunk-FXD4YL75.cjs → dist/chunk-QB4RY2O2.cjs} +32 -32
- package/dist/{chunk-6PBDI6OA.cjs → chunk-SUCHSNMD.cjs} +388 -388
- package/dist/{chunk-N6P3NGIL.cjs → chunk-XV6IBRMZ.cjs} +44 -44
- package/{bin/chunk-Y4YNZAVE.js → dist/chunk-YJD2T3D3.js} +2 -2
- package/dist/{chunk-L2GU4VVI.js → chunk-ZKD3DEX3.js} +2 -2
- package/dist/{dist-2OO6NCYC.js → dist-LAXHN42C.js} +8 -8
- package/dist/{dist-SA37GSFD.cjs → dist-SF3G6LKO.cjs} +989 -989
- package/{bin/esm-667BEMXO.cjs → dist/esm-6CGCFXB6.cjs} +48 -51
- package/dist/{esm-OOYUY4AM.js → esm-YESBDQQ2.js} +3 -6
- package/dist/index.cjs +26921 -26829
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +372 -280
- package/dist/json5-KFL2546J.cjs +10 -0
- package/dist/json5-QOJRSU3X.js +10 -0
- package/dist/jsonc-VKQ5AIAI.cjs +15 -0
- package/{bin/jsonc-3GXFMZE7.js → dist/jsonc-YCDSJSS2.js} +3 -3
- package/dist/{multipart-parser-HBA2WX6Y.js → multipart-parser-HZ46XN43.js} +2 -2
- package/dist/{multipart-parser-VQZG3CLL.cjs → multipart-parser-JXBY73TG.cjs} +11 -11
- package/dist/{package-json-TMUUO3QU.cjs → package-json-DOZ42I7U.cjs} +248 -248
- package/dist/{package-json-2QZEJOJE.js → package-json-RFV5FQSF.js} +2 -2
- package/dist/toml-QAWFQPIQ.cjs +10 -0
- package/dist/toml-U5TVWQLZ.js +10 -0
- package/dist/yaml-6KMQU4W5.cjs +10 -0
- package/dist/yaml-XP5UAV4Y.js +10 -0
- package/package.json +1 -1
- package/bin/json5-JQ2O4J4G.js +0 -10
- package/bin/json5-WPCE27KG.cjs +0 -10
- package/bin/jsonc-ZOZPUZJB.cjs +0 -15
- package/bin/toml-I5O5TNJR.js +0 -10
- package/bin/toml-XMCGOTPR.cjs +0 -10
- package/bin/yaml-52IG2XK6.js +0 -10
- package/bin/yaml-XNJPDOFN.cjs +0 -10
- package/dist/json5-JQ2O4J4G.js +0 -10
- package/dist/json5-WPCE27KG.cjs +0 -10
- package/dist/jsonc-ZOZPUZJB.cjs +0 -15
- package/dist/toml-I5O5TNJR.js +0 -10
- package/dist/toml-XMCGOTPR.cjs +0 -10
- package/dist/yaml-52IG2XK6.js +0 -10
- package/dist/yaml-XNJPDOFN.cjs +0 -10
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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; } var _class2;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXV6IBRMZcjs = require('./chunk-XV6IBRMZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkOKHMCCMQcjs = require('./chunk-OKHMCCMQ.cjs');
|
|
10
10
|
|
|
11
11
|
// ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
|
|
12
|
-
|
|
12
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
15
|
-
|
|
15
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
16
16
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
17
17
|
function normalizeWindowsPath(input = "") {
|
|
18
18
|
if (!input) {
|
|
@@ -20,13 +20,13 @@ function normalizeWindowsPath(input = "") {
|
|
|
20
20
|
}
|
|
21
21
|
return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r2) => r2.toUpperCase());
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, normalizeWindowsPath, "normalizeWindowsPath");
|
|
24
24
|
var _UNC_REGEX = /^[/\\]{2}/;
|
|
25
25
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
26
26
|
var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
27
27
|
var _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
|
|
28
28
|
var _EXTNAME_RE = /.(\.[^./]+|\.)$/;
|
|
29
|
-
var normalize = /* @__PURE__ */
|
|
29
|
+
var normalize = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(path2) {
|
|
30
30
|
if (path2.length === 0) {
|
|
31
31
|
return ".";
|
|
32
32
|
}
|
|
@@ -55,7 +55,7 @@ var normalize = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, function(p
|
|
|
55
55
|
}
|
|
56
56
|
return isPathAbsolute && !isAbsolute(path2) ? `/${path2}` : path2;
|
|
57
57
|
}, "normalize");
|
|
58
|
-
var join = /* @__PURE__ */
|
|
58
|
+
var join = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(...segments) {
|
|
59
59
|
let path2 = "";
|
|
60
60
|
for (const seg of segments) {
|
|
61
61
|
if (!seg) {
|
|
@@ -82,8 +82,8 @@ function cwd() {
|
|
|
82
82
|
}
|
|
83
83
|
return "/";
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
var resolve = /* @__PURE__ */
|
|
85
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, cwd, "cwd");
|
|
86
|
+
var resolve = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(...arguments_) {
|
|
87
87
|
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
88
88
|
let resolvedPath = "";
|
|
89
89
|
let resolvedAbsolute = false;
|
|
@@ -161,16 +161,16 @@ function normalizeString(path2, allowAboveRoot) {
|
|
|
161
161
|
}
|
|
162
162
|
return res;
|
|
163
163
|
}
|
|
164
|
-
|
|
165
|
-
var isAbsolute = /* @__PURE__ */
|
|
164
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, normalizeString, "normalizeString");
|
|
165
|
+
var isAbsolute = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(p) {
|
|
166
166
|
return _IS_ABSOLUTE_RE.test(p);
|
|
167
167
|
}, "isAbsolute");
|
|
168
|
-
var extname = /* @__PURE__ */
|
|
168
|
+
var extname = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(p) {
|
|
169
169
|
if (p === "..") return "";
|
|
170
170
|
const match = _EXTNAME_RE.exec(normalizeWindowsPath(p));
|
|
171
171
|
return match && match[1] || "";
|
|
172
172
|
}, "extname");
|
|
173
|
-
var relative = /* @__PURE__ */
|
|
173
|
+
var relative = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(from, to) {
|
|
174
174
|
const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
175
175
|
const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
176
176
|
if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
|
|
@@ -186,14 +186,14 @@ var relative = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, function(fr
|
|
|
186
186
|
}
|
|
187
187
|
return [..._from.map(() => ".."), ..._to].join("/");
|
|
188
188
|
}, "relative");
|
|
189
|
-
var dirname = /* @__PURE__ */
|
|
189
|
+
var dirname = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(p) {
|
|
190
190
|
const segments = normalizeWindowsPath(p).replace(/\/$/, "").split("/").slice(0, -1);
|
|
191
191
|
if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) {
|
|
192
192
|
segments[0] += "/";
|
|
193
193
|
}
|
|
194
194
|
return segments.join("/") || (isAbsolute(p) ? "/" : ".");
|
|
195
195
|
}, "dirname");
|
|
196
|
-
var basename = /* @__PURE__ */
|
|
196
|
+
var basename = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function(p, extension) {
|
|
197
197
|
const segments = normalizeWindowsPath(p).split("/");
|
|
198
198
|
let lastSegment = "";
|
|
199
199
|
for (let i = segments.length - 1; i >= 0; i--) {
|
|
@@ -207,7 +207,7 @@ var basename = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, function(p,
|
|
|
207
207
|
}, "basename");
|
|
208
208
|
|
|
209
209
|
// ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
|
|
210
|
-
|
|
210
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
211
211
|
function isPlainObject(value) {
|
|
212
212
|
if (value === null || typeof value !== "object") {
|
|
213
213
|
return false;
|
|
@@ -224,7 +224,7 @@ function isPlainObject(value) {
|
|
|
224
224
|
}
|
|
225
225
|
return true;
|
|
226
226
|
}
|
|
227
|
-
|
|
227
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isPlainObject, "isPlainObject");
|
|
228
228
|
function _defu(baseObject, defaults, namespace = ".", merger) {
|
|
229
229
|
if (!isPlainObject(defaults)) {
|
|
230
230
|
return _defu(baseObject, {}, namespace, merger);
|
|
@@ -256,14 +256,14 @@ function _defu(baseObject, defaults, namespace = ".", merger) {
|
|
|
256
256
|
}
|
|
257
257
|
return object;
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, _defu, "_defu");
|
|
260
260
|
function createDefu(merger) {
|
|
261
261
|
return (...arguments_) => (
|
|
262
262
|
// eslint-disable-next-line unicorn/no-array-reduce
|
|
263
263
|
arguments_.reduce((p, c) => _defu(p, c, "", merger), {})
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
|
-
|
|
266
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, createDefu, "createDefu");
|
|
267
267
|
var defu = createDefu();
|
|
268
268
|
var defuFn = createDefu((object, key, currentValue) => {
|
|
269
269
|
if (object[key] !== void 0 && typeof currentValue === "function") {
|
|
@@ -279,7 +279,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
279
279
|
});
|
|
280
280
|
|
|
281
281
|
// ../../node_modules/.pnpm/ufo@1.5.4/node_modules/ufo/dist/index.mjs
|
|
282
|
-
|
|
282
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
283
283
|
var r = String.fromCharCode;
|
|
284
284
|
var TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
|
|
285
285
|
var JOIN_LEADING_SLASH_RE = /^\.?\//;
|
|
@@ -289,7 +289,7 @@ function hasTrailingSlash(input = "", respectQueryAndFragment) {
|
|
|
289
289
|
}
|
|
290
290
|
return TRAILING_SLASH_RE.test(input);
|
|
291
291
|
}
|
|
292
|
-
|
|
292
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, hasTrailingSlash, "hasTrailingSlash");
|
|
293
293
|
function withTrailingSlash(input = "", respectQueryAndFragment) {
|
|
294
294
|
if (!respectQueryAndFragment) {
|
|
295
295
|
return input.endsWith("/") ? input : input + "/";
|
|
@@ -310,11 +310,11 @@ function withTrailingSlash(input = "", respectQueryAndFragment) {
|
|
|
310
310
|
const [s0, ...s] = path2.split("?");
|
|
311
311
|
return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
|
|
312
312
|
}
|
|
313
|
-
|
|
313
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, withTrailingSlash, "withTrailingSlash");
|
|
314
314
|
function isNonEmptyURL(url) {
|
|
315
315
|
return url && url !== "/";
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isNonEmptyURL, "isNonEmptyURL");
|
|
318
318
|
function joinURL(base, ...input) {
|
|
319
319
|
let url = base || "";
|
|
320
320
|
for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
|
|
@@ -327,18 +327,18 @@ function joinURL(base, ...input) {
|
|
|
327
327
|
}
|
|
328
328
|
return url;
|
|
329
329
|
}
|
|
330
|
-
|
|
330
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, joinURL, "joinURL");
|
|
331
331
|
var protocolRelative = Symbol.for("ufo:protocolRelative");
|
|
332
332
|
|
|
333
333
|
// ../../node_modules/.pnpm/pkg-types@1.3.1/node_modules/pkg-types/dist/index.mjs
|
|
334
|
-
|
|
334
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
335
335
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
336
336
|
|
|
337
337
|
// ../../node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist/index.mjs
|
|
338
|
-
|
|
338
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
339
339
|
|
|
340
340
|
// ../../node_modules/.pnpm/acorn@8.14.0/node_modules/acorn/dist/acorn.mjs
|
|
341
|
-
|
|
341
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
342
342
|
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, 80, 3, 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, 343, 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, 330, 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, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
343
343
|
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, 71, 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, 2, 60, 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, 328, 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, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 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, 496, 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, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
|
|
344
344
|
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
|
|
@@ -373,7 +373,7 @@ function isInAstralSet(code, set) {
|
|
|
373
373
|
}
|
|
374
374
|
return false;
|
|
375
375
|
}
|
|
376
|
-
|
|
376
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isInAstralSet, "isInAstralSet");
|
|
377
377
|
function isIdentifierStart(code, astral) {
|
|
378
378
|
if (code < 65) {
|
|
379
379
|
return code === 36;
|
|
@@ -395,7 +395,7 @@ function isIdentifierStart(code, astral) {
|
|
|
395
395
|
}
|
|
396
396
|
return isInAstralSet(code, astralIdentifierStartCodes);
|
|
397
397
|
}
|
|
398
|
-
|
|
398
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isIdentifierStart, "isIdentifierStart");
|
|
399
399
|
function isIdentifierChar(code, astral) {
|
|
400
400
|
if (code < 48) {
|
|
401
401
|
return code === 36;
|
|
@@ -423,8 +423,8 @@ function isIdentifierChar(code, astral) {
|
|
|
423
423
|
}
|
|
424
424
|
return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
|
|
425
425
|
}
|
|
426
|
-
|
|
427
|
-
var TokenType = /* @__PURE__ */
|
|
426
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isIdentifierChar, "isIdentifierChar");
|
|
427
|
+
var TokenType = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function TokenType2(label, conf) {
|
|
428
428
|
if (conf === void 0) conf = {};
|
|
429
429
|
this.label = label;
|
|
430
430
|
this.keyword = conf.keyword;
|
|
@@ -440,7 +440,7 @@ var TokenType = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, function T
|
|
|
440
440
|
function binop(name, prec) {
|
|
441
441
|
return new TokenType(name, { beforeExpr: true, binop: prec });
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, binop, "binop");
|
|
444
444
|
var beforeExpr = { beforeExpr: true };
|
|
445
445
|
var startsExpr = { startsExpr: true };
|
|
446
446
|
var keywords = {};
|
|
@@ -449,7 +449,7 @@ function kw(name, options) {
|
|
|
449
449
|
options.keyword = name;
|
|
450
450
|
return keywords[name] = new TokenType(name, options);
|
|
451
451
|
}
|
|
452
|
-
|
|
452
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, kw, "kw");
|
|
453
453
|
var types$1 = {
|
|
454
454
|
num: new TokenType("num", startsExpr),
|
|
455
455
|
regexp: new TokenType("regexp", startsExpr),
|
|
@@ -549,7 +549,7 @@ var lineBreakG = new RegExp(lineBreak.source, "g");
|
|
|
549
549
|
function isNewLine(code) {
|
|
550
550
|
return code === 10 || code === 13 || code === 8232 || code === 8233;
|
|
551
551
|
}
|
|
552
|
-
|
|
552
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isNewLine, "isNewLine");
|
|
553
553
|
function nextLineBreak(code, from, end) {
|
|
554
554
|
if (end === void 0) end = code.length;
|
|
555
555
|
for (var i = from; i < end; i++) {
|
|
@@ -560,7 +560,7 @@ function nextLineBreak(code, from, end) {
|
|
|
560
560
|
}
|
|
561
561
|
return -1;
|
|
562
562
|
}
|
|
563
|
-
|
|
563
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, nextLineBreak, "nextLineBreak");
|
|
564
564
|
var nonASCIIwhitespace = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
565
565
|
var skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
|
|
566
566
|
var ref = Object.prototype;
|
|
@@ -576,7 +576,7 @@ var regexpCache = /* @__PURE__ */ Object.create(null);
|
|
|
576
576
|
function wordsRegexp(words) {
|
|
577
577
|
return regexpCache[words] || (regexpCache[words] = new RegExp("^(?:" + words.replace(/ /g, "|") + ")$"));
|
|
578
578
|
}
|
|
579
|
-
|
|
579
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, wordsRegexp, "wordsRegexp");
|
|
580
580
|
function codePointToString(code) {
|
|
581
581
|
if (code <= 65535) {
|
|
582
582
|
return String.fromCharCode(code);
|
|
@@ -584,16 +584,16 @@ function codePointToString(code) {
|
|
|
584
584
|
code -= 65536;
|
|
585
585
|
return String.fromCharCode((code >> 10) + 55296, (code & 1023) + 56320);
|
|
586
586
|
}
|
|
587
|
-
|
|
587
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, codePointToString, "codePointToString");
|
|
588
588
|
var loneSurrogate = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
|
|
589
|
-
var Position = /* @__PURE__ */
|
|
589
|
+
var Position = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function Position2(line, col) {
|
|
590
590
|
this.line = line;
|
|
591
591
|
this.column = col;
|
|
592
592
|
}, "Position");
|
|
593
|
-
Position.prototype.offset = /* @__PURE__ */
|
|
593
|
+
Position.prototype.offset = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function offset(n) {
|
|
594
594
|
return new Position(this.line, this.column + n);
|
|
595
595
|
}, "offset");
|
|
596
|
-
var SourceLocation = /* @__PURE__ */
|
|
596
|
+
var SourceLocation = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function SourceLocation2(p, start, end) {
|
|
597
597
|
this.start = start;
|
|
598
598
|
this.end = end;
|
|
599
599
|
if (p.sourceFile !== null) {
|
|
@@ -610,7 +610,7 @@ function getLineInfo(input, offset2) {
|
|
|
610
610
|
cur = nextBreak;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
|
|
613
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getLineInfo, "getLineInfo");
|
|
614
614
|
var defaultOptions = {
|
|
615
615
|
// `ecmaVersion` indicates the ECMAScript version to parse. Must be
|
|
616
616
|
// either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10
|
|
@@ -742,7 +742,7 @@ function getOptions(opts) {
|
|
|
742
742
|
}
|
|
743
743
|
return options;
|
|
744
744
|
}
|
|
745
|
-
|
|
745
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getOptions, "getOptions");
|
|
746
746
|
function pushComment(options, array) {
|
|
747
747
|
return function(block, text, start, end, startLoc, endLoc) {
|
|
748
748
|
var comment = {
|
|
@@ -760,7 +760,7 @@ function pushComment(options, array) {
|
|
|
760
760
|
array.push(comment);
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
|
-
|
|
763
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, pushComment, "pushComment");
|
|
764
764
|
var SCOPE_TOP = 1;
|
|
765
765
|
var SCOPE_FUNCTION = 2;
|
|
766
766
|
var SCOPE_ASYNC = 4;
|
|
@@ -774,14 +774,14 @@ var SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
|
|
|
774
774
|
function functionFlags(async, generator) {
|
|
775
775
|
return SCOPE_FUNCTION | (async ? SCOPE_ASYNC : 0) | (generator ? SCOPE_GENERATOR : 0);
|
|
776
776
|
}
|
|
777
|
-
|
|
777
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, functionFlags, "functionFlags");
|
|
778
778
|
var BIND_NONE = 0;
|
|
779
779
|
var BIND_VAR = 1;
|
|
780
780
|
var BIND_LEXICAL = 2;
|
|
781
781
|
var BIND_FUNCTION = 3;
|
|
782
782
|
var BIND_SIMPLE_CATCH = 4;
|
|
783
783
|
var BIND_OUTSIDE = 5;
|
|
784
|
-
var Parser = /* @__PURE__ */
|
|
784
|
+
var Parser = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function Parser2(options, input, startPos) {
|
|
785
785
|
this.options = options = getOptions(options);
|
|
786
786
|
this.sourceFile = options.sourceFile;
|
|
787
787
|
this.keywords = wordsRegexp(keywords$1[options.ecmaVersion >= 6 ? 6 : options.sourceType === "module" ? "5module" : 5]);
|
|
@@ -830,7 +830,7 @@ var Parser = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, function Pars
|
|
|
830
830
|
this.privateNameStack = [];
|
|
831
831
|
}, "Parser");
|
|
832
832
|
var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
|
|
833
|
-
Parser.prototype.parse = /* @__PURE__ */
|
|
833
|
+
Parser.prototype.parse = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function parse2() {
|
|
834
834
|
var node = this.options.program || this.startNode();
|
|
835
835
|
this.nextToken();
|
|
836
836
|
return this.parseTopLevel(node);
|
|
@@ -877,7 +877,7 @@ prototypeAccessors.allowNewDotTarget.get = function() {
|
|
|
877
877
|
prototypeAccessors.inClassStaticBlock.get = function() {
|
|
878
878
|
return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0;
|
|
879
879
|
};
|
|
880
|
-
Parser.extend = /* @__PURE__ */
|
|
880
|
+
Parser.extend = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function extend() {
|
|
881
881
|
var plugins = [], len = arguments.length;
|
|
882
882
|
while (len--) plugins[len] = arguments[len];
|
|
883
883
|
var cls = this;
|
|
@@ -886,15 +886,15 @@ Parser.extend = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, function e
|
|
|
886
886
|
}
|
|
887
887
|
return cls;
|
|
888
888
|
}, "extend");
|
|
889
|
-
Parser.parse = /* @__PURE__ */
|
|
889
|
+
Parser.parse = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function parse3(input, options) {
|
|
890
890
|
return new this(options, input).parse();
|
|
891
891
|
}, "parse");
|
|
892
|
-
Parser.parseExpressionAt = /* @__PURE__ */
|
|
892
|
+
Parser.parseExpressionAt = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function parseExpressionAt(input, pos, options) {
|
|
893
893
|
var parser = new this(options, input, pos);
|
|
894
894
|
parser.nextToken();
|
|
895
895
|
return parser.parseExpression();
|
|
896
896
|
}, "parseExpressionAt");
|
|
897
|
-
Parser.tokenizer = /* @__PURE__ */
|
|
897
|
+
Parser.tokenizer = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function tokenizer(input, options) {
|
|
898
898
|
return new this(options, input);
|
|
899
899
|
}, "tokenizer");
|
|
900
900
|
Object.defineProperties(Parser.prototype, prototypeAccessors);
|
|
@@ -981,7 +981,7 @@ pp$9.expect = function(type) {
|
|
|
981
981
|
pp$9.unexpected = function(pos) {
|
|
982
982
|
this.raise(pos != null ? pos : this.start, "Unexpected token");
|
|
983
983
|
};
|
|
984
|
-
var DestructuringErrors = /* @__PURE__ */
|
|
984
|
+
var DestructuringErrors = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function DestructuringErrors2() {
|
|
985
985
|
this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
|
|
986
986
|
}, "DestructuringErrors");
|
|
987
987
|
pp$9.checkPatternErrors = function(refDestructuringErrors, isAssign) {
|
|
@@ -1798,13 +1798,13 @@ function isPrivateNameConflicted(privateNameMap, element) {
|
|
|
1798
1798
|
return true;
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
|
-
|
|
1801
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isPrivateNameConflicted, "isPrivateNameConflicted");
|
|
1802
1802
|
function checkKeyName(node, name) {
|
|
1803
1803
|
var computed = node.computed;
|
|
1804
1804
|
var key = node.key;
|
|
1805
1805
|
return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
|
|
1806
1806
|
}
|
|
1807
|
-
|
|
1807
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, checkKeyName, "checkKeyName");
|
|
1808
1808
|
pp$8.parseExportAllDeclaration = function(node, exports) {
|
|
1809
1809
|
if (this.options.ecmaVersion >= 11) {
|
|
1810
1810
|
if (this.eatContextual("as")) {
|
|
@@ -2330,7 +2330,7 @@ pp$7.checkLValInnerPattern = function(expr, bindingType, checkClashes) {
|
|
|
2330
2330
|
this.checkLValPattern(expr, bindingType, checkClashes);
|
|
2331
2331
|
}
|
|
2332
2332
|
};
|
|
2333
|
-
var TokContext = /* @__PURE__ */
|
|
2333
|
+
var TokContext = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function TokContext2(token, isExpr, preserveSpace, override, generator) {
|
|
2334
2334
|
this.token = token;
|
|
2335
2335
|
this.isExpr = !!isExpr;
|
|
2336
2336
|
this.preserveSpace = !!preserveSpace;
|
|
@@ -2720,11 +2720,11 @@ pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forIni
|
|
|
2720
2720
|
function isLocalVariableAccess(node) {
|
|
2721
2721
|
return node.type === "Identifier" || node.type === "ParenthesizedExpression" && isLocalVariableAccess(node.expression);
|
|
2722
2722
|
}
|
|
2723
|
-
|
|
2723
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isLocalVariableAccess, "isLocalVariableAccess");
|
|
2724
2724
|
function isPrivateFieldAccess(node) {
|
|
2725
2725
|
return node.type === "MemberExpression" && node.property.type === "PrivateIdentifier" || node.type === "ChainExpression" && isPrivateFieldAccess(node.expression) || node.type === "ParenthesizedExpression" && isPrivateFieldAccess(node.expression);
|
|
2726
2726
|
}
|
|
2727
|
-
|
|
2727
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isPrivateFieldAccess, "isPrivateFieldAccess");
|
|
2728
2728
|
pp$5.parseExprSubscripts = function(refDestructuringErrors, forInit) {
|
|
2729
2729
|
var startPos = this.start, startLoc = this.startLoc;
|
|
2730
2730
|
var expr = this.parseExprAtom(refDestructuringErrors, forInit);
|
|
@@ -3536,7 +3536,7 @@ pp$4.curPosition = function() {
|
|
|
3536
3536
|
}
|
|
3537
3537
|
};
|
|
3538
3538
|
var pp$3 = Parser.prototype;
|
|
3539
|
-
var Scope = /* @__PURE__ */
|
|
3539
|
+
var Scope = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function Scope2(flags) {
|
|
3540
3540
|
this.flags = flags;
|
|
3541
3541
|
this.var = [];
|
|
3542
3542
|
this.lexical = [];
|
|
@@ -3616,7 +3616,7 @@ pp$3.currentThisScope = function() {
|
|
|
3616
3616
|
}
|
|
3617
3617
|
}
|
|
3618
3618
|
};
|
|
3619
|
-
var Node = /* @__PURE__ */
|
|
3619
|
+
var Node = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function Node2(parser, pos, loc) {
|
|
3620
3620
|
this.type = "";
|
|
3621
3621
|
this.start = pos;
|
|
3622
3622
|
this.end = 0;
|
|
@@ -3648,7 +3648,7 @@ function finishNodeAt(node, type, pos, loc) {
|
|
|
3648
3648
|
}
|
|
3649
3649
|
return node;
|
|
3650
3650
|
}
|
|
3651
|
-
|
|
3651
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, finishNodeAt, "finishNodeAt");
|
|
3652
3652
|
pp$2.finishNode = function(node, type) {
|
|
3653
3653
|
return finishNodeAt.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc);
|
|
3654
3654
|
};
|
|
@@ -3716,7 +3716,7 @@ function buildUnicodeData(ecmaVersion) {
|
|
|
3716
3716
|
d2.nonBinary.sc = d2.nonBinary.Script;
|
|
3717
3717
|
d2.nonBinary.scx = d2.nonBinary.Script_Extensions;
|
|
3718
3718
|
}
|
|
3719
|
-
|
|
3719
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, buildUnicodeData, "buildUnicodeData");
|
|
3720
3720
|
for (i = 0, list = [9, 10, 11, 12, 13, 14]; i < list.length; i += 1) {
|
|
3721
3721
|
ecmaVersion = list[i];
|
|
3722
3722
|
buildUnicodeData(ecmaVersion);
|
|
@@ -3725,11 +3725,11 @@ var ecmaVersion;
|
|
|
3725
3725
|
var i;
|
|
3726
3726
|
var list;
|
|
3727
3727
|
var pp$1 = Parser.prototype;
|
|
3728
|
-
var BranchID = /* @__PURE__ */
|
|
3728
|
+
var BranchID = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function BranchID2(parent, base) {
|
|
3729
3729
|
this.parent = parent;
|
|
3730
3730
|
this.base = base || this;
|
|
3731
3731
|
}, "BranchID");
|
|
3732
|
-
BranchID.prototype.separatedFrom = /* @__PURE__ */
|
|
3732
|
+
BranchID.prototype.separatedFrom = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function separatedFrom(alt) {
|
|
3733
3733
|
for (var self = this; self; self = self.parent) {
|
|
3734
3734
|
for (var other = alt; other; other = other.parent) {
|
|
3735
3735
|
if (self.base === other.base && self !== other) {
|
|
@@ -3739,10 +3739,10 @@ BranchID.prototype.separatedFrom = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call
|
|
|
3739
3739
|
}
|
|
3740
3740
|
return false;
|
|
3741
3741
|
}, "separatedFrom");
|
|
3742
|
-
BranchID.prototype.sibling = /* @__PURE__ */
|
|
3742
|
+
BranchID.prototype.sibling = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function sibling() {
|
|
3743
3743
|
return new BranchID(this.parent, this.base);
|
|
3744
3744
|
}, "sibling");
|
|
3745
|
-
var RegExpValidationState = /* @__PURE__ */
|
|
3745
|
+
var RegExpValidationState = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function RegExpValidationState2(parser) {
|
|
3746
3746
|
this.parser = parser;
|
|
3747
3747
|
this.validFlags = "gim" + (parser.options.ecmaVersion >= 6 ? "uy" : "") + (parser.options.ecmaVersion >= 9 ? "s" : "") + (parser.options.ecmaVersion >= 13 ? "d" : "") + (parser.options.ecmaVersion >= 15 ? "v" : "");
|
|
3748
3748
|
this.unicodeProperties = data[parser.options.ecmaVersion >= 14 ? 14 : parser.options.ecmaVersion];
|
|
@@ -3762,7 +3762,7 @@ var RegExpValidationState = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0
|
|
|
3762
3762
|
this.backReferenceNames = [];
|
|
3763
3763
|
this.branchID = null;
|
|
3764
3764
|
}, "RegExpValidationState");
|
|
3765
|
-
RegExpValidationState.prototype.reset = /* @__PURE__ */
|
|
3765
|
+
RegExpValidationState.prototype.reset = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function reset(start, pattern, flags) {
|
|
3766
3766
|
var unicodeSets = flags.indexOf("v") !== -1;
|
|
3767
3767
|
var unicode = flags.indexOf("u") !== -1;
|
|
3768
3768
|
this.start = start | 0;
|
|
@@ -3778,10 +3778,10 @@ RegExpValidationState.prototype.reset = /* @__PURE__ */ _chunkGPU42JLKcjs.__name
|
|
|
3778
3778
|
this.switchN = unicode && this.parser.options.ecmaVersion >= 9;
|
|
3779
3779
|
}
|
|
3780
3780
|
}, "reset");
|
|
3781
|
-
RegExpValidationState.prototype.raise = /* @__PURE__ */
|
|
3781
|
+
RegExpValidationState.prototype.raise = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function raise(message) {
|
|
3782
3782
|
this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + message);
|
|
3783
3783
|
}, "raise");
|
|
3784
|
-
RegExpValidationState.prototype.at = /* @__PURE__ */
|
|
3784
|
+
RegExpValidationState.prototype.at = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function at(i, forceU) {
|
|
3785
3785
|
if (forceU === void 0) forceU = false;
|
|
3786
3786
|
var s = this.source;
|
|
3787
3787
|
var l2 = s.length;
|
|
@@ -3795,7 +3795,7 @@ RegExpValidationState.prototype.at = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.ca
|
|
|
3795
3795
|
var next = s.charCodeAt(i + 1);
|
|
3796
3796
|
return next >= 56320 && next <= 57343 ? (c << 10) + next - 56613888 : c;
|
|
3797
3797
|
}, "at");
|
|
3798
|
-
RegExpValidationState.prototype.nextIndex = /* @__PURE__ */
|
|
3798
|
+
RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function nextIndex(i, forceU) {
|
|
3799
3799
|
if (forceU === void 0) forceU = false;
|
|
3800
3800
|
var s = this.source;
|
|
3801
3801
|
var l2 = s.length;
|
|
@@ -3808,19 +3808,19 @@ RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ _chunkGPU42JLKcjs.__
|
|
|
3808
3808
|
}
|
|
3809
3809
|
return i + 2;
|
|
3810
3810
|
}, "nextIndex");
|
|
3811
|
-
RegExpValidationState.prototype.current = /* @__PURE__ */
|
|
3811
|
+
RegExpValidationState.prototype.current = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function current(forceU) {
|
|
3812
3812
|
if (forceU === void 0) forceU = false;
|
|
3813
3813
|
return this.at(this.pos, forceU);
|
|
3814
3814
|
}, "current");
|
|
3815
|
-
RegExpValidationState.prototype.lookahead = /* @__PURE__ */
|
|
3815
|
+
RegExpValidationState.prototype.lookahead = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function lookahead(forceU) {
|
|
3816
3816
|
if (forceU === void 0) forceU = false;
|
|
3817
3817
|
return this.at(this.nextIndex(this.pos, forceU), forceU);
|
|
3818
3818
|
}, "lookahead");
|
|
3819
|
-
RegExpValidationState.prototype.advance = /* @__PURE__ */
|
|
3819
|
+
RegExpValidationState.prototype.advance = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function advance(forceU) {
|
|
3820
3820
|
if (forceU === void 0) forceU = false;
|
|
3821
3821
|
this.pos = this.nextIndex(this.pos, forceU);
|
|
3822
3822
|
}, "advance");
|
|
3823
|
-
RegExpValidationState.prototype.eat = /* @__PURE__ */
|
|
3823
|
+
RegExpValidationState.prototype.eat = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function eat(ch, forceU) {
|
|
3824
3824
|
if (forceU === void 0) forceU = false;
|
|
3825
3825
|
if (this.current(forceU) === ch) {
|
|
3826
3826
|
this.advance(forceU);
|
|
@@ -3828,7 +3828,7 @@ RegExpValidationState.prototype.eat = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.c
|
|
|
3828
3828
|
}
|
|
3829
3829
|
return false;
|
|
3830
3830
|
}, "eat");
|
|
3831
|
-
RegExpValidationState.prototype.eatChars = /* @__PURE__ */
|
|
3831
|
+
RegExpValidationState.prototype.eatChars = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function eatChars(chs, forceU) {
|
|
3832
3832
|
if (forceU === void 0) forceU = false;
|
|
3833
3833
|
var pos = this.pos;
|
|
3834
3834
|
for (var i = 0, list = chs; i < list.length; i += 1) {
|
|
@@ -3872,7 +3872,7 @@ function hasProp(obj) {
|
|
|
3872
3872
|
}
|
|
3873
3873
|
return false;
|
|
3874
3874
|
}
|
|
3875
|
-
|
|
3875
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, hasProp, "hasProp");
|
|
3876
3876
|
pp$1.validateRegExpPattern = function(state) {
|
|
3877
3877
|
this.regexp_pattern(state);
|
|
3878
3878
|
if (!state.switchN && this.options.ecmaVersion >= 9 && hasProp(state.groupNames)) {
|
|
@@ -4190,7 +4190,7 @@ pp$1.regexp_eatModifiers = function(state) {
|
|
|
4190
4190
|
function isRegularExpressionModifier(ch) {
|
|
4191
4191
|
return ch === 105 || ch === 109 || ch === 115;
|
|
4192
4192
|
}
|
|
4193
|
-
|
|
4193
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isRegularExpressionModifier, "isRegularExpressionModifier");
|
|
4194
4194
|
pp$1.regexp_eatExtendedAtom = function(state) {
|
|
4195
4195
|
return state.eat(
|
|
4196
4196
|
46
|
|
@@ -4215,7 +4215,7 @@ pp$1.regexp_eatSyntaxCharacter = function(state) {
|
|
|
4215
4215
|
function isSyntaxCharacter(ch) {
|
|
4216
4216
|
return ch === 36 || ch >= 40 && ch <= 43 || ch === 46 || ch === 63 || ch >= 91 && ch <= 94 || ch >= 123 && ch <= 125;
|
|
4217
4217
|
}
|
|
4218
|
-
|
|
4218
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isSyntaxCharacter, "isSyntaxCharacter");
|
|
4219
4219
|
pp$1.regexp_eatPatternCharacters = function(state) {
|
|
4220
4220
|
var start = state.pos;
|
|
4221
4221
|
var ch = 0;
|
|
@@ -4306,7 +4306,7 @@ pp$1.regexp_eatRegExpIdentifierStart = function(state) {
|
|
|
4306
4306
|
function isRegExpIdentifierStart(ch) {
|
|
4307
4307
|
return isIdentifierStart(ch, true) || ch === 36 || ch === 95;
|
|
4308
4308
|
}
|
|
4309
|
-
|
|
4309
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isRegExpIdentifierStart, "isRegExpIdentifierStart");
|
|
4310
4310
|
pp$1.regexp_eatRegExpIdentifierPart = function(state) {
|
|
4311
4311
|
var start = state.pos;
|
|
4312
4312
|
var forceU = this.options.ecmaVersion >= 11;
|
|
@@ -4325,7 +4325,7 @@ pp$1.regexp_eatRegExpIdentifierPart = function(state) {
|
|
|
4325
4325
|
function isRegExpIdentifierPart(ch) {
|
|
4326
4326
|
return isIdentifierChar(ch, true) || ch === 36 || ch === 95 || ch === 8204 || ch === 8205;
|
|
4327
4327
|
}
|
|
4328
|
-
|
|
4328
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isRegExpIdentifierPart, "isRegExpIdentifierPart");
|
|
4329
4329
|
pp$1.regexp_eatAtomEscape = function(state) {
|
|
4330
4330
|
if (this.regexp_eatBackReference(state) || this.regexp_eatCharacterClassEscape(state) || this.regexp_eatCharacterEscape(state) || state.switchN && this.regexp_eatKGroupName(state)) {
|
|
4331
4331
|
return true;
|
|
@@ -4433,7 +4433,7 @@ pp$1.regexp_eatControlLetter = function(state) {
|
|
|
4433
4433
|
function isControlLetter(ch) {
|
|
4434
4434
|
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122;
|
|
4435
4435
|
}
|
|
4436
|
-
|
|
4436
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isControlLetter, "isControlLetter");
|
|
4437
4437
|
pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {
|
|
4438
4438
|
if (forceU === void 0) forceU = false;
|
|
4439
4439
|
var start = state.pos;
|
|
@@ -4483,7 +4483,7 @@ pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {
|
|
|
4483
4483
|
function isValidUnicode(ch) {
|
|
4484
4484
|
return ch >= 0 && ch <= 1114111;
|
|
4485
4485
|
}
|
|
4486
|
-
|
|
4486
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isValidUnicode, "isValidUnicode");
|
|
4487
4487
|
pp$1.regexp_eatIdentityEscape = function(state) {
|
|
4488
4488
|
if (state.switchU) {
|
|
4489
4489
|
if (this.regexp_eatSyntaxCharacter(state)) {
|
|
@@ -4552,7 +4552,7 @@ pp$1.regexp_eatCharacterClassEscape = function(state) {
|
|
|
4552
4552
|
function isCharacterClassEscape(ch) {
|
|
4553
4553
|
return ch === 100 || ch === 68 || ch === 115 || ch === 83 || ch === 119 || ch === 87;
|
|
4554
4554
|
}
|
|
4555
|
-
|
|
4555
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isCharacterClassEscape, "isCharacterClassEscape");
|
|
4556
4556
|
pp$1.regexp_eatUnicodePropertyValueExpression = function(state) {
|
|
4557
4557
|
var start = state.pos;
|
|
4558
4558
|
if (this.regexp_eatUnicodePropertyName(state) && state.eat(
|
|
@@ -4602,7 +4602,7 @@ pp$1.regexp_eatUnicodePropertyName = function(state) {
|
|
|
4602
4602
|
function isUnicodePropertyNameCharacter(ch) {
|
|
4603
4603
|
return isControlLetter(ch) || ch === 95;
|
|
4604
4604
|
}
|
|
4605
|
-
|
|
4605
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isUnicodePropertyNameCharacter, "isUnicodePropertyNameCharacter");
|
|
4606
4606
|
pp$1.regexp_eatUnicodePropertyValue = function(state) {
|
|
4607
4607
|
var ch = 0;
|
|
4608
4608
|
state.lastStringValue = "";
|
|
@@ -4615,7 +4615,7 @@ pp$1.regexp_eatUnicodePropertyValue = function(state) {
|
|
|
4615
4615
|
function isUnicodePropertyValueCharacter(ch) {
|
|
4616
4616
|
return isUnicodePropertyNameCharacter(ch) || isDecimalDigit(ch);
|
|
4617
4617
|
}
|
|
4618
|
-
|
|
4618
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isUnicodePropertyValueCharacter, "isUnicodePropertyValueCharacter");
|
|
4619
4619
|
pp$1.regexp_eatLoneUnicodePropertyNameOrValue = function(state) {
|
|
4620
4620
|
return this.regexp_eatUnicodePropertyValue(state);
|
|
4621
4621
|
};
|
|
@@ -4907,11 +4907,11 @@ pp$1.regexp_eatClassSetCharacter = function(state) {
|
|
|
4907
4907
|
function isClassSetReservedDoublePunctuatorCharacter(ch) {
|
|
4908
4908
|
return ch === 33 || ch >= 35 && ch <= 38 || ch >= 42 && ch <= 44 || ch === 46 || ch >= 58 && ch <= 64 || ch === 94 || ch === 96 || ch === 126;
|
|
4909
4909
|
}
|
|
4910
|
-
|
|
4910
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isClassSetReservedDoublePunctuatorCharacter, "isClassSetReservedDoublePunctuatorCharacter");
|
|
4911
4911
|
function isClassSetSyntaxCharacter(ch) {
|
|
4912
4912
|
return ch === 40 || ch === 41 || ch === 45 || ch === 47 || ch >= 91 && ch <= 93 || ch >= 123 && ch <= 125;
|
|
4913
4913
|
}
|
|
4914
|
-
|
|
4914
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isClassSetSyntaxCharacter, "isClassSetSyntaxCharacter");
|
|
4915
4915
|
pp$1.regexp_eatClassSetReservedPunctuator = function(state) {
|
|
4916
4916
|
var ch = state.current();
|
|
4917
4917
|
if (isClassSetReservedPunctuator(ch)) {
|
|
@@ -4924,7 +4924,7 @@ pp$1.regexp_eatClassSetReservedPunctuator = function(state) {
|
|
|
4924
4924
|
function isClassSetReservedPunctuator(ch) {
|
|
4925
4925
|
return ch === 33 || ch === 35 || ch === 37 || ch === 38 || ch === 44 || ch === 45 || ch >= 58 && ch <= 62 || ch === 64 || ch === 96 || ch === 126;
|
|
4926
4926
|
}
|
|
4927
|
-
|
|
4927
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isClassSetReservedPunctuator, "isClassSetReservedPunctuator");
|
|
4928
4928
|
pp$1.regexp_eatClassControlLetter = function(state) {
|
|
4929
4929
|
var ch = state.current();
|
|
4930
4930
|
if (isDecimalDigit(ch) || ch === 95) {
|
|
@@ -4963,7 +4963,7 @@ pp$1.regexp_eatDecimalDigits = function(state) {
|
|
|
4963
4963
|
function isDecimalDigit(ch) {
|
|
4964
4964
|
return ch >= 48 && ch <= 57;
|
|
4965
4965
|
}
|
|
4966
|
-
|
|
4966
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isDecimalDigit, "isDecimalDigit");
|
|
4967
4967
|
pp$1.regexp_eatHexDigits = function(state) {
|
|
4968
4968
|
var start = state.pos;
|
|
4969
4969
|
var ch = 0;
|
|
@@ -4977,7 +4977,7 @@ pp$1.regexp_eatHexDigits = function(state) {
|
|
|
4977
4977
|
function isHexDigit(ch) {
|
|
4978
4978
|
return ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102;
|
|
4979
4979
|
}
|
|
4980
|
-
|
|
4980
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isHexDigit, "isHexDigit");
|
|
4981
4981
|
function hexToInt(ch) {
|
|
4982
4982
|
if (ch >= 65 && ch <= 70) {
|
|
4983
4983
|
return 10 + (ch - 65);
|
|
@@ -4987,7 +4987,7 @@ function hexToInt(ch) {
|
|
|
4987
4987
|
}
|
|
4988
4988
|
return ch - 48;
|
|
4989
4989
|
}
|
|
4990
|
-
|
|
4990
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, hexToInt, "hexToInt");
|
|
4991
4991
|
pp$1.regexp_eatLegacyOctalEscapeSequence = function(state) {
|
|
4992
4992
|
if (this.regexp_eatOctalDigit(state)) {
|
|
4993
4993
|
var n1 = state.lastIntValue;
|
|
@@ -5018,7 +5018,7 @@ pp$1.regexp_eatOctalDigit = function(state) {
|
|
|
5018
5018
|
function isOctalDigit(ch) {
|
|
5019
5019
|
return ch >= 48 && ch <= 55;
|
|
5020
5020
|
}
|
|
5021
|
-
|
|
5021
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isOctalDigit, "isOctalDigit");
|
|
5022
5022
|
pp$1.regexp_eatFixedHexDigits = function(state, length) {
|
|
5023
5023
|
var start = state.pos;
|
|
5024
5024
|
state.lastIntValue = 0;
|
|
@@ -5033,7 +5033,7 @@ pp$1.regexp_eatFixedHexDigits = function(state, length) {
|
|
|
5033
5033
|
}
|
|
5034
5034
|
return true;
|
|
5035
5035
|
};
|
|
5036
|
-
var Token = /* @__PURE__ */
|
|
5036
|
+
var Token = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function Token2(p) {
|
|
5037
5037
|
this.type = p.type;
|
|
5038
5038
|
this.value = p.value;
|
|
5039
5039
|
this.start = p.start;
|
|
@@ -5067,7 +5067,7 @@ if (typeof Symbol !== "undefined") {
|
|
|
5067
5067
|
pp[Symbol.iterator] = function() {
|
|
5068
5068
|
var this$1$1 = this;
|
|
5069
5069
|
return {
|
|
5070
|
-
next: /* @__PURE__ */
|
|
5070
|
+
next: /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, function() {
|
|
5071
5071
|
var token = this$1$1.getToken();
|
|
5072
5072
|
return {
|
|
5073
5073
|
done: token.type === types$1.eof,
|
|
@@ -5541,14 +5541,14 @@ function stringToNumber(str, isLegacyOctalNumericLiteral) {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
return parseFloat(str.replace(/_/g, ""));
|
|
5543
5543
|
}
|
|
5544
|
-
|
|
5544
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, stringToNumber, "stringToNumber");
|
|
5545
5545
|
function stringToBigInt(str) {
|
|
5546
5546
|
if (typeof BigInt !== "function") {
|
|
5547
5547
|
return null;
|
|
5548
5548
|
}
|
|
5549
5549
|
return BigInt(str.replace(/_/g, ""));
|
|
5550
5550
|
}
|
|
5551
|
-
|
|
5551
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, stringToBigInt, "stringToBigInt");
|
|
5552
5552
|
pp.readRadixNumber = function(radix) {
|
|
5553
5553
|
var start = this.pos;
|
|
5554
5554
|
this.pos += 2;
|
|
@@ -5916,7 +5916,7 @@ var BUILTIN_MODULES = new Set(_module.builtinModules);
|
|
|
5916
5916
|
function normalizeSlash(path2) {
|
|
5917
5917
|
return path2.replace(/\\/g, "/");
|
|
5918
5918
|
}
|
|
5919
|
-
|
|
5919
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, normalizeSlash, "normalizeSlash");
|
|
5920
5920
|
var own$1 = {}.hasOwnProperty;
|
|
5921
5921
|
var classRegExp = /^([A-Z][a-z\d]*)+$/;
|
|
5922
5922
|
var kTypes = /* @__PURE__ */ new Set([
|
|
@@ -5935,7 +5935,7 @@ var codes = {};
|
|
|
5935
5935
|
function formatList(array, type = "and") {
|
|
5936
5936
|
return array.length < 3 ? array.join(` ${type} `) : `${array.slice(0, -1).join(", ")}, ${type} ${array[array.length - 1]}`;
|
|
5937
5937
|
}
|
|
5938
|
-
|
|
5938
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, formatList, "formatList");
|
|
5939
5939
|
var messages = /* @__PURE__ */ new Map();
|
|
5940
5940
|
var nodeInternalPrefix = "__node_internal_";
|
|
5941
5941
|
var userStackTraceLimit;
|
|
@@ -6142,7 +6142,7 @@ function createError(sym, value, constructor) {
|
|
|
6142
6142
|
messages.set(sym, value);
|
|
6143
6143
|
return makeNodeErrorWithCode(constructor, sym);
|
|
6144
6144
|
}
|
|
6145
|
-
|
|
6145
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, createError, "createError");
|
|
6146
6146
|
function makeNodeErrorWithCode(Base, key) {
|
|
6147
6147
|
return NodeError;
|
|
6148
6148
|
function NodeError(...parameters) {
|
|
@@ -6174,9 +6174,9 @@ function makeNodeErrorWithCode(Base, key) {
|
|
|
6174
6174
|
error.code = key;
|
|
6175
6175
|
return error;
|
|
6176
6176
|
}
|
|
6177
|
-
|
|
6177
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, NodeError, "NodeError");
|
|
6178
6178
|
}
|
|
6179
|
-
|
|
6179
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, makeNodeErrorWithCode, "makeNodeErrorWithCode");
|
|
6180
6180
|
function isErrorStackTraceLimitWritable() {
|
|
6181
6181
|
try {
|
|
6182
6182
|
if (_v82.default.startupSnapshot.isBuildingSnapshot()) {
|
|
@@ -6190,13 +6190,13 @@ function isErrorStackTraceLimitWritable() {
|
|
|
6190
6190
|
}
|
|
6191
6191
|
return own$1.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0;
|
|
6192
6192
|
}
|
|
6193
|
-
|
|
6193
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isErrorStackTraceLimitWritable, "isErrorStackTraceLimitWritable");
|
|
6194
6194
|
function hideStackFrames(wrappedFunction) {
|
|
6195
6195
|
const hidden = nodeInternalPrefix + wrappedFunction.name;
|
|
6196
6196
|
Object.defineProperty(wrappedFunction, "name", { value: hidden });
|
|
6197
6197
|
return wrappedFunction;
|
|
6198
6198
|
}
|
|
6199
|
-
|
|
6199
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, hideStackFrames, "hideStackFrames");
|
|
6200
6200
|
var captureLargerStackTrace = hideStackFrames(
|
|
6201
6201
|
/**
|
|
6202
6202
|
* @param {Error} error
|
|
@@ -6236,7 +6236,7 @@ function getMessage(key, parameters, self) {
|
|
|
6236
6236
|
parameters.unshift(message);
|
|
6237
6237
|
return Reflect.apply(_util.format, null, parameters);
|
|
6238
6238
|
}
|
|
6239
|
-
|
|
6239
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getMessage, "getMessage");
|
|
6240
6240
|
function determineSpecificType(value) {
|
|
6241
6241
|
if (value === null || value === void 0) {
|
|
6242
6242
|
return String(value);
|
|
@@ -6256,7 +6256,7 @@ function determineSpecificType(value) {
|
|
|
6256
6256
|
}
|
|
6257
6257
|
return `type ${typeof value} (${inspected})`;
|
|
6258
6258
|
}
|
|
6259
|
-
|
|
6259
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, determineSpecificType, "determineSpecificType");
|
|
6260
6260
|
var hasOwnProperty$1 = {}.hasOwnProperty;
|
|
6261
6261
|
var { ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1 } = codes;
|
|
6262
6262
|
var cache = /* @__PURE__ */ new Map();
|
|
@@ -6324,7 +6324,7 @@ function read(jsonPath, { base, specifier }) {
|
|
|
6324
6324
|
cache.set(jsonPath, result);
|
|
6325
6325
|
return result;
|
|
6326
6326
|
}
|
|
6327
|
-
|
|
6327
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, read, "read");
|
|
6328
6328
|
function getPackageScopeConfig(resolved) {
|
|
6329
6329
|
let packageJSONUrl = new URL("package.json", resolved);
|
|
6330
6330
|
while (true) {
|
|
@@ -6351,11 +6351,11 @@ function getPackageScopeConfig(resolved) {
|
|
|
6351
6351
|
type: "none"
|
|
6352
6352
|
};
|
|
6353
6353
|
}
|
|
6354
|
-
|
|
6354
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getPackageScopeConfig, "getPackageScopeConfig");
|
|
6355
6355
|
function getPackageType(url) {
|
|
6356
6356
|
return getPackageScopeConfig(url).type;
|
|
6357
6357
|
}
|
|
6358
|
-
|
|
6358
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getPackageType, "getPackageType");
|
|
6359
6359
|
var { ERR_UNKNOWN_FILE_EXTENSION } = codes;
|
|
6360
6360
|
var hasOwnProperty2 = {}.hasOwnProperty;
|
|
6361
6361
|
var extensionFormatMap = {
|
|
@@ -6372,7 +6372,7 @@ function mimeToFormat(mime) {
|
|
|
6372
6372
|
if (mime === "application/json") return "json";
|
|
6373
6373
|
return null;
|
|
6374
6374
|
}
|
|
6375
|
-
|
|
6375
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, mimeToFormat, "mimeToFormat");
|
|
6376
6376
|
var protocolHandlers = {
|
|
6377
6377
|
// @ts-expect-error: hush.
|
|
6378
6378
|
__proto__: null,
|
|
@@ -6390,7 +6390,7 @@ function getDataProtocolModuleFormat(parsed) {
|
|
|
6390
6390
|
) || [null, null, null];
|
|
6391
6391
|
return mimeToFormat(mime);
|
|
6392
6392
|
}
|
|
6393
|
-
|
|
6393
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getDataProtocolModuleFormat, "getDataProtocolModuleFormat");
|
|
6394
6394
|
function extname2(url) {
|
|
6395
6395
|
const pathname = url.pathname;
|
|
6396
6396
|
let index = pathname.length;
|
|
@@ -6405,7 +6405,7 @@ function extname2(url) {
|
|
|
6405
6405
|
}
|
|
6406
6406
|
return "";
|
|
6407
6407
|
}
|
|
6408
|
-
|
|
6408
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, extname2, "extname");
|
|
6409
6409
|
function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
|
|
6410
6410
|
const value = extname2(url);
|
|
6411
6411
|
if (value === ".js") {
|
|
@@ -6430,10 +6430,10 @@ function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
|
|
|
6430
6430
|
const filepath = _url.fileURLToPath.call(void 0, url);
|
|
6431
6431
|
throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath);
|
|
6432
6432
|
}
|
|
6433
|
-
|
|
6433
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getFileProtocolModuleFormat, "getFileProtocolModuleFormat");
|
|
6434
6434
|
function getHttpProtocolModuleFormat() {
|
|
6435
6435
|
}
|
|
6436
|
-
|
|
6436
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, getHttpProtocolModuleFormat, "getHttpProtocolModuleFormat");
|
|
6437
6437
|
function defaultGetFormatWithoutErrors(url, context) {
|
|
6438
6438
|
const protocol = url.protocol;
|
|
6439
6439
|
if (!hasOwnProperty2.call(protocolHandlers, protocol)) {
|
|
@@ -6441,7 +6441,7 @@ function defaultGetFormatWithoutErrors(url, context) {
|
|
|
6441
6441
|
}
|
|
6442
6442
|
return protocolHandlers[protocol](url, context, true) || null;
|
|
6443
6443
|
}
|
|
6444
|
-
|
|
6444
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, defaultGetFormatWithoutErrors, "defaultGetFormatWithoutErrors");
|
|
6445
6445
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];
|
|
6446
6446
|
var {
|
|
6447
6447
|
ERR_NETWORK_IMPORT_DISALLOWED,
|
|
@@ -6474,7 +6474,7 @@ function emitInvalidSegmentDeprecation(target, request, match, packageJsonUrl, i
|
|
|
6474
6474
|
"DEP0166"
|
|
6475
6475
|
);
|
|
6476
6476
|
}
|
|
6477
|
-
|
|
6477
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, emitInvalidSegmentDeprecation, "emitInvalidSegmentDeprecation");
|
|
6478
6478
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
|
|
6479
6479
|
if (_process3.default.noDeprecation) {
|
|
6480
6480
|
return;
|
|
@@ -6504,20 +6504,20 @@ Default "index" lookups for the main are deprecated for ES modules.`,
|
|
|
6504
6504
|
);
|
|
6505
6505
|
}
|
|
6506
6506
|
}
|
|
6507
|
-
|
|
6507
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, emitLegacyIndexDeprecation, "emitLegacyIndexDeprecation");
|
|
6508
6508
|
function tryStatSync(path2) {
|
|
6509
6509
|
try {
|
|
6510
6510
|
return _fs.statSync.call(void 0, path2);
|
|
6511
6511
|
} catch (e3) {
|
|
6512
6512
|
}
|
|
6513
6513
|
}
|
|
6514
|
-
|
|
6514
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, tryStatSync, "tryStatSync");
|
|
6515
6515
|
function fileExists(url) {
|
|
6516
6516
|
const stats = _fs.statSync.call(void 0, url, { throwIfNoEntry: false });
|
|
6517
6517
|
const isFile = stats ? stats.isFile() : void 0;
|
|
6518
6518
|
return isFile === null || isFile === void 0 ? false : isFile;
|
|
6519
6519
|
}
|
|
6520
|
-
|
|
6520
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, fileExists, "fileExists");
|
|
6521
6521
|
function legacyMainResolve(packageJsonUrl, packageConfig, base) {
|
|
6522
6522
|
let guess;
|
|
6523
6523
|
if (packageConfig.main !== void 0) {
|
|
@@ -6563,7 +6563,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
|
|
|
6563
6563
|
_url.fileURLToPath.call(void 0, base)
|
|
6564
6564
|
);
|
|
6565
6565
|
}
|
|
6566
|
-
|
|
6566
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, legacyMainResolve, "legacyMainResolve");
|
|
6567
6567
|
function finalizeResolution(resolved, base, preserveSymlinks) {
|
|
6568
6568
|
if (encodedSeparatorRegEx.exec(resolved.pathname) !== null) {
|
|
6569
6569
|
throw new ERR_INVALID_MODULE_SPECIFIER(
|
|
@@ -6610,7 +6610,7 @@ function finalizeResolution(resolved, base, preserveSymlinks) {
|
|
|
6610
6610
|
}
|
|
6611
6611
|
return resolved;
|
|
6612
6612
|
}
|
|
6613
|
-
|
|
6613
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, finalizeResolution, "finalizeResolution");
|
|
6614
6614
|
function importNotDefined(specifier, packageJsonUrl, base) {
|
|
6615
6615
|
return new ERR_PACKAGE_IMPORT_NOT_DEFINED(
|
|
6616
6616
|
specifier,
|
|
@@ -6618,7 +6618,7 @@ function importNotDefined(specifier, packageJsonUrl, base) {
|
|
|
6618
6618
|
_url.fileURLToPath.call(void 0, base)
|
|
6619
6619
|
);
|
|
6620
6620
|
}
|
|
6621
|
-
|
|
6621
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, importNotDefined, "importNotDefined");
|
|
6622
6622
|
function exportsNotFound(subpath, packageJsonUrl, base) {
|
|
6623
6623
|
return new ERR_PACKAGE_PATH_NOT_EXPORTED(
|
|
6624
6624
|
_url.fileURLToPath.call(void 0, new (0, _url.URL)(".", packageJsonUrl)),
|
|
@@ -6626,7 +6626,7 @@ function exportsNotFound(subpath, packageJsonUrl, base) {
|
|
|
6626
6626
|
base && _url.fileURLToPath.call(void 0, base)
|
|
6627
6627
|
);
|
|
6628
6628
|
}
|
|
6629
|
-
|
|
6629
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, exportsNotFound, "exportsNotFound");
|
|
6630
6630
|
function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
|
|
6631
6631
|
const reason = `request is not a valid match in pattern "${match}" for the "${internal ? "imports" : "exports"}" resolution of ${_url.fileURLToPath.call(void 0, packageJsonUrl)}`;
|
|
6632
6632
|
throw new ERR_INVALID_MODULE_SPECIFIER(
|
|
@@ -6635,7 +6635,7 @@ function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
|
|
|
6635
6635
|
base && _url.fileURLToPath.call(void 0, base)
|
|
6636
6636
|
);
|
|
6637
6637
|
}
|
|
6638
|
-
|
|
6638
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, throwInvalidSubpath, "throwInvalidSubpath");
|
|
6639
6639
|
function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
|
|
6640
6640
|
target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`;
|
|
6641
6641
|
return new ERR_INVALID_PACKAGE_TARGET(
|
|
@@ -6646,7 +6646,7 @@ function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
|
|
|
6646
6646
|
base && _url.fileURLToPath.call(void 0, base)
|
|
6647
6647
|
);
|
|
6648
6648
|
}
|
|
6649
|
-
|
|
6649
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, invalidPackageTarget, "invalidPackageTarget");
|
|
6650
6650
|
function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base, pattern, internal, isPathMap, conditions) {
|
|
6651
6651
|
if (subpath !== "" && !pattern && target[target.length - 1] !== "/")
|
|
6652
6652
|
throw invalidPackageTarget(match, target, packageJsonUrl, internal, base);
|
|
@@ -6732,13 +6732,13 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
|
|
|
6732
6732
|
}
|
|
6733
6733
|
return new (0, _url.URL)(subpath, resolved);
|
|
6734
6734
|
}
|
|
6735
|
-
|
|
6735
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, resolvePackageTargetString, "resolvePackageTargetString");
|
|
6736
6736
|
function isArrayIndex(key) {
|
|
6737
6737
|
const keyNumber = Number(key);
|
|
6738
6738
|
if (`${keyNumber}` !== key) return false;
|
|
6739
6739
|
return keyNumber >= 0 && keyNumber < 4294967295;
|
|
6740
6740
|
}
|
|
6741
|
-
|
|
6741
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isArrayIndex, "isArrayIndex");
|
|
6742
6742
|
function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions) {
|
|
6743
6743
|
if (typeof target === "string") {
|
|
6744
6744
|
return resolvePackageTargetString(
|
|
@@ -6843,7 +6843,7 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
|
|
|
6843
6843
|
base
|
|
6844
6844
|
);
|
|
6845
6845
|
}
|
|
6846
|
-
|
|
6846
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, resolvePackageTarget, "resolvePackageTarget");
|
|
6847
6847
|
function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
|
|
6848
6848
|
if (typeof exports === "string" || Array.isArray(exports)) return true;
|
|
6849
6849
|
if (typeof exports !== "object" || exports === null) return false;
|
|
@@ -6866,7 +6866,7 @@ function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
|
|
|
6866
6866
|
}
|
|
6867
6867
|
return isConditionalSugar;
|
|
6868
6868
|
}
|
|
6869
|
-
|
|
6869
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isConditionalExportsMainSugar, "isConditionalExportsMainSugar");
|
|
6870
6870
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
6871
6871
|
if (_process3.default.noDeprecation) {
|
|
6872
6872
|
return;
|
|
@@ -6880,7 +6880,7 @@ function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
|
6880
6880
|
"DEP0155"
|
|
6881
6881
|
);
|
|
6882
6882
|
}
|
|
6883
|
-
|
|
6883
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, emitTrailingSlashPatternDeprecation, "emitTrailingSlashPatternDeprecation");
|
|
6884
6884
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
6885
6885
|
let exports = packageConfig.exports;
|
|
6886
6886
|
if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) {
|
|
@@ -6952,7 +6952,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
|
|
|
6952
6952
|
}
|
|
6953
6953
|
throw exportsNotFound(packageSubpath, packageJsonUrl, base);
|
|
6954
6954
|
}
|
|
6955
|
-
|
|
6955
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, packageExportsResolve, "packageExportsResolve");
|
|
6956
6956
|
function patternKeyCompare(a, b) {
|
|
6957
6957
|
const aPatternIndex = a.indexOf("*");
|
|
6958
6958
|
const bPatternIndex = b.indexOf("*");
|
|
@@ -6966,7 +6966,7 @@ function patternKeyCompare(a, b) {
|
|
|
6966
6966
|
if (b.length > a.length) return 1;
|
|
6967
6967
|
return 0;
|
|
6968
6968
|
}
|
|
6969
|
-
|
|
6969
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, patternKeyCompare, "patternKeyCompare");
|
|
6970
6970
|
function packageImportsResolve(name, base, conditions) {
|
|
6971
6971
|
if (name === "#" || name.startsWith("#/") || name.endsWith("/")) {
|
|
6972
6972
|
const reason = "is not a valid internal imports specifier name";
|
|
@@ -7034,7 +7034,7 @@ function packageImportsResolve(name, base, conditions) {
|
|
|
7034
7034
|
}
|
|
7035
7035
|
throw importNotDefined(name, packageJsonUrl, base);
|
|
7036
7036
|
}
|
|
7037
|
-
|
|
7037
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, packageImportsResolve, "packageImportsResolve");
|
|
7038
7038
|
function parsePackageName(specifier, base) {
|
|
7039
7039
|
let separatorIndex = specifier.indexOf("/");
|
|
7040
7040
|
let validPackageName = true;
|
|
@@ -7061,7 +7061,7 @@ function parsePackageName(specifier, base) {
|
|
|
7061
7061
|
const packageSubpath = "." + (separatorIndex === -1 ? "" : specifier.slice(separatorIndex));
|
|
7062
7062
|
return { packageName, packageSubpath, isScoped };
|
|
7063
7063
|
}
|
|
7064
|
-
|
|
7064
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, parsePackageName, "parsePackageName");
|
|
7065
7065
|
function packageResolve(specifier, base, conditions) {
|
|
7066
7066
|
if (_module.builtinModules.includes(specifier)) {
|
|
7067
7067
|
return new (0, _url.URL)("node:" + specifier);
|
|
@@ -7117,7 +7117,7 @@ function packageResolve(specifier, base, conditions) {
|
|
|
7117
7117
|
} while (packageJsonPath.length !== lastPath.length);
|
|
7118
7118
|
throw new ERR_MODULE_NOT_FOUND(packageName, _url.fileURLToPath.call(void 0, base), false);
|
|
7119
7119
|
}
|
|
7120
|
-
|
|
7120
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, packageResolve, "packageResolve");
|
|
7121
7121
|
function isRelativeSpecifier(specifier) {
|
|
7122
7122
|
if (specifier[0] === ".") {
|
|
7123
7123
|
if (specifier.length === 1 || specifier[1] === "/") return true;
|
|
@@ -7127,13 +7127,13 @@ function isRelativeSpecifier(specifier) {
|
|
|
7127
7127
|
}
|
|
7128
7128
|
return false;
|
|
7129
7129
|
}
|
|
7130
|
-
|
|
7130
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, isRelativeSpecifier, "isRelativeSpecifier");
|
|
7131
7131
|
function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
|
|
7132
7132
|
if (specifier === "") return false;
|
|
7133
7133
|
if (specifier[0] === "/") return true;
|
|
7134
7134
|
return isRelativeSpecifier(specifier);
|
|
7135
7135
|
}
|
|
7136
|
-
|
|
7136
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, shouldBeTreatedAsRelativeOrAbsolutePath, "shouldBeTreatedAsRelativeOrAbsolutePath");
|
|
7137
7137
|
function moduleResolve(specifier, base, conditions, preserveSymlinks) {
|
|
7138
7138
|
const protocol = base.protocol;
|
|
7139
7139
|
const isData = protocol === "data:";
|
|
@@ -7167,18 +7167,18 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
|
|
|
7167
7167
|
}
|
|
7168
7168
|
return finalizeResolution(resolved, base);
|
|
7169
7169
|
}
|
|
7170
|
-
|
|
7170
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, moduleResolve, "moduleResolve");
|
|
7171
7171
|
function fileURLToPath(id) {
|
|
7172
7172
|
if (typeof id === "string" && !id.startsWith("file://")) {
|
|
7173
7173
|
return normalizeSlash(id);
|
|
7174
7174
|
}
|
|
7175
7175
|
return normalizeSlash(_url.fileURLToPath.call(void 0, id));
|
|
7176
7176
|
}
|
|
7177
|
-
|
|
7177
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, fileURLToPath, "fileURLToPath");
|
|
7178
7178
|
function pathToFileURL(id) {
|
|
7179
7179
|
return _url.pathToFileURL.call(void 0, fileURLToPath(id)).toString();
|
|
7180
7180
|
}
|
|
7181
|
-
|
|
7181
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, pathToFileURL, "pathToFileURL");
|
|
7182
7182
|
function normalizeid(id) {
|
|
7183
7183
|
if (typeof id !== "string") {
|
|
7184
7184
|
id = id.toString();
|
|
@@ -7191,7 +7191,7 @@ function normalizeid(id) {
|
|
|
7191
7191
|
}
|
|
7192
7192
|
return "file://" + encodeURI(normalizeSlash(id));
|
|
7193
7193
|
}
|
|
7194
|
-
|
|
7194
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, normalizeid, "normalizeid");
|
|
7195
7195
|
var DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]);
|
|
7196
7196
|
var DEFAULT_EXTENSIONS = [".mjs", ".cjs", ".js", ".json"];
|
|
7197
7197
|
var NOT_FOUND_ERRORS = /* @__PURE__ */ new Set([
|
|
@@ -7209,7 +7209,7 @@ function _tryModuleResolve(id, url, conditions) {
|
|
|
7209
7209
|
}
|
|
7210
7210
|
}
|
|
7211
7211
|
}
|
|
7212
|
-
|
|
7212
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, _tryModuleResolve, "_tryModuleResolve");
|
|
7213
7213
|
function _resolve(id, options = {}) {
|
|
7214
7214
|
if (typeof id !== "string") {
|
|
7215
7215
|
if (id instanceof URL) {
|
|
@@ -7290,15 +7290,15 @@ function _resolve(id, options = {}) {
|
|
|
7290
7290
|
}
|
|
7291
7291
|
return pathToFileURL(resolved);
|
|
7292
7292
|
}
|
|
7293
|
-
|
|
7293
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, _resolve, "_resolve");
|
|
7294
7294
|
function resolveSync(id, options) {
|
|
7295
7295
|
return _resolve(id, options);
|
|
7296
7296
|
}
|
|
7297
|
-
|
|
7297
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, resolveSync, "resolveSync");
|
|
7298
7298
|
function resolvePathSync(id, options) {
|
|
7299
7299
|
return fileURLToPath(resolveSync(id, options));
|
|
7300
7300
|
}
|
|
7301
|
-
|
|
7301
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, resolvePathSync, "resolvePathSync");
|
|
7302
7302
|
function resolvePath(id, options) {
|
|
7303
7303
|
try {
|
|
7304
7304
|
return Promise.resolve(resolvePathSync(id, options));
|
|
@@ -7306,17 +7306,17 @@ function resolvePath(id, options) {
|
|
|
7306
7306
|
return Promise.reject(error);
|
|
7307
7307
|
}
|
|
7308
7308
|
}
|
|
7309
|
-
|
|
7309
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, resolvePath, "resolvePath");
|
|
7310
7310
|
|
|
7311
7311
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/index.mjs
|
|
7312
|
-
|
|
7312
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
7313
7313
|
|
|
7314
7314
|
// ../../node_modules/.pnpm/pkg-types@1.3.1/node_modules/pkg-types/dist/index.mjs
|
|
7315
7315
|
var defaultFindOptions = {
|
|
7316
7316
|
startingFrom: ".",
|
|
7317
7317
|
rootPattern: /^node_modules$/,
|
|
7318
7318
|
reverse: false,
|
|
7319
|
-
test: /* @__PURE__ */
|
|
7319
|
+
test: /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (filePath) => {
|
|
7320
7320
|
try {
|
|
7321
7321
|
if (_fs.statSync.call(void 0, filePath).isFile()) {
|
|
7322
7322
|
return true;
|
|
@@ -7361,11 +7361,11 @@ async function findFile(filename, _options = {}) {
|
|
|
7361
7361
|
`Cannot find matching ${filename} in ${options.startingFrom} or parent directories`
|
|
7362
7362
|
);
|
|
7363
7363
|
}
|
|
7364
|
-
|
|
7364
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, findFile, "findFile");
|
|
7365
7365
|
function findNearestFile(filename, _options = {}) {
|
|
7366
7366
|
return findFile(filename, _options);
|
|
7367
7367
|
}
|
|
7368
|
-
|
|
7368
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, findNearestFile, "findNearestFile");
|
|
7369
7369
|
var FileCache = /* @__PURE__ */ new Map();
|
|
7370
7370
|
async function readPackageJSON(id, options = {}) {
|
|
7371
7371
|
const resolvedPath = await resolvePackageJSON(id, options);
|
|
@@ -7376,14 +7376,14 @@ async function readPackageJSON(id, options = {}) {
|
|
|
7376
7376
|
const blob = await _fs.promises.readFile(resolvedPath, "utf8");
|
|
7377
7377
|
let parsed;
|
|
7378
7378
|
try {
|
|
7379
|
-
parsed =
|
|
7379
|
+
parsed = _chunkXV6IBRMZcjs.x.call(void 0, blob);
|
|
7380
7380
|
} catch (e6) {
|
|
7381
|
-
parsed =
|
|
7381
|
+
parsed = _chunkXV6IBRMZcjs.h.call(void 0, blob);
|
|
7382
7382
|
}
|
|
7383
7383
|
cache2.set(resolvedPath, parsed);
|
|
7384
7384
|
return parsed;
|
|
7385
7385
|
}
|
|
7386
|
-
|
|
7386
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, readPackageJSON, "readPackageJSON");
|
|
7387
7387
|
async function resolvePackageJSON(id = process.cwd(), options = {}) {
|
|
7388
7388
|
const resolvedPath = isAbsolute(id) ? id : await resolvePath(id, options);
|
|
7389
7389
|
return findNearestFile("package.json", {
|
|
@@ -7391,7 +7391,7 @@ async function resolvePackageJSON(id = process.cwd(), options = {}) {
|
|
|
7391
7391
|
...options
|
|
7392
7392
|
});
|
|
7393
7393
|
}
|
|
7394
|
-
|
|
7394
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, resolvePackageJSON, "resolvePackageJSON");
|
|
7395
7395
|
var lockFiles = [
|
|
7396
7396
|
"yarn.lock",
|
|
7397
7397
|
"package-lock.json",
|
|
@@ -7409,7 +7409,7 @@ async function resolveLockfile(id = process.cwd(), options = {}) {
|
|
|
7409
7409
|
}
|
|
7410
7410
|
throw new Error("No lockfile found from " + id);
|
|
7411
7411
|
}
|
|
7412
|
-
|
|
7412
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, resolveLockfile, "resolveLockfile");
|
|
7413
7413
|
async function findWorkspaceDir(id = process.cwd(), options = {}) {
|
|
7414
7414
|
const resolvedPath = isAbsolute(id) ? id : await resolvePath(id, options);
|
|
7415
7415
|
const _options = { startingFrom: resolvedPath, ...options };
|
|
@@ -7433,10 +7433,10 @@ async function findWorkspaceDir(id = process.cwd(), options = {}) {
|
|
|
7433
7433
|
}
|
|
7434
7434
|
throw new Error("Cannot detect workspace root from " + id);
|
|
7435
7435
|
}
|
|
7436
|
-
|
|
7436
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, findWorkspaceDir, "findWorkspaceDir");
|
|
7437
7437
|
|
|
7438
7438
|
// ../../node_modules/.pnpm/tinyexec@0.3.2/node_modules/tinyexec/dist/main.js
|
|
7439
|
-
|
|
7439
|
+
_chunkOKHMCCMQcjs.init_cjs_shims.call(void 0, );
|
|
7440
7440
|
|
|
7441
7441
|
var _child_process = require('child_process');
|
|
7442
7442
|
|
|
@@ -7444,7 +7444,7 @@ var _child_process = require('child_process');
|
|
|
7444
7444
|
|
|
7445
7445
|
var _stream = require('stream');
|
|
7446
7446
|
var _readline = require('readline'); var _readline2 = _interopRequireDefault(_readline);
|
|
7447
|
-
var require2 = _module.createRequire.call(void 0,
|
|
7447
|
+
var require2 = _module.createRequire.call(void 0, _chunkOKHMCCMQcjs.importMetaUrl);
|
|
7448
7448
|
var St = Object.create;
|
|
7449
7449
|
var $ = Object.defineProperty;
|
|
7450
7450
|
var kt = Object.getOwnPropertyDescriptor;
|
|
@@ -7452,22 +7452,22 @@ var Tt = Object.getOwnPropertyNames;
|
|
|
7452
7452
|
var At = Object.getPrototypeOf;
|
|
7453
7453
|
var Rt = Object.prototype.hasOwnProperty;
|
|
7454
7454
|
var h2 = /* @__PURE__ */ ((t) => typeof require2 < "u" ? require2 : typeof Proxy < "u" ? new Proxy(t, {
|
|
7455
|
-
get: /* @__PURE__ */
|
|
7455
|
+
get: /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (e, n) => (typeof require2 < "u" ? require2 : e)[n], "get")
|
|
7456
7456
|
}) : t)(function(t) {
|
|
7457
7457
|
if (typeof require2 < "u") return require2.apply(this, arguments);
|
|
7458
7458
|
throw Error('Dynamic require of "' + t + '" is not supported');
|
|
7459
7459
|
});
|
|
7460
|
-
var l = /* @__PURE__ */
|
|
7460
|
+
var l = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t, e) => () => (e || t((e = {
|
|
7461
7461
|
exports: {}
|
|
7462
7462
|
}).exports, e), e.exports), "l");
|
|
7463
|
-
var $t = /* @__PURE__ */
|
|
7463
|
+
var $t = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t, e, n, r2) => {
|
|
7464
7464
|
if (e && typeof e == "object" || typeof e == "function") for (let s of Tt(e)) !Rt.call(t, s) && s !== n && $(t, s, {
|
|
7465
|
-
get: /* @__PURE__ */
|
|
7465
|
+
get: /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, () => e[s], "get"),
|
|
7466
7466
|
enumerable: !(r2 = kt(e, s)) || r2.enumerable
|
|
7467
7467
|
});
|
|
7468
7468
|
return t;
|
|
7469
7469
|
}, "$t");
|
|
7470
|
-
var Nt = /* @__PURE__ */
|
|
7470
|
+
var Nt = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t, e, n) => (n = t != null ? St(At(t)) : {}, $t(
|
|
7471
7471
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
7472
7472
|
// file that has been converted to a CommonJS file using a Babel-
|
|
7473
7473
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
@@ -7492,21 +7492,21 @@ var W = l((Se, H) => {
|
|
|
7492
7492
|
}
|
|
7493
7493
|
return false;
|
|
7494
7494
|
}
|
|
7495
|
-
|
|
7495
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Ht, "Ht");
|
|
7496
7496
|
function F(t, e, n) {
|
|
7497
7497
|
return !t.isSymbolicLink() && !t.isFile() ? false : Ht(e, n);
|
|
7498
7498
|
}
|
|
7499
|
-
|
|
7499
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, F, "F");
|
|
7500
7500
|
function z2(t, e, n) {
|
|
7501
7501
|
j.stat(t, function(r2, s) {
|
|
7502
7502
|
n(r2, r2 ? false : F(s, t, e));
|
|
7503
7503
|
});
|
|
7504
7504
|
}
|
|
7505
|
-
|
|
7505
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, z2, "z");
|
|
7506
7506
|
function Wt(t, e) {
|
|
7507
7507
|
return F(j.statSync(t), t, e);
|
|
7508
7508
|
}
|
|
7509
|
-
|
|
7509
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Wt, "Wt");
|
|
7510
7510
|
});
|
|
7511
7511
|
var X = l((ke, B) => {
|
|
7512
7512
|
"use strict";
|
|
@@ -7518,20 +7518,20 @@ var X = l((ke, B) => {
|
|
|
7518
7518
|
n(r2, r2 ? false : M(s, e));
|
|
7519
7519
|
});
|
|
7520
7520
|
}
|
|
7521
|
-
|
|
7521
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, K, "K");
|
|
7522
7522
|
function Dt(t, e) {
|
|
7523
7523
|
return M(D.statSync(t), e);
|
|
7524
7524
|
}
|
|
7525
|
-
|
|
7525
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Dt, "Dt");
|
|
7526
7526
|
function M(t, e) {
|
|
7527
7527
|
return t.isFile() && Kt(t, e);
|
|
7528
7528
|
}
|
|
7529
|
-
|
|
7529
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, M, "M");
|
|
7530
7530
|
function Kt(t, e) {
|
|
7531
7531
|
var n = t.mode, r2 = t.uid, s = t.gid, o = e.uid !== void 0 ? e.uid : process.getuid && process.getuid(), i = e.gid !== void 0 ? e.gid : process.getgid && process.getgid(), a = parseInt("100", 8), c = parseInt("010", 8), u = parseInt("001", 8), f = a | c, p = n & u || n & c && s === i || n & a && r2 === o || n & f && o === 0;
|
|
7532
7532
|
return p;
|
|
7533
7533
|
}
|
|
7534
|
-
|
|
7534
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Kt, "Kt");
|
|
7535
7535
|
});
|
|
7536
7536
|
var U = l((Ae, G) => {
|
|
7537
7537
|
"use strict";
|
|
@@ -7552,7 +7552,7 @@ var U = l((Ae, G) => {
|
|
|
7552
7552
|
r2 && (r2.code === "EACCES" || e && e.ignoreErrors) && (r2 = null, s = false), n(r2, s);
|
|
7553
7553
|
});
|
|
7554
7554
|
}
|
|
7555
|
-
|
|
7555
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, y, "y");
|
|
7556
7556
|
function Mt(t, e) {
|
|
7557
7557
|
try {
|
|
7558
7558
|
return v.sync(t, e || {});
|
|
@@ -7561,13 +7561,13 @@ var U = l((Ae, G) => {
|
|
|
7561
7561
|
throw n;
|
|
7562
7562
|
}
|
|
7563
7563
|
}
|
|
7564
|
-
|
|
7564
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Mt, "Mt");
|
|
7565
7565
|
});
|
|
7566
7566
|
var et = l((Re, tt) => {
|
|
7567
7567
|
"use strict";
|
|
7568
|
-
var g = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", Y = h2("path"), Bt = g ? ";" : ":", V = U(), J = /* @__PURE__ */
|
|
7568
|
+
var g = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", Y = h2("path"), Bt = g ? ";" : ":", V = U(), J = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t) => Object.assign(new Error(`not found: ${t}`), {
|
|
7569
7569
|
code: "ENOENT"
|
|
7570
|
-
}), "J"), Q = /* @__PURE__ */
|
|
7570
|
+
}), "J"), Q = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t, e) => {
|
|
7571
7571
|
let n = e.colon || Bt, r2 = t.match(/\//) || g && t.match(/\\/) ? [
|
|
7572
7572
|
""
|
|
7573
7573
|
] : [
|
|
@@ -7585,13 +7585,13 @@ var et = l((Re, tt) => {
|
|
|
7585
7585
|
pathExt: o,
|
|
7586
7586
|
pathExtExe: s
|
|
7587
7587
|
};
|
|
7588
|
-
}, "Q"), Z = /* @__PURE__ */
|
|
7588
|
+
}, "Q"), Z = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t, e, n) => {
|
|
7589
7589
|
typeof e == "function" && (n = e, e = {}), e || (e = {});
|
|
7590
|
-
let { pathEnv: r2, pathExt: s, pathExtExe: o } = Q(t, e), i = [], a = /* @__PURE__ */
|
|
7590
|
+
let { pathEnv: r2, pathExt: s, pathExtExe: o } = Q(t, e), i = [], a = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (u) => new Promise((f, p) => {
|
|
7591
7591
|
if (u === r2.length) return e.all && i.length ? f(i) : p(J(t));
|
|
7592
7592
|
let d2 = r2[u], w = /^".*"$/.test(d2) ? d2.slice(1, -1) : d2, m = Y.join(w, t), b = !w && /^\.[\\\/]/.test(t) ? t.slice(0, 2) + m : m;
|
|
7593
7593
|
f(c(b, u, 0));
|
|
7594
|
-
}), "a"), c = /* @__PURE__ */
|
|
7594
|
+
}), "a"), c = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (u, f, p) => new Promise((d2, w) => {
|
|
7595
7595
|
if (p === s.length) return d2(a(f + 1));
|
|
7596
7596
|
let m = s[p];
|
|
7597
7597
|
V(u + m, {
|
|
@@ -7603,7 +7603,7 @@ var et = l((Re, tt) => {
|
|
|
7603
7603
|
});
|
|
7604
7604
|
}), "c");
|
|
7605
7605
|
return n ? a(0).then((u) => n(null, u), n) : a(0);
|
|
7606
|
-
}, "Z"), Xt = /* @__PURE__ */
|
|
7606
|
+
}, "Z"), Xt = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t, e) => {
|
|
7607
7607
|
e = e || {};
|
|
7608
7608
|
let { pathEnv: n, pathExt: r2, pathExtExe: s } = Q(t, e), o = [];
|
|
7609
7609
|
for (let i = 0; i < n.length; i++) {
|
|
@@ -7628,7 +7628,7 @@ var et = l((Re, tt) => {
|
|
|
7628
7628
|
});
|
|
7629
7629
|
var rt = l(($e, _) => {
|
|
7630
7630
|
"use strict";
|
|
7631
|
-
var nt = /* @__PURE__ */
|
|
7631
|
+
var nt = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t = {}) => {
|
|
7632
7632
|
let e = t.env || process.env;
|
|
7633
7633
|
return (t.platform || process.platform) !== "win32" ? "PATH" : Object.keys(e).reverse().find((r2) => r2.toUpperCase() === "PATH") || "Path";
|
|
7634
7634
|
}, "nt");
|
|
@@ -7658,11 +7658,11 @@ var ct = l((Ne, it) => {
|
|
|
7658
7658
|
}
|
|
7659
7659
|
return i && (i = st.resolve(s ? t.options.cwd : "", i)), i;
|
|
7660
7660
|
}
|
|
7661
|
-
|
|
7661
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, ot, "ot");
|
|
7662
7662
|
function Yt(t) {
|
|
7663
7663
|
return ot(t) || ot(t, true);
|
|
7664
7664
|
}
|
|
7665
|
-
|
|
7665
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Yt, "Yt");
|
|
7666
7666
|
it.exports = Yt;
|
|
7667
7667
|
});
|
|
7668
7668
|
var ut = l((qe, P) => {
|
|
@@ -7671,11 +7671,11 @@ var ut = l((qe, P) => {
|
|
|
7671
7671
|
function Vt(t) {
|
|
7672
7672
|
return t = t.replace(C, "^$1"), t;
|
|
7673
7673
|
}
|
|
7674
|
-
|
|
7674
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Vt, "Vt");
|
|
7675
7675
|
function Jt(t, e) {
|
|
7676
7676
|
return t = `${t}`, t = t.replace(/(\\*)"/g, '$1$1\\"'), t = t.replace(/(\\*)$/, "$1$1"), t = `"${t}"`, t = t.replace(C, "^$1"), e && (t = t.replace(C, "^$1")), t;
|
|
7677
7677
|
}
|
|
7678
|
-
|
|
7678
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Jt, "Jt");
|
|
7679
7679
|
P.exports.command = Vt;
|
|
7680
7680
|
P.exports.argument = Jt;
|
|
7681
7681
|
});
|
|
@@ -7704,7 +7704,7 @@ var ht = l((je, ft) => {
|
|
|
7704
7704
|
}
|
|
7705
7705
|
return Zt(n.toString());
|
|
7706
7706
|
}
|
|
7707
|
-
|
|
7707
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, te, "te");
|
|
7708
7708
|
ft.exports = te;
|
|
7709
7709
|
});
|
|
7710
7710
|
var wt = l((Fe, Et) => {
|
|
@@ -7715,7 +7715,7 @@ var wt = l((Fe, Et) => {
|
|
|
7715
7715
|
let e = t.file && ne(t.file);
|
|
7716
7716
|
return e ? (t.args.unshift(t.file), t.command = e, mt(t)) : t.file;
|
|
7717
7717
|
}
|
|
7718
|
-
|
|
7718
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, ie, "ie");
|
|
7719
7719
|
function ce(t) {
|
|
7720
7720
|
if (!re) return t;
|
|
7721
7721
|
let e = ie(t), n = !se.test(e);
|
|
@@ -7734,7 +7734,7 @@ var wt = l((Fe, Et) => {
|
|
|
7734
7734
|
}
|
|
7735
7735
|
return t;
|
|
7736
7736
|
}
|
|
7737
|
-
|
|
7737
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, ce, "ce");
|
|
7738
7738
|
function ue(t, e, n) {
|
|
7739
7739
|
e && !Array.isArray(e) && (n = e, e = null), e = e ? e.slice(0) : [], n = Object.assign({}, n);
|
|
7740
7740
|
let r2 = {
|
|
@@ -7749,7 +7749,7 @@ var wt = l((Fe, Et) => {
|
|
|
7749
7749
|
};
|
|
7750
7750
|
return n.shell ? r2 : ce(r2);
|
|
7751
7751
|
}
|
|
7752
|
-
|
|
7752
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, ue, "ue");
|
|
7753
7753
|
Et.exports = ue;
|
|
7754
7754
|
});
|
|
7755
7755
|
var bt = l((ze, vt) => {
|
|
@@ -7764,7 +7764,7 @@ var bt = l((ze, vt) => {
|
|
|
7764
7764
|
spawnargs: t.args
|
|
7765
7765
|
});
|
|
7766
7766
|
}
|
|
7767
|
-
|
|
7767
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, k, "k");
|
|
7768
7768
|
function ae(t, e) {
|
|
7769
7769
|
if (!S) return;
|
|
7770
7770
|
let n = t.emit;
|
|
@@ -7776,15 +7776,15 @@ var bt = l((ze, vt) => {
|
|
|
7776
7776
|
return n.apply(t, arguments);
|
|
7777
7777
|
};
|
|
7778
7778
|
}
|
|
7779
|
-
|
|
7779
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, ae, "ae");
|
|
7780
7780
|
function xt(t, e) {
|
|
7781
7781
|
return S && t === 1 && !e.file ? k(e.original, "spawn") : null;
|
|
7782
7782
|
}
|
|
7783
|
-
|
|
7783
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, xt, "xt");
|
|
7784
7784
|
function le(t, e) {
|
|
7785
7785
|
return S && t === 1 && !e.file ? k(e.original, "spawnSync") : null;
|
|
7786
7786
|
}
|
|
7787
|
-
|
|
7787
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, le, "le");
|
|
7788
7788
|
vt.exports = {
|
|
7789
7789
|
hookChildProcess: ae,
|
|
7790
7790
|
verifyENOENT: xt,
|
|
@@ -7799,12 +7799,12 @@ var Ct = l((He, E) => {
|
|
|
7799
7799
|
let r2 = T(t, e, n), s = yt.spawn(r2.command, r2.args, r2.options);
|
|
7800
7800
|
return A.hookChildProcess(s, r2), s;
|
|
7801
7801
|
}
|
|
7802
|
-
|
|
7802
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, _t, "_t");
|
|
7803
7803
|
function pe(t, e, n) {
|
|
7804
7804
|
let r2 = T(t, e, n), s = yt.spawnSync(r2.command, r2.args, r2.options);
|
|
7805
7805
|
return s.error = s.error || A.verifyENOENTSync(s.status, r2), s;
|
|
7806
7806
|
}
|
|
7807
|
-
|
|
7807
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, pe, "pe");
|
|
7808
7808
|
E.exports = _t;
|
|
7809
7809
|
E.exports.spawn = _t;
|
|
7810
7810
|
E.exports.sync = pe;
|
|
@@ -7827,7 +7827,7 @@ function jt(t) {
|
|
|
7827
7827
|
}
|
|
7828
7828
|
return q;
|
|
7829
7829
|
}
|
|
7830
|
-
|
|
7830
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, jt, "jt");
|
|
7831
7831
|
function Ft(t, e) {
|
|
7832
7832
|
let n = e.value.split(_path.delimiter), r2 = t, s;
|
|
7833
7833
|
do
|
|
@@ -7838,7 +7838,7 @@ function Ft(t, e) {
|
|
|
7838
7838
|
value: n.join(_path.delimiter)
|
|
7839
7839
|
};
|
|
7840
7840
|
}
|
|
7841
|
-
|
|
7841
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, Ft, "Ft");
|
|
7842
7842
|
function I(t, e) {
|
|
7843
7843
|
let n = {
|
|
7844
7844
|
...process.env,
|
|
@@ -7846,9 +7846,9 @@ function I(t, e) {
|
|
|
7846
7846
|
}, r2 = Ft(t, jt(n));
|
|
7847
7847
|
return n[r2.key] = r2.value, n;
|
|
7848
7848
|
}
|
|
7849
|
-
|
|
7850
|
-
var L = /* @__PURE__ */
|
|
7851
|
-
let e = t.length, n = new (0, _stream.PassThrough)(), r2 = /* @__PURE__ */
|
|
7849
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, I, "I");
|
|
7850
|
+
var L = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t) => {
|
|
7851
|
+
let e = t.length, n = new (0, _stream.PassThrough)(), r2 = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, () => {
|
|
7852
7852
|
--e === 0 && n.emit("end");
|
|
7853
7853
|
}, "r");
|
|
7854
7854
|
for (let s of t) s.pipe(n, {
|
|
@@ -7859,7 +7859,7 @@ var L = /* @__PURE__ */ _chunkGPU42JLKcjs.__name.call(void 0, (t) => {
|
|
|
7859
7859
|
var Pt = Nt(Ct(), 1);
|
|
7860
7860
|
var x2 = class extends Error {
|
|
7861
7861
|
static {
|
|
7862
|
-
|
|
7862
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, this, "x");
|
|
7863
7863
|
}
|
|
7864
7864
|
|
|
7865
7865
|
|
|
@@ -7883,12 +7883,12 @@ function we(t, e) {
|
|
|
7883
7883
|
args: _nullishCoalesce(e, () => ( []))
|
|
7884
7884
|
};
|
|
7885
7885
|
}
|
|
7886
|
-
|
|
7886
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, we, "we");
|
|
7887
7887
|
function xe(t) {
|
|
7888
7888
|
let e = new AbortController();
|
|
7889
7889
|
for (let n of t) {
|
|
7890
7890
|
if (n.aborted) return e.abort(), n;
|
|
7891
|
-
let r2 = /* @__PURE__ */
|
|
7891
|
+
let r2 = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, () => {
|
|
7892
7892
|
e.abort(n.reason);
|
|
7893
7893
|
}, "r");
|
|
7894
7894
|
n.addEventListener("abort", r2, {
|
|
@@ -7897,10 +7897,10 @@ function xe(t) {
|
|
|
7897
7897
|
}
|
|
7898
7898
|
return e.signal;
|
|
7899
7899
|
}
|
|
7900
|
-
|
|
7900
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, xe, "xe");
|
|
7901
7901
|
var R = (_class2 = class {
|
|
7902
7902
|
static {
|
|
7903
|
-
|
|
7903
|
+
_chunkOKHMCCMQcjs.__name.call(void 0, this, "R");
|
|
7904
7904
|
}
|
|
7905
7905
|
|
|
7906
7906
|
__init() {this._aborted = false}
|
|
@@ -7991,18 +7991,18 @@ var R = (_class2 = class {
|
|
|
7991
7991
|
this._resolveClose = e;
|
|
7992
7992
|
}), this._thrownError = void 0;
|
|
7993
7993
|
}
|
|
7994
|
-
__init2() {this._onError = /* @__PURE__ */
|
|
7994
|
+
__init2() {this._onError = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (e) => {
|
|
7995
7995
|
if (e.name === "AbortError" && (!(e.cause instanceof Error) || e.cause.name !== "TimeoutError")) {
|
|
7996
7996
|
this._aborted = true;
|
|
7997
7997
|
return;
|
|
7998
7998
|
}
|
|
7999
7999
|
this._thrownError = e;
|
|
8000
8000
|
}, "_onError")}
|
|
8001
|
-
__init3() {this._onClose = /* @__PURE__ */
|
|
8001
|
+
__init3() {this._onClose = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, () => {
|
|
8002
8002
|
this._resolveClose && this._resolveClose();
|
|
8003
8003
|
}, "_onClose")}
|
|
8004
8004
|
}, _class2);
|
|
8005
|
-
var ve = /* @__PURE__ */
|
|
8005
|
+
var ve = /* @__PURE__ */ _chunkOKHMCCMQcjs.__name.call(void 0, (t, e, n) => {
|
|
8006
8006
|
let r2 = new R(t, e, n);
|
|
8007
8007
|
return r2.spawn(), r2;
|
|
8008
8008
|
}, "ve");
|