@storm-software/git-tools 2.104.46 → 2.104.47
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-DVEFA4T3.js → chunk-377YOE7Z.js} +2 -2
- package/bin/{chunk-O6CNNZEF.js → chunk-5DWG2HXA.js} +1 -1
- package/bin/{chunk-QH2YKC7K.cjs → chunk-7B6YVRI6.cjs} +4 -4
- package/bin/{chunk-PEQKS3P6.cjs → chunk-C56ONEWE.cjs} +2227 -2227
- package/bin/{chunk-QM7PF55H.js → chunk-DBXOSHV7.js} +2 -2
- package/bin/{chunk-ULT2OA4X.js → chunk-DNTOHRW4.js} +2 -2
- package/bin/{chunk-3M5VVOEZ.js → chunk-EJRTGQIY.js} +2 -2
- package/bin/{chunk-QNPO2V3D.cjs → chunk-FDIL5LQQ.cjs} +5 -5
- package/bin/{chunk-6NRXZ6QR.js → chunk-IFBRUMYX.js} +1 -1
- package/bin/{chunk-PSFME3R5.cjs → chunk-JUU5ILZB.cjs} +2 -2
- package/bin/{chunk-WKI5Y5T6.cjs → chunk-KD5ZCYX3.cjs} +388 -388
- package/bin/{chunk-4QPWQKY3.cjs → chunk-LHINQG4H.cjs} +32 -32
- package/bin/{chunk-IRMYUCHS.js → chunk-MM5AJ3HN.js} +2 -2
- package/bin/{chunk-6GVZLBQN.js → chunk-OBE5IRH4.js} +1 -1
- package/bin/{chunk-G3URB66P.js → chunk-PRG2N75Y.js} +1 -1
- package/bin/{chunk-HFUQXREM.cjs → chunk-PW5R2BRU.cjs} +3 -3
- package/bin/{chunk-NPRSXWA2.js → chunk-QVRLY7GO.js} +9 -9
- package/bin/{chunk-R7DMKRZJ.js → chunk-QYSGMK4D.js} +2 -2
- package/bin/{chunk-COHNBYUO.js → chunk-RJTSICHA.js} +2 -2
- package/bin/{chunk-PWYCQTR6.cjs → chunk-RWG7K3L2.cjs} +44 -44
- package/bin/{chunk-4YIK3VPZ.cjs → chunk-V2L6QG6X.cjs} +153 -153
- package/bin/{chunk-TELC6KPD.cjs → chunk-YCGKNXJZ.cjs} +11 -11
- package/bin/{chunk-GHBDMGTX.cjs → chunk-YKGA2MVU.cjs} +40 -40
- package/bin/{chunk-ADTYFYQS.cjs → chunk-YS7O5BRI.cjs} +138 -138
- package/bin/{dist-ZOQMIT2F.cjs → dist-5TR4KAWC.cjs} +8 -8
- package/bin/{dist-HW2G5BOV.js → dist-AXJG5W3U.js} +2 -2
- package/bin/{dist-VPU5OFWR.js → dist-KY7IAJSV.js} +8 -8
- package/bin/{dist-6ZEGWWVT.cjs → dist-YVMKTFW6.cjs} +1038 -1038
- package/bin/{esm-GQFWT3ED.js → esm-IZHFRARS.js} +1 -1
- package/bin/{esm-ARXRUJHA.cjs → esm-MGSMO3WY.cjs} +46 -46
- package/bin/git.cjs +4543 -4543
- package/bin/git.js +9 -9
- package/bin/json5-DQ2B7V4X.js +10 -0
- package/bin/json5-OV4LY5NN.cjs +10 -0
- package/bin/{jsonc-5XS7J23X.js → jsonc-6643P3LC.js} +3 -3
- package/bin/jsonc-SKJF3GPV.cjs +15 -0
- package/bin/{multipart-parser-I45X3EY3.js → multipart-parser-HAF2WA3O.js} +2 -2
- package/bin/{multipart-parser-CXO4FRZU.cjs → multipart-parser-Z3URKOGZ.cjs} +11 -11
- package/bin/post-checkout.cjs +22 -22
- package/bin/post-checkout.js +10 -10
- package/bin/post-commit.cjs +22 -22
- package/bin/post-commit.js +10 -10
- package/bin/post-merge.cjs +22 -22
- package/bin/post-merge.js +10 -10
- package/bin/pre-commit.cjs +20 -20
- package/bin/pre-commit.js +9 -9
- package/bin/pre-install.cjs +19 -19
- package/bin/pre-install.js +9 -9
- package/bin/pre-push.cjs +27 -27
- package/bin/pre-push.js +10 -10
- package/bin/prepare.cjs +17 -17
- package/bin/prepare.js +9 -9
- package/bin/toml-IP5GTCQW.cjs +10 -0
- package/bin/toml-KSQJ7SIB.js +10 -0
- package/bin/{utils-6GPBIZRI.cjs → utils-PZ3SHU7I.cjs} +10 -10
- package/bin/{utils-77IDU6XM.js → utils-WL6G35GX.js} +2 -2
- package/bin/version-warning.cjs +15 -15
- package/bin/version-warning.js +9 -9
- package/bin/yaml-3NH46CEJ.cjs +10 -0
- package/bin/yaml-F3NXDIX4.js +10 -0
- package/package.json +1 -1
- package/bin/json5-VE2C3QLL.js +0 -10
- package/bin/json5-W22CYLPA.cjs +0 -10
- package/bin/jsonc-QQ2GWIUH.cjs +0 -15
- package/bin/toml-327DP3E3.js +0 -10
- package/bin/toml-YGIRPOJX.cjs +0 -10
- package/bin/yaml-45GLSIVG.js +0 -10
- package/bin/yaml-4EWLBYLX.cjs +0 -10
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkRWG7K3L2cjs = require('./chunk-RWG7K3L2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkJUU5ILZBcjs = require('./chunk-JUU5ILZB.cjs');
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
|
|
11
|
-
|
|
11
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
|
|
13
13
|
// ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
14
|
-
|
|
14
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
15
15
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
16
16
|
function normalizeWindowsPath(input = "") {
|
|
17
17
|
if (!input) {
|
|
@@ -19,13 +19,13 @@ function normalizeWindowsPath(input = "") {
|
|
|
19
19
|
}
|
|
20
20
|
return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r2) => r2.toUpperCase());
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, normalizeWindowsPath, "normalizeWindowsPath");
|
|
23
23
|
var _UNC_REGEX = /^[/\\]{2}/;
|
|
24
24
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
25
25
|
var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
26
26
|
var _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
|
|
27
27
|
var _EXTNAME_RE = /.(\.[^./]+|\.)$/;
|
|
28
|
-
var normalize = /* @__PURE__ */
|
|
28
|
+
var normalize = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(path2) {
|
|
29
29
|
if (path2.length === 0) {
|
|
30
30
|
return ".";
|
|
31
31
|
}
|
|
@@ -54,7 +54,7 @@ var normalize = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.call(void 0, function(p
|
|
|
54
54
|
}
|
|
55
55
|
return isPathAbsolute && !isAbsolute(path2) ? `/${path2}` : path2;
|
|
56
56
|
}, "normalize");
|
|
57
|
-
var join = /* @__PURE__ */
|
|
57
|
+
var join = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(...segments) {
|
|
58
58
|
let path2 = "";
|
|
59
59
|
for (const seg of segments) {
|
|
60
60
|
if (!seg) {
|
|
@@ -81,8 +81,8 @@ function cwd() {
|
|
|
81
81
|
}
|
|
82
82
|
return "/";
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
var resolve = /* @__PURE__ */
|
|
84
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, cwd, "cwd");
|
|
85
|
+
var resolve = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(...arguments_) {
|
|
86
86
|
arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
|
|
87
87
|
let resolvedPath = "";
|
|
88
88
|
let resolvedAbsolute = false;
|
|
@@ -160,16 +160,16 @@ function normalizeString(path2, allowAboveRoot) {
|
|
|
160
160
|
}
|
|
161
161
|
return res;
|
|
162
162
|
}
|
|
163
|
-
|
|
164
|
-
var isAbsolute = /* @__PURE__ */
|
|
163
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, normalizeString, "normalizeString");
|
|
164
|
+
var isAbsolute = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(p) {
|
|
165
165
|
return _IS_ABSOLUTE_RE.test(p);
|
|
166
166
|
}, "isAbsolute");
|
|
167
|
-
var extname = /* @__PURE__ */
|
|
167
|
+
var extname = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(p) {
|
|
168
168
|
if (p === "..") return "";
|
|
169
169
|
const match = _EXTNAME_RE.exec(normalizeWindowsPath(p));
|
|
170
170
|
return match && match[1] || "";
|
|
171
171
|
}, "extname");
|
|
172
|
-
var relative = /* @__PURE__ */
|
|
172
|
+
var relative = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(from, to) {
|
|
173
173
|
const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
174
174
|
const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
|
|
175
175
|
if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
|
|
@@ -185,14 +185,14 @@ var relative = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.call(void 0, function(fr
|
|
|
185
185
|
}
|
|
186
186
|
return [..._from.map(() => ".."), ..._to].join("/");
|
|
187
187
|
}, "relative");
|
|
188
|
-
var dirname = /* @__PURE__ */
|
|
188
|
+
var dirname = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(p) {
|
|
189
189
|
const segments = normalizeWindowsPath(p).replace(/\/$/, "").split("/").slice(0, -1);
|
|
190
190
|
if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) {
|
|
191
191
|
segments[0] += "/";
|
|
192
192
|
}
|
|
193
193
|
return segments.join("/") || (isAbsolute(p) ? "/" : ".");
|
|
194
194
|
}, "dirname");
|
|
195
|
-
var basename = /* @__PURE__ */
|
|
195
|
+
var basename = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function(p, extension) {
|
|
196
196
|
const segments = normalizeWindowsPath(p).split("/");
|
|
197
197
|
let lastSegment = "";
|
|
198
198
|
for (let i = segments.length - 1; i >= 0; i--) {
|
|
@@ -206,7 +206,7 @@ var basename = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.call(void 0, function(p,
|
|
|
206
206
|
}, "basename");
|
|
207
207
|
|
|
208
208
|
// ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
|
|
209
|
-
|
|
209
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
210
210
|
function isPlainObject(value) {
|
|
211
211
|
if (value === null || typeof value !== "object") {
|
|
212
212
|
return false;
|
|
@@ -223,7 +223,7 @@ function isPlainObject(value) {
|
|
|
223
223
|
}
|
|
224
224
|
return true;
|
|
225
225
|
}
|
|
226
|
-
|
|
226
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isPlainObject, "isPlainObject");
|
|
227
227
|
function _defu(baseObject, defaults, namespace = ".", merger) {
|
|
228
228
|
if (!isPlainObject(defaults)) {
|
|
229
229
|
return _defu(baseObject, {}, namespace, merger);
|
|
@@ -255,14 +255,14 @@ function _defu(baseObject, defaults, namespace = ".", merger) {
|
|
|
255
255
|
}
|
|
256
256
|
return object;
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, _defu, "_defu");
|
|
259
259
|
function createDefu(merger) {
|
|
260
260
|
return (...arguments_) => (
|
|
261
261
|
// eslint-disable-next-line unicorn/no-array-reduce
|
|
262
262
|
arguments_.reduce((p, c) => _defu(p, c, "", merger), {})
|
|
263
263
|
);
|
|
264
264
|
}
|
|
265
|
-
|
|
265
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, createDefu, "createDefu");
|
|
266
266
|
var defu = createDefu();
|
|
267
267
|
var defuFn = createDefu((object, key, currentValue) => {
|
|
268
268
|
if (object[key] !== void 0 && typeof currentValue === "function") {
|
|
@@ -278,7 +278,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
278
278
|
});
|
|
279
279
|
|
|
280
280
|
// ../../node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.mjs
|
|
281
|
-
|
|
281
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
282
282
|
var r = String.fromCharCode;
|
|
283
283
|
var TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
|
|
284
284
|
var JOIN_LEADING_SLASH_RE = /^\.?\//;
|
|
@@ -288,7 +288,7 @@ function hasTrailingSlash(input = "", respectQueryAndFragment) {
|
|
|
288
288
|
}
|
|
289
289
|
return TRAILING_SLASH_RE.test(input);
|
|
290
290
|
}
|
|
291
|
-
|
|
291
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, hasTrailingSlash, "hasTrailingSlash");
|
|
292
292
|
function withTrailingSlash(input = "", respectQueryAndFragment) {
|
|
293
293
|
if (!respectQueryAndFragment) {
|
|
294
294
|
return input.endsWith("/") ? input : input + "/";
|
|
@@ -309,11 +309,11 @@ function withTrailingSlash(input = "", respectQueryAndFragment) {
|
|
|
309
309
|
const [s0, ...s] = path2.split("?");
|
|
310
310
|
return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, withTrailingSlash, "withTrailingSlash");
|
|
313
313
|
function isNonEmptyURL(url) {
|
|
314
314
|
return url && url !== "/";
|
|
315
315
|
}
|
|
316
|
-
|
|
316
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isNonEmptyURL, "isNonEmptyURL");
|
|
317
317
|
function joinURL(base, ...input) {
|
|
318
318
|
let url = base || "";
|
|
319
319
|
for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
|
|
@@ -326,18 +326,18 @@ function joinURL(base, ...input) {
|
|
|
326
326
|
}
|
|
327
327
|
return url;
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, joinURL, "joinURL");
|
|
330
330
|
var protocolRelative = Symbol.for("ufo:protocolRelative");
|
|
331
331
|
|
|
332
332
|
// ../../node_modules/.pnpm/pkg-types@1.3.1/node_modules/pkg-types/dist/index.mjs
|
|
333
|
-
|
|
333
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
334
334
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
335
335
|
|
|
336
336
|
// ../../node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist/index.mjs
|
|
337
|
-
|
|
337
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
338
338
|
|
|
339
339
|
// ../../node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/dist/acorn.mjs
|
|
340
|
-
|
|
340
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
341
341
|
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];
|
|
342
342
|
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];
|
|
343
343
|
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";
|
|
@@ -372,7 +372,7 @@ function isInAstralSet(code, set) {
|
|
|
372
372
|
}
|
|
373
373
|
return false;
|
|
374
374
|
}
|
|
375
|
-
|
|
375
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isInAstralSet, "isInAstralSet");
|
|
376
376
|
function isIdentifierStart(code, astral) {
|
|
377
377
|
if (code < 65) {
|
|
378
378
|
return code === 36;
|
|
@@ -394,7 +394,7 @@ function isIdentifierStart(code, astral) {
|
|
|
394
394
|
}
|
|
395
395
|
return isInAstralSet(code, astralIdentifierStartCodes);
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isIdentifierStart, "isIdentifierStart");
|
|
398
398
|
function isIdentifierChar(code, astral) {
|
|
399
399
|
if (code < 48) {
|
|
400
400
|
return code === 36;
|
|
@@ -422,8 +422,8 @@ function isIdentifierChar(code, astral) {
|
|
|
422
422
|
}
|
|
423
423
|
return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
var TokenType = /* @__PURE__ */
|
|
425
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isIdentifierChar, "isIdentifierChar");
|
|
426
|
+
var TokenType = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function TokenType2(label, conf) {
|
|
427
427
|
if (conf === void 0) conf = {};
|
|
428
428
|
this.label = label;
|
|
429
429
|
this.keyword = conf.keyword;
|
|
@@ -439,7 +439,7 @@ var TokenType = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.call(void 0, function T
|
|
|
439
439
|
function binop(name, prec) {
|
|
440
440
|
return new TokenType(name, { beforeExpr: true, binop: prec });
|
|
441
441
|
}
|
|
442
|
-
|
|
442
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, binop, "binop");
|
|
443
443
|
var beforeExpr = { beforeExpr: true };
|
|
444
444
|
var startsExpr = { startsExpr: true };
|
|
445
445
|
var keywords = {};
|
|
@@ -448,7 +448,7 @@ function kw(name, options) {
|
|
|
448
448
|
options.keyword = name;
|
|
449
449
|
return keywords[name] = new TokenType(name, options);
|
|
450
450
|
}
|
|
451
|
-
|
|
451
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, kw, "kw");
|
|
452
452
|
var types$1 = {
|
|
453
453
|
num: new TokenType("num", startsExpr),
|
|
454
454
|
regexp: new TokenType("regexp", startsExpr),
|
|
@@ -548,7 +548,7 @@ var lineBreakG = new RegExp(lineBreak.source, "g");
|
|
|
548
548
|
function isNewLine(code) {
|
|
549
549
|
return code === 10 || code === 13 || code === 8232 || code === 8233;
|
|
550
550
|
}
|
|
551
|
-
|
|
551
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isNewLine, "isNewLine");
|
|
552
552
|
function nextLineBreak(code, from, end) {
|
|
553
553
|
if (end === void 0) end = code.length;
|
|
554
554
|
for (var i = from; i < end; i++) {
|
|
@@ -559,7 +559,7 @@ function nextLineBreak(code, from, end) {
|
|
|
559
559
|
}
|
|
560
560
|
return -1;
|
|
561
561
|
}
|
|
562
|
-
|
|
562
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, nextLineBreak, "nextLineBreak");
|
|
563
563
|
var nonASCIIwhitespace = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
564
564
|
var skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
|
|
565
565
|
var ref = Object.prototype;
|
|
@@ -575,7 +575,7 @@ var regexpCache = /* @__PURE__ */ Object.create(null);
|
|
|
575
575
|
function wordsRegexp(words) {
|
|
576
576
|
return regexpCache[words] || (regexpCache[words] = new RegExp("^(?:" + words.replace(/ /g, "|") + ")$"));
|
|
577
577
|
}
|
|
578
|
-
|
|
578
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, wordsRegexp, "wordsRegexp");
|
|
579
579
|
function codePointToString(code) {
|
|
580
580
|
if (code <= 65535) {
|
|
581
581
|
return String.fromCharCode(code);
|
|
@@ -583,16 +583,16 @@ function codePointToString(code) {
|
|
|
583
583
|
code -= 65536;
|
|
584
584
|
return String.fromCharCode((code >> 10) + 55296, (code & 1023) + 56320);
|
|
585
585
|
}
|
|
586
|
-
|
|
586
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, codePointToString, "codePointToString");
|
|
587
587
|
var loneSurrogate = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
|
|
588
|
-
var Position = /* @__PURE__ */
|
|
588
|
+
var Position = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function Position2(line, col) {
|
|
589
589
|
this.line = line;
|
|
590
590
|
this.column = col;
|
|
591
591
|
}, "Position");
|
|
592
|
-
Position.prototype.offset = /* @__PURE__ */
|
|
592
|
+
Position.prototype.offset = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function offset(n) {
|
|
593
593
|
return new Position(this.line, this.column + n);
|
|
594
594
|
}, "offset");
|
|
595
|
-
var SourceLocation = /* @__PURE__ */
|
|
595
|
+
var SourceLocation = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function SourceLocation2(p, start, end) {
|
|
596
596
|
this.start = start;
|
|
597
597
|
this.end = end;
|
|
598
598
|
if (p.sourceFile !== null) {
|
|
@@ -609,7 +609,7 @@ function getLineInfo(input, offset2) {
|
|
|
609
609
|
cur = nextBreak;
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
|
|
612
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getLineInfo, "getLineInfo");
|
|
613
613
|
var defaultOptions = {
|
|
614
614
|
// `ecmaVersion` indicates the ECMAScript version to parse. Must be
|
|
615
615
|
// either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10
|
|
@@ -741,7 +741,7 @@ function getOptions(opts) {
|
|
|
741
741
|
}
|
|
742
742
|
return options;
|
|
743
743
|
}
|
|
744
|
-
|
|
744
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getOptions, "getOptions");
|
|
745
745
|
function pushComment(options, array) {
|
|
746
746
|
return function(block, text, start, end, startLoc, endLoc) {
|
|
747
747
|
var comment = {
|
|
@@ -759,7 +759,7 @@ function pushComment(options, array) {
|
|
|
759
759
|
array.push(comment);
|
|
760
760
|
};
|
|
761
761
|
}
|
|
762
|
-
|
|
762
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, pushComment, "pushComment");
|
|
763
763
|
var SCOPE_TOP = 1;
|
|
764
764
|
var SCOPE_FUNCTION = 2;
|
|
765
765
|
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
|
+
_chunkJUU5ILZBcjs.__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__ */ _chunkJUU5ILZBcjs.__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__ */ _chunkPSFME3R5cjs.__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__ */ _chunkJUU5ILZBcjs.__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);
|
|
@@ -881,7 +881,7 @@ prototypeAccessors.allowNewDotTarget.get = function() {
|
|
|
881
881
|
prototypeAccessors.inClassStaticBlock.get = function() {
|
|
882
882
|
return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0;
|
|
883
883
|
};
|
|
884
|
-
Parser.extend = /* @__PURE__ */
|
|
884
|
+
Parser.extend = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function extend() {
|
|
885
885
|
var plugins = [], len = arguments.length;
|
|
886
886
|
while (len--) plugins[len] = arguments[len];
|
|
887
887
|
var cls = this;
|
|
@@ -890,15 +890,15 @@ Parser.extend = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.call(void 0, function e
|
|
|
890
890
|
}
|
|
891
891
|
return cls;
|
|
892
892
|
}, "extend");
|
|
893
|
-
Parser.parse = /* @__PURE__ */
|
|
893
|
+
Parser.parse = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function parse3(input, options) {
|
|
894
894
|
return new this(options, input).parse();
|
|
895
895
|
}, "parse");
|
|
896
|
-
Parser.parseExpressionAt = /* @__PURE__ */
|
|
896
|
+
Parser.parseExpressionAt = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function parseExpressionAt(input, pos, options) {
|
|
897
897
|
var parser = new this(options, input, pos);
|
|
898
898
|
parser.nextToken();
|
|
899
899
|
return parser.parseExpression();
|
|
900
900
|
}, "parseExpressionAt");
|
|
901
|
-
Parser.tokenizer = /* @__PURE__ */
|
|
901
|
+
Parser.tokenizer = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function tokenizer(input, options) {
|
|
902
902
|
return new this(options, input);
|
|
903
903
|
}, "tokenizer");
|
|
904
904
|
Object.defineProperties(Parser.prototype, prototypeAccessors);
|
|
@@ -985,7 +985,7 @@ pp$9.expect = function(type) {
|
|
|
985
985
|
pp$9.unexpected = function(pos) {
|
|
986
986
|
this.raise(pos != null ? pos : this.start, "Unexpected token");
|
|
987
987
|
};
|
|
988
|
-
var DestructuringErrors = /* @__PURE__ */
|
|
988
|
+
var DestructuringErrors = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function DestructuringErrors2() {
|
|
989
989
|
this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
|
|
990
990
|
}, "DestructuringErrors");
|
|
991
991
|
pp$9.checkPatternErrors = function(refDestructuringErrors, isAssign) {
|
|
@@ -1800,13 +1800,13 @@ function isPrivateNameConflicted(privateNameMap, element) {
|
|
|
1800
1800
|
return true;
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
|
-
|
|
1803
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isPrivateNameConflicted, "isPrivateNameConflicted");
|
|
1804
1804
|
function checkKeyName(node, name) {
|
|
1805
1805
|
var computed = node.computed;
|
|
1806
1806
|
var key = node.key;
|
|
1807
1807
|
return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
|
|
1808
1808
|
}
|
|
1809
|
-
|
|
1809
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, checkKeyName, "checkKeyName");
|
|
1810
1810
|
pp$8.parseExportAllDeclaration = function(node, exports) {
|
|
1811
1811
|
if (this.options.ecmaVersion >= 11) {
|
|
1812
1812
|
if (this.eatContextual("as")) {
|
|
@@ -2338,7 +2338,7 @@ pp$7.checkLValInnerPattern = function(expr, bindingType, checkClashes) {
|
|
|
2338
2338
|
this.checkLValPattern(expr, bindingType, checkClashes);
|
|
2339
2339
|
}
|
|
2340
2340
|
};
|
|
2341
|
-
var TokContext = /* @__PURE__ */
|
|
2341
|
+
var TokContext = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function TokContext2(token, isExpr, preserveSpace, override, generator) {
|
|
2342
2342
|
this.token = token;
|
|
2343
2343
|
this.isExpr = !!isExpr;
|
|
2344
2344
|
this.preserveSpace = !!preserveSpace;
|
|
@@ -2728,11 +2728,11 @@ pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forIni
|
|
|
2728
2728
|
function isLocalVariableAccess(node) {
|
|
2729
2729
|
return node.type === "Identifier" || node.type === "ParenthesizedExpression" && isLocalVariableAccess(node.expression);
|
|
2730
2730
|
}
|
|
2731
|
-
|
|
2731
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isLocalVariableAccess, "isLocalVariableAccess");
|
|
2732
2732
|
function isPrivateFieldAccess(node) {
|
|
2733
2733
|
return node.type === "MemberExpression" && node.property.type === "PrivateIdentifier" || node.type === "ChainExpression" && isPrivateFieldAccess(node.expression) || node.type === "ParenthesizedExpression" && isPrivateFieldAccess(node.expression);
|
|
2734
2734
|
}
|
|
2735
|
-
|
|
2735
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isPrivateFieldAccess, "isPrivateFieldAccess");
|
|
2736
2736
|
pp$5.parseExprSubscripts = function(refDestructuringErrors, forInit) {
|
|
2737
2737
|
var startPos = this.start, startLoc = this.startLoc;
|
|
2738
2738
|
var expr = this.parseExprAtom(refDestructuringErrors, forInit);
|
|
@@ -3548,7 +3548,7 @@ pp$4.curPosition = function() {
|
|
|
3548
3548
|
}
|
|
3549
3549
|
};
|
|
3550
3550
|
var pp$3 = Parser.prototype;
|
|
3551
|
-
var Scope = /* @__PURE__ */
|
|
3551
|
+
var Scope = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function Scope2(flags) {
|
|
3552
3552
|
this.flags = flags;
|
|
3553
3553
|
this.var = [];
|
|
3554
3554
|
this.lexical = [];
|
|
@@ -3627,7 +3627,7 @@ pp$3.currentThisScope = function() {
|
|
|
3627
3627
|
}
|
|
3628
3628
|
}
|
|
3629
3629
|
};
|
|
3630
|
-
var Node = /* @__PURE__ */
|
|
3630
|
+
var Node = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function Node2(parser, pos, loc) {
|
|
3631
3631
|
this.type = "";
|
|
3632
3632
|
this.start = pos;
|
|
3633
3633
|
this.end = 0;
|
|
@@ -3659,7 +3659,7 @@ function finishNodeAt(node, type, pos, loc) {
|
|
|
3659
3659
|
}
|
|
3660
3660
|
return node;
|
|
3661
3661
|
}
|
|
3662
|
-
|
|
3662
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, finishNodeAt, "finishNodeAt");
|
|
3663
3663
|
pp$2.finishNode = function(node, type) {
|
|
3664
3664
|
return finishNodeAt.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc);
|
|
3665
3665
|
};
|
|
@@ -3727,7 +3727,7 @@ function buildUnicodeData(ecmaVersion) {
|
|
|
3727
3727
|
d2.nonBinary.sc = d2.nonBinary.Script;
|
|
3728
3728
|
d2.nonBinary.scx = d2.nonBinary.Script_Extensions;
|
|
3729
3729
|
}
|
|
3730
|
-
|
|
3730
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, buildUnicodeData, "buildUnicodeData");
|
|
3731
3731
|
for (i = 0, list = [9, 10, 11, 12, 13, 14]; i < list.length; i += 1) {
|
|
3732
3732
|
ecmaVersion = list[i];
|
|
3733
3733
|
buildUnicodeData(ecmaVersion);
|
|
@@ -3736,11 +3736,11 @@ var ecmaVersion;
|
|
|
3736
3736
|
var i;
|
|
3737
3737
|
var list;
|
|
3738
3738
|
var pp$1 = Parser.prototype;
|
|
3739
|
-
var BranchID = /* @__PURE__ */
|
|
3739
|
+
var BranchID = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function BranchID2(parent, base) {
|
|
3740
3740
|
this.parent = parent;
|
|
3741
3741
|
this.base = base || this;
|
|
3742
3742
|
}, "BranchID");
|
|
3743
|
-
BranchID.prototype.separatedFrom = /* @__PURE__ */
|
|
3743
|
+
BranchID.prototype.separatedFrom = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function separatedFrom(alt) {
|
|
3744
3744
|
for (var self = this; self; self = self.parent) {
|
|
3745
3745
|
for (var other = alt; other; other = other.parent) {
|
|
3746
3746
|
if (self.base === other.base && self !== other) {
|
|
@@ -3750,10 +3750,10 @@ BranchID.prototype.separatedFrom = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.call
|
|
|
3750
3750
|
}
|
|
3751
3751
|
return false;
|
|
3752
3752
|
}, "separatedFrom");
|
|
3753
|
-
BranchID.prototype.sibling = /* @__PURE__ */
|
|
3753
|
+
BranchID.prototype.sibling = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function sibling() {
|
|
3754
3754
|
return new BranchID(this.parent, this.base);
|
|
3755
3755
|
}, "sibling");
|
|
3756
|
-
var RegExpValidationState = /* @__PURE__ */
|
|
3756
|
+
var RegExpValidationState = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function RegExpValidationState2(parser) {
|
|
3757
3757
|
this.parser = parser;
|
|
3758
3758
|
this.validFlags = "gim" + (parser.options.ecmaVersion >= 6 ? "uy" : "") + (parser.options.ecmaVersion >= 9 ? "s" : "") + (parser.options.ecmaVersion >= 13 ? "d" : "") + (parser.options.ecmaVersion >= 15 ? "v" : "");
|
|
3759
3759
|
this.unicodeProperties = data[parser.options.ecmaVersion >= 14 ? 14 : parser.options.ecmaVersion];
|
|
@@ -3773,7 +3773,7 @@ var RegExpValidationState = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.call(void 0
|
|
|
3773
3773
|
this.backReferenceNames = [];
|
|
3774
3774
|
this.branchID = null;
|
|
3775
3775
|
}, "RegExpValidationState");
|
|
3776
|
-
RegExpValidationState.prototype.reset = /* @__PURE__ */
|
|
3776
|
+
RegExpValidationState.prototype.reset = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function reset(start, pattern, flags) {
|
|
3777
3777
|
var unicodeSets = flags.indexOf("v") !== -1;
|
|
3778
3778
|
var unicode = flags.indexOf("u") !== -1;
|
|
3779
3779
|
this.start = start | 0;
|
|
@@ -3789,10 +3789,10 @@ RegExpValidationState.prototype.reset = /* @__PURE__ */ _chunkPSFME3R5cjs.__name
|
|
|
3789
3789
|
this.switchN = unicode && this.parser.options.ecmaVersion >= 9;
|
|
3790
3790
|
}
|
|
3791
3791
|
}, "reset");
|
|
3792
|
-
RegExpValidationState.prototype.raise = /* @__PURE__ */
|
|
3792
|
+
RegExpValidationState.prototype.raise = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function raise(message) {
|
|
3793
3793
|
this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + message);
|
|
3794
3794
|
}, "raise");
|
|
3795
|
-
RegExpValidationState.prototype.at = /* @__PURE__ */
|
|
3795
|
+
RegExpValidationState.prototype.at = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function at(i, forceU) {
|
|
3796
3796
|
if (forceU === void 0) forceU = false;
|
|
3797
3797
|
var s = this.source;
|
|
3798
3798
|
var l = s.length;
|
|
@@ -3806,7 +3806,7 @@ RegExpValidationState.prototype.at = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.ca
|
|
|
3806
3806
|
var next = s.charCodeAt(i + 1);
|
|
3807
3807
|
return next >= 56320 && next <= 57343 ? (c << 10) + next - 56613888 : c;
|
|
3808
3808
|
}, "at");
|
|
3809
|
-
RegExpValidationState.prototype.nextIndex = /* @__PURE__ */
|
|
3809
|
+
RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function nextIndex(i, forceU) {
|
|
3810
3810
|
if (forceU === void 0) forceU = false;
|
|
3811
3811
|
var s = this.source;
|
|
3812
3812
|
var l = s.length;
|
|
@@ -3819,19 +3819,19 @@ RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ _chunkPSFME3R5cjs.__
|
|
|
3819
3819
|
}
|
|
3820
3820
|
return i + 2;
|
|
3821
3821
|
}, "nextIndex");
|
|
3822
|
-
RegExpValidationState.prototype.current = /* @__PURE__ */
|
|
3822
|
+
RegExpValidationState.prototype.current = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function current(forceU) {
|
|
3823
3823
|
if (forceU === void 0) forceU = false;
|
|
3824
3824
|
return this.at(this.pos, forceU);
|
|
3825
3825
|
}, "current");
|
|
3826
|
-
RegExpValidationState.prototype.lookahead = /* @__PURE__ */
|
|
3826
|
+
RegExpValidationState.prototype.lookahead = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function lookahead(forceU) {
|
|
3827
3827
|
if (forceU === void 0) forceU = false;
|
|
3828
3828
|
return this.at(this.nextIndex(this.pos, forceU), forceU);
|
|
3829
3829
|
}, "lookahead");
|
|
3830
|
-
RegExpValidationState.prototype.advance = /* @__PURE__ */
|
|
3830
|
+
RegExpValidationState.prototype.advance = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function advance(forceU) {
|
|
3831
3831
|
if (forceU === void 0) forceU = false;
|
|
3832
3832
|
this.pos = this.nextIndex(this.pos, forceU);
|
|
3833
3833
|
}, "advance");
|
|
3834
|
-
RegExpValidationState.prototype.eat = /* @__PURE__ */
|
|
3834
|
+
RegExpValidationState.prototype.eat = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function eat(ch, forceU) {
|
|
3835
3835
|
if (forceU === void 0) forceU = false;
|
|
3836
3836
|
if (this.current(forceU) === ch) {
|
|
3837
3837
|
this.advance(forceU);
|
|
@@ -3839,7 +3839,7 @@ RegExpValidationState.prototype.eat = /* @__PURE__ */ _chunkPSFME3R5cjs.__name.c
|
|
|
3839
3839
|
}
|
|
3840
3840
|
return false;
|
|
3841
3841
|
}, "eat");
|
|
3842
|
-
RegExpValidationState.prototype.eatChars = /* @__PURE__ */
|
|
3842
|
+
RegExpValidationState.prototype.eatChars = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function eatChars(chs, forceU) {
|
|
3843
3843
|
if (forceU === void 0) forceU = false;
|
|
3844
3844
|
var pos = this.pos;
|
|
3845
3845
|
for (var i = 0, list = chs; i < list.length; i += 1) {
|
|
@@ -3883,7 +3883,7 @@ function hasProp(obj) {
|
|
|
3883
3883
|
}
|
|
3884
3884
|
return false;
|
|
3885
3885
|
}
|
|
3886
|
-
|
|
3886
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, hasProp, "hasProp");
|
|
3887
3887
|
pp$1.validateRegExpPattern = function(state) {
|
|
3888
3888
|
this.regexp_pattern(state);
|
|
3889
3889
|
if (!state.switchN && this.options.ecmaVersion >= 9 && hasProp(state.groupNames)) {
|
|
@@ -4201,7 +4201,7 @@ pp$1.regexp_eatModifiers = function(state) {
|
|
|
4201
4201
|
function isRegularExpressionModifier(ch) {
|
|
4202
4202
|
return ch === 105 || ch === 109 || ch === 115;
|
|
4203
4203
|
}
|
|
4204
|
-
|
|
4204
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isRegularExpressionModifier, "isRegularExpressionModifier");
|
|
4205
4205
|
pp$1.regexp_eatExtendedAtom = function(state) {
|
|
4206
4206
|
return state.eat(
|
|
4207
4207
|
46
|
|
@@ -4226,7 +4226,7 @@ pp$1.regexp_eatSyntaxCharacter = function(state) {
|
|
|
4226
4226
|
function isSyntaxCharacter(ch) {
|
|
4227
4227
|
return ch === 36 || ch >= 40 && ch <= 43 || ch === 46 || ch === 63 || ch >= 91 && ch <= 94 || ch >= 123 && ch <= 125;
|
|
4228
4228
|
}
|
|
4229
|
-
|
|
4229
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isSyntaxCharacter, "isSyntaxCharacter");
|
|
4230
4230
|
pp$1.regexp_eatPatternCharacters = function(state) {
|
|
4231
4231
|
var start = state.pos;
|
|
4232
4232
|
var ch = 0;
|
|
@@ -4317,7 +4317,7 @@ pp$1.regexp_eatRegExpIdentifierStart = function(state) {
|
|
|
4317
4317
|
function isRegExpIdentifierStart(ch) {
|
|
4318
4318
|
return isIdentifierStart(ch, true) || ch === 36 || ch === 95;
|
|
4319
4319
|
}
|
|
4320
|
-
|
|
4320
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isRegExpIdentifierStart, "isRegExpIdentifierStart");
|
|
4321
4321
|
pp$1.regexp_eatRegExpIdentifierPart = function(state) {
|
|
4322
4322
|
var start = state.pos;
|
|
4323
4323
|
var forceU = this.options.ecmaVersion >= 11;
|
|
@@ -4336,7 +4336,7 @@ pp$1.regexp_eatRegExpIdentifierPart = function(state) {
|
|
|
4336
4336
|
function isRegExpIdentifierPart(ch) {
|
|
4337
4337
|
return isIdentifierChar(ch, true) || ch === 36 || ch === 95 || ch === 8204 || ch === 8205;
|
|
4338
4338
|
}
|
|
4339
|
-
|
|
4339
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isRegExpIdentifierPart, "isRegExpIdentifierPart");
|
|
4340
4340
|
pp$1.regexp_eatAtomEscape = function(state) {
|
|
4341
4341
|
if (this.regexp_eatBackReference(state) || this.regexp_eatCharacterClassEscape(state) || this.regexp_eatCharacterEscape(state) || state.switchN && this.regexp_eatKGroupName(state)) {
|
|
4342
4342
|
return true;
|
|
@@ -4444,7 +4444,7 @@ pp$1.regexp_eatControlLetter = function(state) {
|
|
|
4444
4444
|
function isControlLetter(ch) {
|
|
4445
4445
|
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122;
|
|
4446
4446
|
}
|
|
4447
|
-
|
|
4447
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isControlLetter, "isControlLetter");
|
|
4448
4448
|
pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {
|
|
4449
4449
|
if (forceU === void 0) forceU = false;
|
|
4450
4450
|
var start = state.pos;
|
|
@@ -4494,7 +4494,7 @@ pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {
|
|
|
4494
4494
|
function isValidUnicode(ch) {
|
|
4495
4495
|
return ch >= 0 && ch <= 1114111;
|
|
4496
4496
|
}
|
|
4497
|
-
|
|
4497
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isValidUnicode, "isValidUnicode");
|
|
4498
4498
|
pp$1.regexp_eatIdentityEscape = function(state) {
|
|
4499
4499
|
if (state.switchU) {
|
|
4500
4500
|
if (this.regexp_eatSyntaxCharacter(state)) {
|
|
@@ -4563,7 +4563,7 @@ pp$1.regexp_eatCharacterClassEscape = function(state) {
|
|
|
4563
4563
|
function isCharacterClassEscape(ch) {
|
|
4564
4564
|
return ch === 100 || ch === 68 || ch === 115 || ch === 83 || ch === 119 || ch === 87;
|
|
4565
4565
|
}
|
|
4566
|
-
|
|
4566
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isCharacterClassEscape, "isCharacterClassEscape");
|
|
4567
4567
|
pp$1.regexp_eatUnicodePropertyValueExpression = function(state) {
|
|
4568
4568
|
var start = state.pos;
|
|
4569
4569
|
if (this.regexp_eatUnicodePropertyName(state) && state.eat(
|
|
@@ -4613,7 +4613,7 @@ pp$1.regexp_eatUnicodePropertyName = function(state) {
|
|
|
4613
4613
|
function isUnicodePropertyNameCharacter(ch) {
|
|
4614
4614
|
return isControlLetter(ch) || ch === 95;
|
|
4615
4615
|
}
|
|
4616
|
-
|
|
4616
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isUnicodePropertyNameCharacter, "isUnicodePropertyNameCharacter");
|
|
4617
4617
|
pp$1.regexp_eatUnicodePropertyValue = function(state) {
|
|
4618
4618
|
var ch = 0;
|
|
4619
4619
|
state.lastStringValue = "";
|
|
@@ -4626,7 +4626,7 @@ pp$1.regexp_eatUnicodePropertyValue = function(state) {
|
|
|
4626
4626
|
function isUnicodePropertyValueCharacter(ch) {
|
|
4627
4627
|
return isUnicodePropertyNameCharacter(ch) || isDecimalDigit(ch);
|
|
4628
4628
|
}
|
|
4629
|
-
|
|
4629
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isUnicodePropertyValueCharacter, "isUnicodePropertyValueCharacter");
|
|
4630
4630
|
pp$1.regexp_eatLoneUnicodePropertyNameOrValue = function(state) {
|
|
4631
4631
|
return this.regexp_eatUnicodePropertyValue(state);
|
|
4632
4632
|
};
|
|
@@ -4918,11 +4918,11 @@ pp$1.regexp_eatClassSetCharacter = function(state) {
|
|
|
4918
4918
|
function isClassSetReservedDoublePunctuatorCharacter(ch) {
|
|
4919
4919
|
return ch === 33 || ch >= 35 && ch <= 38 || ch >= 42 && ch <= 44 || ch === 46 || ch >= 58 && ch <= 64 || ch === 94 || ch === 96 || ch === 126;
|
|
4920
4920
|
}
|
|
4921
|
-
|
|
4921
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isClassSetReservedDoublePunctuatorCharacter, "isClassSetReservedDoublePunctuatorCharacter");
|
|
4922
4922
|
function isClassSetSyntaxCharacter(ch) {
|
|
4923
4923
|
return ch === 40 || ch === 41 || ch === 45 || ch === 47 || ch >= 91 && ch <= 93 || ch >= 123 && ch <= 125;
|
|
4924
4924
|
}
|
|
4925
|
-
|
|
4925
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isClassSetSyntaxCharacter, "isClassSetSyntaxCharacter");
|
|
4926
4926
|
pp$1.regexp_eatClassSetReservedPunctuator = function(state) {
|
|
4927
4927
|
var ch = state.current();
|
|
4928
4928
|
if (isClassSetReservedPunctuator(ch)) {
|
|
@@ -4935,7 +4935,7 @@ pp$1.regexp_eatClassSetReservedPunctuator = function(state) {
|
|
|
4935
4935
|
function isClassSetReservedPunctuator(ch) {
|
|
4936
4936
|
return ch === 33 || ch === 35 || ch === 37 || ch === 38 || ch === 44 || ch === 45 || ch >= 58 && ch <= 62 || ch === 64 || ch === 96 || ch === 126;
|
|
4937
4937
|
}
|
|
4938
|
-
|
|
4938
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isClassSetReservedPunctuator, "isClassSetReservedPunctuator");
|
|
4939
4939
|
pp$1.regexp_eatClassControlLetter = function(state) {
|
|
4940
4940
|
var ch = state.current();
|
|
4941
4941
|
if (isDecimalDigit(ch) || ch === 95) {
|
|
@@ -4974,7 +4974,7 @@ pp$1.regexp_eatDecimalDigits = function(state) {
|
|
|
4974
4974
|
function isDecimalDigit(ch) {
|
|
4975
4975
|
return ch >= 48 && ch <= 57;
|
|
4976
4976
|
}
|
|
4977
|
-
|
|
4977
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isDecimalDigit, "isDecimalDigit");
|
|
4978
4978
|
pp$1.regexp_eatHexDigits = function(state) {
|
|
4979
4979
|
var start = state.pos;
|
|
4980
4980
|
var ch = 0;
|
|
@@ -4988,7 +4988,7 @@ pp$1.regexp_eatHexDigits = function(state) {
|
|
|
4988
4988
|
function isHexDigit(ch) {
|
|
4989
4989
|
return ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102;
|
|
4990
4990
|
}
|
|
4991
|
-
|
|
4991
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isHexDigit, "isHexDigit");
|
|
4992
4992
|
function hexToInt(ch) {
|
|
4993
4993
|
if (ch >= 65 && ch <= 70) {
|
|
4994
4994
|
return 10 + (ch - 65);
|
|
@@ -4998,7 +4998,7 @@ function hexToInt(ch) {
|
|
|
4998
4998
|
}
|
|
4999
4999
|
return ch - 48;
|
|
5000
5000
|
}
|
|
5001
|
-
|
|
5001
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, hexToInt, "hexToInt");
|
|
5002
5002
|
pp$1.regexp_eatLegacyOctalEscapeSequence = function(state) {
|
|
5003
5003
|
if (this.regexp_eatOctalDigit(state)) {
|
|
5004
5004
|
var n1 = state.lastIntValue;
|
|
@@ -5029,7 +5029,7 @@ pp$1.regexp_eatOctalDigit = function(state) {
|
|
|
5029
5029
|
function isOctalDigit(ch) {
|
|
5030
5030
|
return ch >= 48 && ch <= 55;
|
|
5031
5031
|
}
|
|
5032
|
-
|
|
5032
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isOctalDigit, "isOctalDigit");
|
|
5033
5033
|
pp$1.regexp_eatFixedHexDigits = function(state, length) {
|
|
5034
5034
|
var start = state.pos;
|
|
5035
5035
|
state.lastIntValue = 0;
|
|
@@ -5044,7 +5044,7 @@ pp$1.regexp_eatFixedHexDigits = function(state, length) {
|
|
|
5044
5044
|
}
|
|
5045
5045
|
return true;
|
|
5046
5046
|
};
|
|
5047
|
-
var Token = /* @__PURE__ */
|
|
5047
|
+
var Token = /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function Token2(p) {
|
|
5048
5048
|
this.type = p.type;
|
|
5049
5049
|
this.value = p.value;
|
|
5050
5050
|
this.start = p.start;
|
|
@@ -5078,7 +5078,7 @@ if (typeof Symbol !== "undefined") {
|
|
|
5078
5078
|
pp[Symbol.iterator] = function() {
|
|
5079
5079
|
var this$1$1 = this;
|
|
5080
5080
|
return {
|
|
5081
|
-
next: /* @__PURE__ */
|
|
5081
|
+
next: /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, function() {
|
|
5082
5082
|
var token = this$1$1.getToken();
|
|
5083
5083
|
return {
|
|
5084
5084
|
done: token.type === types$1.eof,
|
|
@@ -5552,14 +5552,14 @@ function stringToNumber(str, isLegacyOctalNumericLiteral) {
|
|
|
5552
5552
|
}
|
|
5553
5553
|
return parseFloat(str.replace(/_/g, ""));
|
|
5554
5554
|
}
|
|
5555
|
-
|
|
5555
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, stringToNumber, "stringToNumber");
|
|
5556
5556
|
function stringToBigInt(str) {
|
|
5557
5557
|
if (typeof BigInt !== "function") {
|
|
5558
5558
|
return null;
|
|
5559
5559
|
}
|
|
5560
5560
|
return BigInt(str.replace(/_/g, ""));
|
|
5561
5561
|
}
|
|
5562
|
-
|
|
5562
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, stringToBigInt, "stringToBigInt");
|
|
5563
5563
|
pp.readRadixNumber = function(radix) {
|
|
5564
5564
|
var start = this.pos;
|
|
5565
5565
|
this.pos += 2;
|
|
@@ -5927,7 +5927,7 @@ var BUILTIN_MODULES = new Set(_module.builtinModules);
|
|
|
5927
5927
|
function normalizeSlash(path2) {
|
|
5928
5928
|
return path2.replace(/\\/g, "/");
|
|
5929
5929
|
}
|
|
5930
|
-
|
|
5930
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, normalizeSlash, "normalizeSlash");
|
|
5931
5931
|
var own$1 = {}.hasOwnProperty;
|
|
5932
5932
|
var classRegExp = /^([A-Z][a-z\d]*)+$/;
|
|
5933
5933
|
var kTypes = /* @__PURE__ */ new Set([
|
|
@@ -5946,7 +5946,7 @@ var codes = {};
|
|
|
5946
5946
|
function formatList(array, type = "and") {
|
|
5947
5947
|
return array.length < 3 ? array.join(` ${type} `) : `${array.slice(0, -1).join(", ")}, ${type} ${array[array.length - 1]}`;
|
|
5948
5948
|
}
|
|
5949
|
-
|
|
5949
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, formatList, "formatList");
|
|
5950
5950
|
var messages = /* @__PURE__ */ new Map();
|
|
5951
5951
|
var nodeInternalPrefix = "__node_internal_";
|
|
5952
5952
|
var userStackTraceLimit;
|
|
@@ -6153,7 +6153,7 @@ function createError(sym, value, constructor) {
|
|
|
6153
6153
|
messages.set(sym, value);
|
|
6154
6154
|
return makeNodeErrorWithCode(constructor, sym);
|
|
6155
6155
|
}
|
|
6156
|
-
|
|
6156
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, createError, "createError");
|
|
6157
6157
|
function makeNodeErrorWithCode(Base, key) {
|
|
6158
6158
|
return NodeError;
|
|
6159
6159
|
function NodeError(...parameters) {
|
|
@@ -6185,9 +6185,9 @@ function makeNodeErrorWithCode(Base, key) {
|
|
|
6185
6185
|
error.code = key;
|
|
6186
6186
|
return error;
|
|
6187
6187
|
}
|
|
6188
|
-
|
|
6188
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, NodeError, "NodeError");
|
|
6189
6189
|
}
|
|
6190
|
-
|
|
6190
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, makeNodeErrorWithCode, "makeNodeErrorWithCode");
|
|
6191
6191
|
function isErrorStackTraceLimitWritable() {
|
|
6192
6192
|
try {
|
|
6193
6193
|
if (_v82.default.startupSnapshot.isBuildingSnapshot()) {
|
|
@@ -6201,13 +6201,13 @@ function isErrorStackTraceLimitWritable() {
|
|
|
6201
6201
|
}
|
|
6202
6202
|
return own$1.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0;
|
|
6203
6203
|
}
|
|
6204
|
-
|
|
6204
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isErrorStackTraceLimitWritable, "isErrorStackTraceLimitWritable");
|
|
6205
6205
|
function hideStackFrames(wrappedFunction) {
|
|
6206
6206
|
const hidden = nodeInternalPrefix + wrappedFunction.name;
|
|
6207
6207
|
Object.defineProperty(wrappedFunction, "name", { value: hidden });
|
|
6208
6208
|
return wrappedFunction;
|
|
6209
6209
|
}
|
|
6210
|
-
|
|
6210
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, hideStackFrames, "hideStackFrames");
|
|
6211
6211
|
var captureLargerStackTrace = hideStackFrames(
|
|
6212
6212
|
/**
|
|
6213
6213
|
* @param {Error} error
|
|
@@ -6247,7 +6247,7 @@ function getMessage(key, parameters, self) {
|
|
|
6247
6247
|
parameters.unshift(message);
|
|
6248
6248
|
return Reflect.apply(_util.format, null, parameters);
|
|
6249
6249
|
}
|
|
6250
|
-
|
|
6250
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getMessage, "getMessage");
|
|
6251
6251
|
function determineSpecificType(value) {
|
|
6252
6252
|
if (value === null || value === void 0) {
|
|
6253
6253
|
return String(value);
|
|
@@ -6267,7 +6267,7 @@ function determineSpecificType(value) {
|
|
|
6267
6267
|
}
|
|
6268
6268
|
return `type ${typeof value} (${inspected})`;
|
|
6269
6269
|
}
|
|
6270
|
-
|
|
6270
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, determineSpecificType, "determineSpecificType");
|
|
6271
6271
|
var hasOwnProperty$1 = {}.hasOwnProperty;
|
|
6272
6272
|
var { ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1 } = codes;
|
|
6273
6273
|
var cache = /* @__PURE__ */ new Map();
|
|
@@ -6335,7 +6335,7 @@ function read(jsonPath, { base, specifier }) {
|
|
|
6335
6335
|
cache.set(jsonPath, result);
|
|
6336
6336
|
return result;
|
|
6337
6337
|
}
|
|
6338
|
-
|
|
6338
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, read, "read");
|
|
6339
6339
|
function getPackageScopeConfig(resolved) {
|
|
6340
6340
|
let packageJSONUrl = new URL("package.json", resolved);
|
|
6341
6341
|
while (true) {
|
|
@@ -6362,11 +6362,11 @@ function getPackageScopeConfig(resolved) {
|
|
|
6362
6362
|
type: "none"
|
|
6363
6363
|
};
|
|
6364
6364
|
}
|
|
6365
|
-
|
|
6365
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getPackageScopeConfig, "getPackageScopeConfig");
|
|
6366
6366
|
function getPackageType(url) {
|
|
6367
6367
|
return getPackageScopeConfig(url).type;
|
|
6368
6368
|
}
|
|
6369
|
-
|
|
6369
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getPackageType, "getPackageType");
|
|
6370
6370
|
var { ERR_UNKNOWN_FILE_EXTENSION } = codes;
|
|
6371
6371
|
var hasOwnProperty2 = {}.hasOwnProperty;
|
|
6372
6372
|
var extensionFormatMap = {
|
|
@@ -6383,7 +6383,7 @@ function mimeToFormat(mime) {
|
|
|
6383
6383
|
if (mime === "application/json") return "json";
|
|
6384
6384
|
return null;
|
|
6385
6385
|
}
|
|
6386
|
-
|
|
6386
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, mimeToFormat, "mimeToFormat");
|
|
6387
6387
|
var protocolHandlers = {
|
|
6388
6388
|
// @ts-expect-error: hush.
|
|
6389
6389
|
__proto__: null,
|
|
@@ -6401,7 +6401,7 @@ function getDataProtocolModuleFormat(parsed) {
|
|
|
6401
6401
|
) || [null, null, null];
|
|
6402
6402
|
return mimeToFormat(mime);
|
|
6403
6403
|
}
|
|
6404
|
-
|
|
6404
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getDataProtocolModuleFormat, "getDataProtocolModuleFormat");
|
|
6405
6405
|
function extname2(url) {
|
|
6406
6406
|
const pathname = url.pathname;
|
|
6407
6407
|
let index = pathname.length;
|
|
@@ -6416,7 +6416,7 @@ function extname2(url) {
|
|
|
6416
6416
|
}
|
|
6417
6417
|
return "";
|
|
6418
6418
|
}
|
|
6419
|
-
|
|
6419
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, extname2, "extname");
|
|
6420
6420
|
function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
|
|
6421
6421
|
const value = extname2(url);
|
|
6422
6422
|
if (value === ".js") {
|
|
@@ -6441,10 +6441,10 @@ function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
|
|
|
6441
6441
|
const filepath = _url.fileURLToPath.call(void 0, url);
|
|
6442
6442
|
throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath);
|
|
6443
6443
|
}
|
|
6444
|
-
|
|
6444
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getFileProtocolModuleFormat, "getFileProtocolModuleFormat");
|
|
6445
6445
|
function getHttpProtocolModuleFormat() {
|
|
6446
6446
|
}
|
|
6447
|
-
|
|
6447
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, getHttpProtocolModuleFormat, "getHttpProtocolModuleFormat");
|
|
6448
6448
|
function defaultGetFormatWithoutErrors(url, context) {
|
|
6449
6449
|
const protocol = url.protocol;
|
|
6450
6450
|
if (!hasOwnProperty2.call(protocolHandlers, protocol)) {
|
|
@@ -6452,7 +6452,7 @@ function defaultGetFormatWithoutErrors(url, context) {
|
|
|
6452
6452
|
}
|
|
6453
6453
|
return protocolHandlers[protocol](url, context, true) || null;
|
|
6454
6454
|
}
|
|
6455
|
-
|
|
6455
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, defaultGetFormatWithoutErrors, "defaultGetFormatWithoutErrors");
|
|
6456
6456
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];
|
|
6457
6457
|
var {
|
|
6458
6458
|
ERR_NETWORK_IMPORT_DISALLOWED,
|
|
@@ -6485,7 +6485,7 @@ function emitInvalidSegmentDeprecation(target, request, match, packageJsonUrl, i
|
|
|
6485
6485
|
"DEP0166"
|
|
6486
6486
|
);
|
|
6487
6487
|
}
|
|
6488
|
-
|
|
6488
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, emitInvalidSegmentDeprecation, "emitInvalidSegmentDeprecation");
|
|
6489
6489
|
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
|
|
6490
6490
|
if (_process2.default.noDeprecation) {
|
|
6491
6491
|
return;
|
|
@@ -6515,20 +6515,20 @@ Default "index" lookups for the main are deprecated for ES modules.`,
|
|
|
6515
6515
|
);
|
|
6516
6516
|
}
|
|
6517
6517
|
}
|
|
6518
|
-
|
|
6518
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, emitLegacyIndexDeprecation, "emitLegacyIndexDeprecation");
|
|
6519
6519
|
function tryStatSync(path2) {
|
|
6520
6520
|
try {
|
|
6521
6521
|
return _fs.statSync.call(void 0, path2);
|
|
6522
6522
|
} catch (e3) {
|
|
6523
6523
|
}
|
|
6524
6524
|
}
|
|
6525
|
-
|
|
6525
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, tryStatSync, "tryStatSync");
|
|
6526
6526
|
function fileExists(url) {
|
|
6527
6527
|
const stats = _fs.statSync.call(void 0, url, { throwIfNoEntry: false });
|
|
6528
6528
|
const isFile = stats ? stats.isFile() : void 0;
|
|
6529
6529
|
return isFile === null || isFile === void 0 ? false : isFile;
|
|
6530
6530
|
}
|
|
6531
|
-
|
|
6531
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, fileExists, "fileExists");
|
|
6532
6532
|
function legacyMainResolve(packageJsonUrl, packageConfig, base) {
|
|
6533
6533
|
let guess;
|
|
6534
6534
|
if (packageConfig.main !== void 0) {
|
|
@@ -6574,7 +6574,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
|
|
|
6574
6574
|
_url.fileURLToPath.call(void 0, base)
|
|
6575
6575
|
);
|
|
6576
6576
|
}
|
|
6577
|
-
|
|
6577
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, legacyMainResolve, "legacyMainResolve");
|
|
6578
6578
|
function finalizeResolution(resolved, base, preserveSymlinks) {
|
|
6579
6579
|
if (encodedSeparatorRegEx.exec(resolved.pathname) !== null) {
|
|
6580
6580
|
throw new ERR_INVALID_MODULE_SPECIFIER(
|
|
@@ -6621,7 +6621,7 @@ function finalizeResolution(resolved, base, preserveSymlinks) {
|
|
|
6621
6621
|
}
|
|
6622
6622
|
return resolved;
|
|
6623
6623
|
}
|
|
6624
|
-
|
|
6624
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, finalizeResolution, "finalizeResolution");
|
|
6625
6625
|
function importNotDefined(specifier, packageJsonUrl, base) {
|
|
6626
6626
|
return new ERR_PACKAGE_IMPORT_NOT_DEFINED(
|
|
6627
6627
|
specifier,
|
|
@@ -6629,7 +6629,7 @@ function importNotDefined(specifier, packageJsonUrl, base) {
|
|
|
6629
6629
|
_url.fileURLToPath.call(void 0, base)
|
|
6630
6630
|
);
|
|
6631
6631
|
}
|
|
6632
|
-
|
|
6632
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, importNotDefined, "importNotDefined");
|
|
6633
6633
|
function exportsNotFound(subpath, packageJsonUrl, base) {
|
|
6634
6634
|
return new ERR_PACKAGE_PATH_NOT_EXPORTED(
|
|
6635
6635
|
_url.fileURLToPath.call(void 0, new (0, _url.URL)(".", packageJsonUrl)),
|
|
@@ -6637,7 +6637,7 @@ function exportsNotFound(subpath, packageJsonUrl, base) {
|
|
|
6637
6637
|
base && _url.fileURLToPath.call(void 0, base)
|
|
6638
6638
|
);
|
|
6639
6639
|
}
|
|
6640
|
-
|
|
6640
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, exportsNotFound, "exportsNotFound");
|
|
6641
6641
|
function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
|
|
6642
6642
|
const reason = `request is not a valid match in pattern "${match}" for the "${internal ? "imports" : "exports"}" resolution of ${_url.fileURLToPath.call(void 0, packageJsonUrl)}`;
|
|
6643
6643
|
throw new ERR_INVALID_MODULE_SPECIFIER(
|
|
@@ -6646,7 +6646,7 @@ function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
|
|
|
6646
6646
|
base && _url.fileURLToPath.call(void 0, base)
|
|
6647
6647
|
);
|
|
6648
6648
|
}
|
|
6649
|
-
|
|
6649
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, throwInvalidSubpath, "throwInvalidSubpath");
|
|
6650
6650
|
function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
|
|
6651
6651
|
target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`;
|
|
6652
6652
|
return new ERR_INVALID_PACKAGE_TARGET(
|
|
@@ -6657,7 +6657,7 @@ function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
|
|
|
6657
6657
|
base && _url.fileURLToPath.call(void 0, base)
|
|
6658
6658
|
);
|
|
6659
6659
|
}
|
|
6660
|
-
|
|
6660
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, invalidPackageTarget, "invalidPackageTarget");
|
|
6661
6661
|
function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base, pattern, internal, isPathMap, conditions) {
|
|
6662
6662
|
if (subpath !== "" && !pattern && target[target.length - 1] !== "/")
|
|
6663
6663
|
throw invalidPackageTarget(match, target, packageJsonUrl, internal, base);
|
|
@@ -6743,13 +6743,13 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
|
|
|
6743
6743
|
}
|
|
6744
6744
|
return new (0, _url.URL)(subpath, resolved);
|
|
6745
6745
|
}
|
|
6746
|
-
|
|
6746
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, resolvePackageTargetString, "resolvePackageTargetString");
|
|
6747
6747
|
function isArrayIndex(key) {
|
|
6748
6748
|
const keyNumber = Number(key);
|
|
6749
6749
|
if (`${keyNumber}` !== key) return false;
|
|
6750
6750
|
return keyNumber >= 0 && keyNumber < 4294967295;
|
|
6751
6751
|
}
|
|
6752
|
-
|
|
6752
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isArrayIndex, "isArrayIndex");
|
|
6753
6753
|
function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions) {
|
|
6754
6754
|
if (typeof target === "string") {
|
|
6755
6755
|
return resolvePackageTargetString(
|
|
@@ -6854,7 +6854,7 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
|
|
|
6854
6854
|
base
|
|
6855
6855
|
);
|
|
6856
6856
|
}
|
|
6857
|
-
|
|
6857
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, resolvePackageTarget, "resolvePackageTarget");
|
|
6858
6858
|
function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
|
|
6859
6859
|
if (typeof exports === "string" || Array.isArray(exports)) return true;
|
|
6860
6860
|
if (typeof exports !== "object" || exports === null) return false;
|
|
@@ -6877,7 +6877,7 @@ function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
|
|
|
6877
6877
|
}
|
|
6878
6878
|
return isConditionalSugar;
|
|
6879
6879
|
}
|
|
6880
|
-
|
|
6880
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isConditionalExportsMainSugar, "isConditionalExportsMainSugar");
|
|
6881
6881
|
function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
6882
6882
|
if (_process2.default.noDeprecation) {
|
|
6883
6883
|
return;
|
|
@@ -6891,7 +6891,7 @@ function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
|
|
|
6891
6891
|
"DEP0155"
|
|
6892
6892
|
);
|
|
6893
6893
|
}
|
|
6894
|
-
|
|
6894
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, emitTrailingSlashPatternDeprecation, "emitTrailingSlashPatternDeprecation");
|
|
6895
6895
|
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
6896
6896
|
let exports = packageConfig.exports;
|
|
6897
6897
|
if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) {
|
|
@@ -6963,7 +6963,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
|
|
|
6963
6963
|
}
|
|
6964
6964
|
throw exportsNotFound(packageSubpath, packageJsonUrl, base);
|
|
6965
6965
|
}
|
|
6966
|
-
|
|
6966
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, packageExportsResolve, "packageExportsResolve");
|
|
6967
6967
|
function patternKeyCompare(a, b) {
|
|
6968
6968
|
const aPatternIndex = a.indexOf("*");
|
|
6969
6969
|
const bPatternIndex = b.indexOf("*");
|
|
@@ -6977,7 +6977,7 @@ function patternKeyCompare(a, b) {
|
|
|
6977
6977
|
if (b.length > a.length) return 1;
|
|
6978
6978
|
return 0;
|
|
6979
6979
|
}
|
|
6980
|
-
|
|
6980
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, patternKeyCompare, "patternKeyCompare");
|
|
6981
6981
|
function packageImportsResolve(name, base, conditions) {
|
|
6982
6982
|
if (name === "#" || name.startsWith("#/") || name.endsWith("/")) {
|
|
6983
6983
|
const reason = "is not a valid internal imports specifier name";
|
|
@@ -7045,7 +7045,7 @@ function packageImportsResolve(name, base, conditions) {
|
|
|
7045
7045
|
}
|
|
7046
7046
|
throw importNotDefined(name, packageJsonUrl, base);
|
|
7047
7047
|
}
|
|
7048
|
-
|
|
7048
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, packageImportsResolve, "packageImportsResolve");
|
|
7049
7049
|
function parsePackageName(specifier, base) {
|
|
7050
7050
|
let separatorIndex = specifier.indexOf("/");
|
|
7051
7051
|
let validPackageName = true;
|
|
@@ -7072,7 +7072,7 @@ function parsePackageName(specifier, base) {
|
|
|
7072
7072
|
const packageSubpath = "." + (separatorIndex === -1 ? "" : specifier.slice(separatorIndex));
|
|
7073
7073
|
return { packageName, packageSubpath, isScoped };
|
|
7074
7074
|
}
|
|
7075
|
-
|
|
7075
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, parsePackageName, "parsePackageName");
|
|
7076
7076
|
function packageResolve(specifier, base, conditions) {
|
|
7077
7077
|
if (_module.builtinModules.includes(specifier)) {
|
|
7078
7078
|
return new (0, _url.URL)("node:" + specifier);
|
|
@@ -7128,7 +7128,7 @@ function packageResolve(specifier, base, conditions) {
|
|
|
7128
7128
|
} while (packageJsonPath.length !== lastPath.length);
|
|
7129
7129
|
throw new ERR_MODULE_NOT_FOUND(packageName, _url.fileURLToPath.call(void 0, base), false);
|
|
7130
7130
|
}
|
|
7131
|
-
|
|
7131
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, packageResolve, "packageResolve");
|
|
7132
7132
|
function isRelativeSpecifier(specifier) {
|
|
7133
7133
|
if (specifier[0] === ".") {
|
|
7134
7134
|
if (specifier.length === 1 || specifier[1] === "/") return true;
|
|
@@ -7138,13 +7138,13 @@ function isRelativeSpecifier(specifier) {
|
|
|
7138
7138
|
}
|
|
7139
7139
|
return false;
|
|
7140
7140
|
}
|
|
7141
|
-
|
|
7141
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, isRelativeSpecifier, "isRelativeSpecifier");
|
|
7142
7142
|
function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
|
|
7143
7143
|
if (specifier === "") return false;
|
|
7144
7144
|
if (specifier[0] === "/") return true;
|
|
7145
7145
|
return isRelativeSpecifier(specifier);
|
|
7146
7146
|
}
|
|
7147
|
-
|
|
7147
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, shouldBeTreatedAsRelativeOrAbsolutePath, "shouldBeTreatedAsRelativeOrAbsolutePath");
|
|
7148
7148
|
function moduleResolve(specifier, base, conditions, preserveSymlinks) {
|
|
7149
7149
|
const protocol = base.protocol;
|
|
7150
7150
|
const isData = protocol === "data:";
|
|
@@ -7178,18 +7178,18 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
|
|
|
7178
7178
|
}
|
|
7179
7179
|
return finalizeResolution(resolved, base);
|
|
7180
7180
|
}
|
|
7181
|
-
|
|
7181
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, moduleResolve, "moduleResolve");
|
|
7182
7182
|
function fileURLToPath(id) {
|
|
7183
7183
|
if (typeof id === "string" && !id.startsWith("file://")) {
|
|
7184
7184
|
return normalizeSlash(id);
|
|
7185
7185
|
}
|
|
7186
7186
|
return normalizeSlash(_url.fileURLToPath.call(void 0, id));
|
|
7187
7187
|
}
|
|
7188
|
-
|
|
7188
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, fileURLToPath, "fileURLToPath");
|
|
7189
7189
|
function pathToFileURL(id) {
|
|
7190
7190
|
return _url.pathToFileURL.call(void 0, fileURLToPath(id)).toString();
|
|
7191
7191
|
}
|
|
7192
|
-
|
|
7192
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, pathToFileURL, "pathToFileURL");
|
|
7193
7193
|
function normalizeid(id) {
|
|
7194
7194
|
if (typeof id !== "string") {
|
|
7195
7195
|
id = id.toString();
|
|
@@ -7202,7 +7202,7 @@ function normalizeid(id) {
|
|
|
7202
7202
|
}
|
|
7203
7203
|
return "file://" + encodeURI(normalizeSlash(id));
|
|
7204
7204
|
}
|
|
7205
|
-
|
|
7205
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, normalizeid, "normalizeid");
|
|
7206
7206
|
var DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]);
|
|
7207
7207
|
var DEFAULT_EXTENSIONS = [".mjs", ".cjs", ".js", ".json"];
|
|
7208
7208
|
var NOT_FOUND_ERRORS = /* @__PURE__ */ new Set([
|
|
@@ -7220,7 +7220,7 @@ function _tryModuleResolve(id, url, conditions) {
|
|
|
7220
7220
|
}
|
|
7221
7221
|
}
|
|
7222
7222
|
}
|
|
7223
|
-
|
|
7223
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, _tryModuleResolve, "_tryModuleResolve");
|
|
7224
7224
|
function _resolve(id, options = {}) {
|
|
7225
7225
|
if (typeof id !== "string") {
|
|
7226
7226
|
if (id instanceof URL) {
|
|
@@ -7301,15 +7301,15 @@ function _resolve(id, options = {}) {
|
|
|
7301
7301
|
}
|
|
7302
7302
|
return pathToFileURL(resolved);
|
|
7303
7303
|
}
|
|
7304
|
-
|
|
7304
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, _resolve, "_resolve");
|
|
7305
7305
|
function resolveSync(id, options) {
|
|
7306
7306
|
return _resolve(id, options);
|
|
7307
7307
|
}
|
|
7308
|
-
|
|
7308
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, resolveSync, "resolveSync");
|
|
7309
7309
|
function resolvePathSync(id, options) {
|
|
7310
7310
|
return fileURLToPath(resolveSync(id, options));
|
|
7311
7311
|
}
|
|
7312
|
-
|
|
7312
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, resolvePathSync, "resolvePathSync");
|
|
7313
7313
|
function resolvePath(id, options) {
|
|
7314
7314
|
try {
|
|
7315
7315
|
return Promise.resolve(resolvePathSync(id, options));
|
|
@@ -7317,17 +7317,17 @@ function resolvePath(id, options) {
|
|
|
7317
7317
|
return Promise.reject(error);
|
|
7318
7318
|
}
|
|
7319
7319
|
}
|
|
7320
|
-
|
|
7320
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, resolvePath, "resolvePath");
|
|
7321
7321
|
|
|
7322
7322
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/index.mjs
|
|
7323
|
-
|
|
7323
|
+
_chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
|
|
7324
7324
|
|
|
7325
7325
|
// ../../node_modules/.pnpm/pkg-types@1.3.1/node_modules/pkg-types/dist/index.mjs
|
|
7326
7326
|
var defaultFindOptions = {
|
|
7327
7327
|
startingFrom: ".",
|
|
7328
7328
|
rootPattern: /^node_modules$/,
|
|
7329
7329
|
reverse: false,
|
|
7330
|
-
test: /* @__PURE__ */
|
|
7330
|
+
test: /* @__PURE__ */ _chunkJUU5ILZBcjs.__name.call(void 0, (filePath) => {
|
|
7331
7331
|
try {
|
|
7332
7332
|
if (_fs.statSync.call(void 0, filePath).isFile()) {
|
|
7333
7333
|
return true;
|
|
@@ -7372,11 +7372,11 @@ async function findFile(filename, _options = {}) {
|
|
|
7372
7372
|
`Cannot find matching ${filename} in ${options.startingFrom} or parent directories`
|
|
7373
7373
|
);
|
|
7374
7374
|
}
|
|
7375
|
-
|
|
7375
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, findFile, "findFile");
|
|
7376
7376
|
function findNearestFile(filename, _options = {}) {
|
|
7377
7377
|
return findFile(filename, _options);
|
|
7378
7378
|
}
|
|
7379
|
-
|
|
7379
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, findNearestFile, "findNearestFile");
|
|
7380
7380
|
var FileCache = /* @__PURE__ */ new Map();
|
|
7381
7381
|
async function readPackageJSON(id, options = {}) {
|
|
7382
7382
|
const resolvedPath = await resolvePackageJSON(id, options);
|
|
@@ -7387,14 +7387,14 @@ async function readPackageJSON(id, options = {}) {
|
|
|
7387
7387
|
const blob = await _fs.promises.readFile(resolvedPath, "utf8");
|
|
7388
7388
|
let parsed;
|
|
7389
7389
|
try {
|
|
7390
|
-
parsed =
|
|
7390
|
+
parsed = _chunkRWG7K3L2cjs.x.call(void 0, blob);
|
|
7391
7391
|
} catch (e6) {
|
|
7392
|
-
parsed =
|
|
7392
|
+
parsed = _chunkRWG7K3L2cjs.h.call(void 0, blob);
|
|
7393
7393
|
}
|
|
7394
7394
|
cache2.set(resolvedPath, parsed);
|
|
7395
7395
|
return parsed;
|
|
7396
7396
|
}
|
|
7397
|
-
|
|
7397
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, readPackageJSON, "readPackageJSON");
|
|
7398
7398
|
async function resolvePackageJSON(id = process.cwd(), options = {}) {
|
|
7399
7399
|
const resolvedPath = isAbsolute(id) ? id : await resolvePath(id, options);
|
|
7400
7400
|
return findNearestFile("package.json", {
|
|
@@ -7402,7 +7402,7 @@ async function resolvePackageJSON(id = process.cwd(), options = {}) {
|
|
|
7402
7402
|
...options
|
|
7403
7403
|
});
|
|
7404
7404
|
}
|
|
7405
|
-
|
|
7405
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, resolvePackageJSON, "resolvePackageJSON");
|
|
7406
7406
|
var lockFiles = [
|
|
7407
7407
|
"yarn.lock",
|
|
7408
7408
|
"package-lock.json",
|
|
@@ -7420,7 +7420,7 @@ async function resolveLockfile(id = process.cwd(), options = {}) {
|
|
|
7420
7420
|
}
|
|
7421
7421
|
throw new Error("No lockfile found from " + id);
|
|
7422
7422
|
}
|
|
7423
|
-
|
|
7423
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, resolveLockfile, "resolveLockfile");
|
|
7424
7424
|
async function findWorkspaceDir(id = process.cwd(), options = {}) {
|
|
7425
7425
|
const resolvedPath = isAbsolute(id) ? id : await resolvePath(id, options);
|
|
7426
7426
|
const _options = { startingFrom: resolvedPath, ...options };
|
|
@@ -7444,7 +7444,7 @@ async function findWorkspaceDir(id = process.cwd(), options = {}) {
|
|
|
7444
7444
|
}
|
|
7445
7445
|
throw new Error("Cannot detect workspace root from " + id);
|
|
7446
7446
|
}
|
|
7447
|
-
|
|
7447
|
+
_chunkJUU5ILZBcjs.__name.call(void 0, findWorkspaceDir, "findWorkspaceDir");
|
|
7448
7448
|
|
|
7449
7449
|
|
|
7450
7450
|
|