@kubb/core 3.18.3 → 4.0.2
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/{FileManager-BeN5TYKI.js → FileManager-BDisPxtH.js} +28 -45
- package/dist/FileManager-BDisPxtH.js.map +1 -0
- package/dist/{FileManager-CZyWLgbQ.cjs → FileManager-qDcTVN6G.cjs} +34 -48
- package/dist/FileManager-qDcTVN6G.cjs.map +1 -0
- package/dist/{PluginManager-H8G0i6KS.d.ts → PluginManager-BSUDeUfP.d.ts} +2 -2
- package/dist/{PluginManager-C62HGihR.d.cts → PluginManager-a3RiDAFC.d.cts} +2 -2
- package/dist/{acorn-Biw1D1Ce.cjs → acorn-Cg_eXN51.cjs} +15 -37
- package/dist/{acorn-Biw1D1Ce.cjs.map → acorn-Cg_eXN51.cjs.map} +1 -1
- package/dist/{acorn-3HQnxDj2.js → acorn-Z0oy0vSt.js} +15 -37
- package/dist/{acorn-3HQnxDj2.js.map → acorn-Z0oy0vSt.js.map} +1 -1
- package/dist/{angular-n5qYWkcx.js → angular-BUlb_iaU.js} +6 -7
- package/dist/{angular-n5qYWkcx.js.map → angular-BUlb_iaU.js.map} +1 -1
- package/dist/{angular-B3ddRl90.cjs → angular-nBly58h0.cjs} +6 -7
- package/dist/{angular-B3ddRl90.cjs.map → angular-nBly58h0.cjs.map} +1 -1
- package/dist/{babel-BrKqHp9Q.cjs → babel-5qXjvTGO.cjs} +34 -45
- package/dist/{babel-BrKqHp9Q.cjs.map → babel-5qXjvTGO.cjs.map} +1 -1
- package/dist/{babel-mOBF3g2e.js → babel-DfXTN9QX.js} +34 -45
- package/dist/{babel-mOBF3g2e.js.map → babel-DfXTN9QX.js.map} +1 -1
- package/dist/{chunk-DoeelZqw.cjs → chunk-CZg_9w7l.cjs} +3 -1
- package/dist/{chunk-DbvY3SJr.js → chunk-kPDogv7o.js} +3 -1
- package/dist/{estree-QGbwcVbp.js → estree-Bt3vRtV3.js} +6 -9
- package/dist/{estree-QGbwcVbp.js.map → estree-Bt3vRtV3.js.map} +1 -1
- package/dist/{estree-D6ftINJ3.cjs → estree-DyiFjXDy.cjs} +6 -9
- package/dist/{estree-D6ftINJ3.cjs.map → estree-DyiFjXDy.cjs.map} +1 -1
- package/dist/{flow-C1RsRESZ.js → flow-Bb8_yYns.js} +466 -573
- package/dist/{flow-C1RsRESZ.js.map → flow-Bb8_yYns.js.map} +1 -1
- package/dist/{flow-BWEc100n.cjs → flow-DdtBrX0O.cjs} +466 -573
- package/dist/{flow-BWEc100n.cjs.map → flow-DdtBrX0O.cjs.map} +1 -1
- package/dist/{fs-DkMVXz_s.js → fs-BNC5Fj6t.js} +3 -5
- package/dist/{fs-DkMVXz_s.js.map → fs-BNC5Fj6t.js.map} +1 -1
- package/dist/{fs-CeOer54w.cjs → fs-Bi2kuxAm.cjs} +10 -9
- package/dist/{fs-CeOer54w.cjs.map → fs-Bi2kuxAm.cjs.map} +1 -1
- package/dist/fs.cjs +2 -2
- package/dist/fs.d.cts +1 -1
- package/dist/fs.d.ts +1 -1
- package/dist/fs.js +2 -2
- package/dist/{glimmer-CwkHq8v_.cjs → glimmer-BuCRLjbI.cjs} +20 -38
- package/dist/{glimmer-CwkHq8v_.cjs.map → glimmer-BuCRLjbI.cjs.map} +1 -1
- package/dist/{glimmer-DZXQWVfc.js → glimmer-By8WZPkK.js} +20 -38
- package/dist/{glimmer-DZXQWVfc.js.map → glimmer-By8WZPkK.js.map} +1 -1
- package/dist/{graphql-DWNpg5AH.js → graphql-DsrNefXx.js} +3 -4
- package/dist/{graphql-DWNpg5AH.js.map → graphql-DsrNefXx.js.map} +1 -1
- package/dist/{graphql-ftPsRNd8.cjs → graphql-TN0hv-fx.cjs} +3 -4
- package/dist/{graphql-ftPsRNd8.cjs.map → graphql-TN0hv-fx.cjs.map} +1 -1
- package/dist/{html-DMFSHL-z.cjs → html-1W4-2_9J.cjs} +7 -9
- package/dist/{html-DMFSHL-z.cjs.map → html-1W4-2_9J.cjs.map} +1 -1
- package/dist/{html-Lx7YOmUI.js → html-Y5KDc150.js} +7 -9
- package/dist/{html-Lx7YOmUI.js.map → html-Y5KDc150.js.map} +1 -1
- package/dist/{index-DERUIhQK.d.cts → index-B7KKQHG8.d.cts} +3 -3
- package/dist/{index-B428LQ0Z.d.ts → index-BhFFCWR1.d.ts} +3 -3
- package/dist/{index-3smcdUnJ.d.ts → index-CGJ3tdk-.d.ts} +1 -4
- package/dist/{index-Bglrijef.d.cts → index-CWX6_-da.d.cts} +1 -4
- package/dist/index.cjs +42 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +23 -34
- package/dist/index.js.map +1 -1
- package/dist/{logger-M0gDQMDh.js → logger-BKPT4rkB.js} +11 -19
- package/dist/logger-BKPT4rkB.js.map +1 -0
- package/dist/{logger-OgWv9Jyy.cjs → logger-DBJsdlpZ.cjs} +26 -27
- package/dist/logger-DBJsdlpZ.cjs.map +1 -0
- package/dist/logger.cjs +2 -2
- package/dist/logger.js +2 -2
- package/dist/{markdown-BYsFO1cu.cjs → markdown-Bltb-uzO.cjs} +3 -5
- package/dist/{markdown-BYsFO1cu.cjs.map → markdown-Bltb-uzO.cjs.map} +1 -1
- package/dist/{markdown-Dt7fmgWb.js → markdown-Drl4Cbq5.js} +3 -5
- package/dist/{markdown-Dt7fmgWb.js.map → markdown-Drl4Cbq5.js.map} +1 -1
- package/dist/{meriyah-BA-YCwVg.cjs → meriyah-CdG8HPS2.cjs} +3 -5
- package/dist/meriyah-CdG8HPS2.cjs.map +1 -0
- package/dist/{meriyah-CEYm-XS7.js → meriyah-Cz9whwp-.js} +3 -5
- package/dist/meriyah-Cz9whwp-.js.map +1 -0
- package/dist/mocks.cjs +206 -333
- package/dist/mocks.cjs.map +1 -1
- package/dist/mocks.d.cts +2 -2
- package/dist/mocks.d.ts +2 -2
- package/dist/mocks.js +186 -323
- package/dist/mocks.js.map +1 -1
- package/dist/{postcss-BQcSCAcI.cjs → postcss-B7n9zUIy.cjs} +32 -53
- package/dist/postcss-B7n9zUIy.cjs.map +1 -0
- package/dist/{postcss-CI4qZzdL.js → postcss-Dfx_9buT.js} +32 -53
- package/dist/postcss-Dfx_9buT.js.map +1 -0
- package/dist/{prompt-D3dP3KNu.js → prompt-BMs_Y-vT.js} +5 -8
- package/dist/{prompt-D3dP3KNu.js.map → prompt-BMs_Y-vT.js.map} +1 -1
- package/dist/{prompt-DslNpUPc.cjs → prompt-BXlYKArM.cjs} +14 -13
- package/dist/{prompt-DslNpUPc.cjs.map → prompt-BXlYKArM.cjs.map} +1 -1
- package/dist/{transformers-BL8vcCaM.js → transformers-CXIKOVl0.js} +13 -22
- package/dist/{transformers-BL8vcCaM.js.map → transformers-CXIKOVl0.js.map} +1 -1
- package/dist/{transformers-BUNfHgNe.cjs → transformers-TDFgAyi8.cjs} +15 -23
- package/dist/{transformers-BUNfHgNe.cjs.map → transformers-TDFgAyi8.cjs.map} +1 -1
- package/dist/transformers.cjs +4 -3
- package/dist/transformers.js +1 -1
- package/dist/typescript-BY9-7pw9.js +3 -0
- package/dist/{typescript-eE7YJ2-c.js → typescript-C8iCxnaF.js} +15 -70
- package/dist/{typescript-eE7YJ2-c.js.map → typescript-C8iCxnaF.js.map} +1 -1
- package/dist/{typescript-DDBRxbn7.cjs → typescript-Evf8GXVW.cjs} +15 -70
- package/dist/{typescript-DDBRxbn7.cjs.map → typescript-Evf8GXVW.cjs.map} +1 -1
- package/dist/typescript-PxlX-TH7.cjs +4 -0
- package/dist/utils.cjs +4 -4
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +4 -4
- package/dist/{write-cvT4uBev.cjs → write-BJfM7G1_.cjs} +11 -10
- package/dist/{write-cvT4uBev.cjs.map → write-BJfM7G1_.cjs.map} +1 -1
- package/dist/{write-CLTPlucv.js → write-O9QWtBJ_.js} +4 -6
- package/dist/{write-CLTPlucv.js.map → write-O9QWtBJ_.js.map} +1 -1
- package/dist/{yaml-v1i11ZlS.cjs → yaml-B2qeXFgu.cjs} +37 -116
- package/dist/yaml-B2qeXFgu.cjs.map +1 -0
- package/dist/{yaml-DZASOrDL.js → yaml-Bi_nSoU_.js} +37 -116
- package/dist/yaml-Bi_nSoU_.js.map +1 -0
- package/package.json +6 -7
- package/dist/FileManager-BeN5TYKI.js.map +0 -1
- package/dist/FileManager-CZyWLgbQ.cjs.map +0 -1
- package/dist/logger-M0gDQMDh.js.map +0 -1
- package/dist/logger-OgWv9Jyy.cjs.map +0 -1
- package/dist/meriyah-BA-YCwVg.cjs.map +0 -1
- package/dist/meriyah-CEYm-XS7.js.map +0 -1
- package/dist/postcss-BQcSCAcI.cjs.map +0 -1
- package/dist/postcss-CI4qZzdL.js.map +0 -1
- package/dist/typescript-Bq-hjiJ0.js +0 -3
- package/dist/typescript-DvVkagAX.cjs +0 -4
- package/dist/yaml-DZASOrDL.js.map +0 -1
- package/dist/yaml-v1i11ZlS.cjs.map +0 -1
package/dist/mocks.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { __export as __export$2 } from "./chunk-
|
|
2
|
-
import "./fs-
|
|
3
|
-
import "./write-
|
|
4
|
-
import { camelCase, pascalCase } from "./transformers-
|
|
5
|
-
import { createFile, getSource } from "./FileManager-
|
|
6
|
-
import { r9 } from "./typescript-
|
|
1
|
+
import { __export as __export$2 } from "./chunk-kPDogv7o.js";
|
|
2
|
+
import "./fs-BNC5Fj6t.js";
|
|
3
|
+
import "./write-O9QWtBJ_.js";
|
|
4
|
+
import { camelCase, pascalCase } from "./transformers-CXIKOVl0.js";
|
|
5
|
+
import { createFile, getSource } from "./FileManager-BDisPxtH.js";
|
|
6
|
+
import { r9 } from "./typescript-C8iCxnaF.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { builtinModules, createRequire } from "module";
|
|
9
9
|
import * as url from "url";
|
|
@@ -19,8 +19,7 @@ import v8 from "v8";
|
|
|
19
19
|
import { format, inspect } from "util";
|
|
20
20
|
|
|
21
21
|
//#region ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/doc.mjs
|
|
22
|
-
var doc_exports = {
|
|
23
|
-
__export$2(doc_exports, {
|
|
22
|
+
var doc_exports = /* @__PURE__ */ __export$2({
|
|
24
23
|
builders: () => builders,
|
|
25
24
|
default: () => public_default,
|
|
26
25
|
printer: () => printer,
|
|
@@ -247,8 +246,7 @@ function propagateBreaks$1(doc) {
|
|
|
247
246
|
}
|
|
248
247
|
function propagateBreaksOnExitFn(doc2) {
|
|
249
248
|
if (doc2.type === DOC_TYPE_GROUP$1) {
|
|
250
|
-
|
|
251
|
-
if (group2.break) breakParentGroup$1(groupStack);
|
|
249
|
+
if (groupStack.pop().break) breakParentGroup$1(groupStack);
|
|
252
250
|
}
|
|
253
251
|
}
|
|
254
252
|
traverse_doc_default$1(doc, propagateBreaksOnEnterFn, propagateBreaksOnExitFn, true);
|
|
@@ -537,24 +535,23 @@ function rootIndent$1() {
|
|
|
537
535
|
queue: []
|
|
538
536
|
};
|
|
539
537
|
}
|
|
540
|
-
function makeIndent$1(ind, options
|
|
541
|
-
return generateInd$1(ind, { type: "indent" }, options
|
|
538
|
+
function makeIndent$1(ind, options) {
|
|
539
|
+
return generateInd$1(ind, { type: "indent" }, options);
|
|
542
540
|
}
|
|
543
|
-
function makeAlign$1(indent2, widthOrDoc, options
|
|
541
|
+
function makeAlign$1(indent2, widthOrDoc, options) {
|
|
544
542
|
if (widthOrDoc === Number.NEGATIVE_INFINITY) return indent2.root || rootIndent$1();
|
|
545
|
-
if (widthOrDoc < 0) return generateInd$1(indent2, { type: "dedent" }, options
|
|
543
|
+
if (widthOrDoc < 0) return generateInd$1(indent2, { type: "dedent" }, options);
|
|
546
544
|
if (!widthOrDoc) return indent2;
|
|
547
545
|
if (widthOrDoc.type === "root") return {
|
|
548
546
|
...indent2,
|
|
549
547
|
root: indent2
|
|
550
548
|
};
|
|
551
|
-
const alignType = typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign";
|
|
552
549
|
return generateInd$1(indent2, {
|
|
553
|
-
type:
|
|
550
|
+
type: typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign",
|
|
554
551
|
n: widthOrDoc
|
|
555
|
-
}, options
|
|
552
|
+
}, options);
|
|
556
553
|
}
|
|
557
|
-
function generateInd$1(ind, newPart, options
|
|
554
|
+
function generateInd$1(ind, newPart, options) {
|
|
558
555
|
const queue = newPart.type === "dedent" ? ind.queue.slice(0, -1) : [...ind.queue, newPart];
|
|
559
556
|
let value = "";
|
|
560
557
|
let length = 0;
|
|
@@ -563,8 +560,8 @@ function generateInd$1(ind, newPart, options$1) {
|
|
|
563
560
|
for (const part of queue) switch (part.type) {
|
|
564
561
|
case "indent":
|
|
565
562
|
flush();
|
|
566
|
-
if (options
|
|
567
|
-
else addSpaces(options
|
|
563
|
+
if (options.useTabs) addTabs(1);
|
|
564
|
+
else addSpaces(options.tabWidth);
|
|
568
565
|
break;
|
|
569
566
|
case "stringAlign":
|
|
570
567
|
flush();
|
|
@@ -586,14 +583,14 @@ function generateInd$1(ind, newPart, options$1) {
|
|
|
586
583
|
};
|
|
587
584
|
function addTabs(count) {
|
|
588
585
|
value += " ".repeat(count);
|
|
589
|
-
length += options
|
|
586
|
+
length += options.tabWidth * count;
|
|
590
587
|
}
|
|
591
588
|
function addSpaces(count) {
|
|
592
589
|
value += " ".repeat(count);
|
|
593
590
|
length += count;
|
|
594
591
|
}
|
|
595
592
|
function flush() {
|
|
596
|
-
if (options
|
|
593
|
+
if (options.useTabs) flushTabs();
|
|
597
594
|
else flushSpaces();
|
|
598
595
|
}
|
|
599
596
|
function flushTabs() {
|
|
@@ -685,8 +682,7 @@ function fits$1(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFl
|
|
|
685
682
|
break;
|
|
686
683
|
}
|
|
687
684
|
case DOC_TYPE_IF_BREAK$1: {
|
|
688
|
-
const
|
|
689
|
-
const contents = groupMode === MODE_BREAK$1 ? doc.breakContents : doc.flatContents;
|
|
685
|
+
const contents = (doc.groupId ? groupModeMap[doc.groupId] || MODE_FLAT$1 : mode) === MODE_BREAK$1 ? doc.breakContents : doc.flatContents;
|
|
690
686
|
if (contents) cmds.push({
|
|
691
687
|
mode,
|
|
692
688
|
doc: contents
|
|
@@ -710,10 +706,10 @@ function fits$1(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFl
|
|
|
710
706
|
}
|
|
711
707
|
return false;
|
|
712
708
|
}
|
|
713
|
-
function printDocToString$1(doc, options
|
|
709
|
+
function printDocToString$1(doc, options) {
|
|
714
710
|
const groupModeMap = {};
|
|
715
|
-
const width = options
|
|
716
|
-
const newLine = convertEndOfLineToChars$1(options
|
|
711
|
+
const width = options.printWidth;
|
|
712
|
+
const newLine = convertEndOfLineToChars$1(options.endOfLine);
|
|
717
713
|
let pos$1 = 0;
|
|
718
714
|
const cmds = [{
|
|
719
715
|
ind: rootIndent$1(),
|
|
@@ -748,14 +744,14 @@ function printDocToString$1(doc, options$1) {
|
|
|
748
744
|
break;
|
|
749
745
|
case DOC_TYPE_INDENT$1:
|
|
750
746
|
cmds.push({
|
|
751
|
-
ind: makeIndent$1(ind, options
|
|
747
|
+
ind: makeIndent$1(ind, options),
|
|
752
748
|
mode,
|
|
753
749
|
doc: doc2.contents
|
|
754
750
|
});
|
|
755
751
|
break;
|
|
756
752
|
case DOC_TYPE_ALIGN$1:
|
|
757
753
|
cmds.push({
|
|
758
|
-
ind: makeAlign$1(ind, doc2.n, options
|
|
754
|
+
ind: makeAlign$1(ind, doc2.n, options),
|
|
759
755
|
mode,
|
|
760
756
|
doc: doc2.contents
|
|
761
757
|
});
|
|
@@ -869,7 +865,7 @@ function printDocToString$1(doc, options$1) {
|
|
|
869
865
|
[DOC_FILL_PRINTED_LENGTH$1]: offset + 2
|
|
870
866
|
}
|
|
871
867
|
};
|
|
872
|
-
|
|
868
|
+
if (fits$1({
|
|
873
869
|
ind,
|
|
874
870
|
mode: MODE_FLAT$1,
|
|
875
871
|
doc: [
|
|
@@ -877,9 +873,7 @@ function printDocToString$1(doc, options$1) {
|
|
|
877
873
|
whitespace,
|
|
878
874
|
secondContent
|
|
879
875
|
]
|
|
880
|
-
};
|
|
881
|
-
const firstAndSecondContentFits = fits$1(firstAndSecondContentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true);
|
|
882
|
-
if (firstAndSecondContentFits) cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd);
|
|
876
|
+
}, [], rem, lineSuffix2.length > 0, groupModeMap, true)) cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd);
|
|
883
877
|
else if (contentFits) cmds.push(remainingCmd, whitespaceBreakCmd, contentFlatCmd);
|
|
884
878
|
else cmds.push(remainingCmd, whitespaceBreakCmd, contentBreakCmd);
|
|
885
879
|
break;
|
|
@@ -1277,8 +1271,7 @@ var require_glob_parent = __commonJS({ "node_modules/glob-parent/index.js"(expor
|
|
|
1277
1271
|
var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
|
|
1278
1272
|
var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
|
|
1279
1273
|
module.exports = function globParent(str, opts) {
|
|
1280
|
-
|
|
1281
|
-
if (options8.flipBackslashes && isWin32 && str.indexOf(slash2) < 0) str = str.replace(backslash, slash2);
|
|
1274
|
+
if (Object.assign({ flipBackslashes: true }, opts).flipBackslashes && isWin32 && str.indexOf(slash2) < 0) str = str.replace(backslash, slash2);
|
|
1282
1275
|
if (enclosure.test(str)) str += slash2;
|
|
1283
1276
|
str += "a";
|
|
1284
1277
|
do
|
|
@@ -1420,8 +1413,7 @@ var require_to_regex_range = __commonJS({ "node_modules/to-regex-range/index.js"
|
|
|
1420
1413
|
state.maxLen = String(state.max).length;
|
|
1421
1414
|
}
|
|
1422
1415
|
if (a < 0) {
|
|
1423
|
-
|
|
1424
|
-
negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
|
|
1416
|
+
negatives = splitToPatterns(b < 0 ? Math.abs(b) : 1, Math.abs(a), state, opts);
|
|
1425
1417
|
a = state.a = 0;
|
|
1426
1418
|
}
|
|
1427
1419
|
if (b >= 0) positives = splitToPatterns(a, b, state, opts);
|
|
@@ -1437,8 +1429,7 @@ var require_to_regex_range = __commonJS({ "node_modules/to-regex-range/index.js"
|
|
|
1437
1429
|
let onlyNegative = filterPatterns(neg, pos2, "-", false, options8) || [];
|
|
1438
1430
|
let onlyPositive = filterPatterns(pos2, neg, "", false, options8) || [];
|
|
1439
1431
|
let intersected = filterPatterns(neg, pos2, "-?", true, options8) || [];
|
|
1440
|
-
|
|
1441
|
-
return subpatterns.join("|");
|
|
1432
|
+
return onlyNegative.concat(intersected).concat(onlyPositive).join("|");
|
|
1442
1433
|
}
|
|
1443
1434
|
function splitToRanges(min, max) {
|
|
1444
1435
|
let nines = 1;
|
|
@@ -1621,8 +1612,7 @@ var require_fill_range = __commonJS({ "node_modules/fill-range/index.js"(exports
|
|
|
1621
1612
|
});
|
|
1622
1613
|
let start = String.fromCharCode(a);
|
|
1623
1614
|
if (a === b) return start;
|
|
1624
|
-
|
|
1625
|
-
return `[${start}-${stop}]`;
|
|
1615
|
+
return `[${start}-${String.fromCharCode(b)}]`;
|
|
1626
1616
|
};
|
|
1627
1617
|
var toRegex = (start, end, options8) => {
|
|
1628
1618
|
if (Array.isArray(start)) {
|
|
@@ -2007,12 +1997,11 @@ var require_parse = __commonJS({ "node_modules/braces/lib/parse.js"(exports, mod
|
|
|
2007
1997
|
}
|
|
2008
1998
|
if (value === CHAR_LEFT_CURLY_BRACE) {
|
|
2009
1999
|
depth++;
|
|
2010
|
-
const dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
|
|
2011
2000
|
const brace = {
|
|
2012
2001
|
type: "brace",
|
|
2013
2002
|
open: true,
|
|
2014
2003
|
close: false,
|
|
2015
|
-
dollar,
|
|
2004
|
+
dollar: prev.value && prev.value.slice(-1) === "$" || block.dollar === true,
|
|
2016
2005
|
depth,
|
|
2017
2006
|
commas: 0,
|
|
2018
2007
|
ranges: 0,
|
|
@@ -2048,8 +2037,7 @@ var require_parse = __commonJS({ "node_modules/braces/lib/parse.js"(exports, mod
|
|
|
2048
2037
|
if (value === CHAR_COMMA && depth > 0) {
|
|
2049
2038
|
if (block.ranges > 0) {
|
|
2050
2039
|
block.ranges = 0;
|
|
2051
|
-
|
|
2052
|
-
block.nodes = [open, {
|
|
2040
|
+
block.nodes = [block.nodes.shift(), {
|
|
2053
2041
|
type: "text",
|
|
2054
2042
|
value: stringify2(block)
|
|
2055
2043
|
}];
|
|
@@ -2212,25 +2200,24 @@ var require_constants2 = __commonJS({ "node_modules/micromatch/node_modules/pico
|
|
|
2212
2200
|
START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
|
|
2213
2201
|
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
|
|
2214
2202
|
};
|
|
2215
|
-
var POSIX_REGEX_SOURCE = {
|
|
2216
|
-
alnum: "a-zA-Z0-9",
|
|
2217
|
-
alpha: "a-zA-Z",
|
|
2218
|
-
ascii: "\\x00-\\x7F",
|
|
2219
|
-
blank: " \\t",
|
|
2220
|
-
cntrl: "\\x00-\\x1F\\x7F",
|
|
2221
|
-
digit: "0-9",
|
|
2222
|
-
graph: "\\x21-\\x7E",
|
|
2223
|
-
lower: "a-z",
|
|
2224
|
-
print: "\\x20-\\x7E ",
|
|
2225
|
-
punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
|
|
2226
|
-
space: " \\t\\r\\n\\v\\f",
|
|
2227
|
-
upper: "A-Z",
|
|
2228
|
-
word: "A-Za-z0-9_",
|
|
2229
|
-
xdigit: "A-Fa-f0-9"
|
|
2230
|
-
};
|
|
2231
2203
|
module.exports = {
|
|
2232
2204
|
MAX_LENGTH: 1024 * 64,
|
|
2233
|
-
POSIX_REGEX_SOURCE
|
|
2205
|
+
POSIX_REGEX_SOURCE: {
|
|
2206
|
+
alnum: "a-zA-Z0-9",
|
|
2207
|
+
alpha: "a-zA-Z",
|
|
2208
|
+
ascii: "\\x00-\\x7F",
|
|
2209
|
+
blank: " \\t",
|
|
2210
|
+
cntrl: "\\x00-\\x1F\\x7F",
|
|
2211
|
+
digit: "0-9",
|
|
2212
|
+
graph: "\\x21-\\x7E",
|
|
2213
|
+
lower: "a-z",
|
|
2214
|
+
print: "\\x20-\\x7E ",
|
|
2215
|
+
punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
|
|
2216
|
+
space: " \\t\\r\\n\\v\\f",
|
|
2217
|
+
upper: "A-Z",
|
|
2218
|
+
word: "A-Za-z0-9_",
|
|
2219
|
+
xdigit: "A-Fa-f0-9"
|
|
2220
|
+
},
|
|
2234
2221
|
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
2235
2222
|
REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
|
|
2236
2223
|
REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
|
|
@@ -2474,8 +2461,7 @@ var require_scan = __commonJS({ "node_modules/micromatch/node_modules/picomatch/
|
|
|
2474
2461
|
continue;
|
|
2475
2462
|
}
|
|
2476
2463
|
if (opts.noext !== true) {
|
|
2477
|
-
|
|
2478
|
-
if (isExtglobChar === true && peek2() === CHAR_LEFT_PARENTHESES) {
|
|
2464
|
+
if ((code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK) === true && peek2() === CHAR_LEFT_PARENTHESES) {
|
|
2479
2465
|
isGlob = token2.isGlob = true;
|
|
2480
2466
|
isExtglob = token2.isExtglob = true;
|
|
2481
2467
|
finished = true;
|
|
@@ -2789,13 +2775,10 @@ var require_parse2 = __commonJS({ "node_modules/micromatch/node_modules/picomatc
|
|
|
2789
2775
|
let extglobStar = star;
|
|
2790
2776
|
if (token2.inner && token2.inner.length > 1 && token2.inner.includes("/")) extglobStar = globstar(opts);
|
|
2791
2777
|
if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) output = token2.close = `)$))${extglobStar}`;
|
|
2792
|
-
if (token2.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
}).output;
|
|
2797
|
-
output = token2.close = `)${expression})${extglobStar})`;
|
|
2798
|
-
}
|
|
2778
|
+
if (token2.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) output = token2.close = `)${parse7(rest, {
|
|
2779
|
+
...options8,
|
|
2780
|
+
fastpaths: false
|
|
2781
|
+
}).output})${extglobStar})`;
|
|
2799
2782
|
if (token2.prev.type === "bos") state.negatedExtglob = true;
|
|
2800
2783
|
}
|
|
2801
2784
|
push2({
|
|
@@ -3094,8 +3077,7 @@ var require_parse2 = __commonJS({ "node_modules/micromatch/node_modules/picomatc
|
|
|
3094
3077
|
continue;
|
|
3095
3078
|
}
|
|
3096
3079
|
if (value === "?") {
|
|
3097
|
-
|
|
3098
|
-
if (!isGroup && opts.noextglob !== true && peek2() === "(" && peek2(2) !== "?") {
|
|
3080
|
+
if (!(prev && prev.value === "(") && opts.noextglob !== true && peek2() === "(" && peek2(2) !== "?") {
|
|
3099
3081
|
extglobOpen("qmark", value);
|
|
3100
3082
|
continue;
|
|
3101
3083
|
}
|
|
@@ -3501,8 +3483,7 @@ var require_picomatch = __commonJS({ "node_modules/micromatch/node_modules/picom
|
|
|
3501
3483
|
};
|
|
3502
3484
|
};
|
|
3503
3485
|
picomatch.matchBase = (input, glob, options8, posix = utils$1.isWindows(options8)) => {
|
|
3504
|
-
|
|
3505
|
-
return regex.test(path14.basename(input));
|
|
3486
|
+
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options8)).test(path14.basename(input));
|
|
3506
3487
|
};
|
|
3507
3488
|
picomatch.isMatch = (str, patterns, options8) => picomatch(patterns, options8)(str);
|
|
3508
3489
|
picomatch.parse = (pattern, options8) => {
|
|
@@ -3579,8 +3560,7 @@ var require_micromatch = __commonJS({ "node_modules/micromatch/index.js"(exports
|
|
|
3579
3560
|
if (negated) negatives++;
|
|
3580
3561
|
for (let item of list) {
|
|
3581
3562
|
let matched = isMatch(item, true);
|
|
3582
|
-
|
|
3583
|
-
if (!match) continue;
|
|
3563
|
+
if (!(negated ? !matched.isMatch : matched.isMatch)) continue;
|
|
3584
3564
|
if (negated) omit2.add(matched.output);
|
|
3585
3565
|
else {
|
|
3586
3566
|
omit2.delete(matched.output);
|
|
@@ -3588,8 +3568,7 @@ var require_micromatch = __commonJS({ "node_modules/micromatch/index.js"(exports
|
|
|
3588
3568
|
}
|
|
3589
3569
|
}
|
|
3590
3570
|
}
|
|
3591
|
-
let
|
|
3592
|
-
let matches = result.filter((item) => !omit2.has(item));
|
|
3571
|
+
let matches = (negatives === patterns.length ? [...items] : [...keep]).filter((item) => !omit2.has(item));
|
|
3593
3572
|
if (options8 && matches.length === 0) {
|
|
3594
3573
|
if (options8.failglob === true) throw new Error(`No matches found for "${patterns.join(", ")}"`);
|
|
3595
3574
|
if (options8.nonull === true || options8.nullglob === true) return options8.unescape ? patterns.map((p) => p.replace(/\\/g, "")) : patterns;
|
|
@@ -3656,11 +3635,10 @@ var require_micromatch = __commonJS({ "node_modules/micromatch/index.js"(exports
|
|
|
3656
3635
|
};
|
|
3657
3636
|
micromatch2.capture = (glob, input, options8) => {
|
|
3658
3637
|
let posix = utils$1.isWindows(options8);
|
|
3659
|
-
let
|
|
3638
|
+
let match = picomatch.makeRe(String(glob), {
|
|
3660
3639
|
...options8,
|
|
3661
3640
|
capture: true
|
|
3662
|
-
});
|
|
3663
|
-
let match = regex.exec(posix ? utils$1.toPosixSlashes(input) : input);
|
|
3641
|
+
}).exec(posix ? utils$1.toPosixSlashes(input) : input);
|
|
3664
3642
|
if (match) return match.slice(1).map((v) => v === void 0 ? "" : v);
|
|
3665
3643
|
};
|
|
3666
3644
|
micromatch2.makeRe = (...args) => picomatch.makeRe(...args);
|
|
@@ -3829,8 +3807,7 @@ var require_pattern = __commonJS({ "node_modules/fast-glob/out/utils/pattern.js"
|
|
|
3829
3807
|
exports.isAbsolute = isAbsolute;
|
|
3830
3808
|
} });
|
|
3831
3809
|
var require_merge2 = __commonJS({ "node_modules/merge2/index.js"(exports, module) {
|
|
3832
|
-
var
|
|
3833
|
-
var PassThrough = Stream.PassThrough;
|
|
3810
|
+
var PassThrough = __require("stream").PassThrough;
|
|
3834
3811
|
var slice = Array.prototype.slice;
|
|
3835
3812
|
module.exports = merge2;
|
|
3836
3813
|
function merge2() {
|
|
@@ -3940,20 +3917,13 @@ var require_string = __commonJS({ "node_modules/fast-glob/out/utils/string.js"(e
|
|
|
3940
3917
|
var require_utils3 = __commonJS({ "node_modules/fast-glob/out/utils/index.js"(exports) {
|
|
3941
3918
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3942
3919
|
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
3943
|
-
|
|
3944
|
-
exports.
|
|
3945
|
-
|
|
3946
|
-
exports.
|
|
3947
|
-
|
|
3948
|
-
exports.
|
|
3949
|
-
|
|
3950
|
-
exports.path = path14;
|
|
3951
|
-
var pattern = require_pattern();
|
|
3952
|
-
exports.pattern = pattern;
|
|
3953
|
-
var stream = require_stream();
|
|
3954
|
-
exports.stream = stream;
|
|
3955
|
-
var string = require_string();
|
|
3956
|
-
exports.string = string;
|
|
3920
|
+
exports.array = require_array();
|
|
3921
|
+
exports.errno = require_errno();
|
|
3922
|
+
exports.fs = require_fs();
|
|
3923
|
+
exports.path = require_path();
|
|
3924
|
+
exports.pattern = require_pattern();
|
|
3925
|
+
exports.stream = require_stream();
|
|
3926
|
+
exports.string = require_string();
|
|
3957
3927
|
} });
|
|
3958
3928
|
var require_tasks = __commonJS({ "node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
|
3959
3929
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3994,19 +3964,16 @@ var require_tasks = __commonJS({ "node_modules/fast-glob/out/managers/tasks.js"(
|
|
|
3994
3964
|
}
|
|
3995
3965
|
exports.getPositivePatterns = getPositivePatterns;
|
|
3996
3966
|
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
3997
|
-
|
|
3998
|
-
const positive = negative.map(utils$1.pattern.convertToPositivePattern);
|
|
3999
|
-
return positive;
|
|
3967
|
+
return utils$1.pattern.getNegativePatterns(patterns).concat(ignore).map(utils$1.pattern.convertToPositivePattern);
|
|
4000
3968
|
}
|
|
4001
3969
|
exports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
4002
3970
|
function groupPatternsByBaseDirectory(patterns) {
|
|
4003
|
-
const group$1 = {};
|
|
4004
3971
|
return patterns.reduce((collection, pattern) => {
|
|
4005
3972
|
const base = utils$1.pattern.getBaseDirectory(pattern);
|
|
4006
3973
|
if (base in collection) collection[base].push(pattern);
|
|
4007
3974
|
else collection[base] = [pattern];
|
|
4008
3975
|
return collection;
|
|
4009
|
-
},
|
|
3976
|
+
}, {});
|
|
4010
3977
|
}
|
|
4011
3978
|
exports.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
4012
3979
|
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
@@ -4190,10 +4157,7 @@ var require_constants3 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/cons
|
|
|
4190
4157
|
var MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
|
|
4191
4158
|
var MINOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[1], 10);
|
|
4192
4159
|
var SUPPORTED_MAJOR_VERSION = 10;
|
|
4193
|
-
|
|
4194
|
-
var IS_MATCHED_BY_MAJOR = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION;
|
|
4195
|
-
var IS_MATCHED_BY_MAJOR_AND_MINOR = MAJOR_VERSION === SUPPORTED_MAJOR_VERSION && MINOR_VERSION >= SUPPORTED_MINOR_VERSION;
|
|
4196
|
-
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR;
|
|
4160
|
+
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION || MAJOR_VERSION === SUPPORTED_MAJOR_VERSION && MINOR_VERSION >= 10;
|
|
4197
4161
|
} });
|
|
4198
4162
|
var require_fs3 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
|
|
4199
4163
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -4218,8 +4182,7 @@ var require_fs3 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/utils/fs.js
|
|
|
4218
4182
|
var require_utils4 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
|
|
4219
4183
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4220
4184
|
exports.fs = void 0;
|
|
4221
|
-
|
|
4222
|
-
exports.fs = fs4;
|
|
4185
|
+
exports.fs = require_fs3();
|
|
4223
4186
|
} });
|
|
4224
4187
|
var require_common = __commonJS({ "node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
|
|
4225
4188
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -4346,8 +4309,7 @@ var require_sync2 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/providers
|
|
|
4346
4309
|
}
|
|
4347
4310
|
exports.read = read3;
|
|
4348
4311
|
function readdirWithFileTypes(directory, settings) {
|
|
4349
|
-
|
|
4350
|
-
return dirents.map((dirent) => {
|
|
4312
|
+
return settings.fs.readdirSync(directory, { withFileTypes: true }).map((dirent) => {
|
|
4351
4313
|
const entry = {
|
|
4352
4314
|
dirent,
|
|
4353
4315
|
name: dirent.name,
|
|
@@ -4364,8 +4326,7 @@ var require_sync2 = __commonJS({ "node_modules/@nodelib/fs.scandir/out/providers
|
|
|
4364
4326
|
}
|
|
4365
4327
|
exports.readdirWithFileTypes = readdirWithFileTypes;
|
|
4366
4328
|
function readdir(directory, settings) {
|
|
4367
|
-
|
|
4368
|
-
return names.map((name) => {
|
|
4329
|
+
return settings.fs.readdirSync(directory).map((name) => {
|
|
4369
4330
|
const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
|
|
4370
4331
|
const stats = fsStat.statSync(entryPath, settings.fsStatSettings);
|
|
4371
4332
|
const entry = {
|
|
@@ -4688,7 +4649,7 @@ var require_queue = __commonJS({ "node_modules/fastq/queue.js"(exports, module)
|
|
|
4688
4649
|
return p;
|
|
4689
4650
|
}
|
|
4690
4651
|
function drained() {
|
|
4691
|
-
|
|
4652
|
+
return new Promise(function(resolve3) {
|
|
4692
4653
|
process.nextTick(function() {
|
|
4693
4654
|
if (queue.idle()) resolve3();
|
|
4694
4655
|
else {
|
|
@@ -4701,7 +4662,6 @@ var require_queue = __commonJS({ "node_modules/fastq/queue.js"(exports, module)
|
|
|
4701
4662
|
}
|
|
4702
4663
|
});
|
|
4703
4664
|
});
|
|
4704
|
-
return p;
|
|
4705
4665
|
}
|
|
4706
4666
|
}
|
|
4707
4667
|
module.exports = fastqueue;
|
|
@@ -4999,14 +4959,12 @@ var require_out3 = __commonJS({ "node_modules/@nodelib/fs.walk/out/index.js"(exp
|
|
|
4999
4959
|
exports.walk = walk;
|
|
5000
4960
|
function walkSync(directory, optionsOrSettings) {
|
|
5001
4961
|
const settings = getSettings(optionsOrSettings);
|
|
5002
|
-
|
|
5003
|
-
return provider.read();
|
|
4962
|
+
return new sync_1.default(directory, settings).read();
|
|
5004
4963
|
}
|
|
5005
4964
|
exports.walkSync = walkSync;
|
|
5006
4965
|
function walkStream(directory, optionsOrSettings) {
|
|
5007
4966
|
const settings = getSettings(optionsOrSettings);
|
|
5008
|
-
|
|
5009
|
-
return provider.read();
|
|
4967
|
+
return new stream_1.default(directory, settings).read();
|
|
5010
4968
|
}
|
|
5011
4969
|
exports.walkStream = walkStream;
|
|
5012
4970
|
function getSettings(settingsOrOptions = {}) {
|
|
@@ -5145,10 +5103,8 @@ var require_matcher = __commonJS({ "node_modules/fast-glob/out/providers/matcher
|
|
|
5145
5103
|
}
|
|
5146
5104
|
}
|
|
5147
5105
|
_getPatternSegments(pattern) {
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
const dynamic = utils$1.pattern.isDynamicPattern(part, this._settings);
|
|
5151
|
-
if (!dynamic) return {
|
|
5106
|
+
return utils$1.pattern.getPatternParts(pattern, this._micromatchOptions).map((part) => {
|
|
5107
|
+
if (!utils$1.pattern.isDynamicPattern(part, this._settings)) return {
|
|
5152
5108
|
dynamic: false,
|
|
5153
5109
|
pattern: part
|
|
5154
5110
|
};
|
|
@@ -5176,13 +5132,12 @@ var require_partial = __commonJS({ "node_modules/fast-glob/out/providers/matcher
|
|
|
5176
5132
|
for (const pattern of patterns) {
|
|
5177
5133
|
const section = pattern.sections[0];
|
|
5178
5134
|
if (!pattern.complete && levels > section.length) return true;
|
|
5179
|
-
|
|
5135
|
+
if (parts.every((part, index) => {
|
|
5180
5136
|
const segment = pattern.segments[index];
|
|
5181
5137
|
if (segment.dynamic && segment.patternRe.test(part)) return true;
|
|
5182
5138
|
if (!segment.dynamic && segment.pattern === part) return true;
|
|
5183
5139
|
return false;
|
|
5184
|
-
});
|
|
5185
|
-
if (match) return true;
|
|
5140
|
+
})) return true;
|
|
5186
5141
|
}
|
|
5187
5142
|
return false;
|
|
5188
5143
|
}
|
|
@@ -5280,12 +5235,9 @@ var require_entry = __commonJS({ "node_modules/fast-glob/out/providers/filters/e
|
|
|
5280
5235
|
return this._settings.onlyDirectories && !entry.dirent.isDirectory();
|
|
5281
5236
|
}
|
|
5282
5237
|
_isMatchToPatternsSet(filepath, patterns, isDirectory2) {
|
|
5283
|
-
|
|
5284
|
-
if (
|
|
5285
|
-
|
|
5286
|
-
if (isMatchedByRelativeNegative) return false;
|
|
5287
|
-
const isMatchedByAbsoluteNegative = this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory2);
|
|
5288
|
-
if (isMatchedByAbsoluteNegative) return false;
|
|
5238
|
+
if (!this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory2)) return false;
|
|
5239
|
+
if (this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory2)) return false;
|
|
5240
|
+
if (this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory2)) return false;
|
|
5289
5241
|
return true;
|
|
5290
5242
|
}
|
|
5291
5243
|
_isMatchToAbsoluteNegative(filepath, patternsRe, isDirectory2) {
|
|
@@ -5402,8 +5354,7 @@ var require_async6 = __commonJS({ "node_modules/fast-glob/out/providers/async.js
|
|
|
5402
5354
|
async read(task) {
|
|
5403
5355
|
const root2 = this._getRootDirectory(task);
|
|
5404
5356
|
const options8 = this._getReaderOptions(task);
|
|
5405
|
-
|
|
5406
|
-
return entries.map((entry) => options8.transform(entry));
|
|
5357
|
+
return (await this.api(root2, task, options8)).map((entry) => options8.transform(entry));
|
|
5407
5358
|
}
|
|
5408
5359
|
api(root2, task, options8) {
|
|
5409
5360
|
if (task.dynamic) return this._reader.dynamic(root2, options8);
|
|
@@ -5492,8 +5443,7 @@ var require_sync6 = __commonJS({ "node_modules/fast-glob/out/providers/sync.js"(
|
|
|
5492
5443
|
read(task) {
|
|
5493
5444
|
const root2 = this._getRootDirectory(task);
|
|
5494
5445
|
const options8 = this._getReaderOptions(task);
|
|
5495
|
-
|
|
5496
|
-
return entries.map(options8.transform);
|
|
5446
|
+
return this.api(root2, task, options8).map(options8.transform);
|
|
5497
5447
|
}
|
|
5498
5448
|
api(root2, task, options8) {
|
|
5499
5449
|
if (task.dynamic) return this._reader.dynamic(root2, options8);
|
|
@@ -5639,9 +5589,7 @@ var require_out4 = __commonJS({ "node_modules/fast-glob/out/index.js"(exports, m
|
|
|
5639
5589
|
return tasks.map(provider.read, provider);
|
|
5640
5590
|
}
|
|
5641
5591
|
function assertPatternsInput(input) {
|
|
5642
|
-
|
|
5643
|
-
const isValidSource = source2.every((item) => utils$1.string.isString(item) && !utils$1.string.isEmpty(item));
|
|
5644
|
-
if (!isValidSource) throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
5592
|
+
if (![].concat(input).every((item) => utils$1.string.isString(item) && !utils$1.string.isEmpty(item))) throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
5645
5593
|
}
|
|
5646
5594
|
module.exports = FastGlob;
|
|
5647
5595
|
} });
|
|
@@ -5714,8 +5662,7 @@ var require_picocolors = __commonJS({ "node_modules/picocolors/picocolors.js"(ex
|
|
|
5714
5662
|
module.exports.createColors = createColors;
|
|
5715
5663
|
} });
|
|
5716
5664
|
var require_debug = __commonJS({ "node_modules/semver/internal/debug.js"(exports, module) {
|
|
5717
|
-
|
|
5718
|
-
module.exports = debug;
|
|
5665
|
+
module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
5719
5666
|
} });
|
|
5720
5667
|
var require_constants4 = __commonJS({ "node_modules/semver/internal/constants.js"(exports, module) {
|
|
5721
5668
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
@@ -5723,21 +5670,20 @@ var require_constants4 = __commonJS({ "node_modules/semver/internal/constants.js
|
|
|
5723
5670
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
5724
5671
|
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
5725
5672
|
var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
5726
|
-
var RELEASE_TYPES = [
|
|
5727
|
-
"major",
|
|
5728
|
-
"premajor",
|
|
5729
|
-
"minor",
|
|
5730
|
-
"preminor",
|
|
5731
|
-
"patch",
|
|
5732
|
-
"prepatch",
|
|
5733
|
-
"prerelease"
|
|
5734
|
-
];
|
|
5735
5673
|
module.exports = {
|
|
5736
5674
|
MAX_LENGTH,
|
|
5737
5675
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
5738
5676
|
MAX_SAFE_BUILD_LENGTH,
|
|
5739
5677
|
MAX_SAFE_INTEGER,
|
|
5740
|
-
RELEASE_TYPES
|
|
5678
|
+
RELEASE_TYPES: [
|
|
5679
|
+
"major",
|
|
5680
|
+
"premajor",
|
|
5681
|
+
"minor",
|
|
5682
|
+
"preminor",
|
|
5683
|
+
"patch",
|
|
5684
|
+
"prepatch",
|
|
5685
|
+
"prerelease"
|
|
5686
|
+
],
|
|
5741
5687
|
SEMVER_SPEC_VERSION,
|
|
5742
5688
|
FLAG_INCLUDE_PRERELEASE: 1,
|
|
5743
5689
|
FLAG_LOOSE: 2
|
|
@@ -5853,7 +5799,7 @@ var require_semver = __commonJS({ "node_modules/semver/classes/semver.js"(export
|
|
|
5853
5799
|
var { safeRe: re, t } = require_re();
|
|
5854
5800
|
var parseOptions = require_parse_options();
|
|
5855
5801
|
var { compareIdentifiers } = require_identifiers();
|
|
5856
|
-
|
|
5802
|
+
module.exports = class _SemVer {
|
|
5857
5803
|
constructor(version, options8) {
|
|
5858
5804
|
options8 = parseOptions(options8);
|
|
5859
5805
|
if (version instanceof _SemVer) if (version.loose === !!options8.loose && version.includePrerelease === !!options8.includePrerelease) return version;
|
|
@@ -6016,7 +5962,6 @@ var require_semver = __commonJS({ "node_modules/semver/classes/semver.js"(export
|
|
|
6016
5962
|
return this;
|
|
6017
5963
|
}
|
|
6018
5964
|
};
|
|
6019
|
-
module.exports = SemVer;
|
|
6020
5965
|
} });
|
|
6021
5966
|
var require_compare = __commonJS({ "node_modules/semver/functions/compare.js"(exports, module) {
|
|
6022
5967
|
var SemVer = require_semver();
|
|
@@ -6171,7 +6116,7 @@ var require_yallist = __commonJS({ "node_modules/yallist/yallist.js"(exports, mo
|
|
|
6171
6116
|
return this.length;
|
|
6172
6117
|
};
|
|
6173
6118
|
Yallist.prototype.pop = function() {
|
|
6174
|
-
if (!this.tail) return
|
|
6119
|
+
if (!this.tail) return;
|
|
6175
6120
|
var res = this.tail.value;
|
|
6176
6121
|
this.tail = this.tail.prev;
|
|
6177
6122
|
if (this.tail) this.tail.next = null;
|
|
@@ -6180,7 +6125,7 @@ var require_yallist = __commonJS({ "node_modules/yallist/yallist.js"(exports, mo
|
|
|
6180
6125
|
return res;
|
|
6181
6126
|
};
|
|
6182
6127
|
Yallist.prototype.shift = function() {
|
|
6183
|
-
if (!this.head) return
|
|
6128
|
+
if (!this.head) return;
|
|
6184
6129
|
var res = this.head.value;
|
|
6185
6130
|
this.head = this.head.next;
|
|
6186
6131
|
if (this.head) this.head.prev = null;
|
|
@@ -6494,8 +6439,7 @@ var require_lru_cache = __commonJS({ "node_modules/editorconfig/node_modules/lru
|
|
|
6494
6439
|
LRUCache.prototype.inspect = function(n, opts) {
|
|
6495
6440
|
var str = "LRUCache {";
|
|
6496
6441
|
var extras = false;
|
|
6497
|
-
|
|
6498
|
-
if (as) {
|
|
6442
|
+
if (this[ALLOW_STALE]) {
|
|
6499
6443
|
str += "\n allowStale: true";
|
|
6500
6444
|
extras = true;
|
|
6501
6445
|
}
|
|
@@ -6546,8 +6490,7 @@ var require_lru_cache = __commonJS({ "node_modules/editorconfig/node_modules/lru
|
|
|
6546
6490
|
del(this, this[CACHE].get(key2));
|
|
6547
6491
|
return false;
|
|
6548
6492
|
}
|
|
6549
|
-
var
|
|
6550
|
-
var item = node.value;
|
|
6493
|
+
var item = this[CACHE].get(key2).value;
|
|
6551
6494
|
if (this[DISPOSE]) {
|
|
6552
6495
|
if (!this[NO_DISPOSE_ON_SET]) this[DISPOSE](key2, item.value);
|
|
6553
6496
|
}
|
|
@@ -6689,8 +6632,7 @@ var require_fnmatch = __commonJS({ "node_modules/editorconfig/src/lib/fnmatch.js
|
|
|
6689
6632
|
if (module) module.exports = minimatch;
|
|
6690
6633
|
else exports.minimatch = minimatch;
|
|
6691
6634
|
minimatch.Minimatch = Minimatch;
|
|
6692
|
-
var
|
|
6693
|
-
var cache3 = minimatch.cache = new LRU({ max: 100 });
|
|
6635
|
+
var cache3 = minimatch.cache = new (require_lru_cache())({ max: 100 });
|
|
6694
6636
|
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
|
|
6695
6637
|
var sigmund = require_sigmund();
|
|
6696
6638
|
var path14 = __require("path");
|
|
@@ -6837,8 +6779,7 @@ var require_fnmatch = __commonJS({ "node_modules/editorconfig/src/lib/fnmatch.js
|
|
|
6837
6779
|
}
|
|
6838
6780
|
}
|
|
6839
6781
|
if (prefix === null) return [pattern];
|
|
6840
|
-
|
|
6841
|
-
return tail.map(function(t) {
|
|
6782
|
+
return braceExpand(pattern.substr(i), options8).map(function(t) {
|
|
6842
6783
|
return prefix + t;
|
|
6843
6784
|
});
|
|
6844
6785
|
}
|
|
@@ -7102,8 +7043,7 @@ var require_fnmatch = __commonJS({ "node_modules/editorconfig/src/lib/fnmatch.js
|
|
|
7102
7043
|
var set = this.set;
|
|
7103
7044
|
for (var i = 0, l = set.length; i < l; i++) {
|
|
7104
7045
|
var pattern = set[i];
|
|
7105
|
-
|
|
7106
|
-
if (hit) {
|
|
7046
|
+
if (this.matchOne(f, pattern, partial)) {
|
|
7107
7047
|
if (options8.flipNegate) return true;
|
|
7108
7048
|
return !this.negate;
|
|
7109
7049
|
}
|
|
@@ -7170,10 +7110,7 @@ var require_fnmatch = __commonJS({ "node_modules/editorconfig/src/lib/fnmatch.js
|
|
|
7170
7110
|
}
|
|
7171
7111
|
if (fi === fl && pi === pl) return true;
|
|
7172
7112
|
else if (fi === fl) return partial;
|
|
7173
|
-
else if (pi === pl)
|
|
7174
|
-
var emptyFileEnd = fi === fl - 1 && file[fi] === "";
|
|
7175
|
-
return emptyFileEnd;
|
|
7176
|
-
}
|
|
7113
|
+
else if (pi === pl) return fi === fl - 1 && file[fi] === "";
|
|
7177
7114
|
throw new Error("wtf?");
|
|
7178
7115
|
};
|
|
7179
7116
|
function globUnescape(s) {
|
|
@@ -7332,8 +7269,7 @@ var require_ini = __commonJS({ "node_modules/editorconfig/src/lib/ini.js"(export
|
|
|
7332
7269
|
var sectionBody = {};
|
|
7333
7270
|
var sectionName = null;
|
|
7334
7271
|
var value = [[sectionName, sectionBody]];
|
|
7335
|
-
|
|
7336
|
-
lines.forEach(function(line3) {
|
|
7272
|
+
data.split(/\r\n|\r|\n/).forEach(function(line3) {
|
|
7337
7273
|
var match;
|
|
7338
7274
|
if (regex.comment.test(line3)) return;
|
|
7339
7275
|
if (regex.param.test(line3)) {
|
|
@@ -8933,10 +8869,7 @@ var require_lib2 = __commonJS({ "node_modules/@babel/code-frame/lib/index.js"(ex
|
|
|
8933
8869
|
const sourceLength = source2[lineNumber - 1].length;
|
|
8934
8870
|
markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];
|
|
8935
8871
|
} else if (i === lineDiff2) markerLines[lineNumber] = [0, endColumn];
|
|
8936
|
-
else
|
|
8937
|
-
const sourceLength = source2[lineNumber - i].length;
|
|
8938
|
-
markerLines[lineNumber] = [0, sourceLength];
|
|
8939
|
-
}
|
|
8872
|
+
else markerLines[lineNumber] = [0, source2[lineNumber - i].length];
|
|
8940
8873
|
}
|
|
8941
8874
|
else if (startColumn === endColumn) if (startColumn) markerLines[startLine] = [startColumn, 0];
|
|
8942
8875
|
else markerLines[startLine] = true;
|
|
@@ -8954,11 +8887,9 @@ var require_lib2 = __commonJS({ "node_modules/@babel/code-frame/lib/index.js"(ex
|
|
|
8954
8887
|
const { start, end, markerLines } = getMarkerLines(loc, lines, opts);
|
|
8955
8888
|
const hasColumns = loc.start && typeof loc.start.column === "number";
|
|
8956
8889
|
const numberMaxWidth = String(end).length;
|
|
8957
|
-
|
|
8958
|
-
let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line3, index2) => {
|
|
8890
|
+
let frame = (shouldHighlight ? highlight(rawLines) : rawLines).split(NEWLINE, end).slice(start, end).map((line3, index2) => {
|
|
8959
8891
|
const number = start + 1 + index2;
|
|
8960
|
-
const
|
|
8961
|
-
const gutter = ` ${paddedNumber} |`;
|
|
8892
|
+
const gutter = ` ${` ${number}`.slice(-numberMaxWidth)} |`;
|
|
8962
8893
|
const hasMarker = markerLines[number];
|
|
8963
8894
|
const lastMarkerLine = !markerLines[number + 1];
|
|
8964
8895
|
if (hasMarker) {
|
|
@@ -9000,11 +8931,10 @@ ${frame}`;
|
|
|
9000
8931
|
}
|
|
9001
8932
|
}
|
|
9002
8933
|
colNumber = Math.max(colNumber, 0);
|
|
9003
|
-
|
|
8934
|
+
return codeFrameColumns3(rawLines, { start: {
|
|
9004
8935
|
column: colNumber,
|
|
9005
8936
|
line: lineNumber
|
|
9006
|
-
} };
|
|
9007
|
-
return codeFrameColumns3(rawLines, location, opts);
|
|
8937
|
+
} }, opts);
|
|
9008
8938
|
}
|
|
9009
8939
|
exports.codeFrameColumns = codeFrameColumns3;
|
|
9010
8940
|
exports.default = index;
|
|
@@ -9026,12 +8956,9 @@ var require_readlines = __commonJS({ "node_modules/n-readlines/readlines.js"(exp
|
|
|
9026
8956
|
}
|
|
9027
8957
|
_searchInBuffer(buffer2, hexNeedle) {
|
|
9028
8958
|
let found = -1;
|
|
9029
|
-
for (let i = 0; i <= buffer2.length; i++) {
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
found = i;
|
|
9033
|
-
break;
|
|
9034
|
-
}
|
|
8959
|
+
for (let i = 0; i <= buffer2.length; i++) if (buffer2[i] === hexNeedle) {
|
|
8960
|
+
found = i;
|
|
8961
|
+
break;
|
|
9035
8962
|
}
|
|
9036
8963
|
return found;
|
|
9037
8964
|
}
|
|
@@ -9091,8 +9018,7 @@ var require_readlines = __commonJS({ "node_modules/n-readlines/readlines.js"(exp
|
|
|
9091
9018
|
if (!this.linesCache.length) bytesRead = this._readChunk();
|
|
9092
9019
|
if (this.linesCache.length) {
|
|
9093
9020
|
line3 = this.linesCache.shift();
|
|
9094
|
-
|
|
9095
|
-
if (lastLineCharacter !== this.newLineCharacter) {
|
|
9021
|
+
if (line3[line3.length - 1] !== this.newLineCharacter) {
|
|
9096
9022
|
bytesRead = this._readChunk(line3);
|
|
9097
9023
|
if (bytesRead) line3 = this.linesCache.shift();
|
|
9098
9024
|
}
|
|
@@ -9165,12 +9091,10 @@ var require_ignore = __commonJS({ "node_modules/ignore/index.js"(exports, module
|
|
|
9165
9091
|
var UNDERSCORE = "_";
|
|
9166
9092
|
var TRAILING_WILD_CARD_REPLACERS = {
|
|
9167
9093
|
[MODE_IGNORE](_, p1) {
|
|
9168
|
-
|
|
9169
|
-
return `${prefix}(?=$|\\/$)`;
|
|
9094
|
+
return `${p1 ? `${p1}[^/]+` : "[^/]*"}(?=$|\\/$)`;
|
|
9170
9095
|
},
|
|
9171
9096
|
[MODE_CHECK_IGNORE](_, p1) {
|
|
9172
|
-
|
|
9173
|
-
return `${prefix}(?=$|\\/$)`;
|
|
9097
|
+
return `${p1 ? `${p1}[^/]*` : "[^/]*"}(?=$|\\/$)`;
|
|
9174
9098
|
}
|
|
9175
9099
|
};
|
|
9176
9100
|
var makeRegexPrefix = (pattern) => REPLACERS.reduce((prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)), pattern);
|
|
@@ -9243,8 +9167,7 @@ var require_ignore = __commonJS({ "node_modules/ignore/index.js"(exports, module
|
|
|
9243
9167
|
this._rules.forEach((rule) => {
|
|
9244
9168
|
const { negative } = rule;
|
|
9245
9169
|
if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) return;
|
|
9246
|
-
|
|
9247
|
-
if (!matched) return;
|
|
9170
|
+
if (!rule[mode].test(path14)) return;
|
|
9248
9171
|
ignored = !negative;
|
|
9249
9172
|
unignored = negative;
|
|
9250
9173
|
matchedRule = negative ? UNDEFINED : rule;
|
|
@@ -9263,10 +9186,7 @@ var require_ignore = __commonJS({ "node_modules/ignore/index.js"(exports, module
|
|
|
9263
9186
|
var checkPath = (path14, originalPath, doThrow) => {
|
|
9264
9187
|
if (!isString(path14)) return doThrow(`path must be a string, but got \`${originalPath}\``, TypeError);
|
|
9265
9188
|
if (!path14) return doThrow(`path must not be empty`, TypeError);
|
|
9266
|
-
if (checkPath.isNotRelative(path14)) {
|
|
9267
|
-
const r = "`path.relative()`d";
|
|
9268
|
-
return doThrow(`path should be a ${r} string, but got "${originalPath}"`, RangeError);
|
|
9269
|
-
}
|
|
9189
|
+
if (checkPath.isNotRelative(path14)) return doThrow(`path should be a \`path.relative()\`d string, but got "${originalPath}"`, RangeError);
|
|
9270
9190
|
return true;
|
|
9271
9191
|
};
|
|
9272
9192
|
var isNotRelative = (path14) => REGEX_TEST_INVALID_PATH.test(path14);
|
|
@@ -9377,7 +9297,7 @@ var Diff = class {
|
|
|
9377
9297
|
setTimeout(function() {
|
|
9378
9298
|
callback(value);
|
|
9379
9299
|
}, 0);
|
|
9380
|
-
return
|
|
9300
|
+
return;
|
|
9381
9301
|
} else return value;
|
|
9382
9302
|
};
|
|
9383
9303
|
const newLen = newTokens.length, oldLen = oldTokens.length;
|
|
@@ -9820,9 +9740,7 @@ var Schema = class {
|
|
|
9820
9740
|
constructor(parameters) {
|
|
9821
9741
|
this.name = parameters.name;
|
|
9822
9742
|
}
|
|
9823
|
-
default(_utils) {
|
|
9824
|
-
return void 0;
|
|
9825
|
-
}
|
|
9743
|
+
default(_utils) {}
|
|
9826
9744
|
/* c8 ignore start */
|
|
9827
9745
|
expected(_utils) {
|
|
9828
9746
|
return "nothing";
|
|
@@ -9836,12 +9754,8 @@ var Schema = class {
|
|
|
9836
9754
|
deprecated(_value, _utils) {
|
|
9837
9755
|
return false;
|
|
9838
9756
|
}
|
|
9839
|
-
forward(_value, _utils) {
|
|
9840
|
-
|
|
9841
|
-
}
|
|
9842
|
-
redirect(_value, _utils) {
|
|
9843
|
-
return void 0;
|
|
9844
|
-
}
|
|
9757
|
+
forward(_value, _utils) {}
|
|
9758
|
+
redirect(_value, _utils) {}
|
|
9845
9759
|
overlap(currentValue, _newValue, _utils) {
|
|
9846
9760
|
return currentValue;
|
|
9847
9761
|
}
|
|
@@ -10069,9 +9983,8 @@ var ChoiceSchema = class extends Schema {
|
|
|
10069
9983
|
const choiceDescriptions = Array.from(this._choices.keys()).map((value) => this._choices.get(value)).filter(({ hidden }) => !hidden).map((choiceInfo) => choiceInfo.value).sort(comparePrimitive).map(descriptor.value);
|
|
10070
9984
|
const head = choiceDescriptions.slice(0, -2);
|
|
10071
9985
|
const tail = choiceDescriptions.slice(-2);
|
|
10072
|
-
const message = head.concat(tail.join(" or ")).join(", ");
|
|
10073
9986
|
return {
|
|
10074
|
-
text:
|
|
9987
|
+
text: head.concat(tail.join(" or ")).join(", "),
|
|
10075
9988
|
list: {
|
|
10076
9989
|
title: "one of the following values",
|
|
10077
9990
|
values: choiceDescriptions
|
|
@@ -10151,8 +10064,7 @@ var Normalizer = class {
|
|
|
10151
10064
|
}
|
|
10152
10065
|
normalize(options8) {
|
|
10153
10066
|
const newOptions = {};
|
|
10154
|
-
const
|
|
10155
|
-
const restOptionsArray = [preprocessed];
|
|
10067
|
+
const restOptionsArray = [this._preprocess(options8, this._utils)];
|
|
10156
10068
|
const applyNormalization = () => {
|
|
10157
10069
|
while (restOptionsArray.length !== 0) {
|
|
10158
10070
|
const currentOptions = restOptionsArray.shift();
|
|
@@ -10211,8 +10123,7 @@ var Normalizer = class {
|
|
|
10211
10123
|
}
|
|
10212
10124
|
}
|
|
10213
10125
|
};
|
|
10214
|
-
|
|
10215
|
-
forwardResult.forEach(appendTransferredOptions);
|
|
10126
|
+
normalizeForwardResult(schema.forward(value, this._utils), value).forEach(appendTransferredOptions);
|
|
10216
10127
|
const redirectResult = normalizeRedirectResult(schema.redirect(value, this._utils), value);
|
|
10217
10128
|
redirectResult.redirect.forEach(appendTransferredOptions);
|
|
10218
10129
|
if ("remain" in redirectResult) {
|
|
@@ -10496,21 +10407,17 @@ async function loadEditorconfigInternal(file, { shouldCache }) {
|
|
|
10496
10407
|
const directory = path10.dirname(file);
|
|
10497
10408
|
const root2 = await findProjectRoot(directory, { shouldCache });
|
|
10498
10409
|
const editorConfig = await import_editorconfig.default.parse(file, { root: root2 });
|
|
10499
|
-
|
|
10500
|
-
return config;
|
|
10410
|
+
return editorconfig_to_prettier_default(editorConfig);
|
|
10501
10411
|
}
|
|
10502
10412
|
function loadEditorconfig(file, { shouldCache }) {
|
|
10503
10413
|
file = path10.resolve(file);
|
|
10504
10414
|
if (!shouldCache || !editorconfigCache.has(file)) editorconfigCache.set(file, loadEditorconfigInternal(file, { shouldCache }));
|
|
10505
10415
|
return editorconfigCache.get(file);
|
|
10506
10416
|
}
|
|
10507
|
-
var Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
|
10508
|
-
var ID_Start = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0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\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;
|
|
10509
|
-
var ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u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0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71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-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/;
|
|
10510
10417
|
var unicode = {
|
|
10511
|
-
Space_Separator
|
|
10512
|
-
ID_Start
|
|
10513
|
-
ID_Continue
|
|
10418
|
+
Space_Separator: /[\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
10419
|
+
ID_Start: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9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D80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-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|
|
10420
|
+
ID_Continue: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B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F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\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C0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00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DE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/
|
|
10514
10421
|
};
|
|
10515
10422
|
var util = {
|
|
10516
10423
|
isSpaceSeparator(c2) {
|
|
@@ -11050,14 +10957,12 @@ function newToken(type, value) {
|
|
|
11050
10957
|
}
|
|
11051
10958
|
function literal(s) {
|
|
11052
10959
|
for (const c2 of s) {
|
|
11053
|
-
|
|
11054
|
-
if (p !== c2) throw invalidChar(read());
|
|
10960
|
+
if (peek() !== c2) throw invalidChar(read());
|
|
11055
10961
|
read();
|
|
11056
10962
|
}
|
|
11057
10963
|
}
|
|
11058
10964
|
function escape() {
|
|
11059
|
-
|
|
11060
|
-
switch (c2) {
|
|
10965
|
+
switch (peek()) {
|
|
11061
10966
|
case "b":
|
|
11062
10967
|
read();
|
|
11063
10968
|
return "\b";
|
|
@@ -11529,8 +11434,7 @@ var _TomlDate = class _TomlDate$1 extends Date {
|
|
|
11529
11434
|
if (__privateGet(this, _offset) === "Z") return iso;
|
|
11530
11435
|
let offset = +__privateGet(this, _offset).slice(1, 3) * 60 + +__privateGet(this, _offset).slice(4, 6);
|
|
11531
11436
|
offset = __privateGet(this, _offset)[0] === "-" ? offset : -offset;
|
|
11532
|
-
|
|
11533
|
-
return offsetDate.toISOString().slice(0, -1) + __privateGet(this, _offset);
|
|
11437
|
+
return (/* @__PURE__ */ new Date(this.getTime() - offset * 6e4)).toISOString().slice(0, -1) + __privateGet(this, _offset);
|
|
11534
11438
|
}
|
|
11535
11439
|
static wrapAsOffsetDateTime(jsDate, offset = "Z") {
|
|
11536
11440
|
let date = new _TomlDate$1(jsDate);
|
|
@@ -11984,8 +11888,7 @@ ${error.message}`;
|
|
|
11984
11888
|
}
|
|
11985
11889
|
}
|
|
11986
11890
|
async function importModuleDefault(file) {
|
|
11987
|
-
|
|
11988
|
-
return module.default;
|
|
11891
|
+
return (await import(pathToFileURL(file).href)).default;
|
|
11989
11892
|
}
|
|
11990
11893
|
async function readBunPackageJson(file) {
|
|
11991
11894
|
try {
|
|
@@ -12011,7 +11914,7 @@ async function loadConfigFromPackageYaml(file) {
|
|
|
12011
11914
|
var parseYaml;
|
|
12012
11915
|
async function loadYaml(file) {
|
|
12013
11916
|
const content = await read_file_default(file);
|
|
12014
|
-
if (!parseYaml) ({__parsePrettierYamlConfig: parseYaml} = await import("./yaml-
|
|
11917
|
+
if (!parseYaml) ({__parsePrettierYamlConfig: parseYaml} = await import("./yaml-Bi_nSoU_.js"));
|
|
12015
11918
|
try {
|
|
12016
11919
|
return parseYaml(content);
|
|
12017
11920
|
} catch (error) {
|
|
@@ -12040,7 +11943,7 @@ ${error.message}`;
|
|
|
12040
11943
|
throw error;
|
|
12041
11944
|
}
|
|
12042
11945
|
}
|
|
12043
|
-
var
|
|
11946
|
+
var loaders_default = {
|
|
12044
11947
|
".toml": loadToml,
|
|
12045
11948
|
".json5": loadJson5,
|
|
12046
11949
|
".json": readJson,
|
|
@@ -12054,7 +11957,6 @@ var loaders = {
|
|
|
12054
11957
|
".yml": loadYaml,
|
|
12055
11958
|
"": loadYaml
|
|
12056
11959
|
};
|
|
12057
|
-
var loaders_default = loaders;
|
|
12058
11960
|
var CONFIG_FILE_NAMES = [
|
|
12059
11961
|
"package.json",
|
|
12060
11962
|
"package.yaml",
|
|
@@ -12274,8 +12176,7 @@ codes.ERR_INVALID_ARG_VALUE = createError(
|
|
|
12274
12176
|
(name, value, reason = "is invalid") => {
|
|
12275
12177
|
let inspected = inspect(value);
|
|
12276
12178
|
if (inspected.length > 128) inspected = `${inspected.slice(0, 128)}...`;
|
|
12277
|
-
|
|
12278
|
-
return `The ${type} '${name}' ${reason}. Received ${inspected}`;
|
|
12179
|
+
return `The ${name.includes(".") ? "property" : "argument"} '${name}' ${reason}. Received ${inspected}`;
|
|
12279
12180
|
},
|
|
12280
12181
|
TypeError
|
|
12281
12182
|
);
|
|
@@ -12412,17 +12313,15 @@ function read2(jsonPath, { base, specifier }) {
|
|
|
12412
12313
|
function getPackageScopeConfig(resolved) {
|
|
12413
12314
|
let packageJSONUrl = new URL("package.json", resolved);
|
|
12414
12315
|
while (true) {
|
|
12415
|
-
|
|
12416
|
-
if (packageJSONPath2.endsWith("node_modules/package.json")) break;
|
|
12316
|
+
if (packageJSONUrl.pathname.endsWith("node_modules/package.json")) break;
|
|
12417
12317
|
const packageConfig = read2(fileURLToPath(packageJSONUrl), { specifier: resolved });
|
|
12418
12318
|
if (packageConfig.exists) return packageConfig;
|
|
12419
12319
|
const lastPackageJSONUrl = packageJSONUrl;
|
|
12420
12320
|
packageJSONUrl = new URL("../package.json", packageJSONUrl);
|
|
12421
12321
|
if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) break;
|
|
12422
12322
|
}
|
|
12423
|
-
const packageJSONPath = fileURLToPath(packageJSONUrl);
|
|
12424
12323
|
return {
|
|
12425
|
-
pjsonPath:
|
|
12324
|
+
pjsonPath: fileURLToPath(packageJSONUrl),
|
|
12426
12325
|
exists: false,
|
|
12427
12326
|
type: "none"
|
|
12428
12327
|
};
|
|
@@ -12486,7 +12385,7 @@ function getFileProtocolModuleFormat(url3, _context, ignoreErrors) {
|
|
|
12486
12385
|
}
|
|
12487
12386
|
const format3 = extensionFormatMap[value];
|
|
12488
12387
|
if (format3) return format3;
|
|
12489
|
-
if (ignoreErrors) return
|
|
12388
|
+
if (ignoreErrors) return;
|
|
12490
12389
|
const filepath = fileURLToPath(url3);
|
|
12491
12390
|
throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath);
|
|
12492
12391
|
}
|
|
@@ -12530,8 +12429,7 @@ function emitInvalidSegmentDeprecation(target, request, match, packageJsonUrl, i
|
|
|
12530
12429
|
}
|
|
12531
12430
|
function emitLegacyIndexDeprecation(url3, packageJsonUrl, base, main) {
|
|
12532
12431
|
if (process2.noDeprecation) return;
|
|
12533
|
-
|
|
12534
|
-
if (format3 !== "module") return;
|
|
12432
|
+
if (defaultGetFormatWithoutErrors(url3, { parentURL: base.href }) !== "module") return;
|
|
12535
12433
|
const urlPath = fileURLToPath(url3.href);
|
|
12536
12434
|
const packagePath = fileURLToPath(new URL$1(".", packageJsonUrl));
|
|
12537
12435
|
const basePath = fileURLToPath(base);
|
|
@@ -12800,10 +12698,7 @@ function patternKeyCompare(a, b) {
|
|
|
12800
12698
|
return 0;
|
|
12801
12699
|
}
|
|
12802
12700
|
function packageImportsResolve(name, base, conditions) {
|
|
12803
|
-
if (name === "#" || name.startsWith("#/") || name.endsWith("/"))
|
|
12804
|
-
const reason = "is not a valid internal imports specifier name";
|
|
12805
|
-
throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, fileURLToPath(base));
|
|
12806
|
-
}
|
|
12701
|
+
if (name === "#" || name.startsWith("#/") || name.endsWith("/")) throw new ERR_INVALID_MODULE_SPECIFIER(name, "is not a valid internal imports specifier name", fileURLToPath(base));
|
|
12807
12702
|
let packageJsonUrl;
|
|
12808
12703
|
const packageConfig = getPackageScopeConfig(base);
|
|
12809
12704
|
if (packageConfig.exists) {
|
|
@@ -12899,8 +12794,7 @@ function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
|
|
|
12899
12794
|
}
|
|
12900
12795
|
function moduleResolve(specifier, base, conditions, preserveSymlinks) {
|
|
12901
12796
|
const protocol = base.protocol;
|
|
12902
|
-
const
|
|
12903
|
-
const isRemote = isData || protocol === "http:" || protocol === "https:";
|
|
12797
|
+
const isRemote = protocol === "data:" || protocol === "http:" || protocol === "https:";
|
|
12904
12798
|
let resolved;
|
|
12905
12799
|
if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) try {
|
|
12906
12800
|
resolved = new URL$1(specifier, base);
|
|
@@ -12986,13 +12880,11 @@ function resolve2(specifier, parent) {
|
|
|
12986
12880
|
}
|
|
12987
12881
|
}
|
|
12988
12882
|
function importFromFile(specifier, parent) {
|
|
12989
|
-
|
|
12990
|
-
return import(url3);
|
|
12883
|
+
return import(resolve2(specifier, pathToFileURL(parent).href));
|
|
12991
12884
|
}
|
|
12992
12885
|
var import_from_file_default = importFromFile;
|
|
12993
12886
|
function requireFromFile(id, parent) {
|
|
12994
|
-
|
|
12995
|
-
return require2(id);
|
|
12887
|
+
return createRequire(parent)(id);
|
|
12996
12888
|
}
|
|
12997
12889
|
var require_from_file_default = requireFromFile;
|
|
12998
12890
|
var requireErrorCodesShouldBeIgnored = /* @__PURE__ */ new Set([
|
|
@@ -13009,8 +12901,7 @@ async function loadExternalConfig(externalConfig, configFile) {
|
|
|
13009
12901
|
} catch (error) {
|
|
13010
12902
|
if (!requireErrorCodesShouldBeIgnored.has(error == null ? void 0 : error.code)) throw error;
|
|
13011
12903
|
}
|
|
13012
|
-
|
|
13013
|
-
return module.default;
|
|
12904
|
+
return (await import_from_file_default(externalConfig, configFile)).default;
|
|
13014
12905
|
}
|
|
13015
12906
|
var load_external_config_default = loadExternalConfig;
|
|
13016
12907
|
async function loadConfig(configFile) {
|
|
@@ -13048,8 +12939,7 @@ function getSearchFunction(stopDirectory) {
|
|
|
13048
12939
|
function searchPrettierConfig(startDirectory, options8 = {}) {
|
|
13049
12940
|
startDirectory = startDirectory ? path10.resolve(startDirectory) : process.cwd();
|
|
13050
12941
|
const stopDirectory = mockable_default.getPrettierConfigSearchStopDirectory();
|
|
13051
|
-
|
|
13052
|
-
return search(startDirectory, { cache: options8.shouldCache });
|
|
12942
|
+
return getSearchFunction(stopDirectory)(startDirectory, { cache: options8.shouldCache });
|
|
13053
12943
|
}
|
|
13054
12944
|
function clearCache() {
|
|
13055
12945
|
clearPrettierConfigCache();
|
|
@@ -13069,9 +12959,8 @@ async function loadPrettierConfig2(file, options8) {
|
|
|
13069
12959
|
}
|
|
13070
12960
|
if (!configFile) return;
|
|
13071
12961
|
configFile = toPath(configFile);
|
|
13072
|
-
const config = await loadPrettierConfig(configFile, { shouldCache });
|
|
13073
12962
|
return {
|
|
13074
|
-
config,
|
|
12963
|
+
config: await loadPrettierConfig(configFile, { shouldCache }),
|
|
13075
12964
|
configFile
|
|
13076
12965
|
};
|
|
13077
12966
|
}
|
|
@@ -13092,8 +12981,7 @@ async function resolveConfig(fileUrlOrPath, options8) {
|
|
|
13092
12981
|
}
|
|
13093
12982
|
async function resolveConfigFile(fileUrlOrPath) {
|
|
13094
12983
|
const directory = fileUrlOrPath ? path10.dirname(path10.resolve(toPath(fileUrlOrPath))) : void 0;
|
|
13095
|
-
|
|
13096
|
-
return result ?? null;
|
|
12984
|
+
return await searchPrettierConfig(directory, { shouldCache: false }) ?? null;
|
|
13097
12985
|
}
|
|
13098
12986
|
function mergeOverrides(configResult, filePath) {
|
|
13099
12987
|
const { config, configFile } = configResult || {};
|
|
@@ -13105,8 +12993,7 @@ function mergeOverrides(configResult, filePath) {
|
|
|
13105
12993
|
return options8;
|
|
13106
12994
|
}
|
|
13107
12995
|
function pathMatchesGlobs(filePath, patterns, excludedPatterns) {
|
|
13108
|
-
const
|
|
13109
|
-
const [withSlashes, withoutSlashes] = partition_default(patternList, (pattern) => pattern.includes("/"));
|
|
12996
|
+
const [withSlashes, withoutSlashes] = partition_default(Array.isArray(patterns) ? patterns : [patterns], (pattern) => pattern.includes("/"));
|
|
13110
12997
|
return import_micromatch.default.isMatch(filePath, withoutSlashes, {
|
|
13111
12998
|
ignore: excludedPatterns,
|
|
13112
12999
|
basename: true,
|
|
@@ -13342,8 +13229,7 @@ function propagateBreaks(doc2) {
|
|
|
13342
13229
|
}
|
|
13343
13230
|
function propagateBreaksOnExitFn(doc3) {
|
|
13344
13231
|
if (doc3.type === DOC_TYPE_GROUP) {
|
|
13345
|
-
|
|
13346
|
-
if (group$1.break) breakParentGroup(groupStack);
|
|
13232
|
+
if (groupStack.pop().break) breakParentGroup(groupStack);
|
|
13347
13233
|
}
|
|
13348
13234
|
}
|
|
13349
13235
|
traverse_doc_default(doc2, propagateBreaksOnEnterFn, propagateBreaksOnExitFn, true);
|
|
@@ -13537,10 +13423,7 @@ function printDocToDebug(doc2) {
|
|
|
13537
13423
|
if (doc3.soft) return "softline";
|
|
13538
13424
|
return "line";
|
|
13539
13425
|
}
|
|
13540
|
-
if (doc3.type === DOC_TYPE_BREAK_PARENT)
|
|
13541
|
-
const afterHardline = ((_b = parentParts == null ? void 0 : parentParts[index - 1]) == null ? void 0 : _b.type) === DOC_TYPE_LINE && parentParts[index - 1].hard;
|
|
13542
|
-
return afterHardline ? void 0 : "breakParent";
|
|
13543
|
-
}
|
|
13426
|
+
if (doc3.type === DOC_TYPE_BREAK_PARENT) return ((_b = parentParts == null ? void 0 : parentParts[index - 1]) == null ? void 0 : _b.type) === DOC_TYPE_LINE && parentParts[index - 1].hard ? void 0 : "breakParent";
|
|
13544
13427
|
if (doc3.type === DOC_TYPE_TRIM) return "trim";
|
|
13545
13428
|
if (doc3.type === DOC_TYPE_INDENT) return "indent(" + printDoc(doc3.contents) + ")";
|
|
13546
13429
|
if (doc3.type === DOC_TYPE_ALIGN) return doc3.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + printDoc(doc3.contents) + ")" : doc3.n < 0 ? "dedent(" + printDoc(doc3.contents) + ")" : doc3.n.type === "root" ? "markAsRoot(" + printDoc(doc3.contents) + ")" : "align(" + JSON.stringify(doc3.n) + ", " + printDoc(doc3.contents) + ")";
|
|
@@ -13627,9 +13510,8 @@ function makeAlign(indent2, widthOrDoc, options8) {
|
|
|
13627
13510
|
...indent2,
|
|
13628
13511
|
root: indent2
|
|
13629
13512
|
};
|
|
13630
|
-
const alignType = typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign";
|
|
13631
13513
|
return generateInd(indent2, {
|
|
13632
|
-
type:
|
|
13514
|
+
type: typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign",
|
|
13633
13515
|
n: widthOrDoc
|
|
13634
13516
|
}, options8);
|
|
13635
13517
|
}
|
|
@@ -13764,8 +13646,7 @@ function fits(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFlat
|
|
|
13764
13646
|
break;
|
|
13765
13647
|
}
|
|
13766
13648
|
case DOC_TYPE_IF_BREAK: {
|
|
13767
|
-
const
|
|
13768
|
-
const contents = groupMode === MODE_BREAK ? doc2.breakContents : doc2.flatContents;
|
|
13649
|
+
const contents = (doc2.groupId ? groupModeMap[doc2.groupId] || MODE_FLAT : mode) === MODE_BREAK ? doc2.breakContents : doc2.flatContents;
|
|
13769
13650
|
if (contents) cmds.push({
|
|
13770
13651
|
mode,
|
|
13771
13652
|
doc: contents
|
|
@@ -13948,7 +13829,7 @@ function printDocToString(doc2, options8) {
|
|
|
13948
13829
|
[DOC_FILL_PRINTED_LENGTH]: offset + 2
|
|
13949
13830
|
}
|
|
13950
13831
|
};
|
|
13951
|
-
|
|
13832
|
+
if (fits({
|
|
13952
13833
|
ind,
|
|
13953
13834
|
mode: MODE_FLAT,
|
|
13954
13835
|
doc: [
|
|
@@ -13956,9 +13837,7 @@ function printDocToString(doc2, options8) {
|
|
|
13956
13837
|
whitespace,
|
|
13957
13838
|
secondContent
|
|
13958
13839
|
]
|
|
13959
|
-
};
|
|
13960
|
-
const firstAndSecondContentFits = fits(firstAndSecondContentFlatCmd, [], rem, lineSuffix2.length > 0, groupModeMap, true);
|
|
13961
|
-
if (firstAndSecondContentFits) cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd);
|
|
13840
|
+
}, [], rem, lineSuffix2.length > 0, groupModeMap, true)) cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd);
|
|
13962
13841
|
else if (contentFits) cmds.push(remainingCmd, whitespaceBreakCmd, contentFlatCmd);
|
|
13963
13842
|
else cmds.push(remainingCmd, whitespaceBreakCmd, contentBreakCmd);
|
|
13964
13843
|
break;
|
|
@@ -14360,8 +14239,7 @@ function describeNodeForDebugging(node) {
|
|
|
14360
14239
|
return nodeType + (nodeName ? " " + nodeName : "");
|
|
14361
14240
|
}
|
|
14362
14241
|
function addCommentHelper(node, comment) {
|
|
14363
|
-
|
|
14364
|
-
comments.push(comment);
|
|
14242
|
+
(node.comments ?? (node.comments = [])).push(comment);
|
|
14365
14243
|
comment.printed = false;
|
|
14366
14244
|
comment.nodeDescription = describeNodeForDebugging(node);
|
|
14367
14245
|
}
|
|
@@ -14479,8 +14357,7 @@ function attachComments(ast, options8) {
|
|
|
14479
14357
|
if (handleRemainingComment(...args)) {} else if (precedingNode && followingNode) {
|
|
14480
14358
|
const tieCount = tiesToBreak.length;
|
|
14481
14359
|
if (tieCount > 0) {
|
|
14482
|
-
|
|
14483
|
-
if (lastTie.followingNode !== followingNode) breakTies(tiesToBreak, options9);
|
|
14360
|
+
if (tiesToBreak[tieCount - 1].followingNode !== followingNode) breakTies(tiesToBreak, options9);
|
|
14484
14361
|
}
|
|
14485
14362
|
tiesToBreak.push(context);
|
|
14486
14363
|
} else if (precedingNode) addTrailingComment(precedingNode, comment);
|
|
@@ -14563,8 +14440,7 @@ function printLeadingComment(path14, options8) {
|
|
|
14563
14440
|
const comment = path14.node;
|
|
14564
14441
|
const parts = [printComment(path14, options8)];
|
|
14565
14442
|
const { printer: printer$1, originalText, locStart, locEnd } = options8;
|
|
14566
|
-
|
|
14567
|
-
if (isBlock) {
|
|
14443
|
+
if ((_a = printer$1.isBlockComment) == null ? void 0 : _a.call(printer$1, comment)) {
|
|
14568
14444
|
const lineBreak = has_newline_default(originalText, locEnd(comment)) ? has_newline_default(originalText, locStart(comment), { backwards: true }) ? hardline : line2 : " ";
|
|
14569
14445
|
parts.push(lineBreak);
|
|
14570
14446
|
} else parts.push(hardline);
|
|
@@ -14605,8 +14481,7 @@ function printCommentsSeparately(path14, options8) {
|
|
|
14605
14481
|
const value = path14.node;
|
|
14606
14482
|
if (!value) return {};
|
|
14607
14483
|
const ignored = options8[Symbol.for("printedComments")];
|
|
14608
|
-
|
|
14609
|
-
if (comments.length === 0) return {
|
|
14484
|
+
if ((value.comments || []).filter((comment) => !ignored.has(comment)).length === 0) return {
|
|
14610
14485
|
leading: "",
|
|
14611
14486
|
trailing: ""
|
|
14612
14487
|
};
|
|
@@ -15170,8 +15045,7 @@ async function normalizeFormatOptions(options8, opts = {}) {
|
|
|
15170
15045
|
rawOptions.locEnd = parser.locEnd;
|
|
15171
15046
|
rawOptions.locStart = parser.locStart;
|
|
15172
15047
|
const printerPlugin = ((_a = parserPlugin.printers) == null ? void 0 : _a[parser.astFormat]) ? parserPlugin : getPrinterPluginByAstFormat(rawOptions.plugins, parser.astFormat);
|
|
15173
|
-
|
|
15174
|
-
rawOptions.printer = printer$1;
|
|
15048
|
+
rawOptions.printer = await initPrinter(printerPlugin, parser.astFormat);
|
|
15175
15049
|
const pluginDefaults = printerPlugin.defaultOptions ? Object.fromEntries(Object.entries(printerPlugin.defaultOptions).filter(([, value]) => value !== void 0)) : {};
|
|
15176
15050
|
const mixedDefaults = {
|
|
15177
15051
|
...defaults,
|
|
@@ -15895,8 +15769,7 @@ var common_options_evaluate_default = {
|
|
|
15895
15769
|
"description": "Enforce single attribute per line in HTML, Vue and JSX."
|
|
15896
15770
|
}
|
|
15897
15771
|
};
|
|
15898
|
-
var
|
|
15899
|
-
var options_default = options;
|
|
15772
|
+
var options_default = { singleQuote: common_options_evaluate_default.singleQuote };
|
|
15900
15773
|
var languages_evaluate_default2 = [{
|
|
15901
15774
|
"name": "GraphQL",
|
|
15902
15775
|
"type": "data",
|
|
@@ -15911,8 +15784,7 @@ var languages_evaluate_default2 = [{
|
|
|
15911
15784
|
"vscodeLanguageIds": ["graphql"],
|
|
15912
15785
|
"linguistLanguageId": 139
|
|
15913
15786
|
}];
|
|
15914
|
-
var
|
|
15915
|
-
var options_default2 = options2;
|
|
15787
|
+
var options_default2 = { bracketSpacing: common_options_evaluate_default.bracketSpacing };
|
|
15916
15788
|
var languages_evaluate_default3 = [{
|
|
15917
15789
|
"name": "Handlebars",
|
|
15918
15790
|
"type": "markup",
|
|
@@ -16000,7 +15872,7 @@ var languages_evaluate_default4 = [
|
|
|
16000
15872
|
}
|
|
16001
15873
|
];
|
|
16002
15874
|
var CATEGORY_HTML = "HTML";
|
|
16003
|
-
var
|
|
15875
|
+
var options_default3 = {
|
|
16004
15876
|
bracketSameLine: common_options_evaluate_default.bracketSameLine,
|
|
16005
15877
|
htmlWhitespaceSensitivity: {
|
|
16006
15878
|
category: CATEGORY_HTML,
|
|
@@ -16030,7 +15902,6 @@ var options3 = {
|
|
|
16030
15902
|
description: "Indent script and style tags in Vue files."
|
|
16031
15903
|
}
|
|
16032
15904
|
};
|
|
16033
|
-
var options_default3 = options3;
|
|
16034
15905
|
var languages_evaluate_default5 = [
|
|
16035
15906
|
{
|
|
16036
15907
|
"name": "JavaScript",
|
|
@@ -16187,7 +16058,7 @@ var languages_evaluate_default5 = [
|
|
|
16187
16058
|
}
|
|
16188
16059
|
];
|
|
16189
16060
|
var CATEGORY_JAVASCRIPT = "JavaScript";
|
|
16190
|
-
var
|
|
16061
|
+
var options_default4 = {
|
|
16191
16062
|
arrowParens: {
|
|
16192
16063
|
category: CATEGORY_JAVASCRIPT,
|
|
16193
16064
|
type: "choice",
|
|
@@ -16286,7 +16157,6 @@ var options4 = {
|
|
|
16286
16157
|
},
|
|
16287
16158
|
singleAttributePerLine: common_options_evaluate_default.singleAttributePerLine
|
|
16288
16159
|
};
|
|
16289
|
-
var options_default4 = options4;
|
|
16290
16160
|
var languages_evaluate_default6 = [
|
|
16291
16161
|
{
|
|
16292
16162
|
"name": "JSON.stringify",
|
|
@@ -16454,11 +16324,10 @@ var languages_evaluate_default7 = [{
|
|
|
16454
16324
|
"vscodeLanguageIds": ["mdx"],
|
|
16455
16325
|
"linguistLanguageId": 222
|
|
16456
16326
|
}];
|
|
16457
|
-
var
|
|
16327
|
+
var options_default5 = {
|
|
16458
16328
|
proseWrap: common_options_evaluate_default.proseWrap,
|
|
16459
16329
|
singleQuote: common_options_evaluate_default.singleQuote
|
|
16460
16330
|
};
|
|
16461
|
-
var options_default5 = options5;
|
|
16462
16331
|
var languages_evaluate_default8 = [{
|
|
16463
16332
|
"name": "YAML",
|
|
16464
16333
|
"type": "data",
|
|
@@ -16501,12 +16370,11 @@ var languages_evaluate_default8 = [{
|
|
|
16501
16370
|
],
|
|
16502
16371
|
"linguistLanguageId": 407
|
|
16503
16372
|
}];
|
|
16504
|
-
var
|
|
16373
|
+
var options_default6 = {
|
|
16505
16374
|
bracketSpacing: common_options_evaluate_default.bracketSpacing,
|
|
16506
16375
|
singleQuote: common_options_evaluate_default.singleQuote,
|
|
16507
16376
|
proseWrap: common_options_evaluate_default.proseWrap
|
|
16508
16377
|
};
|
|
16509
|
-
var options_default6 = options6;
|
|
16510
16378
|
function createParsersAndPrinters(modules) {
|
|
16511
16379
|
const parsers2 = /* @__PURE__ */ Object.create(null);
|
|
16512
16380
|
const printers2 = /* @__PURE__ */ Object.create(null);
|
|
@@ -16545,11 +16413,11 @@ var languages = [
|
|
|
16545
16413
|
];
|
|
16546
16414
|
var { parsers, printers } = createParsersAndPrinters([
|
|
16547
16415
|
{
|
|
16548
|
-
importPlugin: () => import("./acorn-
|
|
16416
|
+
importPlugin: () => import("./acorn-Z0oy0vSt.js"),
|
|
16549
16417
|
parsers: ["acorn", "espree"]
|
|
16550
16418
|
},
|
|
16551
16419
|
{
|
|
16552
|
-
importPlugin: () => import("./angular-
|
|
16420
|
+
importPlugin: () => import("./angular-BUlb_iaU.js"),
|
|
16553
16421
|
parsers: [
|
|
16554
16422
|
"__ng_action",
|
|
16555
16423
|
"__ng_binding",
|
|
@@ -16558,7 +16426,7 @@ var { parsers, printers } = createParsersAndPrinters([
|
|
|
16558
16426
|
]
|
|
16559
16427
|
},
|
|
16560
16428
|
{
|
|
16561
|
-
importPlugin: () => import("./babel-
|
|
16429
|
+
importPlugin: () => import("./babel-DfXTN9QX.js"),
|
|
16562
16430
|
parsers: [
|
|
16563
16431
|
"babel",
|
|
16564
16432
|
"babel-flow",
|
|
@@ -16577,25 +16445,25 @@ var { parsers, printers } = createParsersAndPrinters([
|
|
|
16577
16445
|
]
|
|
16578
16446
|
},
|
|
16579
16447
|
{
|
|
16580
|
-
importPlugin: () => import("./estree-
|
|
16448
|
+
importPlugin: () => import("./estree-Bt3vRtV3.js"),
|
|
16581
16449
|
printers: ["estree", "estree-json"]
|
|
16582
16450
|
},
|
|
16583
16451
|
{
|
|
16584
|
-
importPlugin: () => import("./flow-
|
|
16452
|
+
importPlugin: () => import("./flow-Bb8_yYns.js"),
|
|
16585
16453
|
parsers: ["flow"]
|
|
16586
16454
|
},
|
|
16587
16455
|
{
|
|
16588
|
-
importPlugin: () => import("./glimmer-
|
|
16456
|
+
importPlugin: () => import("./glimmer-By8WZPkK.js"),
|
|
16589
16457
|
parsers: ["glimmer"],
|
|
16590
16458
|
printers: ["glimmer"]
|
|
16591
16459
|
},
|
|
16592
16460
|
{
|
|
16593
|
-
importPlugin: () => import("./graphql-
|
|
16461
|
+
importPlugin: () => import("./graphql-DsrNefXx.js"),
|
|
16594
16462
|
parsers: ["graphql"],
|
|
16595
16463
|
printers: ["graphql"]
|
|
16596
16464
|
},
|
|
16597
16465
|
{
|
|
16598
|
-
importPlugin: () => import("./html-
|
|
16466
|
+
importPlugin: () => import("./html-Y5KDc150.js"),
|
|
16599
16467
|
parsers: [
|
|
16600
16468
|
"html",
|
|
16601
16469
|
"angular",
|
|
@@ -16606,7 +16474,7 @@ var { parsers, printers } = createParsersAndPrinters([
|
|
|
16606
16474
|
printers: ["html"]
|
|
16607
16475
|
},
|
|
16608
16476
|
{
|
|
16609
|
-
importPlugin: () => import("./markdown-
|
|
16477
|
+
importPlugin: () => import("./markdown-Drl4Cbq5.js"),
|
|
16610
16478
|
parsers: [
|
|
16611
16479
|
"markdown",
|
|
16612
16480
|
"mdx",
|
|
@@ -16615,11 +16483,11 @@ var { parsers, printers } = createParsersAndPrinters([
|
|
|
16615
16483
|
printers: ["mdast"]
|
|
16616
16484
|
},
|
|
16617
16485
|
{
|
|
16618
|
-
importPlugin: () => import("./meriyah-
|
|
16486
|
+
importPlugin: () => import("./meriyah-Cz9whwp-.js"),
|
|
16619
16487
|
parsers: ["meriyah"]
|
|
16620
16488
|
},
|
|
16621
16489
|
{
|
|
16622
|
-
importPlugin: () => import("./postcss-
|
|
16490
|
+
importPlugin: () => import("./postcss-Dfx_9buT.js"),
|
|
16623
16491
|
parsers: [
|
|
16624
16492
|
"css",
|
|
16625
16493
|
"less",
|
|
@@ -16628,11 +16496,11 @@ var { parsers, printers } = createParsersAndPrinters([
|
|
|
16628
16496
|
printers: ["postcss"]
|
|
16629
16497
|
},
|
|
16630
16498
|
{
|
|
16631
|
-
importPlugin: () => import("./typescript-
|
|
16499
|
+
importPlugin: () => import("./typescript-BY9-7pw9.js"),
|
|
16632
16500
|
parsers: ["typescript"]
|
|
16633
16501
|
},
|
|
16634
16502
|
{
|
|
16635
|
-
importPlugin: () => import("./yaml-
|
|
16503
|
+
importPlugin: () => import("./yaml-Bi_nSoU_.js"),
|
|
16636
16504
|
parsers: ["yaml"],
|
|
16637
16505
|
printers: ["yaml"]
|
|
16638
16506
|
}
|
|
@@ -16701,8 +16569,7 @@ async function createIsIgnoredFunction(ignoreFiles, withNodeModules) {
|
|
|
16701
16569
|
}
|
|
16702
16570
|
async function isIgnored(file, options8) {
|
|
16703
16571
|
const { ignorePath: ignoreFiles, withNodeModules } = options8;
|
|
16704
|
-
|
|
16705
|
-
return isIgnored2(file);
|
|
16572
|
+
return (await createIsIgnoredFunction(ignoreFiles, withNodeModules))(file);
|
|
16706
16573
|
}
|
|
16707
16574
|
function omit(object, keys) {
|
|
16708
16575
|
keys = new Set(keys);
|
|
@@ -16842,14 +16709,12 @@ function hasNewlineInRange(text, startIndex, endIndex) {
|
|
|
16842
16709
|
}
|
|
16843
16710
|
var has_newline_in_range_default = hasNewlineInRange;
|
|
16844
16711
|
function hasSpaces(text, startIndex, options8 = {}) {
|
|
16845
|
-
|
|
16846
|
-
return idx !== startIndex;
|
|
16712
|
+
return skipSpaces(text, options8.backwards ? startIndex - 1 : startIndex, options8) !== startIndex;
|
|
16847
16713
|
}
|
|
16848
16714
|
var has_spaces_default = hasSpaces;
|
|
16849
16715
|
function makeString(rawText, enclosingQuote, unescapeUnnecessaryEscapes) {
|
|
16850
16716
|
const otherQuote = enclosingQuote === "\"" ? "'" : "\"";
|
|
16851
|
-
const
|
|
16852
|
-
const raw = string_replace_all_default(false, rawText, regex, (match, escaped, quote) => {
|
|
16717
|
+
const raw = string_replace_all_default(false, rawText, /\\(.)|(["'])/gsu, (match, escaped, quote) => {
|
|
16853
16718
|
if (escaped === otherQuote) return escaped;
|
|
16854
16719
|
if (quote === enclosingQuote) return "\\" + quote;
|
|
16855
16720
|
if (quote) return quote;
|
|
@@ -16979,9 +16844,7 @@ const createMockedPluginManager = (name) => ({
|
|
|
16979
16844
|
on(_eventName, _args) {},
|
|
16980
16845
|
logLevel: 3
|
|
16981
16846
|
},
|
|
16982
|
-
getPluginByKey: (_pluginKey) => {
|
|
16983
|
-
return void 0;
|
|
16984
|
-
},
|
|
16847
|
+
getPluginByKey: (_pluginKey) => {},
|
|
16985
16848
|
getFile: ({ name: name$1, extname: extname$2, pluginKey }) => {
|
|
16986
16849
|
const baseName = `${name$1}${extname$2}`;
|
|
16987
16850
|
return {
|
|
@@ -16993,7 +16856,7 @@ const createMockedPluginManager = (name) => ({
|
|
|
16993
16856
|
});
|
|
16994
16857
|
const mockedPluginManager = createMockedPluginManager("");
|
|
16995
16858
|
async function matchFiles(files, pre) {
|
|
16996
|
-
if (!files) return
|
|
16859
|
+
if (!files) return;
|
|
16997
16860
|
for await (const file of files) {
|
|
16998
16861
|
const source$1 = await getSource(createFile(file), { logger: mockedLogger });
|
|
16999
16862
|
let code = source$1;
|