@shopify/cli 3.72.1 → 3.73.0
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/assets/hydrogen/starter/CHANGELOG.md +814 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +3 -4
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +113 -44
- package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +8 -3
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +6 -5
- package/dist/assets/hydrogen/starter/app/lib/variants.ts +3 -3
- package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +9 -16
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +50 -119
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +42 -38
- package/dist/assets/hydrogen/starter/app/styles/app.css +25 -1
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +23 -20
- package/dist/assets/hydrogen/starter/guides/search/search.md +27 -25
- package/dist/assets/hydrogen/starter/package.json +3 -3
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +177 -194
- package/dist/assets/hydrogen/tailwind/tailwind.css +1 -1
- package/dist/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
- package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
- package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
- package/dist/{chunk-4DZKSJ2R.js → chunk-3OXCI3HX.js} +1402 -1989
- package/dist/{chunk-NX2KGZ2W.js → chunk-5OFJTURZ.js} +4 -4
- package/dist/{chunk-YITJ52BH.js → chunk-65GSOZHL.js} +7 -7
- package/dist/{chunk-5BCHJBAS.js → chunk-66HLUVKV.js} +4 -4
- package/dist/{chunk-J6WHIPSP.js → chunk-6PEBJVBW.js} +3 -3
- package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
- package/dist/{chunk-4ERNAW5E.js → chunk-7RKRCUFA.js} +16518 -24140
- package/dist/{chunk-FGSRYMBN.js → chunk-AFPOP3K5.js} +67 -104
- package/dist/{chunk-2HGYYNE5.js → chunk-B5EXYCV3.js} +5 -9
- package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
- package/dist/{chunk-EQQFJ434.js → chunk-CEIZT2W3.js} +4 -4
- package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
- package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
- package/dist/{chunk-QBE6MS4X.js → chunk-ELTOJBOJ.js} +4 -5
- package/dist/{chunk-NUP5TATA.js → chunk-EZQWZ57B.js} +2 -2
- package/dist/{chunk-HAURZWLZ.js → chunk-F7D333WQ.js} +3 -3
- package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
- package/dist/{chunk-CBBS4CV7.js → chunk-G5R6YD27.js} +8 -13
- package/dist/{chunk-REXJJC44.js → chunk-GDLROW57.js} +3 -3
- package/dist/{chunk-TQTXTCOI.js → chunk-I25PGLBO.js} +3 -3
- package/dist/{chunk-OXKHBIW7.js → chunk-IG5SOACB.js} +29 -34
- package/dist/{chunk-2FXFMB2U.js → chunk-IRHYYIN7.js} +4 -4
- package/dist/{chunk-OWLPHMUA.js → chunk-J673ZU5S.js} +4 -4
- package/dist/{chunk-U2VX4Q6V.js → chunk-JORKLY7M.js} +68 -49
- package/dist/{chunk-K6Y4FYT5.js → chunk-K7HGDAI4.js} +17 -20
- package/dist/{chunk-MTXNEHKM.js → chunk-KF2D6QHZ.js} +39 -68
- package/dist/{chunk-QBDNLBUG.js → chunk-KMWARALD.js} +5 -5
- package/dist/{chunk-E7MQ72JO.js → chunk-KTNFE44J.js} +111 -84
- package/dist/{chunk-BYPQXSAL.js → chunk-KUM3DVPF.js} +17 -13
- package/dist/{chunk-B2HZKGLW.js → chunk-KZBL6BQ7.js} +4 -4
- package/dist/{chunk-WNDN5FAY.js → chunk-MHUINF7I.js} +3 -3
- package/dist/{chunk-YDFZISQ3.js → chunk-NFQLKURK.js} +41 -68
- package/dist/{chunk-7JVASAC6.js → chunk-O77L7CCL.js} +4 -4
- package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
- package/dist/{chunk-OYHBLPKV.js → chunk-OE3IXTC5.js} +38 -60
- package/dist/{chunk-HLKMRAT5.js → chunk-ONOLOXLM.js} +5 -5
- package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
- package/dist/{chunk-YG5QRMVT.js → chunk-PRWEHR2C.js} +3 -3
- package/dist/{chunk-72RTT46Y.js → chunk-QNK2EAZ3.js} +5 -5
- package/dist/{chunk-3G3CTE4U.js → chunk-RCA7PFH4.js} +4 -4
- package/dist/{chunk-OG2XEFVO.js → chunk-RK7JAMCI.js} +6 -6
- package/dist/{chunk-QRNLG3CD.js → chunk-SANP6FPA.js} +6 -6
- package/dist/{chunk-OJOHMVV7.js → chunk-SBPFWO4S.js} +294 -448
- package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
- package/dist/{chunk-6Z7SI3ZW.js → chunk-SUUVDRTQ.js} +6 -7
- package/dist/{chunk-HHAGWNRI.js → chunk-TEHNKBLD.js} +6 -7
- package/dist/{chunk-XHR6UC4Y.js → chunk-VPNXQGG6.js} +4 -4
- package/dist/{chunk-MWLLV4UV.js → chunk-X5FJXK25.js} +9 -9
- package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
- package/dist/{chunk-PC7RDKJJ.js → chunk-XAGT2UNE.js} +3 -3
- package/dist/{chunk-7Q3MMWAC.js → chunk-XE5EOEBL.js} +2 -2
- package/dist/{chunk-VVD57NWZ.js → chunk-YP7WU5EU.js} +5 -5
- package/dist/{chunk-G2WBIWNF.js → chunk-YPTEMDFR.js} +5 -5
- package/dist/{chunk-4PXLANQP.js → chunk-ZENVITME.js} +4 -4
- package/dist/{chunk-HSTSRNLJ.js → chunk-ZX3L2JKV.js} +64 -86
- package/dist/cli/commands/auth/logout.js +28 -28
- package/dist/cli/commands/auth/logout.test.js +30 -30
- package/dist/cli/commands/cache/clear.js +27 -27
- package/dist/cli/commands/debug/command-flags.js +27 -27
- package/dist/cli/commands/docs/generate.js +27 -27
- package/dist/cli/commands/docs/generate.test.js +28 -28
- package/dist/cli/commands/help.js +27 -27
- package/dist/cli/commands/kitchen-sink/async.js +28 -28
- package/dist/cli/commands/kitchen-sink/async.test.js +29 -29
- package/dist/cli/commands/kitchen-sink/index.js +30 -30
- package/dist/cli/commands/kitchen-sink/index.test.js +31 -31
- package/dist/cli/commands/kitchen-sink/prompts.js +28 -28
- package/dist/cli/commands/kitchen-sink/prompts.test.js +29 -29
- package/dist/cli/commands/kitchen-sink/static.js +28 -28
- package/dist/cli/commands/kitchen-sink/static.test.js +29 -29
- package/dist/cli/commands/notifications/generate.js +28 -28
- package/dist/cli/commands/notifications/list.js +28 -28
- package/dist/cli/commands/search.js +28 -28
- package/dist/cli/commands/upgrade.js +28 -28
- package/dist/cli/commands/upgrade.test.js +3 -3
- package/dist/cli/commands/version.js +28 -28
- package/dist/cli/commands/version.test.js +29 -29
- package/dist/cli/services/commands/notifications.js +21 -21
- package/dist/cli/services/commands/search.js +15 -15
- package/dist/cli/services/commands/search.test.js +16 -16
- package/dist/cli/services/commands/version.js +16 -16
- package/dist/cli/services/commands/version.test.js +18 -18
- package/dist/cli/services/kitchen-sink/async.js +15 -15
- package/dist/cli/services/kitchen-sink/prompts.js +15 -15
- package/dist/cli/services/kitchen-sink/static.js +15 -15
- package/dist/cli/services/upgrade.js +17 -17
- package/dist/cli/services/upgrade.test.js +20 -20
- package/dist/configs/all.yml +12 -0
- package/dist/configs/recommended.yml +15 -0
- package/dist/configs/theme-app-extension.yml +3 -0
- package/dist/{custom-oclif-loader-MUOL3HPQ.js → custom-oclif-loader-V3IB4SYZ.js} +15 -15
- package/dist/data/latest.json +1 -1
- package/dist/data/manifest_theme.json +1 -0
- package/dist/data/preset.json +66 -0
- package/dist/data/preset_blocks.json +20 -13
- package/dist/data/section.json +1 -15
- package/dist/data/setting.json +1 -1
- package/dist/data/theme_block.json +1 -15
- package/dist/{del-K5ZJEWTD.js → del-P2RS6GN2.js} +9 -9
- package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
- package/dist/error-handler-WK3AZ7A2.js +38 -0
- package/dist/hooks/postrun.js +22 -22
- package/dist/hooks/prerun.js +22 -22
- package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
- package/dist/index.js +7229 -7321
- package/dist/lib-JVEIEXYB.js +6 -0
- package/dist/lib-QZGSY5YB.js +13 -0
- package/dist/{local-YCARFR7T.js → local-3ERK45M5.js} +15 -15
- package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
- package/dist/{morph-SEECJQ2W.js → morph-OSHCID2F.js} +261 -347
- package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
- package/dist/{node-NSRIJ2KL.js → node-2KLEBSMO.js} +31 -31
- package/dist/{node-package-manager-TLCUDNS2.js → node-package-manager-QIM24GB3.js} +19 -17
- package/dist/{npa-RLWNZ3BM.js → npa-TM76BGG3.js} +10 -16
- package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
- package/dist/out-JR4DWQ2G.js +7 -0
- package/dist/{path-NDLRQPLA.js → path-2HZUSAGR.js} +3 -3
- package/dist/{source-map-7AAPWPHZ.js → source-map-QCVC46UY.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5AEI3FU6.js → ui-5AHG256I.js} +15 -15
- package/dist/{workerd-SW7QDYB6.js → workerd-MSNALKI2.js} +30 -30
- package/oclif.manifest.json +81 -1
- package/package.json +8 -8
- package/dist/error-handler-MOT24ECB.js +0 -38
- package/dist/lib-PPXZBVZX.js +0 -6
- package/dist/lib-XYCLX35G.js +0 -13
- package/dist/out-MHEKZJWS.js +0 -7
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_brace_expansion,
|
|
3
3
|
require_source_map_support
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G5R6YD27.js";
|
|
5
5
|
import {
|
|
6
6
|
require_has_flag,
|
|
7
7
|
require_src,
|
|
8
8
|
require_supports_color
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OAZFIMJ3.js";
|
|
10
10
|
import {
|
|
11
11
|
require_is_wsl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G2ZZKGSV.js";
|
|
13
13
|
import {
|
|
14
14
|
require_globby,
|
|
15
15
|
require_indent_string
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MHUINF7I.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__require,
|
|
20
20
|
init_cjs_shims
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
22
22
|
|
|
23
23
|
// ../../node_modules/.pnpm/@oclif+core@3.26.5/node_modules/@oclif/core/lib/cli-ux/write.js
|
|
24
24
|
var require_write = __commonJS({
|
|
@@ -1392,8 +1392,7 @@ var require_wrap_ansi = __commonJS({
|
|
|
1392
1392
|
if (groups.code !== void 0) {
|
|
1393
1393
|
let code2 = Number.parseFloat(groups.code);
|
|
1394
1394
|
escapeCode = code2 === END_CODE ? void 0 : code2;
|
|
1395
|
-
} else
|
|
1396
|
-
groups.uri !== void 0 && (escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri);
|
|
1395
|
+
} else groups.uri !== void 0 && (escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri);
|
|
1397
1396
|
}
|
|
1398
1397
|
let code = ansiStyles.codes.get(Number(escapeCode));
|
|
1399
1398
|
pre[index + 1] === `
|
|
@@ -1830,12 +1829,9 @@ var require_error = __commonJS({
|
|
|
1830
1829
|
} : function(o, v) {
|
|
1831
1830
|
o.default = v;
|
|
1832
1831
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
1833
|
-
if (mod && mod.__esModule)
|
|
1834
|
-
return mod;
|
|
1832
|
+
if (mod && mod.__esModule) return mod;
|
|
1835
1833
|
var result = {};
|
|
1836
|
-
if (mod != null)
|
|
1837
|
-
for (var k in mod)
|
|
1838
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
1834
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
1839
1835
|
return __setModuleDefault(result, mod), result;
|
|
1840
1836
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
1841
1837
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -1958,8 +1954,7 @@ var require_color_string = __commonJS({
|
|
|
1958
1954
|
for (i = 0; i < 3; i++)
|
|
1959
1955
|
rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);
|
|
1960
1956
|
match[4] && (match[5] ? rgb[3] = parseFloat(match[4]) * 0.01 : rgb[3] = parseFloat(match[4]));
|
|
1961
|
-
} else
|
|
1962
|
-
return (match = string.match(keyword)) ? match[1] === "transparent" ? [0, 0, 0, 0] : hasOwnProperty.call(colorNames, match[1]) ? (rgb = colorNames[match[1]], rgb[3] = 1, rgb) : null : null;
|
|
1957
|
+
} else return (match = string.match(keyword)) ? match[1] === "transparent" ? [0, 0, 0, 0] : hasOwnProperty.call(colorNames, match[1]) ? (rgb = colorNames[match[1]], rgb[3] = 1, rgb) : null : null;
|
|
1963
1958
|
for (i = 0; i < 3; i++)
|
|
1964
1959
|
rgb[i] = clamp(rgb[i], 0, 255);
|
|
1965
1960
|
return rgb[3] = clamp(rgb[3], 0, 1), rgb;
|
|
@@ -2365,12 +2360,9 @@ var require_theme2 = __commonJS({
|
|
|
2365
2360
|
} : function(o, v) {
|
|
2366
2361
|
o.default = v;
|
|
2367
2362
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
2368
|
-
if (mod && mod.__esModule)
|
|
2369
|
-
return mod;
|
|
2363
|
+
if (mod && mod.__esModule) return mod;
|
|
2370
2364
|
var result = {};
|
|
2371
|
-
if (mod != null)
|
|
2372
|
-
for (var k in mod)
|
|
2373
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
2365
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
2374
2366
|
return __setModuleDefault(result, mod), result;
|
|
2375
2367
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
2376
2368
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -3310,8 +3302,7 @@ var require_typescript = __commonJS({
|
|
|
3310
3302
|
for (let i = 0; i < arguments.length; i++)
|
|
3311
3303
|
args[i] = arguments[i];
|
|
3312
3304
|
return (t) => reduceLeft(args, (u, f) => f(u), t);
|
|
3313
|
-
} else
|
|
3314
|
-
return d ? (t) => d(c(b(a(t)))) : c ? (t) => c(b(a(t))) : b ? (t) => b(a(t)) : a ? (t) => a(t) : (t) => t;
|
|
3305
|
+
} else return d ? (t) => d(c(b(a(t)))) : c ? (t) => c(b(a(t))) : b ? (t) => b(a(t)) : a ? (t) => a(t) : (t) => t;
|
|
3315
3306
|
}
|
|
3316
3307
|
function equateValues(a, b) {
|
|
3317
3308
|
return a === b;
|
|
@@ -4226,8 +4217,7 @@ m2: ${this.mapper2.__debugToString().split(`
|
|
|
4226
4217
|
if (links[id] = graphNode = { id, flowNode: flowNode2, edges: [], text: "", lane: -1, endLane: -1, level: -1, circular: !1 }, nodes.push(graphNode), hasAntecedents(flowNode2))
|
|
4227
4218
|
for (let antecedent of flowNode2.antecedents)
|
|
4228
4219
|
buildGraphEdge(graphNode, antecedent, seen);
|
|
4229
|
-
else
|
|
4230
|
-
hasAntecedent(flowNode2) && buildGraphEdge(graphNode, flowNode2.antecedent, seen);
|
|
4220
|
+
else hasAntecedent(flowNode2) && buildGraphEdge(graphNode, flowNode2.antecedent, seen);
|
|
4231
4221
|
return seen.delete(flowNode2), graphNode;
|
|
4232
4222
|
}
|
|
4233
4223
|
function buildGraphEdge(source, antecedent, seen) {
|
|
@@ -4487,37 +4477,36 @@ ${lanes.join(`
|
|
|
4487
4477
|
let { version: version2, major, minor, patch } = result;
|
|
4488
4478
|
if (isWildcard(major))
|
|
4489
4479
|
(operator === "<" || operator === ">") && comparators.push(createComparator("<", Version.zero));
|
|
4490
|
-
else
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
}
|
|
4480
|
+
else switch (operator) {
|
|
4481
|
+
case "~":
|
|
4482
|
+
comparators.push(createComparator(">=", version2)), comparators.push(createComparator("<", version2.increment(
|
|
4483
|
+
isWildcard(minor) ? "major" : "minor"
|
|
4484
|
+
)));
|
|
4485
|
+
break;
|
|
4486
|
+
case "^":
|
|
4487
|
+
comparators.push(createComparator(">=", version2)), comparators.push(createComparator("<", version2.increment(
|
|
4488
|
+
version2.major > 0 || isWildcard(minor) ? "major" : version2.minor > 0 || isWildcard(patch) ? "minor" : "patch"
|
|
4489
|
+
)));
|
|
4490
|
+
break;
|
|
4491
|
+
case "<":
|
|
4492
|
+
case ">=":
|
|
4493
|
+
comparators.push(
|
|
4494
|
+
isWildcard(minor) || isWildcard(patch) ? createComparator(operator, version2.with({ prerelease: "0" })) : createComparator(operator, version2)
|
|
4495
|
+
);
|
|
4496
|
+
break;
|
|
4497
|
+
case "<=":
|
|
4498
|
+
case ">":
|
|
4499
|
+
comparators.push(
|
|
4500
|
+
isWildcard(minor) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("major").with({ prerelease: "0" })) : isWildcard(patch) ? createComparator(operator === "<=" ? "<" : ">=", version2.increment("minor").with({ prerelease: "0" })) : createComparator(operator, version2)
|
|
4501
|
+
);
|
|
4502
|
+
break;
|
|
4503
|
+
case "=":
|
|
4504
|
+
case void 0:
|
|
4505
|
+
isWildcard(minor) || isWildcard(patch) ? (comparators.push(createComparator(">=", version2.with({ prerelease: "0" }))), comparators.push(createComparator("<", version2.increment(isWildcard(minor) ? "major" : "minor").with({ prerelease: "0" })))) : comparators.push(createComparator("=", version2));
|
|
4506
|
+
break;
|
|
4507
|
+
default:
|
|
4508
|
+
return !1;
|
|
4509
|
+
}
|
|
4521
4510
|
return !0;
|
|
4522
4511
|
}
|
|
4523
4512
|
function isWildcard(part) {
|
|
@@ -5304,8 +5293,7 @@ ${lanes.join(`
|
|
|
5304
5293
|
queue[pollIndex] = void 0;
|
|
5305
5294
|
continue;
|
|
5306
5295
|
}
|
|
5307
|
-
} else
|
|
5308
|
-
continue;
|
|
5296
|
+
} else continue;
|
|
5309
5297
|
chunkSize--;
|
|
5310
5298
|
let fileChanged = onWatchedFileStat(watchedFile, getModifiedTime(host, watchedFile.fileName));
|
|
5311
5299
|
if (watchedFile.isClosed) {
|
|
@@ -9769,8 +9757,7 @@ ${lanes.join(`
|
|
|
9769
9757
|
else if (ch === 47 && !inCharacterClass) {
|
|
9770
9758
|
p++;
|
|
9771
9759
|
break;
|
|
9772
|
-
} else
|
|
9773
|
-
ch === 91 ? inCharacterClass = !0 : ch === 92 ? inEscape = !0 : ch === 93 && (inCharacterClass = !1);
|
|
9760
|
+
} else ch === 91 ? inCharacterClass = !0 : ch === 92 ? inEscape = !0 : ch === 93 && (inCharacterClass = !1);
|
|
9774
9761
|
p++;
|
|
9775
9762
|
}
|
|
9776
9763
|
for (; p < end && isIdentifierPart(text.charCodeAt(p), languageVersion); )
|
|
@@ -10500,8 +10487,7 @@ ${lanes.join(`
|
|
|
10500
10487
|
return getElementOrPropertyAccessArgumentExpressionOrName(node.parent.left);
|
|
10501
10488
|
} else if (isVariableDeclaration(node.parent) && isIdentifier(node.parent.name))
|
|
10502
10489
|
return node.parent.name;
|
|
10503
|
-
} else
|
|
10504
|
-
return;
|
|
10490
|
+
} else return;
|
|
10505
10491
|
}
|
|
10506
10492
|
function getDecorators(node) {
|
|
10507
10493
|
if (hasDecorators(node))
|
|
@@ -12949,8 +12935,7 @@ ${lanes.join(`
|
|
|
12949
12935
|
traverse(node.name.expression);
|
|
12950
12936
|
return;
|
|
12951
12937
|
}
|
|
12952
|
-
} else
|
|
12953
|
-
isPartOfTypeNode(node) || forEachChild(node, traverse);
|
|
12938
|
+
} else isPartOfTypeNode(node) || forEachChild(node, traverse);
|
|
12954
12939
|
}
|
|
12955
12940
|
}
|
|
12956
12941
|
}
|
|
@@ -13295,8 +13280,7 @@ ${lanes.join(`
|
|
|
13295
13280
|
if (!firstAccessorWithDecorators || node !== firstAccessorWithDecorators)
|
|
13296
13281
|
return !1;
|
|
13297
13282
|
parameters = setAccessor?.parameters;
|
|
13298
|
-
} else
|
|
13299
|
-
isMethodDeclaration(node) && (parameters = node.parameters);
|
|
13283
|
+
} else isMethodDeclaration(node) && (parameters = node.parameters);
|
|
13300
13284
|
if (nodeIsDecorated(useLegacyDecorators, node, parent2))
|
|
13301
13285
|
return !0;
|
|
13302
13286
|
if (parameters) {
|
|
@@ -19725,8 +19709,7 @@ ${lanes.join(`
|
|
|
19725
19709
|
if (cooked === void 0)
|
|
19726
19710
|
return Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");
|
|
19727
19711
|
text = cooked;
|
|
19728
|
-
} else
|
|
19729
|
-
cooked !== void 0 && Debug.assert(text === cooked, "Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");
|
|
19712
|
+
} else cooked !== void 0 && Debug.assert(text === cooked, "Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");
|
|
19730
19713
|
return text;
|
|
19731
19714
|
}
|
|
19732
19715
|
function getTransformFlagsOfTemplateLiteralLike(templateFlags) {
|
|
@@ -24922,8 +24905,7 @@ ${lanes.join(`
|
|
|
24922
24905
|
else if (types) {
|
|
24923
24906
|
let parsed = parseResolutionMode(res, types.pos, types.end, reportDiagnostic);
|
|
24924
24907
|
typeReferenceDirectives.push({ pos: types.pos, end: types.end, fileName: types.value, ...parsed ? { resolutionMode: parsed } : {} });
|
|
24925
|
-
} else
|
|
24926
|
-
lib ? libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value }) : path ? referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value }) : reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax);
|
|
24908
|
+
} else lib ? libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value }) : path ? referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value }) : reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax);
|
|
24927
24909
|
});
|
|
24928
24910
|
break;
|
|
24929
24911
|
}
|
|
@@ -28361,11 +28343,10 @@ ${lanes.join(`
|
|
|
28361
28343
|
} else
|
|
28362
28344
|
closingElement = parseJsxClosingElement(opening, inExpressionContext), tagNamesAreEquivalent(opening.tagName, closingElement.tagName) || (openingTag && isJsxOpeningElement(openingTag) && tagNamesAreEquivalent(closingElement.tagName, openingTag.tagName) ? parseErrorAtRange(opening.tagName, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, opening.tagName)) : parseErrorAtRange(closingElement.tagName, Diagnostics.Expected_corresponding_JSX_closing_tag_for_0, getTextOfNodeFromSourceText(sourceText, opening.tagName)));
|
|
28363
28345
|
result = finishNode(factory2.createJsxElement(opening, children, closingElement), pos);
|
|
28364
|
-
} else
|
|
28365
|
-
opening.kind ===
|
|
28366
|
-
|
|
28367
|
-
|
|
28368
|
-
), result = opening);
|
|
28346
|
+
} else opening.kind === 289 ? result = finishNode(factory2.createJsxFragment(opening, parseJsxChildren(opening), parseJsxClosingFragment(inExpressionContext)), pos) : (Debug.assert(
|
|
28347
|
+
opening.kind === 285
|
|
28348
|
+
/* JsxSelfClosingElement */
|
|
28349
|
+
), result = opening);
|
|
28369
28350
|
if (!mustBeUnary && inExpressionContext && token() === 30) {
|
|
28370
28351
|
let topBadPos = typeof topInvalidNodePosition > "u" ? result.pos : topInvalidNodePosition, invalidElement = tryParse(() => parseJsxElementOrSelfClosingElementOrFragment(
|
|
28371
28352
|
/*inExpressionContext*/
|
|
@@ -30475,10 +30456,8 @@ ${lanes.join(`
|
|
|
30475
30456
|
if (token() === 130) {
|
|
30476
30457
|
let secondAs = parseIdentifierName();
|
|
30477
30458
|
tokenIsIdentifierOrKeyword(token()) ? (isTypeOnly = !0, propertyName = firstAs, name = parseNameWithKeywordCheck(), canParseAsKeyword = !1) : (propertyName = name, name = secondAs, canParseAsKeyword = !1);
|
|
30478
|
-
} else
|
|
30479
|
-
|
|
30480
|
-
} else
|
|
30481
|
-
tokenIsIdentifierOrKeyword(token()) && (isTypeOnly = !0, name = parseNameWithKeywordCheck());
|
|
30459
|
+
} else tokenIsIdentifierOrKeyword(token()) ? (propertyName = name, canParseAsKeyword = !1, name = parseNameWithKeywordCheck()) : (isTypeOnly = !0, name = firstAs);
|
|
30460
|
+
} else tokenIsIdentifierOrKeyword(token()) && (isTypeOnly = !0, name = parseNameWithKeywordCheck());
|
|
30482
30461
|
canParseAsKeyword && token() === 130 && (propertyName = name, parseExpected(
|
|
30483
30462
|
130
|
|
30484
30463
|
/* AsKeyword */
|
|
@@ -32415,17 +32394,15 @@ ${lanes.join(`
|
|
|
32415
32394
|
if (option) {
|
|
32416
32395
|
let currentOption;
|
|
32417
32396
|
parentOption === compilerOptionsDeclaration ? currentOption = options : parentOption === watchOptionsDeclaration ? currentOption = watchOptions ?? (watchOptions = {}) : parentOption === typeAcquisitionDeclaration ? currentOption = typeAcquisition ?? (typeAcquisition = getDefaultTypeAcquisition(configFileName)) : Debug.fail("Unknown option"), currentOption[option.name] = value;
|
|
32418
|
-
} else
|
|
32419
|
-
keyText
|
|
32420
|
-
|
|
32421
|
-
|
|
32422
|
-
|
|
32423
|
-
|
|
32424
|
-
|
|
32425
|
-
|
|
32426
|
-
|
|
32427
|
-
else
|
|
32428
|
-
parentOption === rootOptions && (option === extendsOptionDeclaration ? extendedConfigPath = getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, propertyAssignment.initializer, sourceFile) : option || (keyText === "excludes" && errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)), find(commandOptionsWithoutBuild, (opt) => opt.name === keyText) && (rootCompilerOptions = append(rootCompilerOptions, propertyAssignment.name))));
|
|
32397
|
+
} else keyText && parentOption?.extraKeyDiagnostics && (parentOption.elementOptions ? errors.push(createUnknownOptionError(
|
|
32398
|
+
keyText,
|
|
32399
|
+
parentOption.extraKeyDiagnostics,
|
|
32400
|
+
/*unknownOptionErrorText*/
|
|
32401
|
+
void 0,
|
|
32402
|
+
propertyAssignment.name,
|
|
32403
|
+
sourceFile
|
|
32404
|
+
)) : errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, parentOption.extraKeyDiagnostics.unknownOptionDiagnostic, keyText)));
|
|
32405
|
+
else parentOption === rootOptions && (option === extendsOptionDeclaration ? extendedConfigPath = getExtendsConfigPathOrArray(value, host, basePath, configFileName, errors, propertyAssignment, propertyAssignment.initializer, sourceFile) : option || (keyText === "excludes" && errors.push(createDiagnosticForNodeInSourceFile(sourceFile, propertyAssignment.name, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)), find(commandOptionsWithoutBuild, (opt) => opt.name === keyText) && (rootCompilerOptions = append(rootCompilerOptions, propertyAssignment.name))));
|
|
32429
32406
|
}
|
|
32430
32407
|
}
|
|
32431
32408
|
function getExtendsConfigPath(extendedConfig, host, basePath, errors, valueExpression, sourceFile) {
|
|
@@ -34582,8 +34559,7 @@ ${lanes.join(`
|
|
|
34582
34559
|
);
|
|
34583
34560
|
result2 = searchResult && searchResult.value;
|
|
34584
34561
|
}
|
|
34585
|
-
else
|
|
34586
|
-
traceEnabled && trace(host, Diagnostics.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);
|
|
34562
|
+
else traceEnabled && trace(host, Diagnostics.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);
|
|
34587
34563
|
return resolvedTypeScriptOnly(result2);
|
|
34588
34564
|
} else
|
|
34589
34565
|
traceEnabled && trace(host, Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder);
|
|
@@ -36547,8 +36523,7 @@ ${lanes.join(`
|
|
|
36547
36523
|
flags: 2
|
|
36548
36524
|
/* Start */
|
|
36549
36525
|
}), containerFlags & 144 && (currentFlow.node = node)), currentReturnTarget = isImmediatelyInvoked || node.kind === 176 || isInJSFile(node) && (node.kind === 262 || node.kind === 218) ? createBranchLabel() : void 0, currentExceptionTarget = void 0, currentBreakTarget = void 0, currentContinueTarget = void 0, activeLabelList = void 0, hasExplicitReturn = !1, bindChildren(node), node.flags &= -5633, !(currentFlow.flags & 1) && containerFlags & 8 && nodeIsPresent(node.body) && (node.flags |= 512, hasExplicitReturn && (node.flags |= 1024), node.endFlowNode = currentFlow), node.kind === 312 && (node.flags |= emitFlags, node.endFlowNode = currentFlow), currentReturnTarget && (addAntecedent(currentReturnTarget, currentFlow), currentFlow = finishFlowLabel(currentReturnTarget), (node.kind === 176 || node.kind === 175 || isInJSFile(node) && (node.kind === 262 || node.kind === 218)) && (node.returnFlowNode = currentFlow)), isImmediatelyInvoked || (currentFlow = saveCurrentFlow), currentBreakTarget = saveBreakTarget, currentContinueTarget = saveContinueTarget, currentReturnTarget = saveReturnTarget, currentExceptionTarget = saveExceptionTarget, activeLabelList = saveActiveLabelList, hasExplicitReturn = saveHasExplicitReturn;
|
|
36550
|
-
} else
|
|
36551
|
-
containerFlags & 64 ? (seenThisKeyword = !1, bindChildren(node), Debug.assertNotNode(node, isIdentifier), node.flags = seenThisKeyword ? node.flags | 256 : node.flags & -257) : bindChildren(node);
|
|
36526
|
+
} else containerFlags & 64 ? (seenThisKeyword = !1, bindChildren(node), Debug.assertNotNode(node, isIdentifier), node.flags = seenThisKeyword ? node.flags | 256 : node.flags & -257) : bindChildren(node);
|
|
36552
36527
|
container = saveContainer, thisParentContainer = saveThisParentContainer, blockScopeContainer = savedBlockScopeContainer;
|
|
36553
36528
|
}
|
|
36554
36529
|
function bindEachFunctionsFirst(nodes) {
|
|
@@ -37329,13 +37304,12 @@ ${lanes.join(`
|
|
|
37329
37304
|
/* TypeAliasExcludes */
|
|
37330
37305
|
), container = oldContainer;
|
|
37331
37306
|
}
|
|
37332
|
-
} else
|
|
37333
|
-
|
|
37334
|
-
|
|
37335
|
-
|
|
37336
|
-
|
|
37337
|
-
|
|
37338
|
-
)) : bind(typeAlias.fullName);
|
|
37307
|
+
} else isJSDocEnumTag(typeAlias) || !typeAlias.fullName || typeAlias.fullName.kind === 80 ? (parent2 = typeAlias.parent, bindBlockScopedDeclaration(
|
|
37308
|
+
typeAlias,
|
|
37309
|
+
524288,
|
|
37310
|
+
788968
|
|
37311
|
+
/* TypeAliasExcludes */
|
|
37312
|
+
)) : bind(typeAlias.fullName);
|
|
37339
37313
|
}
|
|
37340
37314
|
container = saveContainer, lastContainer = saveLastContainer, blockScopeContainer = saveBlockScopeContainer, parent2 = saveParent, currentFlow = saveCurrentFlow;
|
|
37341
37315
|
}
|
|
@@ -41018,8 +40992,7 @@ ${lanes.join(`
|
|
|
41018
40992
|
Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,
|
|
41019
40993
|
compilerOptionName
|
|
41020
40994
|
));
|
|
41021
|
-
} else
|
|
41022
|
-
isImportClause(node) ? reportNonDefaultExport(moduleSymbol, node) : errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name);
|
|
40995
|
+
} else isImportClause(node) ? reportNonDefaultExport(moduleSymbol, node) : errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name);
|
|
41023
40996
|
else if (hasSyntheticDefault || hasDefaultOnly) {
|
|
41024
40997
|
let resolved = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias);
|
|
41025
40998
|
return markSymbolOfAliasDeclarationIfTypeOnly(
|
|
@@ -43417,8 +43390,7 @@ ${lanes.join(`
|
|
|
43417
43390
|
* ` + commentText.replace(/\n/g, `
|
|
43418
43391
|
* `) + `
|
|
43419
43392
|
`, pos: -1, end: -1, hasTrailingNewLine: !0 }]);
|
|
43420
|
-
} else
|
|
43421
|
-
propertySymbol.valueDeclaration && setCommentRange(node, propertySymbol.valueDeclaration);
|
|
43393
|
+
} else propertySymbol.valueDeclaration && setCommentRange(node, propertySymbol.valueDeclaration);
|
|
43422
43394
|
return node;
|
|
43423
43395
|
}
|
|
43424
43396
|
}
|
|
@@ -43436,12 +43408,11 @@ ${lanes.join(`
|
|
|
43436
43408
|
),
|
|
43437
43409
|
typeToTypeNodeHelper(types[types.length - 1], context)
|
|
43438
43410
|
];
|
|
43439
|
-
} else
|
|
43440
|
-
|
|
43441
|
-
|
|
43442
|
-
|
|
43443
|
-
|
|
43444
|
-
)];
|
|
43411
|
+
} else return [factory.createTypeReferenceNode(
|
|
43412
|
+
"...",
|
|
43413
|
+
/*typeArguments*/
|
|
43414
|
+
void 0
|
|
43415
|
+
)];
|
|
43445
43416
|
let seenNames = !(context.flags & 64) ? createMultiMap() : void 0, result = [], i = 0;
|
|
43446
43417
|
for (let type of types) {
|
|
43447
43418
|
if (i++, checkTruncationLength(context) && i + 2 < types.length - 1) {
|
|
@@ -46325,8 +46296,7 @@ ${lanes.join(`
|
|
|
46325
46296
|
declaration,
|
|
46326
46297
|
type
|
|
46327
46298
|
);
|
|
46328
|
-
else
|
|
46329
|
-
return type;
|
|
46299
|
+
else return type;
|
|
46330
46300
|
}
|
|
46331
46301
|
if ((_a = symbol.parent) != null && _a.valueDeclaration) {
|
|
46332
46302
|
let typeNode2 = getEffectiveTypeAnnotationNode(symbol.parent.valueDeclaration);
|
|
@@ -48126,8 +48096,7 @@ ${lanes.join(`
|
|
|
48126
48096
|
for (; constraint && constraint.flags & 21233664; )
|
|
48127
48097
|
constraint = getConstraintOfType(constraint);
|
|
48128
48098
|
constraint && (constraints = append(constraints, constraint), targetIsUnion && (constraints = append(constraints, t)));
|
|
48129
|
-
} else
|
|
48130
|
-
(t.flags & 469892092 || isEmptyAnonymousObjectType(t)) && (hasDisjointDomainType = !0);
|
|
48099
|
+
} else (t.flags & 469892092 || isEmptyAnonymousObjectType(t)) && (hasDisjointDomainType = !0);
|
|
48131
48100
|
if (constraints && (targetIsUnion || hasDisjointDomainType)) {
|
|
48132
48101
|
if (hasDisjointDomainType)
|
|
48133
48102
|
for (let t of types)
|
|
@@ -50720,20 +50689,19 @@ ${lanes.join(`
|
|
|
50720
50689
|
"[" + symbolName2 + "]",
|
|
50721
50690
|
typeToString(objectType)
|
|
50722
50691
|
);
|
|
50723
|
-
} else
|
|
50724
|
-
|
|
50725
|
-
|
|
50726
|
-
|
|
50727
|
-
|
|
50728
|
-
|
|
50729
|
-
|
|
50730
|
-
|
|
50731
|
-
|
|
50732
|
-
|
|
50733
|
-
|
|
50734
|
-
|
|
50735
|
-
|
|
50736
|
-
));
|
|
50692
|
+
} else indexType.flags & 128 || indexType.flags & 256 ? errorInfo = chainDiagnosticMessages(
|
|
50693
|
+
/*details*/
|
|
50694
|
+
void 0,
|
|
50695
|
+
Diagnostics.Property_0_does_not_exist_on_type_1,
|
|
50696
|
+
indexType.value,
|
|
50697
|
+
typeToString(objectType)
|
|
50698
|
+
) : indexType.flags & 12 && (errorInfo = chainDiagnosticMessages(
|
|
50699
|
+
/*details*/
|
|
50700
|
+
void 0,
|
|
50701
|
+
Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,
|
|
50702
|
+
typeToString(indexType),
|
|
50703
|
+
typeToString(objectType)
|
|
50704
|
+
));
|
|
50737
50705
|
errorInfo = chainDiagnosticMessages(
|
|
50738
50706
|
errorInfo,
|
|
50739
50707
|
Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,
|
|
@@ -53915,13 +53883,12 @@ ${lanes.join(`
|
|
|
53915
53883
|
/* WriteComputedProps */
|
|
53916
53884
|
);
|
|
53917
53885
|
reportError(Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2, propName, ...getTypeNamesForErrorDisplay(source2, target2)), length(unmatchedProperty.declarations) && associateRelatedInfo(createDiagnosticForNode(unmatchedProperty.declarations[0], Diagnostics._0_is_declared_here, propName)), shouldSkipElaboration && errorInfo && overrideNextErrorInfo++;
|
|
53918
|
-
} else
|
|
53919
|
-
|
|
53920
|
-
|
|
53921
|
-
|
|
53922
|
-
|
|
53923
|
-
|
|
53924
|
-
) && (props.length > 5 ? reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more, typeToString(source2), typeToString(target2), map(props.slice(0, 4), (p) => symbolToString(p)).join(", "), props.length - 4) : reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(", ")), shouldSkipElaboration && errorInfo && overrideNextErrorInfo++);
|
|
53886
|
+
} else tryElaborateArrayLikeErrors(
|
|
53887
|
+
source2,
|
|
53888
|
+
target2,
|
|
53889
|
+
/*reportErrors*/
|
|
53890
|
+
!1
|
|
53891
|
+
) && (props.length > 5 ? reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more, typeToString(source2), typeToString(target2), map(props.slice(0, 4), (p) => symbolToString(p)).join(", "), props.length - 4) : reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(", ")), shouldSkipElaboration && errorInfo && overrideNextErrorInfo++);
|
|
53925
53892
|
}
|
|
53926
53893
|
function propertiesRelatedTo(source2, target2, reportErrors2, excludedProperties, optionalsOnly, intersectionState) {
|
|
53927
53894
|
if (relation === identityRelation)
|
|
@@ -54916,8 +54883,7 @@ ${lanes.join(`
|
|
|
54916
54883
|
some(widenedTypes, isEmptyObjectType) ? 2 : 1
|
|
54917
54884
|
/* Literal */
|
|
54918
54885
|
);
|
|
54919
|
-
} else
|
|
54920
|
-
type.flags & 2097152 ? result = getIntersectionType(sameMap(type.types, getWidenedType)) : isArrayOrTupleType(type) && (result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType)));
|
|
54886
|
+
} else type.flags & 2097152 ? result = getIntersectionType(sameMap(type.types, getWidenedType)) : isArrayOrTupleType(type) && (result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType)));
|
|
54921
54887
|
return result && context === void 0 && (type.widened = result), result || type;
|
|
54922
54888
|
}
|
|
54923
54889
|
return type;
|
|
@@ -55375,8 +55341,7 @@ ${lanes.join(`
|
|
|
55375
55341
|
return;
|
|
55376
55342
|
source = getIntersectionType(sources), target = getIntersectionType(targets);
|
|
55377
55343
|
}
|
|
55378
|
-
} else
|
|
55379
|
-
target.flags & 41943040 && (target = getActualTypeVariable(target));
|
|
55344
|
+
} else target.flags & 41943040 && (target = getActualTypeVariable(target));
|
|
55380
55345
|
if (target.flags & 8650752) {
|
|
55381
55346
|
if (isFromInferenceBlockedSource(source))
|
|
55382
55347
|
return;
|
|
@@ -58070,8 +58035,7 @@ ${lanes.join(`
|
|
|
58070
58035
|
if (isInJS && className) {
|
|
58071
58036
|
let classSymbol = checkExpression(className).symbol;
|
|
58072
58037
|
classSymbol && classSymbol.members && classSymbol.flags & 16 && (thisType = getDeclaredTypeOfSymbol(classSymbol).thisType);
|
|
58073
|
-
} else
|
|
58074
|
-
isJSConstructor(container) && (thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType);
|
|
58038
|
+
} else isJSConstructor(container) && (thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType);
|
|
58075
58039
|
thisType || (thisType = getContextualThisParameterType(container));
|
|
58076
58040
|
}
|
|
58077
58041
|
if (thisType)
|
|
@@ -60190,8 +60154,7 @@ ${lanes.join(`
|
|
|
60190
60154
|
let flowContainer = getControlFlowContainer(node);
|
|
60191
60155
|
flowContainer.kind === 176 && flowContainer.parent === declaration.parent && !(declaration.flags & 33554432) && (assumeUninitialized = !0);
|
|
60192
60156
|
}
|
|
60193
|
-
} else
|
|
60194
|
-
strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration) && (assumeUninitialized = !0);
|
|
60157
|
+
} else strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration) && (assumeUninitialized = !0);
|
|
60195
60158
|
let flowType = getFlowTypeOfReference(node, propType, assumeUninitialized ? getOptionalType(propType) : propType);
|
|
60196
60159
|
return assumeUninitialized && !containsUndefinedType(propType) && containsUndefinedType(flowType) ? (error2(errorNode, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(prop)), propType) : assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType;
|
|
60197
60160
|
}
|
|
@@ -61945,8 +61908,7 @@ ${lanes.join(`
|
|
|
61945
61908
|
name = parentNode.left, decl = name;
|
|
61946
61909
|
else if ((parentNodeOperator === 57 || parentNodeOperator === 61) && (isVariableDeclaration(parentNode.parent) && parentNode.parent.initializer === parentNode ? (name = parentNode.parent.name, decl = parentNode.parent) : isBinaryExpression(parentNode.parent) && parentNode.parent.operatorToken.kind === 64 && (allowDeclaration || parentNode.parent.right === parentNode) && (name = parentNode.parent.left, decl = name), !name || !isBindableStaticNameExpression(name) || !isSameEntityName(name, parentNode.left)))
|
|
61947
61910
|
return;
|
|
61948
|
-
} else
|
|
61949
|
-
allowDeclaration && isFunctionDeclaration(node) && (name = node.name, decl = node);
|
|
61911
|
+
} else allowDeclaration && isFunctionDeclaration(node) && (name = node.name, decl = node);
|
|
61950
61912
|
if (!(!decl || !name || !allowDeclaration && !getExpandoInitializer(node, isPrototypeAccess(name))))
|
|
61951
61913
|
return getSymbolOfNode(decl);
|
|
61952
61914
|
}
|
|
@@ -62361,8 +62323,7 @@ ${lanes.join(`
|
|
|
62361
62323
|
let symbol = getSymbolOfDeclaration(container);
|
|
62362
62324
|
return getTypeOfSymbol(symbol);
|
|
62363
62325
|
}
|
|
62364
|
-
else
|
|
62365
|
-
return error2(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, "new.target"), errorType;
|
|
62326
|
+
else return error2(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, "new.target"), errorType;
|
|
62366
62327
|
}
|
|
62367
62328
|
function checkImportMetaProperty(node) {
|
|
62368
62329
|
moduleKind === 100 || moduleKind === 199 ? getSourceFileOfNode(node).impliedNodeFormat !== 99 && error2(node, Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output) : moduleKind < 6 && moduleKind !== 4 && error2(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);
|
|
@@ -62980,8 +62941,7 @@ ${lanes.join(`
|
|
|
62980
62941
|
links.isExhaustive = 0;
|
|
62981
62942
|
let exhaustive = computeExhaustiveSwitchStatement(node);
|
|
62982
62943
|
links.isExhaustive === 0 && (links.isExhaustive = exhaustive);
|
|
62983
|
-
} else
|
|
62984
|
-
links.isExhaustive === 0 && (links.isExhaustive = !1);
|
|
62944
|
+
} else links.isExhaustive === 0 && (links.isExhaustive = !1);
|
|
62985
62945
|
return links.isExhaustive;
|
|
62986
62946
|
}
|
|
62987
62947
|
function computeExhaustiveSwitchStatement(node) {
|
|
@@ -64808,8 +64768,7 @@ ${lanes.join(`
|
|
|
64808
64768
|
let generatorYieldType = getIterationTypeOfGeneratorFunctionReturnType(0, returnType, (functionFlags2 & 2) !== 0) || anyType, generatorReturnType = getIterationTypeOfGeneratorFunctionReturnType(1, returnType, (functionFlags2 & 2) !== 0) || generatorYieldType, generatorNextType = getIterationTypeOfGeneratorFunctionReturnType(2, returnType, (functionFlags2 & 2) !== 0) || unknownType, generatorInstantiation = createGeneratorReturnType(generatorYieldType, generatorReturnType, generatorNextType, !!(functionFlags2 & 2));
|
|
64809
64769
|
checkTypeAssignableTo(generatorInstantiation, returnType, returnTypeErrorLocation);
|
|
64810
64770
|
}
|
|
64811
|
-
} else
|
|
64812
|
-
(functionFlags2 & 3) === 2 && checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation);
|
|
64771
|
+
} else (functionFlags2 & 3) === 2 && checkAsyncFunctionReturnType(node, returnTypeNode, returnTypeErrorLocation);
|
|
64813
64772
|
}
|
|
64814
64773
|
node.kind !== 181 && node.kind !== 324 && registerForUnusedIdentifiersCheck(node);
|
|
64815
64774
|
}
|
|
@@ -64985,8 +64944,7 @@ ${lanes.join(`
|
|
|
64985
64944
|
}
|
|
64986
64945
|
superCallStatement === void 0 && error2(node, Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers);
|
|
64987
64946
|
}
|
|
64988
|
-
} else
|
|
64989
|
-
classExtendsNull || error2(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call);
|
|
64947
|
+
} else classExtendsNull || error2(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call);
|
|
64990
64948
|
}
|
|
64991
64949
|
}
|
|
64992
64950
|
}
|
|
@@ -66641,8 +66599,7 @@ ${lanes.join(`
|
|
|
66641
66599
|
2
|
|
66642
66600
|
/* Subtype */
|
|
66643
66601
|
));
|
|
66644
|
-
} else
|
|
66645
|
-
arrayType.flags & 402653316 && (arrayType = neverType);
|
|
66602
|
+
} else arrayType.flags & 402653316 && (arrayType = neverType);
|
|
66646
66603
|
if (hasStringConstituent = arrayType !== inputType, hasStringConstituent && (languageVersion < 1 && errorNode && (error2(errorNode, Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher), reportedError = !0), arrayType.flags & 131072))
|
|
66647
66604
|
return possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType;
|
|
66648
66605
|
}
|
|
@@ -67146,8 +67103,7 @@ ${lanes.join(`
|
|
|
67146
67103
|
) : exprType;
|
|
67147
67104
|
unwrappedReturnType && checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, node, node.expression);
|
|
67148
67105
|
}
|
|
67149
|
-
} else
|
|
67150
|
-
container.kind !== 176 && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeUndefinedVoidOrAny(container, returnType) && error2(node, Diagnostics.Not_all_code_paths_return_a_value);
|
|
67106
|
+
} else container.kind !== 176 && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeUndefinedVoidOrAny(container, returnType) && error2(node, Diagnostics.Not_all_code_paths_return_a_value);
|
|
67151
67107
|
}
|
|
67152
67108
|
function checkWithStatement(node) {
|
|
67153
67109
|
checkGrammarStatementInAmbientContext(node) || node.flags & 65536 && grammarErrorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_an_async_function_block), checkExpression(node.expression);
|
|
@@ -67759,8 +67715,7 @@ ${lanes.join(`
|
|
|
67759
67715
|
if (isPrototypeProperty(derived) || derived.flags & 4)
|
|
67760
67716
|
continue;
|
|
67761
67717
|
Debug.assert(!!(derived.flags & 98304)), errorMessage = Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor;
|
|
67762
|
-
} else
|
|
67763
|
-
base.flags & 98304 ? errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function : errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;
|
|
67718
|
+
} else base.flags & 98304 ? errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function : errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;
|
|
67764
67719
|
error2(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage, typeToString(baseType), symbolToString(base), typeToString(type));
|
|
67765
67720
|
}
|
|
67766
67721
|
}
|
|
@@ -68106,8 +68061,7 @@ ${lanes.join(`
|
|
|
68106
68061
|
if ((isGlobalAugmentation || getSymbolOfDeclaration(node).flags & 33554432) && node.body)
|
|
68107
68062
|
for (let statement of node.body.statements)
|
|
68108
68063
|
checkModuleAugmentationElement(statement, isGlobalAugmentation);
|
|
68109
|
-
} else
|
|
68110
|
-
isGlobalSourceFile(node.parent) ? isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name)) && error2(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name) : isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : error2(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces);
|
|
68064
|
+
} else isGlobalSourceFile(node.parent) ? isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name)) && error2(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name) : isGlobalAugmentation ? error2(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations) : error2(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces);
|
|
68111
68065
|
}
|
|
68112
68066
|
}
|
|
68113
68067
|
function checkModuleAugmentationElement(node, isGlobalAugmentation) {
|
|
@@ -70355,8 +70309,7 @@ ${lanes.join(`
|
|
|
70355
70309
|
if (hasDecorators(accessors.firstAccessor) && node === accessors.secondAccessor)
|
|
70356
70310
|
return grammarErrorOnFirstToken(node, Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name);
|
|
70357
70311
|
}
|
|
70358
|
-
} else
|
|
70359
|
-
return node.kind === 174 && !nodeIsPresent(node.body) ? grammarErrorOnFirstToken(node, Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload) : grammarErrorOnFirstToken(node, Diagnostics.Decorators_are_not_valid_here);
|
|
70312
|
+
} else return node.kind === 174 && !nodeIsPresent(node.body) ? grammarErrorOnFirstToken(node, Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload) : grammarErrorOnFirstToken(node, Diagnostics.Decorators_are_not_valid_here);
|
|
70360
70313
|
if (flags & -132098)
|
|
70361
70314
|
return grammarErrorOnNode(modifier, Diagnostics.Decorators_are_not_valid_here);
|
|
70362
70315
|
if (hasLeadingDecorators && flags & 126975) {
|
|
@@ -70497,8 +70450,7 @@ ${lanes.join(`
|
|
|
70497
70450
|
if (flags & 1) {
|
|
70498
70451
|
if (sawExportBeforeDecorators)
|
|
70499
70452
|
return grammarErrorOnNode(firstDecorator, Diagnostics.Decorators_are_not_valid_here);
|
|
70500
|
-
} else
|
|
70501
|
-
return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "default");
|
|
70453
|
+
} else return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, "export", "default");
|
|
70502
70454
|
flags |= 1024;
|
|
70503
70455
|
break;
|
|
70504
70456
|
case 138:
|
|
@@ -88607,36 +88559,35 @@ ${lanes.join(`
|
|
|
88607
88559
|
);
|
|
88608
88560
|
} else
|
|
88609
88561
|
return setOriginalNode(setTextRange(factory2.createExpressionStatement(createRequireCall2(node)), node), node);
|
|
88610
|
-
else
|
|
88611
|
-
|
|
88612
|
-
|
|
88613
|
-
|
|
88614
|
-
|
|
88615
|
-
|
|
88616
|
-
|
|
88617
|
-
|
|
88618
|
-
|
|
88619
|
-
|
|
88620
|
-
factory2.
|
|
88621
|
-
|
|
88622
|
-
|
|
88623
|
-
|
|
88624
|
-
|
|
88625
|
-
|
|
88626
|
-
factory2.getGeneratedNameForNode(node)
|
|
88627
|
-
),
|
|
88628
|
-
/*location*/
|
|
88629
|
-
node
|
|
88562
|
+
else namespaceDeclaration && isDefaultImport(node) && (statements = append(
|
|
88563
|
+
statements,
|
|
88564
|
+
factory2.createVariableStatement(
|
|
88565
|
+
/*modifiers*/
|
|
88566
|
+
void 0,
|
|
88567
|
+
factory2.createVariableDeclarationList(
|
|
88568
|
+
[
|
|
88569
|
+
setOriginalNode(
|
|
88570
|
+
setTextRange(
|
|
88571
|
+
factory2.createVariableDeclaration(
|
|
88572
|
+
factory2.cloneNode(namespaceDeclaration.name),
|
|
88573
|
+
/*exclamationToken*/
|
|
88574
|
+
void 0,
|
|
88575
|
+
/*type*/
|
|
88576
|
+
void 0,
|
|
88577
|
+
factory2.getGeneratedNameForNode(node)
|
|
88630
88578
|
),
|
|
88631
|
-
/*
|
|
88579
|
+
/*location*/
|
|
88632
88580
|
node
|
|
88633
|
-
)
|
|
88634
|
-
|
|
88635
|
-
|
|
88636
|
-
|
|
88637
|
-
|
|
88581
|
+
),
|
|
88582
|
+
/*original*/
|
|
88583
|
+
node
|
|
88584
|
+
)
|
|
88585
|
+
],
|
|
88586
|
+
languageVersion >= 2 ? 2 : 0
|
|
88587
|
+
/* None */
|
|
88638
88588
|
)
|
|
88639
|
-
)
|
|
88589
|
+
)
|
|
88590
|
+
));
|
|
88640
88591
|
return statements = appendExportsOfImportDeclaration(statements, node), singleOrMany(statements);
|
|
88641
88592
|
}
|
|
88642
88593
|
function createRequireCall2(importNode) {
|
|
@@ -89030,8 +88981,7 @@ ${lanes.join(`
|
|
|
89030
88981
|
if (isBindingPattern(decl.name))
|
|
89031
88982
|
for (let element of decl.name.elements)
|
|
89032
88983
|
isOmittedExpression(element) || (statements = appendExportsOfBindingElement(statements, element, isForInOrOfInitializer));
|
|
89033
|
-
else
|
|
89034
|
-
!isGeneratedIdentifier(decl.name) && (!isVariableDeclaration(decl) || decl.initializer || isForInOrOfInitializer) && (statements = appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl));
|
|
88984
|
+
else !isGeneratedIdentifier(decl.name) && (!isVariableDeclaration(decl) || decl.initializer || isForInOrOfInitializer) && (statements = appendExportsOfDeclaration(statements, new IdentifierNameMap(), decl));
|
|
89035
88985
|
return statements;
|
|
89036
88986
|
}
|
|
89037
88987
|
function appendExportsOfHoistedDeclaration(statements, decl) {
|
|
@@ -96969,8 +96919,7 @@ ${lanes.join(`
|
|
|
96969
96919
|
if (lineContent = trimStringEnd(lineContent), lineContent = lineContent.replace(/\t/g, " "), context += indent2 + formatColorAndReset(padLeft(i + 1 + "", gutterWidth), gutterStyleSequence) + gutterSeparator, context += lineContent + host.getNewLine(), context += indent2 + formatColorAndReset(padLeft("", gutterWidth), gutterStyleSequence) + gutterSeparator, context += squiggleColor, i === firstLine) {
|
|
96970
96920
|
let lastCharForLine = i === lastLine ? lastLineChar : void 0;
|
|
96971
96921
|
context += lineContent.slice(0, firstLineChar).replace(/\S/g, " "), context += lineContent.slice(firstLineChar, lastCharForLine).replace(/./g, "~");
|
|
96972
|
-
} else
|
|
96973
|
-
i === lastLine ? context += lineContent.slice(0, lastLineChar).replace(/./g, "~") : context += lineContent.replace(/./g, "~");
|
|
96922
|
+
} else i === lastLine ? context += lineContent.slice(0, lastLineChar).replace(/./g, "~") : context += lineContent.replace(/./g, "~");
|
|
96974
96923
|
context += resetEscapeSequence;
|
|
96975
96924
|
}
|
|
96976
96925
|
return context;
|
|
@@ -98577,8 +98526,7 @@ ${lanes.join(`
|
|
|
98577
98526
|
if (fileFromPackageId) {
|
|
98578
98527
|
let dupFile = createRedirectedSourceFile(fileFromPackageId, file, fileName, path, toPath3(fileName), originalFileName, sourceFileOptions);
|
|
98579
98528
|
return redirectTargetsMap.add(fileFromPackageId.path, fileName), addFileToFilesByName(dupFile, path, redirectedPath), addFileIncludeReason(dupFile, reason), sourceFileToPackageName.set(path, packageIdToPackageName(packageId)), processingOtherFiles.push(dupFile), dupFile;
|
|
98580
|
-
} else
|
|
98581
|
-
file && (packageIdToSourceFile.set(packageIdKey, file), sourceFileToPackageName.set(path, packageIdToPackageName(packageId)));
|
|
98529
|
+
} else file && (packageIdToSourceFile.set(packageIdKey, file), sourceFileToPackageName.set(path, packageIdToPackageName(packageId)));
|
|
98582
98530
|
}
|
|
98583
98531
|
if (addFileToFilesByName(file, path, redirectedPath), file) {
|
|
98584
98532
|
if (sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0), file.fileName = fileName, file.path = path, file.resolvedPath = toPath3(fileName), file.originalFileName = originalFileName, file.packageJsonLocations = (_a2 = sourceFileOptions.packageJsonLocations) != null && _a2.length ? sourceFileOptions.packageJsonLocations : void 0, file.packageJsonScope = sourceFileOptions.packageJsonScope, addFileIncludeReason(file, reason), host.useCaseSensitiveFileNames()) {
|
|
@@ -100719,8 +100667,7 @@ ${lanes.join(`
|
|
|
100719
100667
|
void 0,
|
|
100720
100668
|
cancellationToken
|
|
100721
100669
|
), state.changedFilesSet.clear(), state.programEmitPending = getBuilderFileEmit(state.compilerOptions);
|
|
100722
|
-
else
|
|
100723
|
-
return;
|
|
100670
|
+
else return;
|
|
100724
100671
|
return { result, affected };
|
|
100725
100672
|
}
|
|
100726
100673
|
}
|
|
@@ -101422,8 +101369,7 @@ ${lanes.join(`
|
|
|
101422
101369
|
for (let failedLookupLocation of failedLookupLocations)
|
|
101423
101370
|
removeAtRoot = stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot);
|
|
101424
101371
|
node10Result && (removeAtRoot = stopWatchFailedLookupLocation(node10Result, removeAtRoot)), removeAtRoot && removeDirectoryWatcher(rootPath);
|
|
101425
|
-
} else
|
|
101426
|
-
affectingLocations?.length && resolutionsWithOnlyAffectingLocations.delete(resolution);
|
|
101372
|
+
} else affectingLocations?.length && resolutionsWithOnlyAffectingLocations.delete(resolution);
|
|
101427
101373
|
if (affectingLocations)
|
|
101428
101374
|
for (let affectingLocation of affectingLocations) {
|
|
101429
101375
|
let watcher = fileWatchesOfAffectingLocations.get(affectingLocation);
|
|
@@ -105315,8 +105261,7 @@ ${lanes.join(`
|
|
|
105315
105261
|
if (remainingMatchingTokens === 0)
|
|
105316
105262
|
return token;
|
|
105317
105263
|
remainingMatchingTokens--;
|
|
105318
|
-
} else
|
|
105319
|
-
token.kind === tokenKind && remainingMatchingTokens++;
|
|
105264
|
+
} else token.kind === tokenKind && remainingMatchingTokens++;
|
|
105320
105265
|
}
|
|
105321
105266
|
}
|
|
105322
105267
|
function removeOptionality(type, isOptionalExpression, isOptionalChain2) {
|
|
@@ -108884,8 +108829,7 @@ ${lanes.join(`
|
|
|
108884
108829
|
for (token = nextToken(); token !== 20 && token !== 1; )
|
|
108885
108830
|
token = nextToken();
|
|
108886
108831
|
token === 20 && (token = nextToken(), token === 161 && (token = nextToken(), token === 11 && recordModuleName()));
|
|
108887
|
-
} else
|
|
108888
|
-
token === 42 && (token = nextToken(), token === 130 && (token = nextToken(), (token === 80 || isKeyword(token)) && (token = nextToken(), token === 161 && (token = nextToken(), token === 11 && recordModuleName()))));
|
|
108832
|
+
} else token === 42 && (token = nextToken(), token === 130 && (token = nextToken(), (token === 80 || isKeyword(token)) && (token = nextToken(), token === 161 && (token = nextToken(), token === 11 && recordModuleName()))));
|
|
108889
108833
|
}
|
|
108890
108834
|
return !0;
|
|
108891
108835
|
}
|
|
@@ -111433,8 +111377,7 @@ ${lanes.join(`
|
|
|
111433
111377
|
if (isInImport(decl)) {
|
|
111434
111378
|
let prevIsTypeOnly = oldImportsNeededByTargetFile.get(symbol);
|
|
111435
111379
|
oldImportsNeededByTargetFile.set(symbol, (prevIsTypeOnly === void 0 || prevIsTypeOnly) && isValidTypeOnlyUseSite);
|
|
111436
|
-
} else
|
|
111437
|
-
isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile && !movedSymbols.has(symbol) && targetFileImportsFromOldFile.add(symbol);
|
|
111380
|
+
} else isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile && !movedSymbols.has(symbol) && targetFileImportsFromOldFile.add(symbol);
|
|
111438
111381
|
});
|
|
111439
111382
|
let unusedImportsFromOldFile = new Set(oldImportsNeededByTargetFile.keys()), oldFileImportsFromTargetFile = /* @__PURE__ */ new Set();
|
|
111440
111383
|
for (let statement of oldFile.statements)
|
|
@@ -113030,8 +112973,7 @@ ${newComment.split(`
|
|
|
113030
112973
|
} else if (current.kind === 169) {
|
|
113031
112974
|
getContainingFunction(current).kind === 176 && (rangeFacts |= 32);
|
|
113032
112975
|
break;
|
|
113033
|
-
} else
|
|
113034
|
-
current.kind === 174 && isStatic(current) && (rangeFacts |= 32);
|
|
112976
|
+
} else current.kind === 174 && isStatic(current) && (rangeFacts |= 32);
|
|
113035
112977
|
current = current.parent;
|
|
113036
112978
|
}
|
|
113037
112979
|
}
|
|
@@ -113866,8 +113808,7 @@ ${newComment.split(`
|
|
|
113866
113808
|
if (expression === void 0) {
|
|
113867
113809
|
let statements = targetRange.range, start = first(statements).getStart(), end = last(statements).end;
|
|
113868
113810
|
expressionDiagnostic = createFileDiagnostic(sourceFile, start, end - start, Messages.expressionExpected);
|
|
113869
|
-
} else
|
|
113870
|
-
checker.getTypeAtLocation(expression).flags & 147456 && (expressionDiagnostic = createDiagnosticForNode(expression, Messages.uselessConstantType));
|
|
113811
|
+
} else checker.getTypeAtLocation(expression).flags & 147456 && (expressionDiagnostic = createDiagnosticForNode(expression, Messages.uselessConstantType));
|
|
113871
113812
|
for (let scope of scopes) {
|
|
113872
113813
|
usagesPerScope.push({ usages: /* @__PURE__ */ new Map(), typeParameterUsages: /* @__PURE__ */ new Map(), substitutions: /* @__PURE__ */ new Map() }), substitutionsPerScope.push(/* @__PURE__ */ new Map()), functionErrorsPerScope.push([]);
|
|
113873
113814
|
let constantErrors = [];
|
|
@@ -114342,8 +114283,7 @@ ${newComment.split(`
|
|
|
114342
114283
|
if (decl) {
|
|
114343
114284
|
let modifiers = getCombinedModifierFlags(decl), nodeFlags = getCombinedNodeFlags(decl);
|
|
114344
114285
|
modifiers & 32 && (modifierSet |= 2), modifiers & 512 && (modifierSet |= 4), typeIdx !== 0 && typeIdx !== 2 && (modifiers & 64 || nodeFlags & 2 || symbol.getFlags() & 8) && (modifierSet |= 8), (typeIdx === 7 || typeIdx === 10) && isLocalDeclaration(decl, sourceFile) && (modifierSet |= 32), program.isSourceFileDefaultLibrary(decl.getSourceFile()) && (modifierSet |= 16);
|
|
114345
|
-
} else
|
|
114346
|
-
symbol.declarations && symbol.declarations.some((d) => program.isSourceFileDefaultLibrary(d.getSourceFile())) && (modifierSet |= 16);
|
|
114286
|
+
} else symbol.declarations && symbol.declarations.some((d) => program.isSourceFileDefaultLibrary(d.getSourceFile())) && (modifierSet |= 16);
|
|
114347
114287
|
collector(node, typeIdx, modifierSet);
|
|
114348
114288
|
}
|
|
114349
114289
|
}
|
|
@@ -118439,8 +118379,7 @@ ${newComment.split(`
|
|
|
118439
118379
|
target: declaration
|
|
118440
118380
|
} : void 0;
|
|
118441
118381
|
}
|
|
118442
|
-
} else
|
|
118443
|
-
return;
|
|
118382
|
+
} else return;
|
|
118444
118383
|
}
|
|
118445
118384
|
function addUndefinedToOptionalProperty(changes, toAdd) {
|
|
118446
118385
|
for (let add of toAdd) {
|
|
@@ -119379,8 +119318,7 @@ ${newComment.split(`
|
|
|
119379
119318
|
let temp = transformExpression(node, node, transformer, hasContinuation, continuationArgName);
|
|
119380
119319
|
if (innerCbBody = innerCbBody.concat(temp), innerCbBody.length > 0)
|
|
119381
119320
|
return;
|
|
119382
|
-
} else
|
|
119383
|
-
isFunctionLike(node) || forEachChild(node, visit);
|
|
119321
|
+
} else isFunctionLike(node) || forEachChild(node, visit);
|
|
119384
119322
|
}), innerCbBody;
|
|
119385
119323
|
}
|
|
119386
119324
|
function getArgBindingName(funcNode, transformer) {
|
|
@@ -119390,8 +119328,7 @@ ${newComment.split(`
|
|
|
119390
119328
|
let param = funcNode.parameters[0].name;
|
|
119391
119329
|
name = getMappedBindingNameOrDefault(param);
|
|
119392
119330
|
}
|
|
119393
|
-
} else
|
|
119394
|
-
isIdentifier(funcNode) ? name = getMapEntryOrDefault(funcNode) : isPropertyAccessExpression(funcNode) && isIdentifier(funcNode.name) && (name = getMapEntryOrDefault(funcNode.name));
|
|
119331
|
+
} else isIdentifier(funcNode) ? name = getMapEntryOrDefault(funcNode) : isPropertyAccessExpression(funcNode) && isIdentifier(funcNode.name) && (name = getMapEntryOrDefault(funcNode.name));
|
|
119395
119332
|
if (!name || "identifier" in name && name.identifier.text === "undefined")
|
|
119396
119333
|
return;
|
|
119397
119334
|
return name;
|
|
@@ -119635,8 +119572,7 @@ ${newComment.split(`
|
|
|
119635
119572
|
) ? convertReExportAll(right.arguments[0], checker) : void 0;
|
|
119636
119573
|
return replacement ? (changes.replaceNodeWithNodes(sourceFile, assignment.parent, replacement[0]), replacement[1]) : (changes.replaceRangeWithText(sourceFile, createRange(left.getStart(sourceFile), right.pos), "export default"), !0);
|
|
119637
119574
|
}
|
|
119638
|
-
else
|
|
119639
|
-
isExportsOrModuleExportsOrAlias(sourceFile, left.expression) && convertNamedExport(sourceFile, assignment, changes, exports2);
|
|
119575
|
+
else isExportsOrModuleExportsOrAlias(sourceFile, left.expression) && convertNamedExport(sourceFile, assignment, changes, exports2);
|
|
119640
119576
|
return !1;
|
|
119641
119577
|
}
|
|
119642
119578
|
function tryChangeModuleExportsObject(object, useSitesToUnqualify) {
|
|
@@ -120287,8 +120223,7 @@ ${newComment.split(`
|
|
|
120287
120223
|
if (type && isJSDocTypeLiteral(type)) {
|
|
120288
120224
|
let signatures = createSignatureFromTypeLiteral(type);
|
|
120289
120225
|
typeReference = factory.createTypeLiteralNode(signatures);
|
|
120290
|
-
} else
|
|
120291
|
-
type && (typeReference = getSynthesizedDeepClone(type));
|
|
120226
|
+
} else type && (typeReference = getSynthesizedDeepClone(type));
|
|
120292
120227
|
if (typeReference && name) {
|
|
120293
120228
|
let questionToken = isOptional ? factory.createToken(
|
|
120294
120229
|
58
|
|
@@ -120342,8 +120277,8 @@ ${newComment.split(`
|
|
|
120342
120277
|
context,
|
|
120343
120278
|
errorCodes15,
|
|
120344
120279
|
(changes, diag2) => {
|
|
120345
|
-
let newLineCharacter = getNewLineOrDefaultFromHost(context.host, context.formatContext.options), node = getTokenAtPosition(diag2.file, diag2.start)
|
|
120346
|
-
node && doChange12(changes, node, diag2.file, newLineCharacter,
|
|
120280
|
+
let newLineCharacter = getNewLineOrDefaultFromHost(context.host, context.formatContext.options), node = getTokenAtPosition(diag2.file, diag2.start);
|
|
120281
|
+
node && doChange12(changes, node, diag2.file, newLineCharacter, !0);
|
|
120347
120282
|
}
|
|
120348
120283
|
)
|
|
120349
120284
|
});
|
|
@@ -120921,8 +120856,7 @@ ${newComment.split(`
|
|
|
120921
120856
|
return fix && [{ fix, symbolName: symbolName2, errorIdentifierText: symbolToken.text }];
|
|
120922
120857
|
} else
|
|
120923
120858
|
info = getFixesInfoForNonUMDImport(context, symbolToken, useAutoImportProvider);
|
|
120924
|
-
else
|
|
120925
|
-
return;
|
|
120859
|
+
else return;
|
|
120926
120860
|
let packageJsonImportFilter = createPackageJsonImportFilter(context.sourceFile, context.preferences, context.host);
|
|
120927
120861
|
return info && sortFixInfo(info, context.sourceFile, context.program, packageJsonImportFilter, context.host);
|
|
120928
120862
|
}
|
|
@@ -123452,8 +123386,7 @@ ${newComment.split(`
|
|
|
123452
123386
|
if (parameter.modifiers && parameter.modifiers.length > 0 && (!isIdentifier(parameter.name) || ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(parameter.name, checker, sourceFile)))
|
|
123453
123387
|
for (let modifier of parameter.modifiers)
|
|
123454
123388
|
isModifier(modifier) && changes.deleteModifier(sourceFile, modifier);
|
|
123455
|
-
else
|
|
123456
|
-
!parameter.initializer && isNotProvidedArguments(parameter, checker, sourceFiles) && changes.delete(sourceFile, parameter);
|
|
123389
|
+
else !parameter.initializer && isNotProvidedArguments(parameter, checker, sourceFiles) && changes.delete(sourceFile, parameter);
|
|
123457
123390
|
}
|
|
123458
123391
|
function isNotProvidedArguments(parameter, checker, sourceFiles) {
|
|
123459
123392
|
let index = parameter.parent.parameters.indexOf(parameter);
|
|
@@ -124114,8 +124047,7 @@ ${newComment.split(`
|
|
|
124114
124047
|
void 0
|
|
124115
124048
|
);
|
|
124116
124049
|
changes.addJSDocTags(sourceFile, parent2, [typeTag]);
|
|
124117
|
-
} else
|
|
124118
|
-
tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, getEmitScriptTarget(program.getCompilerOptions())) || changes.tryInsertTypeAnnotation(sourceFile, declaration, typeNode);
|
|
124050
|
+
} else tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, getEmitScriptTarget(program.getCompilerOptions())) || changes.tryInsertTypeAnnotation(sourceFile, declaration, typeNode);
|
|
124119
124051
|
}
|
|
124120
124052
|
function tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, scriptTarget) {
|
|
124121
124053
|
let importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);
|
|
@@ -127100,10 +127032,7 @@ ${newComment.split(`
|
|
|
127100
127032
|
};
|
|
127101
127033
|
}
|
|
127102
127034
|
function isClassLikeMemberCompletion(symbol, location, sourceFile) {
|
|
127103
|
-
|
|
127104
|
-
return !1;
|
|
127105
|
-
let memberFlags = 106500;
|
|
127106
|
-
return !!(symbol.flags & memberFlags) && (isClassLike(location) || location.parent && location.parent.parent && isClassElement(location.parent) && location === location.parent.name && location.parent.getLastToken(sourceFile) === location.parent.name && isClassLike(location.parent.parent) || location.parent && isSyntaxList(location) && isClassLike(location.parent));
|
|
127035
|
+
return isInJSFile(location) ? !1 : !!(symbol.flags & 106500) && (isClassLike(location) || location.parent && location.parent.parent && isClassElement(location.parent) && location === location.parent.name && location.parent.getLastToken(sourceFile) === location.parent.name && isClassLike(location.parent.parent) || location.parent && isSyntaxList(location) && isClassLike(location.parent));
|
|
127107
127036
|
}
|
|
127108
127037
|
function getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, position, contextToken, formatContext) {
|
|
127109
127038
|
let classLikeDeclaration = findAncestor(location, isClassLike);
|
|
@@ -130281,8 +130210,7 @@ ${newComment.split(`
|
|
|
130281
130210
|
if (decl.qualifier) {
|
|
130282
130211
|
let firstIdentifier = getFirstIdentifier(decl.qualifier);
|
|
130283
130212
|
firstIdentifier.escapedText === symbolName(exportSymbol) && singleReferences.push(firstIdentifier);
|
|
130284
|
-
} else
|
|
130285
|
-
exportKind === 2 && singleReferences.push(decl.argument.literal);
|
|
130213
|
+
} else exportKind === 2 && singleReferences.push(decl.argument.literal);
|
|
130286
130214
|
return;
|
|
130287
130215
|
}
|
|
130288
130216
|
if (decl.moduleSpecifier.kind !== 11)
|
|
@@ -131770,8 +131698,7 @@ ${newComment.split(`
|
|
|
131770
131698
|
body.kind === 241 ? forEachReturnStatement(body, (returnStatement) => {
|
|
131771
131699
|
returnStatement.expression && addIfImplementation(returnStatement.expression);
|
|
131772
131700
|
}) : addIfImplementation(body);
|
|
131773
|
-
} else
|
|
131774
|
-
isAssertionExpression(typeHavingNode) && addIfImplementation(typeHavingNode.expression);
|
|
131701
|
+
} else isAssertionExpression(typeHavingNode) && addIfImplementation(typeHavingNode.expression);
|
|
131775
131702
|
function addIfImplementation(e) {
|
|
131776
131703
|
isImplementationExpression(e) && addReference2(e);
|
|
131777
131704
|
}
|
|
@@ -135041,11 +134968,10 @@ ${newComment.split(`
|
|
|
135041
134968
|
32
|
|
135042
134969
|
/* WriteTypeArgumentsOfSignature */
|
|
135043
134970
|
));
|
|
135044
|
-
} else
|
|
135045
|
-
|
|
135046
|
-
|
|
135047
|
-
|
|
135048
|
-
)), displayParts.push(spacePart()), addFullSymbolName(declaration.symbol), writeTypeParametersOfSymbol(declaration.symbol, sourceFile));
|
|
134971
|
+
} else isTypeAliasDeclaration(declaration) && (addInPrefix(), displayParts.push(keywordPart(
|
|
134972
|
+
156
|
|
134973
|
+
/* TypeKeyword */
|
|
134974
|
+
)), displayParts.push(spacePart()), addFullSymbolName(declaration.symbol), writeTypeParametersOfSymbol(declaration.symbol, sourceFile));
|
|
135049
134975
|
}
|
|
135050
134976
|
if (symbolFlags & 8) {
|
|
135051
134977
|
symbolKind = "enum member", addPrefixForAnyFunctionOrVar(symbol, "enum member");
|
|
@@ -142432,8 +142358,7 @@ var require_ts_path = __commonJS({
|
|
|
142432
142358
|
if (tsconfig.compilerOptions.rootDirs)
|
|
142433
142359
|
for (let r of tsconfig.compilerOptions.rootDirs)
|
|
142434
142360
|
rootDirs.push((0, node_path_1.join)(root, r));
|
|
142435
|
-
else
|
|
142436
|
-
tsconfig.compilerOptions.rootDir ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.rootDir)) : tsconfig.compilerOptions.baseUrl ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.baseUrl)) : rootDirs.push((0, node_path_1.join)(root, "src"));
|
|
142361
|
+
else tsconfig.compilerOptions.rootDir ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.rootDir)) : tsconfig.compilerOptions.baseUrl ? rootDirs.push((0, node_path_1.join)(root, tsconfig.compilerOptions.baseUrl)) : rootDirs.push((0, node_path_1.join)(root, "src"));
|
|
142437
142362
|
let { baseUrl, rootDir, ...rest } = tsconfig.compilerOptions, conf = {
|
|
142438
142363
|
compilerOptions: {
|
|
142439
142364
|
...rest,
|
|
@@ -143281,20 +143206,24 @@ try {
|
|
|
143281
143206
|
`);
|
|
143282
143207
|
}
|
|
143283
143208
|
switch (this.mode) {
|
|
143209
|
+
// Just executing code
|
|
143284
143210
|
case Template.modes.EVAL:
|
|
143285
143211
|
this.source += " ; " + line + `
|
|
143286
143212
|
`;
|
|
143287
143213
|
break;
|
|
143214
|
+
// Exec, esc, and output
|
|
143288
143215
|
case Template.modes.ESCAPED:
|
|
143289
143216
|
this.source += " ; __append(escapeFn(" + stripSemi(line) + `))
|
|
143290
143217
|
`;
|
|
143291
143218
|
break;
|
|
143219
|
+
// Exec and output
|
|
143292
143220
|
case Template.modes.RAW:
|
|
143293
143221
|
this.source += " ; __append(" + stripSemi(line) + `)
|
|
143294
143222
|
`;
|
|
143295
143223
|
break;
|
|
143296
143224
|
case Template.modes.COMMENT:
|
|
143297
143225
|
break;
|
|
143226
|
+
// Literal <%% mode, append as raw output
|
|
143298
143227
|
case Template.modes.LITERAL:
|
|
143299
143228
|
this._addOutput(line);
|
|
143300
143229
|
break;
|
|
@@ -143332,12 +143261,9 @@ var require_util4 = __commonJS({
|
|
|
143332
143261
|
} : function(o, v) {
|
|
143333
143262
|
o.default = v;
|
|
143334
143263
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
143335
|
-
if (mod && mod.__esModule)
|
|
143336
|
-
return mod;
|
|
143264
|
+
if (mod && mod.__esModule) return mod;
|
|
143337
143265
|
var result = {};
|
|
143338
|
-
if (mod != null)
|
|
143339
|
-
for (var k in mod)
|
|
143340
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
143266
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
143341
143267
|
return __setModuleDefault(result, mod), result;
|
|
143342
143268
|
};
|
|
143343
143269
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -144787,12 +144713,9 @@ var require_spinner = __commonJS({
|
|
|
144787
144713
|
} : function(o, v) {
|
|
144788
144714
|
o.default = v;
|
|
144789
144715
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
144790
|
-
if (mod && mod.__esModule)
|
|
144791
|
-
return mod;
|
|
144716
|
+
if (mod && mod.__esModule) return mod;
|
|
144792
144717
|
var result = {};
|
|
144793
|
-
if (mod != null)
|
|
144794
|
-
for (var k in mod)
|
|
144795
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
144718
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
144796
144719
|
return __setModuleDefault(result, mod), result;
|
|
144797
144720
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
144798
144721
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -145317,6 +145240,7 @@ var require_password_prompt = __commonJS({
|
|
|
145317
145240
|
let fn = function(c) {
|
|
145318
145241
|
switch (c) {
|
|
145319
145242
|
case "":
|
|
145243
|
+
// Ctrl-d
|
|
145320
145244
|
case "\r":
|
|
145321
145245
|
case `
|
|
145322
145246
|
`:
|
|
@@ -145337,8 +145261,7 @@ var require_password_prompt = __commonJS({
|
|
|
145337
145261
|
encoding: "utf8"
|
|
145338
145262
|
});
|
|
145339
145263
|
if (stderr.write(`
|
|
145340
|
-
`), output.error)
|
|
145341
|
-
return reject(output.error);
|
|
145264
|
+
`), output.error) return reject(output.error);
|
|
145342
145265
|
resolve(output.stdout.trim());
|
|
145343
145266
|
})
|
|
145344
145267
|
};
|
|
@@ -145374,12 +145297,9 @@ var require_prompt = __commonJS({
|
|
|
145374
145297
|
} : function(o, v) {
|
|
145375
145298
|
o.default = v;
|
|
145376
145299
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
145377
|
-
if (mod && mod.__esModule)
|
|
145378
|
-
return mod;
|
|
145300
|
+
if (mod && mod.__esModule) return mod;
|
|
145379
145301
|
var result = {};
|
|
145380
|
-
if (mod != null)
|
|
145381
|
-
for (var k in mod)
|
|
145382
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
145302
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
145383
145303
|
return __setModuleDefault(result, mod), result;
|
|
145384
145304
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
145385
145305
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -145495,8 +145415,7 @@ var require_object = __commonJS({
|
|
|
145495
145415
|
for (let e of value.slice(1))
|
|
145496
145416
|
output.push(" ".repeat(maxKeyLength) + pp(e));
|
|
145497
145417
|
}
|
|
145498
|
-
} else
|
|
145499
|
-
value != null && output.push(logKeyValue(key, value));
|
|
145418
|
+
} else value != null && output.push(logKeyValue(key, value));
|
|
145500
145419
|
}
|
|
145501
145420
|
return output.join(`
|
|
145502
145421
|
`);
|
|
@@ -145672,12 +145591,15 @@ var require_formatter2 = __commonJS({
|
|
|
145672
145591
|
});
|
|
145673
145592
|
let fullMargin = Math.max(0, params.maxWidth - _stringWidth(s) - 2), halfMargin = Math.floor(fullMargin / 2);
|
|
145674
145593
|
switch (options.align) {
|
|
145594
|
+
// fill start-of-line with whitespaces
|
|
145675
145595
|
case "right":
|
|
145676
145596
|
s = fullMargin > 0 ? " ".repeat(fullMargin) + s : s;
|
|
145677
145597
|
break;
|
|
145598
|
+
// distribute whitespaces to left+right
|
|
145678
145599
|
case "center":
|
|
145679
145600
|
s = halfMargin > 0 ? " ".repeat(halfMargin) + s : s;
|
|
145680
145601
|
break;
|
|
145602
|
+
// default: left align, no additional whitespaces
|
|
145681
145603
|
case "left":
|
|
145682
145604
|
default:
|
|
145683
145605
|
break;
|
|
@@ -146025,8 +145947,7 @@ var require_mark = __commonJS({
|
|
|
146025
145947
|
}
|
|
146026
145948
|
Mark.prototype.getSnippet = function(indent, maxLength) {
|
|
146027
145949
|
var head, start, tail, end, snippet;
|
|
146028
|
-
if (!this.buffer)
|
|
146029
|
-
return null;
|
|
145950
|
+
if (!this.buffer) return null;
|
|
146030
145951
|
for (indent = indent || 4, maxLength = maxLength || 75, head = "", start = this.position; start > 0 && `\0\r
|
|
146031
145952
|
\x85\u2028\u2029`.indexOf(this.buffer.charAt(start - 1)) === -1; )
|
|
146032
145953
|
if (start -= 1, this.position - start > maxLength / 2 - 1) {
|
|
@@ -146229,8 +146150,7 @@ var require_null = __commonJS({
|
|
|
146229
146150
|
init_cjs_shims();
|
|
146230
146151
|
var Type = require_type();
|
|
146231
146152
|
function resolveYamlNull(data) {
|
|
146232
|
-
if (data === null)
|
|
146233
|
-
return !0;
|
|
146153
|
+
if (data === null) return !0;
|
|
146234
146154
|
var max = data.length;
|
|
146235
146155
|
return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL");
|
|
146236
146156
|
}
|
|
@@ -146271,8 +146191,7 @@ var require_bool = __commonJS({
|
|
|
146271
146191
|
init_cjs_shims();
|
|
146272
146192
|
var Type = require_type();
|
|
146273
146193
|
function resolveYamlBoolean(data) {
|
|
146274
|
-
if (data === null)
|
|
146275
|
-
return !1;
|
|
146194
|
+
if (data === null) return !1;
|
|
146276
146195
|
var max = data.length;
|
|
146277
146196
|
return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE");
|
|
146278
146197
|
}
|
|
@@ -146319,19 +146238,15 @@ var require_int = __commonJS({
|
|
|
146319
146238
|
return 48 <= c && c <= 57;
|
|
146320
146239
|
}
|
|
146321
146240
|
function resolveYamlInteger(data) {
|
|
146322
|
-
if (data === null)
|
|
146323
|
-
return !1;
|
|
146241
|
+
if (data === null) return !1;
|
|
146324
146242
|
var max = data.length, index = 0, hasDigits = !1, ch;
|
|
146325
|
-
if (!max)
|
|
146326
|
-
return !1;
|
|
146243
|
+
if (!max) return !1;
|
|
146327
146244
|
if (ch = data[index], (ch === "-" || ch === "+") && (ch = data[++index]), ch === "0") {
|
|
146328
|
-
if (index + 1 === max)
|
|
146329
|
-
return !0;
|
|
146245
|
+
if (index + 1 === max) return !0;
|
|
146330
146246
|
if (ch = data[++index], ch === "b") {
|
|
146331
146247
|
for (index++; index < max; index++)
|
|
146332
146248
|
if (ch = data[index], ch !== "_") {
|
|
146333
|
-
if (ch !== "0" && ch !== "1")
|
|
146334
|
-
return !1;
|
|
146249
|
+
if (ch !== "0" && ch !== "1") return !1;
|
|
146335
146250
|
hasDigits = !0;
|
|
146336
146251
|
}
|
|
146337
146252
|
return hasDigits && ch !== "_";
|
|
@@ -146339,26 +146254,22 @@ var require_int = __commonJS({
|
|
|
146339
146254
|
if (ch === "x") {
|
|
146340
146255
|
for (index++; index < max; index++)
|
|
146341
146256
|
if (ch = data[index], ch !== "_") {
|
|
146342
|
-
if (!isHexCode(data.charCodeAt(index)))
|
|
146343
|
-
return !1;
|
|
146257
|
+
if (!isHexCode(data.charCodeAt(index))) return !1;
|
|
146344
146258
|
hasDigits = !0;
|
|
146345
146259
|
}
|
|
146346
146260
|
return hasDigits && ch !== "_";
|
|
146347
146261
|
}
|
|
146348
146262
|
for (; index < max; index++)
|
|
146349
146263
|
if (ch = data[index], ch !== "_") {
|
|
146350
|
-
if (!isOctCode(data.charCodeAt(index)))
|
|
146351
|
-
return !1;
|
|
146264
|
+
if (!isOctCode(data.charCodeAt(index))) return !1;
|
|
146352
146265
|
hasDigits = !0;
|
|
146353
146266
|
}
|
|
146354
146267
|
return hasDigits && ch !== "_";
|
|
146355
146268
|
}
|
|
146356
|
-
if (ch === "_")
|
|
146357
|
-
return !1;
|
|
146269
|
+
if (ch === "_") return !1;
|
|
146358
146270
|
for (; index < max; index++)
|
|
146359
146271
|
if (ch = data[index], ch !== "_") {
|
|
146360
|
-
if (ch === ":")
|
|
146361
|
-
break;
|
|
146272
|
+
if (ch === ":") break;
|
|
146362
146273
|
if (!isDecCode(data.charCodeAt(index)))
|
|
146363
146274
|
return !1;
|
|
146364
146275
|
hasDigits = !0;
|
|
@@ -146526,8 +146437,7 @@ var require_timestamp = __commonJS({
|
|
|
146526
146437
|
}
|
|
146527
146438
|
function constructYamlTimestamp(data) {
|
|
146528
146439
|
var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date;
|
|
146529
|
-
if (match = YAML_DATE_REGEXP.exec(data), match === null && (match = YAML_TIMESTAMP_REGEXP.exec(data)), match === null)
|
|
146530
|
-
throw new Error("Date resolve error");
|
|
146440
|
+
if (match = YAML_DATE_REGEXP.exec(data), match === null && (match = YAML_TIMESTAMP_REGEXP.exec(data)), match === null) throw new Error("Date resolve error");
|
|
146531
146441
|
if (year = +match[1], month = +match[2] - 1, day = +match[3], !match[4])
|
|
146532
146442
|
return new Date(Date.UTC(year, month, day));
|
|
146533
146443
|
if (hour = +match[4], minute = +match[5], second = +match[6], match[7]) {
|
|
@@ -146579,13 +146489,11 @@ var require_binary = __commonJS({
|
|
|
146579
146489
|
var _require, Type = require_type(), BASE64_MAP = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
146580
146490
|
\r`;
|
|
146581
146491
|
function resolveYamlBinary(data) {
|
|
146582
|
-
if (data === null)
|
|
146583
|
-
return !1;
|
|
146492
|
+
if (data === null) return !1;
|
|
146584
146493
|
var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;
|
|
146585
146494
|
for (idx = 0; idx < max; idx++)
|
|
146586
146495
|
if (code = map.indexOf(data.charAt(idx)), !(code > 64)) {
|
|
146587
|
-
if (code < 0)
|
|
146588
|
-
return !1;
|
|
146496
|
+
if (code < 0) return !1;
|
|
146589
146497
|
bitlen += 6;
|
|
146590
146498
|
}
|
|
146591
146499
|
return bitlen % 8 === 0;
|
|
@@ -146622,24 +146530,17 @@ var require_omap = __commonJS({
|
|
|
146622
146530
|
init_cjs_shims();
|
|
146623
146531
|
var Type = require_type(), _hasOwnProperty = Object.prototype.hasOwnProperty, _toString = Object.prototype.toString;
|
|
146624
146532
|
function resolveYamlOmap(data) {
|
|
146625
|
-
if (data === null)
|
|
146626
|
-
return !0;
|
|
146533
|
+
if (data === null) return !0;
|
|
146627
146534
|
var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data;
|
|
146628
146535
|
for (index = 0, length = object.length; index < length; index += 1) {
|
|
146629
|
-
if (pair = object[index], pairHasKey = !1, _toString.call(pair) !== "[object Object]")
|
|
146630
|
-
return !1;
|
|
146536
|
+
if (pair = object[index], pairHasKey = !1, _toString.call(pair) !== "[object Object]") return !1;
|
|
146631
146537
|
for (pairKey in pair)
|
|
146632
146538
|
if (_hasOwnProperty.call(pair, pairKey))
|
|
146633
|
-
if (!pairHasKey)
|
|
146634
|
-
|
|
146635
|
-
|
|
146636
|
-
|
|
146637
|
-
|
|
146638
|
-
return !1;
|
|
146639
|
-
if (objectKeys.indexOf(pairKey) === -1)
|
|
146640
|
-
objectKeys.push(pairKey);
|
|
146641
|
-
else
|
|
146642
|
-
return !1;
|
|
146539
|
+
if (!pairHasKey) pairHasKey = !0;
|
|
146540
|
+
else return !1;
|
|
146541
|
+
if (!pairHasKey) return !1;
|
|
146542
|
+
if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
|
|
146543
|
+
else return !1;
|
|
146643
146544
|
}
|
|
146644
146545
|
return !0;
|
|
146645
146546
|
}
|
|
@@ -146661,19 +146562,16 @@ var require_pairs = __commonJS({
|
|
|
146661
146562
|
init_cjs_shims();
|
|
146662
146563
|
var Type = require_type(), _toString = Object.prototype.toString;
|
|
146663
146564
|
function resolveYamlPairs(data) {
|
|
146664
|
-
if (data === null)
|
|
146665
|
-
return !0;
|
|
146565
|
+
if (data === null) return !0;
|
|
146666
146566
|
var index, length, pair, keys, result, object = data;
|
|
146667
146567
|
for (result = new Array(object.length), index = 0, length = object.length; index < length; index += 1) {
|
|
146668
|
-
if (pair = object[index], _toString.call(pair) !== "[object Object]" || (keys = Object.keys(pair), keys.length !== 1))
|
|
146669
|
-
return !1;
|
|
146568
|
+
if (pair = object[index], _toString.call(pair) !== "[object Object]" || (keys = Object.keys(pair), keys.length !== 1)) return !1;
|
|
146670
146569
|
result[index] = [keys[0], pair[keys[0]]];
|
|
146671
146570
|
}
|
|
146672
146571
|
return !0;
|
|
146673
146572
|
}
|
|
146674
146573
|
function constructYamlPairs(data) {
|
|
146675
|
-
if (data === null)
|
|
146676
|
-
return [];
|
|
146574
|
+
if (data === null) return [];
|
|
146677
146575
|
var index, length, pair, keys, result, object = data;
|
|
146678
146576
|
for (result = new Array(object.length), index = 0, length = object.length; index < length; index += 1)
|
|
146679
146577
|
pair = object[index], keys = Object.keys(pair), result[index] = [keys[0], pair[keys[0]]];
|
|
@@ -146694,8 +146592,7 @@ var require_set = __commonJS({
|
|
|
146694
146592
|
init_cjs_shims();
|
|
146695
146593
|
var Type = require_type(), _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
146696
146594
|
function resolveYamlSet(data) {
|
|
146697
|
-
if (data === null)
|
|
146698
|
-
return !0;
|
|
146595
|
+
if (data === null) return !0;
|
|
146699
146596
|
var key, object = data;
|
|
146700
146597
|
for (key in object)
|
|
146701
146598
|
if (_hasOwnProperty.call(object, key) && object[key] !== null)
|
|
@@ -146771,8 +146668,7 @@ var require_regexp = __commonJS({
|
|
|
146771
146668
|
init_cjs_shims();
|
|
146772
146669
|
var Type = require_type();
|
|
146773
146670
|
function resolveJavascriptRegExp(data) {
|
|
146774
|
-
if (data === null || data.length === 0)
|
|
146775
|
-
return !1;
|
|
146671
|
+
if (data === null || data.length === 0) return !1;
|
|
146776
146672
|
var regexp = data, tail = /\/([gim]*)$/.exec(data), modifiers = "";
|
|
146777
146673
|
return !(regexp[0] === "/" && (tail && (modifiers = tail[1]), modifiers.length > 3 || regexp[regexp.length - modifiers.length - 1] !== "/"));
|
|
146778
146674
|
}
|
|
@@ -146810,8 +146706,7 @@ var require_function = __commonJS({
|
|
|
146810
146706
|
}
|
|
146811
146707
|
var _require, Type = require_type();
|
|
146812
146708
|
function resolveJavascriptFunction(data) {
|
|
146813
|
-
if (data === null)
|
|
146814
|
-
return !1;
|
|
146709
|
+
if (data === null) return !1;
|
|
146815
146710
|
try {
|
|
146816
146711
|
var source = "(" + data + ")", ast = esprima.parse(source, { range: !0 });
|
|
146817
146712
|
return !(ast.type !== "Program" || ast.body.length !== 1 || ast.body[0].type !== "ExpressionStatement" || ast.body[0].expression.type !== "ArrowFunctionExpression" && ast.body[0].expression.type !== "FunctionExpression");
|
|
@@ -146938,8 +146833,7 @@ var require_loader = __commonJS({
|
|
|
146938
146833
|
if (_result = state.input.slice(start, end), checkJson)
|
|
146939
146834
|
for (_position = 0, _length = _result.length; _position < _length; _position += 1)
|
|
146940
146835
|
_character = _result.charCodeAt(_position), _character === 9 || 32 <= _character && _character <= 1114111 || throwError(state, "expected valid JSON character");
|
|
146941
|
-
else
|
|
146942
|
-
PATTERN_NON_PRINTABLE.test(_result) && throwError(state, "the stream contains non-printable characters");
|
|
146836
|
+
else PATTERN_NON_PRINTABLE.test(_result) && throwError(state, "the stream contains non-printable characters");
|
|
146943
146837
|
state.result += _result;
|
|
146944
146838
|
}
|
|
146945
146839
|
}
|
|
@@ -147028,8 +146922,7 @@ var require_loader = __commonJS({
|
|
|
147028
146922
|
captureStart = state.position, state.position++, captureEnd = state.position;
|
|
147029
146923
|
else
|
|
147030
146924
|
return !0;
|
|
147031
|
-
else
|
|
147032
|
-
is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a single quoted scalar") : (state.position++, captureEnd = state.position);
|
|
146925
|
+
else is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a single quoted scalar") : (state.position++, captureEnd = state.position);
|
|
147033
146926
|
throwError(state, "unexpected end of the stream within a single quoted scalar");
|
|
147034
146927
|
}
|
|
147035
146928
|
function readDoubleQuotedScalar(state, nodeIndent) {
|
|
@@ -147051,8 +146944,7 @@ var require_loader = __commonJS({
|
|
|
147051
146944
|
} else
|
|
147052
146945
|
throwError(state, "unknown escape sequence");
|
|
147053
146946
|
captureStart = captureEnd = state.position;
|
|
147054
|
-
} else
|
|
147055
|
-
is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a double quoted scalar") : (state.position++, captureEnd = state.position);
|
|
146947
|
+
} else is_EOL(ch) ? (captureSegment(state, captureStart, captureEnd, !0), writeFoldedLines(state, skipSeparationSpace(state, !1, nodeIndent)), captureStart = captureEnd = state.position) : state.position === state.lineStart && testDocumentSeparator(state) ? throwError(state, "unexpected end of the document within a double quoted scalar") : (state.position++, captureEnd = state.position);
|
|
147056
146948
|
}
|
|
147057
146949
|
throwError(state, "unexpected end of the stream within a double quoted scalar");
|
|
147058
146950
|
}
|
|
@@ -147162,8 +147054,7 @@ var require_loader = __commonJS({
|
|
|
147162
147054
|
}
|
|
147163
147055
|
function readTagProperty(state) {
|
|
147164
147056
|
var _position, isVerbatim = !1, isNamed = !1, tagHandle, tagName, ch;
|
|
147165
|
-
if (ch = state.input.charCodeAt(state.position), ch !== 33)
|
|
147166
|
-
return !1;
|
|
147057
|
+
if (ch = state.input.charCodeAt(state.position), ch !== 33) return !1;
|
|
147167
147058
|
if (state.tag !== null && throwError(state, "duplication of a tag property"), ch = state.input.charCodeAt(++state.position), ch === 60 ? (isVerbatim = !0, ch = state.input.charCodeAt(++state.position)) : ch === 33 ? (isNamed = !0, tagHandle = "!!", ch = state.input.charCodeAt(++state.position)) : tagHandle = "!", _position = state.position, isVerbatim) {
|
|
147168
147059
|
do
|
|
147169
147060
|
ch = state.input.charCodeAt(++state.position);
|
|
@@ -147178,16 +147069,14 @@ var require_loader = __commonJS({
|
|
|
147178
147069
|
}
|
|
147179
147070
|
function readAnchorProperty(state) {
|
|
147180
147071
|
var _position, ch;
|
|
147181
|
-
if (ch = state.input.charCodeAt(state.position), ch !== 38)
|
|
147182
|
-
return !1;
|
|
147072
|
+
if (ch = state.input.charCodeAt(state.position), ch !== 38) return !1;
|
|
147183
147073
|
for (state.anchor !== null && throwError(state, "duplication of an anchor property"), ch = state.input.charCodeAt(++state.position), _position = state.position; ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch); )
|
|
147184
147074
|
ch = state.input.charCodeAt(++state.position);
|
|
147185
147075
|
return state.position === _position && throwError(state, "name of an anchor node must contain at least one character"), state.anchor = state.input.slice(_position, state.position), !0;
|
|
147186
147076
|
}
|
|
147187
147077
|
function readAlias(state) {
|
|
147188
147078
|
var _position, alias, ch;
|
|
147189
|
-
if (ch = state.input.charCodeAt(state.position), ch !== 42)
|
|
147190
|
-
return !1;
|
|
147079
|
+
if (ch = state.input.charCodeAt(state.position), ch !== 42) return !1;
|
|
147191
147080
|
for (ch = state.input.charCodeAt(++state.position), _position = state.position; ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch); )
|
|
147192
147081
|
ch = state.input.charCodeAt(++state.position);
|
|
147193
147082
|
return state.position === _position && throwError(state, "name of an alias node must contain at least one character"), alias = state.input.slice(_position, state.position), _hasOwnProperty.call(state.anchorMap, alias) || throwError(state, 'unidentified alias "' + alias + '"'), state.result = state.anchorMap[alias], skipSeparationSpace(state, !0, -1), !0;
|
|
@@ -147204,8 +147093,7 @@ var require_loader = __commonJS({
|
|
|
147204
147093
|
state.result = type.construct(state.result), state.tag = type.tag, state.anchor !== null && (state.anchorMap[state.anchor] = state.result);
|
|
147205
147094
|
break;
|
|
147206
147095
|
}
|
|
147207
|
-
} else
|
|
147208
|
-
_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag) ? (type = state.typeMap[state.kind || "fallback"][state.tag], state.result !== null && type.kind !== state.kind && throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"'), type.resolve(state.result) ? (state.result = type.construct(state.result), state.anchor !== null && (state.anchorMap[state.anchor] = state.result)) : throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag")) : throwError(state, "unknown tag !<" + state.tag + ">");
|
|
147096
|
+
} else _hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag) ? (type = state.typeMap[state.kind || "fallback"][state.tag], state.result !== null && type.kind !== state.kind && throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"'), type.resolve(state.result) ? (state.result = type.construct(state.result), state.anchor !== null && (state.anchorMap[state.anchor] = state.result)) : throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag")) : throwError(state, "unknown tag !<" + state.tag + ">");
|
|
147209
147097
|
return state.listener !== null && state.listener("close", state), state.tag !== null || state.anchor !== null || hasContent;
|
|
147210
147098
|
}
|
|
147211
147099
|
function readDocument(state) {
|
|
@@ -147222,8 +147110,7 @@ var require_loader = __commonJS({
|
|
|
147222
147110
|
while (ch !== 0 && !is_EOL(ch));
|
|
147223
147111
|
break;
|
|
147224
147112
|
}
|
|
147225
|
-
if (is_EOL(ch))
|
|
147226
|
-
break;
|
|
147113
|
+
if (is_EOL(ch)) break;
|
|
147227
147114
|
for (_position = state.position; ch !== 0 && !is_WS_OR_EOL(ch); )
|
|
147228
147115
|
ch = state.input.charCodeAt(++state.position);
|
|
147229
147116
|
directiveArgs.push(state.input.slice(_position, state.position));
|
|
@@ -147319,8 +147206,7 @@ var require_dumper = __commonJS({
|
|
|
147319
147206
|
];
|
|
147320
147207
|
function compileStyleMap(schema, map) {
|
|
147321
147208
|
var result, keys, index, length, tag, style, type;
|
|
147322
|
-
if (map === null)
|
|
147323
|
-
return {};
|
|
147209
|
+
if (map === null) return {};
|
|
147324
147210
|
for (result = {}, keys = Object.keys(map), index = 0, length = keys.length; index < length; index += 1)
|
|
147325
147211
|
tag = keys[index], style = String(map[tag]), tag.slice(0, 2) === "!!" && (tag = "tag:yaml.org,2002:" + tag.slice(2)), type = schema.compiledTypeMap.fallback[tag], type && _hasOwnProperty.call(type.styleAliases, style) && (style = type.styleAliases[style]), result[tag] = style;
|
|
147326
147212
|
return result;
|
|
@@ -147451,8 +147337,7 @@ var require_dumper = __commonJS({
|
|
|
147451
147337
|
return result;
|
|
147452
147338
|
}
|
|
147453
147339
|
function foldLine(line, width) {
|
|
147454
|
-
if (line === "" || line[0] === " ")
|
|
147455
|
-
return line;
|
|
147340
|
+
if (line === "" || line[0] === " ") return line;
|
|
147456
147341
|
for (var breakRe = / [^ ]/g, match, start = 0, end, curr = 0, next = 0, result = ""; match = breakRe.exec(line); )
|
|
147457
147342
|
next = match.index, next - start > width && (end = curr > start ? curr : next, result += `
|
|
147458
147343
|
` + line.slice(start, end), start = end + 1), curr = next;
|
|
@@ -147533,8 +147418,7 @@ var require_dumper = __commonJS({
|
|
|
147533
147418
|
} else if (type === "[object String]")
|
|
147534
147419
|
state.tag !== "?" && writeScalar(state, state.dump, level, iskey);
|
|
147535
147420
|
else {
|
|
147536
|
-
if (state.skipInvalid)
|
|
147537
|
-
return !1;
|
|
147421
|
+
if (state.skipInvalid) return !1;
|
|
147538
147422
|
throw new YAMLException("unacceptable kind of an object to dump " + type);
|
|
147539
147423
|
}
|
|
147540
147424
|
state.tag !== null && state.tag !== "?" && (state.dump = "!<" + state.tag + "> " + state.dump);
|
|
@@ -147640,8 +147524,7 @@ var require_natural_orderby = __commonJS({
|
|
|
147640
147524
|
if (chunkA.parsedNumber !== void 0 && chunkB.parsedNumber !== void 0) {
|
|
147641
147525
|
var result = compareNumbers(chunkA.parsedNumber, chunkB.parsedNumber);
|
|
147642
147526
|
return result === 0 ? stringCompare(chunkA.normalizedString, chunkB.normalizedString) : result;
|
|
147643
|
-
} else
|
|
147644
|
-
return chunkA.parsedNumber !== void 0 || chunkB.parsedNumber !== void 0 ? chunkA.parsedNumber !== void 0 ? -1 : 1 : RE_UNICODE_CHARACTERS.test(chunkA.normalizedString + chunkB.normalizedString) && chunkA.normalizedString.localeCompare ? compareUnicode(chunkA.normalizedString, chunkB.normalizedString) : stringCompare(chunkA.normalizedString, chunkB.normalizedString);
|
|
147527
|
+
} else return chunkA.parsedNumber !== void 0 || chunkB.parsedNumber !== void 0 ? chunkA.parsedNumber !== void 0 ? -1 : 1 : RE_UNICODE_CHARACTERS.test(chunkA.normalizedString + chunkB.normalizedString) && chunkA.normalizedString.localeCompare ? compareUnicode(chunkA.normalizedString, chunkB.normalizedString) : stringCompare(chunkA.normalizedString, chunkB.normalizedString);
|
|
147645
147528
|
}
|
|
147646
147529
|
}
|
|
147647
147530
|
return lengthA > size || lengthB > size ? lengthA <= size ? -1 : 1 : 0;
|
|
@@ -147847,8 +147730,7 @@ var require_slice_ansi = __commonJS({
|
|
|
147847
147730
|
if (ESCAPES.includes(character)) {
|
|
147848
147731
|
let code = /\d[^m]*/.exec(string.slice(index, index + 18));
|
|
147849
147732
|
ansiCode = code && code.length > 0 ? code[0] : void 0, visible < stringEnd && (isInsideEscape = !0, ansiCode !== void 0 && ansiCodes.push(ansiCode));
|
|
147850
|
-
} else
|
|
147851
|
-
isInsideEscape && character === "m" && (isInsideEscape = !1, leftEscape = !0);
|
|
147733
|
+
} else isInsideEscape && character === "m" && (isInsideEscape = !1, leftEscape = !0);
|
|
147852
147734
|
if (!isInsideEscape && !leftEscape && visible++, !astralRegex({ exact: !0 }).test(character) && isFullwidthCodePoint(character.codePointAt()) && (visible++, typeof end != "number" && stringEnd++), visible > begin && visible <= stringEnd)
|
|
147853
147735
|
output += character;
|
|
147854
147736
|
else if (visible === begin && !isInsideEscape && ansiCode !== void 0)
|
|
@@ -147972,12 +147854,9 @@ var require_table = __commonJS({
|
|
|
147972
147854
|
} : function(o, v) {
|
|
147973
147855
|
o.default = v;
|
|
147974
147856
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
147975
|
-
if (mod && mod.__esModule)
|
|
147976
|
-
return mod;
|
|
147857
|
+
if (mod && mod.__esModule) return mod;
|
|
147977
147858
|
var result = {};
|
|
147978
|
-
if (mod != null)
|
|
147979
|
-
for (var k in mod)
|
|
147980
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
147859
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
147981
147860
|
return __setModuleDefault(result, mod), result;
|
|
147982
147861
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
147983
147862
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -148041,8 +147920,7 @@ var require_table = __commonJS({
|
|
|
148041
147920
|
if (this.options.columns) {
|
|
148042
147921
|
let filters = this.options.columns.split(",");
|
|
148043
147922
|
this.columns = this.filterColumnsFromHeaders(filters);
|
|
148044
|
-
} else
|
|
148045
|
-
this.options.extended || (this.columns = this.columns.filter((c) => !c.extended));
|
|
147923
|
+
} else this.options.extended || (this.columns = this.columns.filter((c) => !c.extended));
|
|
148046
147924
|
switch (this.data = rows, this.options.output) {
|
|
148047
147925
|
case "csv": {
|
|
148048
147926
|
this.outputCSV();
|
|
@@ -148280,12 +148158,9 @@ var require_styled = __commonJS({
|
|
|
148280
148158
|
} : function(o, v) {
|
|
148281
148159
|
o.default = v;
|
|
148282
148160
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
148283
|
-
if (mod && mod.__esModule)
|
|
148284
|
-
return mod;
|
|
148161
|
+
if (mod && mod.__esModule) return mod;
|
|
148285
148162
|
var result = {};
|
|
148286
|
-
if (mod != null)
|
|
148287
|
-
for (var k in mod)
|
|
148288
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
148163
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
148289
148164
|
return __setModuleDefault(result, mod), result;
|
|
148290
148165
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
148291
148166
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -148658,8 +148533,7 @@ var require_esprima = __commonJS({
|
|
|
148658
148533
|
var extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
148659
148534
|
d.__proto__ = b;
|
|
148660
148535
|
} || function(d, b) {
|
|
148661
|
-
for (var p in b)
|
|
148662
|
-
b.hasOwnProperty(p) && (d[p] = b[p]);
|
|
148536
|
+
for (var p in b) b.hasOwnProperty(p) && (d[p] = b[p]);
|
|
148663
148537
|
};
|
|
148664
148538
|
return function(d, b) {
|
|
148665
148539
|
extendStatics(d, b);
|
|
@@ -148693,6 +148567,7 @@ var require_esprima = __commonJS({
|
|
|
148693
148567
|
var expr = elementName;
|
|
148694
148568
|
qualifiedName = getQualifiedElementName(expr.object) + "." + getQualifiedElementName(expr.property);
|
|
148695
148569
|
break;
|
|
148570
|
+
/* istanbul ignore next */
|
|
148696
148571
|
default:
|
|
148697
148572
|
break;
|
|
148698
148573
|
}
|
|
@@ -149977,8 +149852,7 @@ var require_esprima = __commonJS({
|
|
|
149977
149852
|
if (token.type === 3) {
|
|
149978
149853
|
var id = token.value;
|
|
149979
149854
|
this.nextToken(), computed = this.match("["), isAsync = !this.hasLineTerminator && id === "async" && !this.match(":") && !this.match("(") && !this.match("*") && !this.match(","), key = isAsync ? this.parseObjectPropertyKey() : this.finalize(node, new Node.Identifier(id));
|
|
149980
|
-
} else
|
|
149981
|
-
this.match("*") ? this.nextToken() : (computed = this.match("["), key = this.parseObjectPropertyKey());
|
|
149855
|
+
} else this.match("*") ? this.nextToken() : (computed = this.match("["), key = this.parseObjectPropertyKey());
|
|
149982
149856
|
var lookaheadPropertyKey = this.qualifiedPropertyName(this.lookahead);
|
|
149983
149857
|
if (token.type === 3 && !isAsync && token.value === "get" && lookaheadPropertyKey)
|
|
149984
149858
|
kind = "get", computed = this.match("["), key = this.parseObjectPropertyKey(), this.context.allowYield = !1, value = this.parseGetterMethod();
|
|
@@ -150233,8 +150107,7 @@ var require_esprima = __commonJS({
|
|
|
150233
150107
|
if (this.match("+") || this.match("-") || this.match("~") || this.match("!") || this.matchKeyword("delete") || this.matchKeyword("void") || this.matchKeyword("typeof")) {
|
|
150234
150108
|
var node = this.startNode(this.lookahead), token = this.nextToken();
|
|
150235
150109
|
expr = this.inheritCoverGrammar(this.parseUnaryExpression), expr = this.finalize(node, new Node.UnaryExpression(token.value, expr)), this.context.strict && expr.operator === "delete" && expr.argument.type === syntax_1.Syntax.Identifier && this.tolerateError(messages_1.Messages.StrictDelete), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
|
150236
|
-
} else
|
|
150237
|
-
this.context.await && this.matchContextualKeyword("await") ? expr = this.parseAwaitExpression() : expr = this.parseUpdateExpression();
|
|
150110
|
+
} else this.context.await && this.matchContextualKeyword("await") ? expr = this.parseAwaitExpression() : expr = this.parseUpdateExpression();
|
|
150238
150111
|
return expr;
|
|
150239
150112
|
}, Parser2.prototype.parseExponentiationExpression = function() {
|
|
150240
150113
|
var startToken = this.lookahead, expr = this.inheritCoverGrammar(this.parseUnaryExpression);
|
|
@@ -150477,8 +150350,7 @@ var require_esprima = __commonJS({
|
|
|
150477
150350
|
params.push(keyToken), shorthand = !0, this.nextToken();
|
|
150478
150351
|
var expr = this.parseAssignmentExpression();
|
|
150479
150352
|
value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr));
|
|
150480
|
-
} else
|
|
150481
|
-
this.match(":") ? (this.expect(":"), value = this.parsePatternWithDefault(params, kind)) : (params.push(keyToken), shorthand = !0, value = init);
|
|
150353
|
+
} else this.match(":") ? (this.expect(":"), value = this.parsePatternWithDefault(params, kind)) : (params.push(keyToken), shorthand = !0, value = init);
|
|
150482
150354
|
} else
|
|
150483
150355
|
computed = this.match("["), key = this.parseObjectPropertyKey(), this.expect(":"), value = this.parsePatternWithDefault(params, kind);
|
|
150484
150356
|
return this.finalize(node, new Node.Property("init", key, computed, value, method, shorthand));
|
|
@@ -150564,8 +150436,7 @@ var require_esprima = __commonJS({
|
|
|
150564
150436
|
if (this.context.allowIn = previousAllowIn, declarations.length === 1 && this.matchKeyword("in")) {
|
|
150565
150437
|
var decl = declarations[0];
|
|
150566
150438
|
decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict) && this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, "for-in"), init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.nextToken(), left = init, right = this.parseExpression(), init = null;
|
|
150567
|
-
} else
|
|
150568
|
-
declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of") ? (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.nextToken(), left = init, right = this.parseAssignmentExpression(), init = null, forIn = !1) : (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.expect(";"));
|
|
150439
|
+
} else declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword("of") ? (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.nextToken(), left = init, right = this.parseAssignmentExpression(), init = null, forIn = !1) : (init = this.finalize(init, new Node.VariableDeclaration(declarations, "var")), this.expect(";"));
|
|
150569
150440
|
} else if (this.matchKeyword("const") || this.matchKeyword("let")) {
|
|
150570
150441
|
init = this.createNode();
|
|
150571
150442
|
var kind = this.nextToken().value;
|
|
@@ -151691,8 +151562,7 @@ var require_esprima = __commonJS({
|
|
|
151691
151562
|
ch === "0" ? (character_1.Character.isDecimalDigit(this.source.charCodeAt(this.index)) && this.throwUnexpectedToken(messages_1.Messages.TemplateOctalLiteral), cooked += "\0") : character_1.Character.isOctalDigit(ch.charCodeAt(0)) ? this.throwUnexpectedToken(messages_1.Messages.TemplateOctalLiteral) : cooked += ch;
|
|
151692
151563
|
break;
|
|
151693
151564
|
}
|
|
151694
|
-
else
|
|
151695
|
-
character_1.Character.isLineTerminator(ch.charCodeAt(0)) ? (++this.lineNumber, ch === "\r" && this.source[this.index] === `
|
|
151565
|
+
else character_1.Character.isLineTerminator(ch.charCodeAt(0)) ? (++this.lineNumber, ch === "\r" && this.source[this.index] === `
|
|
151696
151566
|
` && ++this.index, this.lineStart = this.index, cooked += `
|
|
151697
151567
|
`) : cooked += ch;
|
|
151698
151568
|
}
|
|
@@ -151736,8 +151606,7 @@ var require_esprima = __commonJS({
|
|
|
151736
151606
|
else if (ch === "/") {
|
|
151737
151607
|
terminated = !0;
|
|
151738
151608
|
break;
|
|
151739
|
-
} else
|
|
151740
|
-
ch === "[" && (classMarker = !0);
|
|
151609
|
+
} else ch === "[" && (classMarker = !0);
|
|
151741
151610
|
return terminated || this.throwUnexpectedToken(messages_1.Messages.UnterminatedRegExp), str.substr(1, str.length - 2);
|
|
151742
151611
|
}, Scanner2.prototype.scanRegExpFlags = function() {
|
|
151743
151612
|
for (var str = "", flags = ""; !this.eof(); ) {
|
|
@@ -152275,8 +152144,7 @@ Should be of format "before:after"`
|
|
|
152275
152144
|
function objectize(node) {
|
|
152276
152145
|
function resolve(value, key) {
|
|
152277
152146
|
if (value._parent) {
|
|
152278
|
-
if (value._parent._default && value._parent._default[key])
|
|
152279
|
-
return value._parent._default[key];
|
|
152147
|
+
if (value._parent._default && value._parent._default[key]) return value._parent._default[key];
|
|
152280
152148
|
var root = value._parent._parent;
|
|
152281
152149
|
if (root)
|
|
152282
152150
|
return root._default ? root._default[key] : void 0;
|
|
@@ -152286,8 +152154,7 @@ Should be of format "before:after"`
|
|
|
152286
152154
|
var value = node[key];
|
|
152287
152155
|
if (value && !isFunction(value)) {
|
|
152288
152156
|
if (isString(value) && (node[key] = value = objectizeString(value)), value._parent = node, isObject(value)) {
|
|
152289
|
-
if (!value._before && !value._after)
|
|
152290
|
-
return objectize(value);
|
|
152157
|
+
if (!value._before && !value._after) return objectize(value);
|
|
152291
152158
|
value._before = value._before || resolve(value, "_before"), value._after = value._after || resolve(value, "_after");
|
|
152292
152159
|
return;
|
|
152293
152160
|
}
|
|
@@ -152304,8 +152171,7 @@ Should be of format "before:after"`
|
|
|
152304
152171
|
}).forEach(function(key) {
|
|
152305
152172
|
var value = node[key];
|
|
152306
152173
|
if (!isFunction(value) && isObject(value)) {
|
|
152307
|
-
if (!value._before && !value._after)
|
|
152308
|
-
return functionize(value);
|
|
152174
|
+
if (!value._before && !value._after) return functionize(value);
|
|
152309
152175
|
var before = value._before || "", after = value._after || "";
|
|
152310
152176
|
return node[key] = surroundWith(before, after), node[key];
|
|
152311
152177
|
}
|
|
@@ -152334,8 +152200,7 @@ Should be of format "before:after"`
|
|
|
152334
152200
|
function tokenIndex(tokens2, tkn, start2) {
|
|
152335
152201
|
var current, rangeStart = tkn.range[0];
|
|
152336
152202
|
for (current = start2; current < tokens2.length; current++)
|
|
152337
|
-
if (tokens2[current].range[0] === rangeStart)
|
|
152338
|
-
return current;
|
|
152203
|
+
if (tokens2[current].range[0] === rangeStart) return current;
|
|
152339
152204
|
throw new Error("Token %s not found at or after index: %d", tkn, start2);
|
|
152340
152205
|
}
|
|
152341
152206
|
function process2(surround2) {
|
|
@@ -152664,8 +152529,7 @@ var require_highlightFile = __commonJS({
|
|
|
152664
152529
|
}
|
|
152665
152530
|
module.exports = function(fullPath, opts, cb) {
|
|
152666
152531
|
isFunction(opts) && (cb = opts, opts = {}), opts = opts || {}, fs.readFile(fullPath, "utf-8", function(err, code) {
|
|
152667
|
-
if (err)
|
|
152668
|
-
return cb(err);
|
|
152532
|
+
if (err) return cb(err);
|
|
152669
152533
|
try {
|
|
152670
152534
|
cb(null, highlight(code, opts));
|
|
152671
152535
|
} catch (e) {
|
|
@@ -152881,12 +152745,9 @@ var require_cli_ux = __commonJS({
|
|
|
152881
152745
|
} : function(o, v) {
|
|
152882
152746
|
o.default = v;
|
|
152883
152747
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
152884
|
-
if (mod && mod.__esModule)
|
|
152885
|
-
return mod;
|
|
152748
|
+
if (mod && mod.__esModule) return mod;
|
|
152886
152749
|
var result = {};
|
|
152887
|
-
if (mod != null)
|
|
152888
|
-
for (var k in mod)
|
|
152889
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
152750
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
152890
152751
|
return __setModuleDefault(result, mod), result;
|
|
152891
152752
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
152892
152753
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -153302,44 +153163,43 @@ var require_brace_expressions = __commonJS({
|
|
|
153302
153163
|
if (glob.charAt(pos) !== "[")
|
|
153303
153164
|
throw new Error("not in a brace expression");
|
|
153304
153165
|
let ranges = [], negs = [], i = pos + 1, sawStart = !1, uflag = !1, escaping = !1, negate = !1, endPos = pos, rangeStart = "";
|
|
153305
|
-
WHILE:
|
|
153306
|
-
|
|
153307
|
-
|
|
153308
|
-
|
|
153309
|
-
|
|
153310
|
-
|
|
153311
|
-
|
|
153312
|
-
|
|
153313
|
-
|
|
153314
|
-
|
|
153315
|
-
|
|
153316
|
-
|
|
153317
|
-
|
|
153318
|
-
|
|
153319
|
-
|
|
153320
|
-
|
|
153321
|
-
|
|
153322
|
-
if (
|
|
153323
|
-
|
|
153324
|
-
|
|
153325
|
-
|
|
153326
|
-
|
|
153327
|
-
}
|
|
153328
|
-
}
|
|
153329
|
-
if (escaping = !1, rangeStart) {
|
|
153330
|
-
c > rangeStart ? ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c)) : c === rangeStart && ranges.push(braceEscape(c)), rangeStart = "", i++;
|
|
153331
|
-
continue;
|
|
153332
|
-
}
|
|
153333
|
-
if (glob.startsWith("-]", i + 1)) {
|
|
153334
|
-
ranges.push(braceEscape(c + "-")), i += 2;
|
|
153335
|
-
continue;
|
|
153336
|
-
}
|
|
153337
|
-
if (glob.startsWith("-", i + 1)) {
|
|
153338
|
-
rangeStart = c, i += 2;
|
|
153339
|
-
continue;
|
|
153340
|
-
}
|
|
153341
|
-
ranges.push(braceEscape(c)), i++;
|
|
153166
|
+
WHILE: for (; i < glob.length; ) {
|
|
153167
|
+
let c = glob.charAt(i);
|
|
153168
|
+
if ((c === "!" || c === "^") && i === pos + 1) {
|
|
153169
|
+
negate = !0, i++;
|
|
153170
|
+
continue;
|
|
153171
|
+
}
|
|
153172
|
+
if (c === "]" && sawStart && !escaping) {
|
|
153173
|
+
endPos = i + 1;
|
|
153174
|
+
break;
|
|
153175
|
+
}
|
|
153176
|
+
if (sawStart = !0, c === "\\" && !escaping) {
|
|
153177
|
+
escaping = !0, i++;
|
|
153178
|
+
continue;
|
|
153179
|
+
}
|
|
153180
|
+
if (c === "[" && !escaping) {
|
|
153181
|
+
for (let [cls, [unip, u, neg]] of Object.entries(posixClasses))
|
|
153182
|
+
if (glob.startsWith(cls, i)) {
|
|
153183
|
+
if (rangeStart)
|
|
153184
|
+
return ["$.", !1, glob.length - pos, !0];
|
|
153185
|
+
i += cls.length, neg ? negs.push(unip) : ranges.push(unip), uflag = uflag || u;
|
|
153186
|
+
continue WHILE;
|
|
153187
|
+
}
|
|
153342
153188
|
}
|
|
153189
|
+
if (escaping = !1, rangeStart) {
|
|
153190
|
+
c > rangeStart ? ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c)) : c === rangeStart && ranges.push(braceEscape(c)), rangeStart = "", i++;
|
|
153191
|
+
continue;
|
|
153192
|
+
}
|
|
153193
|
+
if (glob.startsWith("-]", i + 1)) {
|
|
153194
|
+
ranges.push(braceEscape(c + "-")), i += 2;
|
|
153195
|
+
continue;
|
|
153196
|
+
}
|
|
153197
|
+
if (glob.startsWith("-", i + 1)) {
|
|
153198
|
+
rangeStart = c, i += 2;
|
|
153199
|
+
continue;
|
|
153200
|
+
}
|
|
153201
|
+
ranges.push(braceEscape(c)), i++;
|
|
153202
|
+
}
|
|
153343
153203
|
if (endPos < i)
|
|
153344
153204
|
return ["", !1, 0, !1];
|
|
153345
153205
|
if (!ranges.length && !negs.length)
|
|
@@ -154657,12 +154517,9 @@ var require_plugin_loader = __commonJS({
|
|
|
154657
154517
|
} : function(o, v) {
|
|
154658
154518
|
o.default = v;
|
|
154659
154519
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
154660
|
-
if (mod && mod.__esModule)
|
|
154661
|
-
return mod;
|
|
154520
|
+
if (mod && mod.__esModule) return mod;
|
|
154662
154521
|
var result = {};
|
|
154663
|
-
if (mod != null)
|
|
154664
|
-
for (var k in mod)
|
|
154665
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
154522
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
154666
154523
|
return __setModuleDefault(result, mod), result;
|
|
154667
154524
|
};
|
|
154668
154525
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -154803,12 +154660,9 @@ var require_config3 = __commonJS({
|
|
|
154803
154660
|
} : function(o, v) {
|
|
154804
154661
|
o.default = v;
|
|
154805
154662
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
154806
|
-
if (mod && mod.__esModule)
|
|
154807
|
-
return mod;
|
|
154663
|
+
if (mod && mod.__esModule) return mod;
|
|
154808
154664
|
var result = {};
|
|
154809
|
-
if (mod != null)
|
|
154810
|
-
for (var k in mod)
|
|
154811
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
154665
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
154812
154666
|
return __setModuleDefault(result, mod), result;
|
|
154813
154667
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
154814
154668
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -155370,13 +155224,11 @@ var require_wordwrap = __commonJS({
|
|
|
155370
155224
|
if (mode === "hard")
|
|
155371
155225
|
for (var i = 0; i < x.length; i += stop - start)
|
|
155372
155226
|
acc.push(x.slice(i, i + stop - start));
|
|
155373
|
-
else
|
|
155374
|
-
acc.push(x);
|
|
155227
|
+
else acc.push(x);
|
|
155375
155228
|
return acc;
|
|
155376
155229
|
}, []);
|
|
155377
155230
|
return chunks.reduce(function(lines, rawChunk) {
|
|
155378
|
-
if (rawChunk === "")
|
|
155379
|
-
return lines;
|
|
155231
|
+
if (rawChunk === "") return lines;
|
|
155380
155232
|
var chunk = rawChunk.replace(/\t/g, " "), i = lines.length - 1;
|
|
155381
155233
|
if (lines[i].length + chunk.length > stop)
|
|
155382
155234
|
lines[i] = lines[i].replace(/\s+$/, ""), chunk.split(/\n/).forEach(function(c) {
|
|
@@ -156039,12 +155891,9 @@ var require_command2 = __commonJS({
|
|
|
156039
155891
|
} : function(o, v) {
|
|
156040
155892
|
o.default = v;
|
|
156041
155893
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
156042
|
-
if (mod && mod.__esModule)
|
|
156043
|
-
return mod;
|
|
155894
|
+
if (mod && mod.__esModule) return mod;
|
|
156044
155895
|
var result = {};
|
|
156045
|
-
if (mod != null)
|
|
156046
|
-
for (var k in mod)
|
|
156047
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
155896
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
156048
155897
|
return __setModuleDefault(result, mod), result;
|
|
156049
155898
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
156050
155899
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -156388,12 +156237,9 @@ var require_lib2 = __commonJS({
|
|
|
156388
156237
|
} : function(o, v) {
|
|
156389
156238
|
o.default = v;
|
|
156390
156239
|
}), __importStar = exports && exports.__importStar || function(mod) {
|
|
156391
|
-
if (mod && mod.__esModule)
|
|
156392
|
-
return mod;
|
|
156240
|
+
if (mod && mod.__esModule) return mod;
|
|
156393
156241
|
var result = {};
|
|
156394
|
-
if (mod != null)
|
|
156395
|
-
for (var k in mod)
|
|
156396
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
156242
|
+
if (mod != null) for (var k in mod) k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding(result, mod, k);
|
|
156397
156243
|
return __setModuleDefault(result, mod), result;
|
|
156398
156244
|
}, __importDefault = exports && exports.__importDefault || function(mod) {
|
|
156399
156245
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -156515,4 +156361,4 @@ ejs/lib/ejs.js:
|
|
|
156515
156361
|
* @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
|
|
156516
156362
|
*)
|
|
156517
156363
|
*/
|
|
156518
|
-
//# sourceMappingURL=chunk-
|
|
156364
|
+
//# sourceMappingURL=chunk-SBPFWO4S.js.map
|