drizzle-kit 0.20.4-bf71f08 → 0.20.4-bfc36f4
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +1027 -984
- package/package.json +4 -4
- package/utils-studio.js +1268 -1267
- package/utils-studio.mjs +1317 -1316
- package/utils.js +1028 -982
package/bin.cjs
CHANGED
@@ -4474,14 +4474,14 @@ Is ${source_default.bold.blue(
|
|
4474
4474
|
this.requestLayout();
|
4475
4475
|
}
|
4476
4476
|
render() {
|
4477
|
-
let
|
4477
|
+
let info3 = "";
|
4478
4478
|
const spin = this.spinner.value();
|
4479
|
-
|
4480
|
-
|
4481
|
-
|
4482
|
-
|
4483
|
-
|
4484
|
-
return
|
4479
|
+
info3 += this.statusText(spin, this.state.tables);
|
4480
|
+
info3 += this.statusText(spin, this.state.columns);
|
4481
|
+
info3 += this.statusText(spin, this.state.enums);
|
4482
|
+
info3 += this.statusText(spin, this.state.indexes);
|
4483
|
+
info3 += this.statusText(spin, this.state.fks);
|
4484
|
+
return info3;
|
4485
4485
|
}
|
4486
4486
|
};
|
4487
4487
|
DropMigrationView = class extends import_hanji.Prompt {
|
@@ -5928,7 +5928,7 @@ var require_browser = __commonJS({
|
|
5928
5928
|
exports.load = load;
|
5929
5929
|
exports.useColors = useColors;
|
5930
5930
|
exports.storage = localstorage();
|
5931
|
-
exports.destroy = (() => {
|
5931
|
+
exports.destroy = /* @__PURE__ */ (() => {
|
5932
5932
|
let warned = false;
|
5933
5933
|
return () => {
|
5934
5934
|
if (!warned) {
|
@@ -6389,9 +6389,9 @@ var require_src2 = __commonJS({
|
|
6389
6389
|
}
|
6390
6390
|
});
|
6391
6391
|
|
6392
|
-
// node_modules/.pnpm/esbuild-register@3.
|
6392
|
+
// node_modules/.pnpm/esbuild-register@3.5.0_esbuild@0.19.7/node_modules/esbuild-register/dist/node.js
|
6393
6393
|
var require_node2 = __commonJS({
|
6394
|
-
"node_modules/.pnpm/esbuild-register@3.
|
6394
|
+
"node_modules/.pnpm/esbuild-register@3.5.0_esbuild@0.19.7/node_modules/esbuild-register/dist/node.js"(exports) {
|
6395
6395
|
"use strict";
|
6396
6396
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6397
6397
|
function _interopRequireDefault2(obj) {
|
@@ -8656,13 +8656,13 @@ var require_node2 = __commonJS({
|
|
8656
8656
|
}
|
8657
8657
|
function asyncGeneratorStep(gen, resolve2, reject, _next, _throw, key, arg) {
|
8658
8658
|
try {
|
8659
|
-
var
|
8660
|
-
var value =
|
8659
|
+
var info3 = gen[key](arg);
|
8660
|
+
var value = info3.value;
|
8661
8661
|
} catch (error2) {
|
8662
8662
|
reject(error2);
|
8663
8663
|
return;
|
8664
8664
|
}
|
8665
|
-
if (
|
8665
|
+
if (info3.done) {
|
8666
8666
|
resolve2(value);
|
8667
8667
|
} else {
|
8668
8668
|
Promise.resolve(value).then(_next, _throw);
|
@@ -8997,8 +8997,12 @@ var require_node2 = __commonJS({
|
|
8997
8997
|
var require_filesystem = __commonJS2((exports2) => {
|
8998
8998
|
"use strict";
|
8999
8999
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
9000
|
+
exports2.removeExtension = exports2.fileExistsAsync = exports2.readJsonFromDiskAsync = exports2.readJsonFromDiskSync = exports2.fileExistsSync = void 0;
|
9000
9001
|
var fs32 = require("fs");
|
9001
9002
|
function fileExistsSync(path4) {
|
9003
|
+
if (!fs32.existsSync(path4)) {
|
9004
|
+
return false;
|
9005
|
+
}
|
9002
9006
|
try {
|
9003
9007
|
var stats = fs32.statSync(path4);
|
9004
9008
|
return stats.isFile();
|
@@ -9041,6 +9045,7 @@ var require_node2 = __commonJS({
|
|
9041
9045
|
var require_mapping_entry = __commonJS2((exports2) => {
|
9042
9046
|
"use strict";
|
9043
9047
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
9048
|
+
exports2.getAbsoluteMappingEntries = void 0;
|
9044
9049
|
var path4 = require("path");
|
9045
9050
|
function getAbsoluteMappingEntries(absoluteBaseUrl, paths, addMatchAll) {
|
9046
9051
|
var sortedKeys = sortByLongestPrefix(Object.keys(paths));
|
@@ -9050,14 +9055,14 @@ var require_node2 = __commonJS({
|
|
9050
9055
|
absolutePaths.push({
|
9051
9056
|
pattern: key,
|
9052
9057
|
paths: paths[key].map(function(pathToResolve) {
|
9053
|
-
return path4.
|
9058
|
+
return path4.resolve(absoluteBaseUrl, pathToResolve);
|
9054
9059
|
})
|
9055
9060
|
});
|
9056
9061
|
}
|
9057
9062
|
if (!paths["*"] && addMatchAll) {
|
9058
9063
|
absolutePaths.push({
|
9059
9064
|
pattern: "*",
|
9060
|
-
paths: [absoluteBaseUrl.replace(/\/$/, "")
|
9065
|
+
paths: ["".concat(absoluteBaseUrl.replace(/\/$/, ""), "/*")]
|
9061
9066
|
});
|
9062
9067
|
}
|
9063
9068
|
return absolutePaths;
|
@@ -9076,11 +9081,12 @@ var require_node2 = __commonJS({
|
|
9076
9081
|
var require_try_path = __commonJS2((exports2) => {
|
9077
9082
|
"use strict";
|
9078
9083
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
9084
|
+
exports2.exhaustiveTypeException = exports2.getStrippedPath = exports2.getPathsToTry = void 0;
|
9079
9085
|
var path4 = require("path");
|
9080
9086
|
var path_1 = require("path");
|
9081
9087
|
var filesystem_1 = require_filesystem();
|
9082
9088
|
function getPathsToTry(extensions, absolutePathMappings, requestedModule) {
|
9083
|
-
if (!absolutePathMappings || !requestedModule || requestedModule[0] === "."
|
9089
|
+
if (!absolutePathMappings || !requestedModule || requestedModule[0] === ".") {
|
9084
9090
|
return void 0;
|
9085
9091
|
}
|
9086
9092
|
var pathsToTry = [];
|
@@ -9113,11 +9119,11 @@ var require_node2 = __commonJS({
|
|
9113
9119
|
}
|
9114
9120
|
exports2.getPathsToTry = getPathsToTry;
|
9115
9121
|
function getStrippedPath(tryPath) {
|
9116
|
-
return tryPath.type === "index" ? path_1.dirname(tryPath.path) : tryPath.type === "file" ? tryPath.path : tryPath.type === "extension" ? filesystem_1.removeExtension(tryPath.path) : tryPath.type === "package" ? tryPath.path : exhaustiveTypeException(tryPath.type);
|
9122
|
+
return tryPath.type === "index" ? (0, path_1.dirname)(tryPath.path) : tryPath.type === "file" ? tryPath.path : tryPath.type === "extension" ? (0, filesystem_1.removeExtension)(tryPath.path) : tryPath.type === "package" ? tryPath.path : exhaustiveTypeException(tryPath.type);
|
9117
9123
|
}
|
9118
9124
|
exports2.getStrippedPath = getStrippedPath;
|
9119
9125
|
function exhaustiveTypeException(check) {
|
9120
|
-
throw new Error("Unknown type "
|
9126
|
+
throw new Error("Unknown type ".concat(check));
|
9121
9127
|
}
|
9122
9128
|
exports2.exhaustiveTypeException = exhaustiveTypeException;
|
9123
9129
|
function matchStar(pattern, search) {
|
@@ -9145,6 +9151,7 @@ var require_node2 = __commonJS({
|
|
9145
9151
|
var require_match_path_sync = __commonJS2((exports2) => {
|
9146
9152
|
"use strict";
|
9147
9153
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
9154
|
+
exports2.matchFromAbsolutePaths = exports2.createMatchPath = void 0;
|
9148
9155
|
var path4 = require("path");
|
9149
9156
|
var Filesystem = require_filesystem();
|
9150
9157
|
var MappingEntry = require_mapping_entry();
|
@@ -9184,8 +9191,10 @@ var require_node2 = __commonJS({
|
|
9184
9191
|
exports2.matchFromAbsolutePaths = matchFromAbsolutePaths;
|
9185
9192
|
function findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExists) {
|
9186
9193
|
for (var index4 = 0; index4 < mainFields.length; index4++) {
|
9187
|
-
var
|
9188
|
-
var candidateMapping = packageJson[
|
9194
|
+
var mainFieldSelector = mainFields[index4];
|
9195
|
+
var candidateMapping = typeof mainFieldSelector === "string" ? packageJson[mainFieldSelector] : mainFieldSelector.reduce(function(obj, key) {
|
9196
|
+
return obj[key];
|
9197
|
+
}, packageJson);
|
9189
9198
|
if (candidateMapping && typeof candidateMapping === "string") {
|
9190
9199
|
var candidateFilePath = path4.join(path4.dirname(packageJsonPath), candidateMapping);
|
9191
9200
|
if (fileExists(candidateFilePath)) {
|
@@ -9213,7 +9222,7 @@ var require_node2 = __commonJS({
|
|
9213
9222
|
if (packageJson) {
|
9214
9223
|
var mainFieldMappedFile = findFirstExistingMainFieldMappedFile(packageJson, mainFields, tryPath.path, fileExists);
|
9215
9224
|
if (mainFieldMappedFile) {
|
9216
|
-
return
|
9225
|
+
return mainFieldMappedFile;
|
9217
9226
|
}
|
9218
9227
|
}
|
9219
9228
|
} else {
|
@@ -9226,6 +9235,7 @@ var require_node2 = __commonJS({
|
|
9226
9235
|
var require_match_path_async = __commonJS2((exports2) => {
|
9227
9236
|
"use strict";
|
9228
9237
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
9238
|
+
exports2.matchFromAbsolutePathsAsync = exports2.createMatchPathAsync = void 0;
|
9229
9239
|
var path4 = require("path");
|
9230
9240
|
var TryPath = require_try_path();
|
9231
9241
|
var MappingEntry = require_mapping_entry();
|
@@ -9273,7 +9283,10 @@ var require_node2 = __commonJS({
|
|
9273
9283
|
var tryNext = function() {
|
9274
9284
|
return findFirstExistingMainFieldMappedFile(packageJson, mainFields, packageJsonPath, fileExistsAsync, doneCallback, index4 + 1);
|
9275
9285
|
};
|
9276
|
-
var
|
9286
|
+
var mainFieldSelector = mainFields[index4];
|
9287
|
+
var mainFieldMapping = typeof mainFieldSelector === "string" ? packageJson[mainFieldSelector] : mainFieldSelector.reduce(function(obj, key) {
|
9288
|
+
return obj[key];
|
9289
|
+
}, packageJson);
|
9277
9290
|
if (typeof mainFieldMapping !== "string") {
|
9278
9291
|
return tryNext();
|
9279
9292
|
}
|
@@ -9320,7 +9333,7 @@ var require_node2 = __commonJS({
|
|
9320
9333
|
return doneCallback(mainFieldErr);
|
9321
9334
|
}
|
9322
9335
|
if (mainFieldMappedFile) {
|
9323
|
-
return doneCallback(void 0,
|
9336
|
+
return doneCallback(void 0, mainFieldMappedFile);
|
9324
9337
|
}
|
9325
9338
|
return findFirstExistingPath(tryPaths, readJson, fileExists, doneCallback, index4 + 1, mainFields);
|
9326
9339
|
});
|
@@ -9332,90 +9345,43 @@ var require_node2 = __commonJS({
|
|
9332
9345
|
}
|
9333
9346
|
}
|
9334
9347
|
});
|
9335
|
-
var require_unicode = __commonJS2((exports2) => {
|
9336
|
-
|
9337
|
-
|
9338
|
-
|
9339
|
-
var ID_Start = exports2.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\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\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\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\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\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD87E[\uDC00-\uDE1D]/;
|
9340
|
-
var ID_Continue = exports2.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\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\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\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\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-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\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-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\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\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/;
|
9348
|
+
var require_unicode = __commonJS2((exports2, module22) => {
|
9349
|
+
module22.exports.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
9350
|
+
module22.exports.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-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\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\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-\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]/;
|
9351
|
+
module22.exports.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\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\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-\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-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\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]/;
|
9341
9352
|
});
|
9342
|
-
var require_util2 = __commonJS2((exports2) => {
|
9343
|
-
|
9344
|
-
|
9345
|
-
|
9346
|
-
|
9347
|
-
|
9348
|
-
|
9349
|
-
|
9350
|
-
|
9351
|
-
|
9352
|
-
|
9353
|
-
|
9354
|
-
|
9355
|
-
|
9356
|
-
|
9357
|
-
|
9358
|
-
|
9359
|
-
if (Object.prototype.hasOwnProperty.call(obj, key))
|
9360
|
-
newObj[key] = obj[key];
|
9361
|
-
}
|
9362
|
-
}
|
9363
|
-
newObj.default = obj;
|
9364
|
-
return newObj;
|
9353
|
+
var require_util2 = __commonJS2((exports2, module22) => {
|
9354
|
+
var unicode = require_unicode();
|
9355
|
+
module22.exports = {
|
9356
|
+
isSpaceSeparator(c) {
|
9357
|
+
return typeof c === "string" && unicode.Space_Separator.test(c);
|
9358
|
+
},
|
9359
|
+
isIdStartChar(c) {
|
9360
|
+
return typeof c === "string" && (c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c === "$" || c === "_" || unicode.ID_Start.test(c));
|
9361
|
+
},
|
9362
|
+
isIdContinueChar(c) {
|
9363
|
+
return typeof c === "string" && (c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c >= "0" && c <= "9" || c === "$" || c === "_" || c === "\u200C" || c === "\u200D" || unicode.ID_Continue.test(c));
|
9364
|
+
},
|
9365
|
+
isDigit(c) {
|
9366
|
+
return typeof c === "string" && /[0-9]/.test(c);
|
9367
|
+
},
|
9368
|
+
isHexDigit(c) {
|
9369
|
+
return typeof c === "string" && /[0-9A-Fa-f]/.test(c);
|
9365
9370
|
}
|
9366
|
-
}
|
9367
|
-
function isSpaceSeparator(c) {
|
9368
|
-
return unicode.Space_Separator.test(c);
|
9369
|
-
}
|
9370
|
-
function isIdStartChar(c) {
|
9371
|
-
return c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c === "$" || c === "_" || unicode.ID_Start.test(c);
|
9372
|
-
}
|
9373
|
-
function isIdContinueChar(c) {
|
9374
|
-
return c >= "a" && c <= "z" || c >= "A" && c <= "Z" || c >= "0" && c <= "9" || c === "$" || c === "_" || c === "\u200C" || c === "\u200D" || unicode.ID_Continue.test(c);
|
9375
|
-
}
|
9376
|
-
function isDigit(c) {
|
9377
|
-
return /[0-9]/.test(c);
|
9378
|
-
}
|
9379
|
-
function isHexDigit(c) {
|
9380
|
-
return /[0-9A-Fa-f]/.test(c);
|
9381
|
-
}
|
9371
|
+
};
|
9382
9372
|
});
|
9383
9373
|
var require_parse4 = __commonJS2((exports2, module22) => {
|
9384
|
-
|
9385
|
-
|
9386
|
-
var
|
9387
|
-
|
9388
|
-
|
9389
|
-
|
9390
|
-
|
9391
|
-
|
9392
|
-
var
|
9393
|
-
var
|
9394
|
-
function
|
9395
|
-
if (obj && obj.__esModule) {
|
9396
|
-
return obj;
|
9397
|
-
} else {
|
9398
|
-
var newObj = {};
|
9399
|
-
if (obj != null) {
|
9400
|
-
for (var key2 in obj) {
|
9401
|
-
if (Object.prototype.hasOwnProperty.call(obj, key2))
|
9402
|
-
newObj[key2] = obj[key2];
|
9403
|
-
}
|
9404
|
-
}
|
9405
|
-
newObj.default = obj;
|
9406
|
-
return newObj;
|
9407
|
-
}
|
9408
|
-
}
|
9409
|
-
var source = void 0;
|
9410
|
-
var parseState = void 0;
|
9411
|
-
var stack = void 0;
|
9412
|
-
var pos = void 0;
|
9413
|
-
var line = void 0;
|
9414
|
-
var column7 = void 0;
|
9415
|
-
var token = void 0;
|
9416
|
-
var key = void 0;
|
9417
|
-
var root = void 0;
|
9418
|
-
function parse(text, reviver) {
|
9374
|
+
var util2 = require_util2();
|
9375
|
+
var source;
|
9376
|
+
var parseState;
|
9377
|
+
var stack;
|
9378
|
+
var pos;
|
9379
|
+
var line;
|
9380
|
+
var column7;
|
9381
|
+
var token;
|
9382
|
+
var key;
|
9383
|
+
var root;
|
9384
|
+
module22.exports = function parse(text, reviver) {
|
9419
9385
|
source = String(text);
|
9420
9386
|
parseState = "start";
|
9421
9387
|
stack = [];
|
@@ -9433,36 +9399,58 @@ var require_node2 = __commonJS({
|
|
9433
9399
|
return internalize({ "": root }, "", reviver);
|
9434
9400
|
}
|
9435
9401
|
return root;
|
9436
|
-
}
|
9402
|
+
};
|
9437
9403
|
function internalize(holder, name, reviver) {
|
9438
|
-
|
9439
|
-
if (value != null &&
|
9440
|
-
|
9441
|
-
|
9442
|
-
|
9443
|
-
|
9444
|
-
|
9445
|
-
|
9404
|
+
const value = holder[name];
|
9405
|
+
if (value != null && typeof value === "object") {
|
9406
|
+
if (Array.isArray(value)) {
|
9407
|
+
for (let i = 0; i < value.length; i++) {
|
9408
|
+
const key2 = String(i);
|
9409
|
+
const replacement = internalize(value, key2, reviver);
|
9410
|
+
if (replacement === void 0) {
|
9411
|
+
delete value[key2];
|
9412
|
+
} else {
|
9413
|
+
Object.defineProperty(value, key2, {
|
9414
|
+
value: replacement,
|
9415
|
+
writable: true,
|
9416
|
+
enumerable: true,
|
9417
|
+
configurable: true
|
9418
|
+
});
|
9419
|
+
}
|
9420
|
+
}
|
9421
|
+
} else {
|
9422
|
+
for (const key2 in value) {
|
9423
|
+
const replacement = internalize(value, key2, reviver);
|
9424
|
+
if (replacement === void 0) {
|
9425
|
+
delete value[key2];
|
9426
|
+
} else {
|
9427
|
+
Object.defineProperty(value, key2, {
|
9428
|
+
value: replacement,
|
9429
|
+
writable: true,
|
9430
|
+
enumerable: true,
|
9431
|
+
configurable: true
|
9432
|
+
});
|
9433
|
+
}
|
9446
9434
|
}
|
9447
9435
|
}
|
9448
9436
|
}
|
9449
9437
|
return reviver.call(holder, name, value);
|
9450
9438
|
}
|
9451
|
-
var lexState
|
9452
|
-
var buffer
|
9453
|
-
var doubleQuote
|
9454
|
-
var
|
9455
|
-
var c
|
9439
|
+
var lexState;
|
9440
|
+
var buffer;
|
9441
|
+
var doubleQuote;
|
9442
|
+
var sign;
|
9443
|
+
var c;
|
9456
9444
|
function lex() {
|
9457
9445
|
lexState = "default";
|
9458
9446
|
buffer = "";
|
9459
9447
|
doubleQuote = false;
|
9460
|
-
|
9448
|
+
sign = 1;
|
9461
9449
|
for (; ; ) {
|
9462
9450
|
c = peek();
|
9463
|
-
|
9464
|
-
if (
|
9465
|
-
return
|
9451
|
+
const token2 = lexStates[lexState]();
|
9452
|
+
if (token2) {
|
9453
|
+
return token2;
|
9466
9454
|
}
|
9467
9455
|
}
|
9468
9456
|
}
|
@@ -9472,7 +9460,7 @@ var require_node2 = __commonJS({
|
|
9472
9460
|
}
|
9473
9461
|
}
|
9474
9462
|
function read() {
|
9475
|
-
|
9463
|
+
const c2 = peek();
|
9476
9464
|
if (c2 === "\n") {
|
9477
9465
|
line++;
|
9478
9466
|
column7 = 0;
|
@@ -9486,465 +9474,481 @@ var require_node2 = __commonJS({
|
|
9486
9474
|
}
|
9487
9475
|
return c2;
|
9488
9476
|
}
|
9489
|
-
var lexStates = {
|
9490
|
-
|
9491
|
-
|
9492
|
-
|
9493
|
-
|
9494
|
-
|
9495
|
-
|
9496
|
-
|
9497
|
-
|
9498
|
-
|
9499
|
-
|
9500
|
-
|
9501
|
-
|
9502
|
-
|
9503
|
-
|
9477
|
+
var lexStates = {
|
9478
|
+
default() {
|
9479
|
+
switch (c) {
|
9480
|
+
case " ":
|
9481
|
+
case "\v":
|
9482
|
+
case "\f":
|
9483
|
+
case " ":
|
9484
|
+
case "\xA0":
|
9485
|
+
case "\uFEFF":
|
9486
|
+
case "\n":
|
9487
|
+
case "\r":
|
9488
|
+
case "\u2028":
|
9489
|
+
case "\u2029":
|
9490
|
+
read();
|
9491
|
+
return;
|
9492
|
+
case "/":
|
9493
|
+
read();
|
9494
|
+
lexState = "comment";
|
9495
|
+
return;
|
9496
|
+
case void 0:
|
9497
|
+
read();
|
9498
|
+
return newToken("eof");
|
9499
|
+
}
|
9500
|
+
if (util2.isSpaceSeparator(c)) {
|
9504
9501
|
read();
|
9505
|
-
lexState = "comment";
|
9506
9502
|
return;
|
9507
|
-
|
9508
|
-
|
9509
|
-
|
9510
|
-
|
9511
|
-
|
9503
|
+
}
|
9504
|
+
return lexStates[parseState]();
|
9505
|
+
},
|
9506
|
+
comment() {
|
9507
|
+
switch (c) {
|
9508
|
+
case "*":
|
9509
|
+
read();
|
9510
|
+
lexState = "multiLineComment";
|
9511
|
+
return;
|
9512
|
+
case "/":
|
9513
|
+
read();
|
9514
|
+
lexState = "singleLineComment";
|
9515
|
+
return;
|
9516
|
+
}
|
9517
|
+
throw invalidChar(read());
|
9518
|
+
},
|
9519
|
+
multiLineComment() {
|
9520
|
+
switch (c) {
|
9521
|
+
case "*":
|
9522
|
+
read();
|
9523
|
+
lexState = "multiLineCommentAsterisk";
|
9524
|
+
return;
|
9525
|
+
case void 0:
|
9526
|
+
throw invalidChar(read());
|
9527
|
+
}
|
9512
9528
|
read();
|
9513
|
-
|
9514
|
-
|
9515
|
-
|
9516
|
-
|
9517
|
-
|
9518
|
-
|
9519
|
-
|
9520
|
-
|
9521
|
-
|
9522
|
-
|
9523
|
-
|
9524
|
-
|
9525
|
-
|
9526
|
-
|
9527
|
-
|
9528
|
-
|
9529
|
-
|
9530
|
-
|
9531
|
-
|
9532
|
-
|
9533
|
-
|
9534
|
-
|
9529
|
+
},
|
9530
|
+
multiLineCommentAsterisk() {
|
9531
|
+
switch (c) {
|
9532
|
+
case "*":
|
9533
|
+
read();
|
9534
|
+
return;
|
9535
|
+
case "/":
|
9536
|
+
read();
|
9537
|
+
lexState = "default";
|
9538
|
+
return;
|
9539
|
+
case void 0:
|
9540
|
+
throw invalidChar(read());
|
9541
|
+
}
|
9542
|
+
read();
|
9543
|
+
lexState = "multiLineComment";
|
9544
|
+
},
|
9545
|
+
singleLineComment() {
|
9546
|
+
switch (c) {
|
9547
|
+
case "\n":
|
9548
|
+
case "\r":
|
9549
|
+
case "\u2028":
|
9550
|
+
case "\u2029":
|
9551
|
+
read();
|
9552
|
+
lexState = "default";
|
9553
|
+
return;
|
9554
|
+
case void 0:
|
9555
|
+
read();
|
9556
|
+
return newToken("eof");
|
9557
|
+
}
|
9558
|
+
read();
|
9559
|
+
},
|
9560
|
+
value() {
|
9561
|
+
switch (c) {
|
9562
|
+
case "{":
|
9563
|
+
case "[":
|
9564
|
+
return newToken("punctuator", read());
|
9565
|
+
case "n":
|
9566
|
+
read();
|
9567
|
+
literal("ull");
|
9568
|
+
return newToken("null", null);
|
9569
|
+
case "t":
|
9570
|
+
read();
|
9571
|
+
literal("rue");
|
9572
|
+
return newToken("boolean", true);
|
9573
|
+
case "f":
|
9574
|
+
read();
|
9575
|
+
literal("alse");
|
9576
|
+
return newToken("boolean", false);
|
9577
|
+
case "-":
|
9578
|
+
case "+":
|
9579
|
+
if (read() === "-") {
|
9580
|
+
sign = -1;
|
9581
|
+
}
|
9582
|
+
lexState = "sign";
|
9583
|
+
return;
|
9584
|
+
case ".":
|
9585
|
+
buffer = read();
|
9586
|
+
lexState = "decimalPointLeading";
|
9587
|
+
return;
|
9588
|
+
case "0":
|
9589
|
+
buffer = read();
|
9590
|
+
lexState = "zero";
|
9591
|
+
return;
|
9592
|
+
case "1":
|
9593
|
+
case "2":
|
9594
|
+
case "3":
|
9595
|
+
case "4":
|
9596
|
+
case "5":
|
9597
|
+
case "6":
|
9598
|
+
case "7":
|
9599
|
+
case "8":
|
9600
|
+
case "9":
|
9601
|
+
buffer = read();
|
9602
|
+
lexState = "decimalInteger";
|
9603
|
+
return;
|
9604
|
+
case "I":
|
9605
|
+
read();
|
9606
|
+
literal("nfinity");
|
9607
|
+
return newToken("numeric", Infinity);
|
9608
|
+
case "N":
|
9609
|
+
read();
|
9610
|
+
literal("aN");
|
9611
|
+
return newToken("numeric", NaN);
|
9612
|
+
case '"':
|
9613
|
+
case "'":
|
9614
|
+
doubleQuote = read() === '"';
|
9615
|
+
buffer = "";
|
9616
|
+
lexState = "string";
|
9617
|
+
return;
|
9618
|
+
}
|
9619
|
+
throw invalidChar(read());
|
9620
|
+
},
|
9621
|
+
identifierNameStartEscape() {
|
9622
|
+
if (c !== "u") {
|
9535
9623
|
throw invalidChar(read());
|
9536
|
-
|
9537
|
-
|
9538
|
-
|
9539
|
-
|
9540
|
-
|
9541
|
-
|
9542
|
-
|
9543
|
-
|
9544
|
-
|
9545
|
-
|
9624
|
+
}
|
9625
|
+
read();
|
9626
|
+
const u = unicodeEscape();
|
9627
|
+
switch (u) {
|
9628
|
+
case "$":
|
9629
|
+
case "_":
|
9630
|
+
break;
|
9631
|
+
default:
|
9632
|
+
if (!util2.isIdStartChar(u)) {
|
9633
|
+
throw invalidIdentifier();
|
9634
|
+
}
|
9635
|
+
break;
|
9636
|
+
}
|
9637
|
+
buffer += u;
|
9638
|
+
lexState = "identifierName";
|
9639
|
+
},
|
9640
|
+
identifierName() {
|
9641
|
+
switch (c) {
|
9642
|
+
case "$":
|
9643
|
+
case "_":
|
9644
|
+
case "\u200C":
|
9645
|
+
case "\u200D":
|
9646
|
+
buffer += read();
|
9647
|
+
return;
|
9648
|
+
case "\\":
|
9649
|
+
read();
|
9650
|
+
lexState = "identifierNameEscape";
|
9651
|
+
return;
|
9652
|
+
}
|
9653
|
+
if (util2.isIdContinueChar(c)) {
|
9654
|
+
buffer += read();
|
9546
9655
|
return;
|
9547
|
-
|
9656
|
+
}
|
9657
|
+
return newToken("identifier", buffer);
|
9658
|
+
},
|
9659
|
+
identifierNameEscape() {
|
9660
|
+
if (c !== "u") {
|
9548
9661
|
throw invalidChar(read());
|
9549
|
-
|
9550
|
-
|
9551
|
-
|
9552
|
-
|
9553
|
-
|
9554
|
-
|
9555
|
-
|
9556
|
-
|
9557
|
-
|
9558
|
-
|
9559
|
-
|
9560
|
-
|
9561
|
-
|
9562
|
-
|
9563
|
-
|
9564
|
-
|
9565
|
-
|
9566
|
-
|
9567
|
-
|
9568
|
-
|
9569
|
-
|
9570
|
-
|
9571
|
-
|
9572
|
-
|
9573
|
-
|
9574
|
-
|
9575
|
-
|
9576
|
-
|
9577
|
-
|
9578
|
-
|
9579
|
-
|
9580
|
-
|
9581
|
-
|
9582
|
-
|
9583
|
-
|
9584
|
-
|
9585
|
-
|
9586
|
-
|
9587
|
-
|
9588
|
-
|
9589
|
-
|
9590
|
-
|
9591
|
-
|
9592
|
-
|
9593
|
-
|
9594
|
-
|
9595
|
-
|
9596
|
-
|
9597
|
-
|
9598
|
-
case "1":
|
9599
|
-
case "2":
|
9600
|
-
case "3":
|
9601
|
-
case "4":
|
9602
|
-
case "5":
|
9603
|
-
case "6":
|
9604
|
-
case "7":
|
9605
|
-
case "8":
|
9606
|
-
case "9":
|
9607
|
-
buffer = read();
|
9608
|
-
lexState = "decimalInteger";
|
9609
|
-
return;
|
9610
|
-
case "I":
|
9611
|
-
read();
|
9612
|
-
literal("nfinity");
|
9613
|
-
return newToken("numeric", Infinity);
|
9614
|
-
case "N":
|
9615
|
-
read();
|
9616
|
-
literal("aN");
|
9617
|
-
return newToken("numeric", NaN);
|
9618
|
-
case '"':
|
9619
|
-
case "'":
|
9620
|
-
doubleQuote = read() === '"';
|
9621
|
-
buffer = "";
|
9622
|
-
lexState = "string";
|
9623
|
-
return;
|
9624
|
-
}
|
9625
|
-
throw invalidChar(read());
|
9626
|
-
}, identifierNameStartEscape: function identifierNameStartEscape() {
|
9627
|
-
if (c !== "u") {
|
9662
|
+
}
|
9663
|
+
read();
|
9664
|
+
const u = unicodeEscape();
|
9665
|
+
switch (u) {
|
9666
|
+
case "$":
|
9667
|
+
case "_":
|
9668
|
+
case "\u200C":
|
9669
|
+
case "\u200D":
|
9670
|
+
break;
|
9671
|
+
default:
|
9672
|
+
if (!util2.isIdContinueChar(u)) {
|
9673
|
+
throw invalidIdentifier();
|
9674
|
+
}
|
9675
|
+
break;
|
9676
|
+
}
|
9677
|
+
buffer += u;
|
9678
|
+
lexState = "identifierName";
|
9679
|
+
},
|
9680
|
+
sign() {
|
9681
|
+
switch (c) {
|
9682
|
+
case ".":
|
9683
|
+
buffer = read();
|
9684
|
+
lexState = "decimalPointLeading";
|
9685
|
+
return;
|
9686
|
+
case "0":
|
9687
|
+
buffer = read();
|
9688
|
+
lexState = "zero";
|
9689
|
+
return;
|
9690
|
+
case "1":
|
9691
|
+
case "2":
|
9692
|
+
case "3":
|
9693
|
+
case "4":
|
9694
|
+
case "5":
|
9695
|
+
case "6":
|
9696
|
+
case "7":
|
9697
|
+
case "8":
|
9698
|
+
case "9":
|
9699
|
+
buffer = read();
|
9700
|
+
lexState = "decimalInteger";
|
9701
|
+
return;
|
9702
|
+
case "I":
|
9703
|
+
read();
|
9704
|
+
literal("nfinity");
|
9705
|
+
return newToken("numeric", sign * Infinity);
|
9706
|
+
case "N":
|
9707
|
+
read();
|
9708
|
+
literal("aN");
|
9709
|
+
return newToken("numeric", NaN);
|
9710
|
+
}
|
9628
9711
|
throw invalidChar(read());
|
9629
|
-
}
|
9630
|
-
|
9631
|
-
|
9632
|
-
|
9633
|
-
|
9634
|
-
|
9635
|
-
|
9636
|
-
|
9637
|
-
|
9638
|
-
|
9639
|
-
|
9640
|
-
|
9641
|
-
|
9642
|
-
|
9643
|
-
|
9644
|
-
|
9645
|
-
|
9646
|
-
|
9647
|
-
|
9648
|
-
|
9649
|
-
|
9712
|
+
},
|
9713
|
+
zero() {
|
9714
|
+
switch (c) {
|
9715
|
+
case ".":
|
9716
|
+
buffer += read();
|
9717
|
+
lexState = "decimalPoint";
|
9718
|
+
return;
|
9719
|
+
case "e":
|
9720
|
+
case "E":
|
9721
|
+
buffer += read();
|
9722
|
+
lexState = "decimalExponent";
|
9723
|
+
return;
|
9724
|
+
case "x":
|
9725
|
+
case "X":
|
9726
|
+
buffer += read();
|
9727
|
+
lexState = "hexadecimal";
|
9728
|
+
return;
|
9729
|
+
}
|
9730
|
+
return newToken("numeric", sign * 0);
|
9731
|
+
},
|
9732
|
+
decimalInteger() {
|
9733
|
+
switch (c) {
|
9734
|
+
case ".":
|
9735
|
+
buffer += read();
|
9736
|
+
lexState = "decimalPoint";
|
9737
|
+
return;
|
9738
|
+
case "e":
|
9739
|
+
case "E":
|
9740
|
+
buffer += read();
|
9741
|
+
lexState = "decimalExponent";
|
9742
|
+
return;
|
9743
|
+
}
|
9744
|
+
if (util2.isDigit(c)) {
|
9650
9745
|
buffer += read();
|
9651
9746
|
return;
|
9652
|
-
|
9653
|
-
|
9654
|
-
|
9655
|
-
|
9656
|
-
|
9657
|
-
if (util2.isIdContinueChar(c)) {
|
9658
|
-
buffer += read();
|
9659
|
-
return;
|
9660
|
-
}
|
9661
|
-
return newToken("identifier", buffer);
|
9662
|
-
}, identifierNameEscape: function identifierNameEscape() {
|
9663
|
-
if (c !== "u") {
|
9664
|
-
throw invalidChar(read());
|
9665
|
-
}
|
9666
|
-
read();
|
9667
|
-
var u = unicodeEscape();
|
9668
|
-
switch (u) {
|
9669
|
-
case "$":
|
9670
|
-
case "_":
|
9671
|
-
case "\u200C":
|
9672
|
-
case "\u200D":
|
9673
|
-
break;
|
9674
|
-
default:
|
9675
|
-
if (!util2.isIdContinueChar(u)) {
|
9676
|
-
throw invalidIdentifier();
|
9677
|
-
}
|
9678
|
-
break;
|
9679
|
-
}
|
9680
|
-
buffer += u;
|
9681
|
-
lexState = "identifierName";
|
9682
|
-
}, sign: function sign() {
|
9683
|
-
switch (c) {
|
9684
|
-
case ".":
|
9685
|
-
buffer = read();
|
9686
|
-
lexState = "decimalPointLeading";
|
9687
|
-
return;
|
9688
|
-
case "0":
|
9689
|
-
buffer = read();
|
9690
|
-
lexState = "zero";
|
9691
|
-
return;
|
9692
|
-
case "1":
|
9693
|
-
case "2":
|
9694
|
-
case "3":
|
9695
|
-
case "4":
|
9696
|
-
case "5":
|
9697
|
-
case "6":
|
9698
|
-
case "7":
|
9699
|
-
case "8":
|
9700
|
-
case "9":
|
9701
|
-
buffer = read();
|
9702
|
-
lexState = "decimalInteger";
|
9703
|
-
return;
|
9704
|
-
case "I":
|
9705
|
-
read();
|
9706
|
-
literal("nfinity");
|
9707
|
-
return newToken("numeric", _sign * Infinity);
|
9708
|
-
case "N":
|
9709
|
-
read();
|
9710
|
-
literal("aN");
|
9711
|
-
return newToken("numeric", NaN);
|
9712
|
-
}
|
9713
|
-
throw invalidChar(read());
|
9714
|
-
}, zero: function zero() {
|
9715
|
-
switch (c) {
|
9716
|
-
case ".":
|
9747
|
+
}
|
9748
|
+
return newToken("numeric", sign * Number(buffer));
|
9749
|
+
},
|
9750
|
+
decimalPointLeading() {
|
9751
|
+
if (util2.isDigit(c)) {
|
9717
9752
|
buffer += read();
|
9718
|
-
lexState = "
|
9753
|
+
lexState = "decimalFraction";
|
9719
9754
|
return;
|
9720
|
-
|
9721
|
-
|
9755
|
+
}
|
9756
|
+
throw invalidChar(read());
|
9757
|
+
},
|
9758
|
+
decimalPoint() {
|
9759
|
+
switch (c) {
|
9760
|
+
case "e":
|
9761
|
+
case "E":
|
9762
|
+
buffer += read();
|
9763
|
+
lexState = "decimalExponent";
|
9764
|
+
return;
|
9765
|
+
}
|
9766
|
+
if (util2.isDigit(c)) {
|
9722
9767
|
buffer += read();
|
9723
|
-
lexState = "
|
9768
|
+
lexState = "decimalFraction";
|
9724
9769
|
return;
|
9725
|
-
|
9726
|
-
|
9770
|
+
}
|
9771
|
+
return newToken("numeric", sign * Number(buffer));
|
9772
|
+
},
|
9773
|
+
decimalFraction() {
|
9774
|
+
switch (c) {
|
9775
|
+
case "e":
|
9776
|
+
case "E":
|
9777
|
+
buffer += read();
|
9778
|
+
lexState = "decimalExponent";
|
9779
|
+
return;
|
9780
|
+
}
|
9781
|
+
if (util2.isDigit(c)) {
|
9727
9782
|
buffer += read();
|
9728
|
-
lexState = "hexadecimal";
|
9729
9783
|
return;
|
9730
|
-
|
9731
|
-
|
9732
|
-
|
9733
|
-
|
9734
|
-
|
9784
|
+
}
|
9785
|
+
return newToken("numeric", sign * Number(buffer));
|
9786
|
+
},
|
9787
|
+
decimalExponent() {
|
9788
|
+
switch (c) {
|
9789
|
+
case "+":
|
9790
|
+
case "-":
|
9791
|
+
buffer += read();
|
9792
|
+
lexState = "decimalExponentSign";
|
9793
|
+
return;
|
9794
|
+
}
|
9795
|
+
if (util2.isDigit(c)) {
|
9735
9796
|
buffer += read();
|
9736
|
-
lexState = "
|
9797
|
+
lexState = "decimalExponentInteger";
|
9737
9798
|
return;
|
9738
|
-
|
9739
|
-
|
9799
|
+
}
|
9800
|
+
throw invalidChar(read());
|
9801
|
+
},
|
9802
|
+
decimalExponentSign() {
|
9803
|
+
if (util2.isDigit(c)) {
|
9740
9804
|
buffer += read();
|
9741
|
-
lexState = "
|
9805
|
+
lexState = "decimalExponentInteger";
|
9742
9806
|
return;
|
9743
|
-
|
9744
|
-
|
9745
|
-
|
9746
|
-
|
9747
|
-
|
9748
|
-
return newToken("numeric", _sign * Number(buffer));
|
9749
|
-
}, decimalPointLeading: function decimalPointLeading() {
|
9750
|
-
if (util2.isDigit(c)) {
|
9751
|
-
buffer += read();
|
9752
|
-
lexState = "decimalFraction";
|
9753
|
-
return;
|
9754
|
-
}
|
9755
|
-
throw invalidChar(read());
|
9756
|
-
}, decimalPoint: function decimalPoint() {
|
9757
|
-
switch (c) {
|
9758
|
-
case "e":
|
9759
|
-
case "E":
|
9807
|
+
}
|
9808
|
+
throw invalidChar(read());
|
9809
|
+
},
|
9810
|
+
decimalExponentInteger() {
|
9811
|
+
if (util2.isDigit(c)) {
|
9760
9812
|
buffer += read();
|
9761
|
-
lexState = "decimalExponent";
|
9762
9813
|
return;
|
9763
|
-
|
9764
|
-
|
9765
|
-
|
9766
|
-
|
9767
|
-
|
9768
|
-
}
|
9769
|
-
return newToken("numeric", _sign * Number(buffer));
|
9770
|
-
}, decimalFraction: function decimalFraction() {
|
9771
|
-
switch (c) {
|
9772
|
-
case "e":
|
9773
|
-
case "E":
|
9814
|
+
}
|
9815
|
+
return newToken("numeric", sign * Number(buffer));
|
9816
|
+
},
|
9817
|
+
hexadecimal() {
|
9818
|
+
if (util2.isHexDigit(c)) {
|
9774
9819
|
buffer += read();
|
9775
|
-
lexState = "
|
9820
|
+
lexState = "hexadecimalInteger";
|
9776
9821
|
return;
|
9777
|
-
|
9778
|
-
|
9779
|
-
|
9780
|
-
|
9781
|
-
|
9782
|
-
return newToken("numeric", _sign * Number(buffer));
|
9783
|
-
}, decimalExponent: function decimalExponent() {
|
9784
|
-
switch (c) {
|
9785
|
-
case "+":
|
9786
|
-
case "-":
|
9822
|
+
}
|
9823
|
+
throw invalidChar(read());
|
9824
|
+
},
|
9825
|
+
hexadecimalInteger() {
|
9826
|
+
if (util2.isHexDigit(c)) {
|
9787
9827
|
buffer += read();
|
9788
|
-
lexState = "decimalExponentSign";
|
9789
|
-
return;
|
9790
|
-
}
|
9791
|
-
if (util2.isDigit(c)) {
|
9792
|
-
buffer += read();
|
9793
|
-
lexState = "decimalExponentInteger";
|
9794
|
-
return;
|
9795
|
-
}
|
9796
|
-
throw invalidChar(read());
|
9797
|
-
}, decimalExponentSign: function decimalExponentSign() {
|
9798
|
-
if (util2.isDigit(c)) {
|
9799
|
-
buffer += read();
|
9800
|
-
lexState = "decimalExponentInteger";
|
9801
|
-
return;
|
9802
|
-
}
|
9803
|
-
throw invalidChar(read());
|
9804
|
-
}, decimalExponentInteger: function decimalExponentInteger() {
|
9805
|
-
if (util2.isDigit(c)) {
|
9806
|
-
buffer += read();
|
9807
|
-
return;
|
9808
|
-
}
|
9809
|
-
return newToken("numeric", _sign * Number(buffer));
|
9810
|
-
}, hexadecimal: function hexadecimal() {
|
9811
|
-
if (util2.isHexDigit(c)) {
|
9812
|
-
buffer += read();
|
9813
|
-
lexState = "hexadecimalInteger";
|
9814
|
-
return;
|
9815
|
-
}
|
9816
|
-
throw invalidChar(read());
|
9817
|
-
}, hexadecimalInteger: function hexadecimalInteger() {
|
9818
|
-
if (util2.isHexDigit(c)) {
|
9819
|
-
buffer += read();
|
9820
|
-
return;
|
9821
|
-
}
|
9822
|
-
return newToken("numeric", _sign * Number(buffer));
|
9823
|
-
}, string: function string() {
|
9824
|
-
switch (c) {
|
9825
|
-
case "\\":
|
9826
|
-
read();
|
9827
|
-
buffer += escape2();
|
9828
9828
|
return;
|
9829
|
-
|
9830
|
-
|
9829
|
+
}
|
9830
|
+
return newToken("numeric", sign * Number(buffer));
|
9831
|
+
},
|
9832
|
+
string() {
|
9833
|
+
switch (c) {
|
9834
|
+
case "\\":
|
9831
9835
|
read();
|
9832
|
-
|
9833
|
-
|
9834
|
-
|
9835
|
-
|
9836
|
-
|
9837
|
-
|
9836
|
+
buffer += escape2();
|
9837
|
+
return;
|
9838
|
+
case '"':
|
9839
|
+
if (doubleQuote) {
|
9840
|
+
read();
|
9841
|
+
return newToken("string", buffer);
|
9842
|
+
}
|
9843
|
+
buffer += read();
|
9844
|
+
return;
|
9845
|
+
case "'":
|
9846
|
+
if (!doubleQuote) {
|
9847
|
+
read();
|
9848
|
+
return newToken("string", buffer);
|
9849
|
+
}
|
9850
|
+
buffer += read();
|
9851
|
+
return;
|
9852
|
+
case "\n":
|
9853
|
+
case "\r":
|
9854
|
+
throw invalidChar(read());
|
9855
|
+
case "\u2028":
|
9856
|
+
case "\u2029":
|
9857
|
+
separatorChar(c);
|
9858
|
+
break;
|
9859
|
+
case void 0:
|
9860
|
+
throw invalidChar(read());
|
9861
|
+
}
|
9862
|
+
buffer += read();
|
9863
|
+
},
|
9864
|
+
start() {
|
9865
|
+
switch (c) {
|
9866
|
+
case "{":
|
9867
|
+
case "[":
|
9868
|
+
return newToken("punctuator", read());
|
9869
|
+
}
|
9870
|
+
lexState = "value";
|
9871
|
+
},
|
9872
|
+
beforePropertyName() {
|
9873
|
+
switch (c) {
|
9874
|
+
case "$":
|
9875
|
+
case "_":
|
9876
|
+
buffer = read();
|
9877
|
+
lexState = "identifierName";
|
9878
|
+
return;
|
9879
|
+
case "\\":
|
9838
9880
|
read();
|
9839
|
-
|
9840
|
-
|
9881
|
+
lexState = "identifierNameStartEscape";
|
9882
|
+
return;
|
9883
|
+
case "}":
|
9884
|
+
return newToken("punctuator", read());
|
9885
|
+
case '"':
|
9886
|
+
case "'":
|
9887
|
+
doubleQuote = read() === '"';
|
9888
|
+
lexState = "string";
|
9889
|
+
return;
|
9890
|
+
}
|
9891
|
+
if (util2.isIdStartChar(c)) {
|
9841
9892
|
buffer += read();
|
9842
|
-
return;
|
9843
|
-
case "\n":
|
9844
|
-
case "\r":
|
9845
|
-
throw invalidChar(read());
|
9846
|
-
case "\u2028":
|
9847
|
-
case "\u2029":
|
9848
|
-
separatorChar(c);
|
9849
|
-
break;
|
9850
|
-
case void 0:
|
9851
|
-
throw invalidChar(read());
|
9852
|
-
}
|
9853
|
-
buffer += read();
|
9854
|
-
}, start: function start() {
|
9855
|
-
switch (c) {
|
9856
|
-
case "{":
|
9857
|
-
case "[":
|
9858
|
-
return newToken("punctuator", read());
|
9859
|
-
}
|
9860
|
-
lexState = "value";
|
9861
|
-
}, beforePropertyName: function beforePropertyName() {
|
9862
|
-
switch (c) {
|
9863
|
-
case "$":
|
9864
|
-
case "_":
|
9865
|
-
buffer = read();
|
9866
9893
|
lexState = "identifierName";
|
9867
9894
|
return;
|
9868
|
-
|
9869
|
-
|
9870
|
-
|
9871
|
-
|
9872
|
-
|
9873
|
-
return newToken("punctuator", read());
|
9874
|
-
case '"':
|
9875
|
-
case "'":
|
9876
|
-
doubleQuote = read() === '"';
|
9877
|
-
lexState = "string";
|
9878
|
-
return;
|
9879
|
-
}
|
9880
|
-
if (util2.isIdStartChar(c)) {
|
9881
|
-
buffer += read();
|
9882
|
-
lexState = "identifierName";
|
9883
|
-
return;
|
9884
|
-
}
|
9885
|
-
throw invalidChar(read());
|
9886
|
-
}, afterPropertyName: function afterPropertyName() {
|
9887
|
-
if (c === ":") {
|
9888
|
-
return newToken("punctuator", read());
|
9889
|
-
}
|
9890
|
-
throw invalidChar(read());
|
9891
|
-
}, beforePropertyValue: function beforePropertyValue() {
|
9892
|
-
lexState = "value";
|
9893
|
-
}, afterPropertyValue: function afterPropertyValue() {
|
9894
|
-
switch (c) {
|
9895
|
-
case ",":
|
9896
|
-
case "}":
|
9895
|
+
}
|
9896
|
+
throw invalidChar(read());
|
9897
|
+
},
|
9898
|
+
afterPropertyName() {
|
9899
|
+
if (c === ":") {
|
9897
9900
|
return newToken("punctuator", read());
|
9898
|
-
|
9899
|
-
|
9900
|
-
|
9901
|
-
|
9902
|
-
|
9903
|
-
}
|
9904
|
-
|
9905
|
-
|
9906
|
-
|
9907
|
-
|
9908
|
-
|
9901
|
+
}
|
9902
|
+
throw invalidChar(read());
|
9903
|
+
},
|
9904
|
+
beforePropertyValue() {
|
9905
|
+
lexState = "value";
|
9906
|
+
},
|
9907
|
+
afterPropertyValue() {
|
9908
|
+
switch (c) {
|
9909
|
+
case ",":
|
9910
|
+
case "}":
|
9911
|
+
return newToken("punctuator", read());
|
9912
|
+
}
|
9913
|
+
throw invalidChar(read());
|
9914
|
+
},
|
9915
|
+
beforeArrayValue() {
|
9916
|
+
if (c === "]") {
|
9909
9917
|
return newToken("punctuator", read());
|
9918
|
+
}
|
9919
|
+
lexState = "value";
|
9920
|
+
},
|
9921
|
+
afterArrayValue() {
|
9922
|
+
switch (c) {
|
9923
|
+
case ",":
|
9924
|
+
case "]":
|
9925
|
+
return newToken("punctuator", read());
|
9926
|
+
}
|
9927
|
+
throw invalidChar(read());
|
9928
|
+
},
|
9929
|
+
end() {
|
9930
|
+
throw invalidChar(read());
|
9910
9931
|
}
|
9911
|
-
|
9912
|
-
}, end: function end() {
|
9913
|
-
throw invalidChar(read());
|
9914
|
-
} };
|
9932
|
+
};
|
9915
9933
|
function newToken(type, value) {
|
9916
|
-
return {
|
9934
|
+
return {
|
9935
|
+
type,
|
9936
|
+
value,
|
9937
|
+
line,
|
9938
|
+
column: column7
|
9939
|
+
};
|
9917
9940
|
}
|
9918
9941
|
function literal(s) {
|
9919
|
-
|
9920
|
-
|
9921
|
-
|
9922
|
-
|
9923
|
-
for (var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
9924
|
-
var _c = _step.value;
|
9925
|
-
var p = peek();
|
9926
|
-
if (p !== _c) {
|
9927
|
-
throw invalidChar(read());
|
9928
|
-
}
|
9929
|
-
read();
|
9930
|
-
}
|
9931
|
-
} catch (err2) {
|
9932
|
-
_didIteratorError = true;
|
9933
|
-
_iteratorError = err2;
|
9934
|
-
} finally {
|
9935
|
-
try {
|
9936
|
-
if (!_iteratorNormalCompletion && _iterator.return) {
|
9937
|
-
_iterator.return();
|
9938
|
-
}
|
9939
|
-
} finally {
|
9940
|
-
if (_didIteratorError) {
|
9941
|
-
throw _iteratorError;
|
9942
|
-
}
|
9942
|
+
for (const c2 of s) {
|
9943
|
+
const p = peek();
|
9944
|
+
if (p !== c2) {
|
9945
|
+
throw invalidChar(read());
|
9943
9946
|
}
|
9947
|
+
read();
|
9944
9948
|
}
|
9945
9949
|
}
|
9946
9950
|
function escape2() {
|
9947
|
-
|
9951
|
+
const c2 = peek();
|
9948
9952
|
switch (c2) {
|
9949
9953
|
case "b":
|
9950
9954
|
read();
|
@@ -10003,8 +10007,8 @@ var require_node2 = __commonJS({
|
|
10003
10007
|
return read();
|
10004
10008
|
}
|
10005
10009
|
function hexEscape() {
|
10006
|
-
|
10007
|
-
|
10010
|
+
let buffer2 = "";
|
10011
|
+
let c2 = peek();
|
10008
10012
|
if (!util2.isHexDigit(c2)) {
|
10009
10013
|
throw invalidChar(read());
|
10010
10014
|
}
|
@@ -10017,80 +10021,89 @@ var require_node2 = __commonJS({
|
|
10017
10021
|
return String.fromCodePoint(parseInt(buffer2, 16));
|
10018
10022
|
}
|
10019
10023
|
function unicodeEscape() {
|
10020
|
-
|
10021
|
-
|
10024
|
+
let buffer2 = "";
|
10025
|
+
let count = 4;
|
10022
10026
|
while (count-- > 0) {
|
10023
|
-
|
10024
|
-
if (!util2.isHexDigit(
|
10027
|
+
const c2 = peek();
|
10028
|
+
if (!util2.isHexDigit(c2)) {
|
10025
10029
|
throw invalidChar(read());
|
10026
10030
|
}
|
10027
10031
|
buffer2 += read();
|
10028
10032
|
}
|
10029
10033
|
return String.fromCodePoint(parseInt(buffer2, 16));
|
10030
10034
|
}
|
10031
|
-
var parseStates = {
|
10032
|
-
|
10033
|
-
|
10034
|
-
}
|
10035
|
-
push();
|
10036
|
-
}, beforePropertyName: function beforePropertyName() {
|
10037
|
-
switch (token.type) {
|
10038
|
-
case "identifier":
|
10039
|
-
case "string":
|
10040
|
-
key = token.value;
|
10041
|
-
parseState = "afterPropertyName";
|
10042
|
-
return;
|
10043
|
-
case "punctuator":
|
10044
|
-
pop();
|
10045
|
-
return;
|
10046
|
-
case "eof":
|
10035
|
+
var parseStates = {
|
10036
|
+
start() {
|
10037
|
+
if (token.type === "eof") {
|
10047
10038
|
throw invalidEOF();
|
10048
|
-
|
10049
|
-
|
10050
|
-
|
10051
|
-
|
10052
|
-
|
10053
|
-
|
10054
|
-
|
10055
|
-
|
10056
|
-
|
10057
|
-
|
10058
|
-
|
10059
|
-
|
10060
|
-
|
10061
|
-
|
10062
|
-
|
10063
|
-
|
10064
|
-
|
10065
|
-
|
10066
|
-
|
10067
|
-
|
10068
|
-
|
10069
|
-
|
10070
|
-
|
10071
|
-
|
10072
|
-
|
10073
|
-
|
10074
|
-
|
10075
|
-
|
10076
|
-
|
10039
|
+
}
|
10040
|
+
push();
|
10041
|
+
},
|
10042
|
+
beforePropertyName() {
|
10043
|
+
switch (token.type) {
|
10044
|
+
case "identifier":
|
10045
|
+
case "string":
|
10046
|
+
key = token.value;
|
10047
|
+
parseState = "afterPropertyName";
|
10048
|
+
return;
|
10049
|
+
case "punctuator":
|
10050
|
+
pop();
|
10051
|
+
return;
|
10052
|
+
case "eof":
|
10053
|
+
throw invalidEOF();
|
10054
|
+
}
|
10055
|
+
},
|
10056
|
+
afterPropertyName() {
|
10057
|
+
if (token.type === "eof") {
|
10058
|
+
throw invalidEOF();
|
10059
|
+
}
|
10060
|
+
parseState = "beforePropertyValue";
|
10061
|
+
},
|
10062
|
+
beforePropertyValue() {
|
10063
|
+
if (token.type === "eof") {
|
10064
|
+
throw invalidEOF();
|
10065
|
+
}
|
10066
|
+
push();
|
10067
|
+
},
|
10068
|
+
beforeArrayValue() {
|
10069
|
+
if (token.type === "eof") {
|
10070
|
+
throw invalidEOF();
|
10071
|
+
}
|
10072
|
+
if (token.type === "punctuator" && token.value === "]") {
|
10077
10073
|
pop();
|
10078
|
-
}
|
10079
|
-
}, afterArrayValue: function afterArrayValue() {
|
10080
|
-
if (token.type === "eof") {
|
10081
|
-
throw invalidEOF();
|
10082
|
-
}
|
10083
|
-
switch (token.value) {
|
10084
|
-
case ",":
|
10085
|
-
parseState = "beforeArrayValue";
|
10086
10074
|
return;
|
10087
|
-
|
10088
|
-
|
10075
|
+
}
|
10076
|
+
push();
|
10077
|
+
},
|
10078
|
+
afterPropertyValue() {
|
10079
|
+
if (token.type === "eof") {
|
10080
|
+
throw invalidEOF();
|
10081
|
+
}
|
10082
|
+
switch (token.value) {
|
10083
|
+
case ",":
|
10084
|
+
parseState = "beforePropertyName";
|
10085
|
+
return;
|
10086
|
+
case "}":
|
10087
|
+
pop();
|
10088
|
+
}
|
10089
|
+
},
|
10090
|
+
afterArrayValue() {
|
10091
|
+
if (token.type === "eof") {
|
10092
|
+
throw invalidEOF();
|
10093
|
+
}
|
10094
|
+
switch (token.value) {
|
10095
|
+
case ",":
|
10096
|
+
parseState = "beforeArrayValue";
|
10097
|
+
return;
|
10098
|
+
case "]":
|
10099
|
+
pop();
|
10100
|
+
}
|
10101
|
+
},
|
10102
|
+
end() {
|
10089
10103
|
}
|
10090
|
-
}
|
10091
|
-
} };
|
10104
|
+
};
|
10092
10105
|
function push() {
|
10093
|
-
|
10106
|
+
let value;
|
10094
10107
|
switch (token.type) {
|
10095
10108
|
case "punctuator":
|
10096
10109
|
switch (token.value) {
|
@@ -10112,14 +10125,19 @@ var require_node2 = __commonJS({
|
|
10112
10125
|
if (root === void 0) {
|
10113
10126
|
root = value;
|
10114
10127
|
} else {
|
10115
|
-
|
10128
|
+
const parent = stack[stack.length - 1];
|
10116
10129
|
if (Array.isArray(parent)) {
|
10117
10130
|
parent.push(value);
|
10118
10131
|
} else {
|
10119
|
-
parent
|
10132
|
+
Object.defineProperty(parent, key, {
|
10133
|
+
value,
|
10134
|
+
writable: true,
|
10135
|
+
enumerable: true,
|
10136
|
+
configurable: true
|
10137
|
+
});
|
10120
10138
|
}
|
10121
10139
|
}
|
10122
|
-
if (value !== null &&
|
10140
|
+
if (value !== null && typeof value === "object") {
|
10123
10141
|
stack.push(value);
|
10124
10142
|
if (Array.isArray(value)) {
|
10125
10143
|
parseState = "beforeArrayValue";
|
@@ -10127,7 +10145,7 @@ var require_node2 = __commonJS({
|
|
10127
10145
|
parseState = "beforePropertyName";
|
10128
10146
|
}
|
10129
10147
|
} else {
|
10130
|
-
|
10148
|
+
const current = stack[stack.length - 1];
|
10131
10149
|
if (current == null) {
|
10132
10150
|
parseState = "end";
|
10133
10151
|
} else if (Array.isArray(current)) {
|
@@ -10139,7 +10157,7 @@ var require_node2 = __commonJS({
|
|
10139
10157
|
}
|
10140
10158
|
function pop() {
|
10141
10159
|
stack.pop();
|
10142
|
-
|
10160
|
+
const current = stack[stack.length - 1];
|
10143
10161
|
if (current == null) {
|
10144
10162
|
parseState = "end";
|
10145
10163
|
} else if (Array.isArray(current)) {
|
@@ -10150,73 +10168,61 @@ var require_node2 = __commonJS({
|
|
10150
10168
|
}
|
10151
10169
|
function invalidChar(c2) {
|
10152
10170
|
if (c2 === void 0) {
|
10153
|
-
return syntaxError(
|
10171
|
+
return syntaxError(`JSON5: invalid end of input at ${line}:${column7}`);
|
10154
10172
|
}
|
10155
|
-
return syntaxError(
|
10173
|
+
return syntaxError(`JSON5: invalid character '${formatChar(c2)}' at ${line}:${column7}`);
|
10156
10174
|
}
|
10157
10175
|
function invalidEOF() {
|
10158
|
-
return syntaxError(
|
10176
|
+
return syntaxError(`JSON5: invalid end of input at ${line}:${column7}`);
|
10159
10177
|
}
|
10160
10178
|
function invalidIdentifier() {
|
10161
10179
|
column7 -= 5;
|
10162
|
-
return syntaxError(
|
10180
|
+
return syntaxError(`JSON5: invalid identifier character at ${line}:${column7}`);
|
10163
10181
|
}
|
10164
10182
|
function separatorChar(c2) {
|
10165
|
-
console.warn(
|
10183
|
+
console.warn(`JSON5: '${formatChar(c2)}' in strings is not valid ECMAScript; consider escaping`);
|
10166
10184
|
}
|
10167
10185
|
function formatChar(c2) {
|
10168
|
-
|
10186
|
+
const replacements = {
|
10187
|
+
"'": "\\'",
|
10188
|
+
'"': '\\"',
|
10189
|
+
"\\": "\\\\",
|
10190
|
+
"\b": "\\b",
|
10191
|
+
"\f": "\\f",
|
10192
|
+
"\n": "\\n",
|
10193
|
+
"\r": "\\r",
|
10194
|
+
" ": "\\t",
|
10195
|
+
"\v": "\\v",
|
10196
|
+
"\0": "\\0",
|
10197
|
+
"\u2028": "\\u2028",
|
10198
|
+
"\u2029": "\\u2029"
|
10199
|
+
};
|
10169
10200
|
if (replacements[c2]) {
|
10170
10201
|
return replacements[c2];
|
10171
10202
|
}
|
10172
10203
|
if (c2 < " ") {
|
10173
|
-
|
10204
|
+
const hexString = c2.charCodeAt(0).toString(16);
|
10174
10205
|
return "\\x" + ("00" + hexString).substring(hexString.length);
|
10175
10206
|
}
|
10176
10207
|
return c2;
|
10177
10208
|
}
|
10178
10209
|
function syntaxError(message) {
|
10179
|
-
|
10210
|
+
const err2 = new SyntaxError(message);
|
10180
10211
|
err2.lineNumber = line;
|
10181
10212
|
err2.columnNumber = column7;
|
10182
10213
|
return err2;
|
10183
10214
|
}
|
10184
|
-
module22.exports = exports2["default"];
|
10185
10215
|
});
|
10186
10216
|
var require_stringify3 = __commonJS2((exports2, module22) => {
|
10187
|
-
|
10188
|
-
|
10189
|
-
|
10190
|
-
|
10191
|
-
|
10192
|
-
|
10193
|
-
|
10194
|
-
|
10195
|
-
|
10196
|
-
var util2 = _interopRequireWildcard(_util);
|
10197
|
-
function _interopRequireWildcard(obj) {
|
10198
|
-
if (obj && obj.__esModule) {
|
10199
|
-
return obj;
|
10200
|
-
} else {
|
10201
|
-
var newObj = {};
|
10202
|
-
if (obj != null) {
|
10203
|
-
for (var key in obj) {
|
10204
|
-
if (Object.prototype.hasOwnProperty.call(obj, key))
|
10205
|
-
newObj[key] = obj[key];
|
10206
|
-
}
|
10207
|
-
}
|
10208
|
-
newObj.default = obj;
|
10209
|
-
return newObj;
|
10210
|
-
}
|
10211
|
-
}
|
10212
|
-
function stringify(value, replacer, space) {
|
10213
|
-
var stack = [];
|
10214
|
-
var indent = "";
|
10215
|
-
var propertyList = void 0;
|
10216
|
-
var replacerFunc = void 0;
|
10217
|
-
var gap = "";
|
10218
|
-
var quote2 = void 0;
|
10219
|
-
if (replacer != null && (typeof replacer === "undefined" ? "undefined" : _typeof(replacer)) === "object" && !Array.isArray(replacer)) {
|
10217
|
+
var util2 = require_util2();
|
10218
|
+
module22.exports = function stringify(value, replacer, space) {
|
10219
|
+
const stack = [];
|
10220
|
+
let indent = "";
|
10221
|
+
let propertyList;
|
10222
|
+
let replacerFunc;
|
10223
|
+
let gap = "";
|
10224
|
+
let quote2;
|
10225
|
+
if (replacer != null && typeof replacer === "object" && !Array.isArray(replacer)) {
|
10220
10226
|
space = replacer.space;
|
10221
10227
|
quote2 = replacer.quote;
|
10222
10228
|
replacer = replacer.replacer;
|
@@ -10225,34 +10231,15 @@ var require_node2 = __commonJS({
|
|
10225
10231
|
replacerFunc = replacer;
|
10226
10232
|
} else if (Array.isArray(replacer)) {
|
10227
10233
|
propertyList = [];
|
10228
|
-
|
10229
|
-
|
10230
|
-
|
10231
|
-
|
10232
|
-
|
10233
|
-
|
10234
|
-
var item = void 0;
|
10235
|
-
if (typeof v === "string") {
|
10236
|
-
item = v;
|
10237
|
-
} else if (typeof v === "number" || v instanceof String || v instanceof Number) {
|
10238
|
-
item = String(v);
|
10239
|
-
}
|
10240
|
-
if (item !== void 0 && propertyList.indexOf(item) < 0) {
|
10241
|
-
propertyList.push(item);
|
10242
|
-
}
|
10234
|
+
for (const v of replacer) {
|
10235
|
+
let item;
|
10236
|
+
if (typeof v === "string") {
|
10237
|
+
item = v;
|
10238
|
+
} else if (typeof v === "number" || v instanceof String || v instanceof Number) {
|
10239
|
+
item = String(v);
|
10243
10240
|
}
|
10244
|
-
|
10245
|
-
|
10246
|
-
_iteratorError = err2;
|
10247
|
-
} finally {
|
10248
|
-
try {
|
10249
|
-
if (!_iteratorNormalCompletion && _iterator.return) {
|
10250
|
-
_iterator.return();
|
10251
|
-
}
|
10252
|
-
} finally {
|
10253
|
-
if (_didIteratorError) {
|
10254
|
-
throw _iteratorError;
|
10255
|
-
}
|
10241
|
+
if (item !== void 0 && propertyList.indexOf(item) < 0) {
|
10242
|
+
propertyList.push(item);
|
10256
10243
|
}
|
10257
10244
|
}
|
10258
10245
|
}
|
@@ -10271,7 +10258,7 @@ var require_node2 = __commonJS({
|
|
10271
10258
|
}
|
10272
10259
|
return serializeProperty("", { "": value });
|
10273
10260
|
function serializeProperty(key, holder) {
|
10274
|
-
|
10261
|
+
let value2 = holder[key];
|
10275
10262
|
if (value2 != null) {
|
10276
10263
|
if (typeof value2.toJSON5 === "function") {
|
10277
10264
|
value2 = value2.toJSON5(key);
|
@@ -10303,56 +10290,57 @@ var require_node2 = __commonJS({
|
|
10303
10290
|
if (typeof value2 === "number") {
|
10304
10291
|
return String(value2);
|
10305
10292
|
}
|
10306
|
-
if (
|
10293
|
+
if (typeof value2 === "object") {
|
10307
10294
|
return Array.isArray(value2) ? serializeArray(value2) : serializeObject(value2);
|
10308
10295
|
}
|
10309
10296
|
return void 0;
|
10310
10297
|
}
|
10311
10298
|
function quoteString(value2) {
|
10312
|
-
|
10313
|
-
|
10314
|
-
|
10315
|
-
|
10316
|
-
|
10317
|
-
|
10318
|
-
|
10319
|
-
|
10320
|
-
|
10321
|
-
|
10322
|
-
|
10323
|
-
|
10324
|
-
|
10325
|
-
|
10326
|
-
|
10327
|
-
|
10328
|
-
|
10329
|
-
|
10330
|
-
|
10331
|
-
|
10332
|
-
|
10333
|
-
|
10334
|
-
|
10299
|
+
const quotes = {
|
10300
|
+
"'": 0.1,
|
10301
|
+
'"': 0.2
|
10302
|
+
};
|
10303
|
+
const replacements = {
|
10304
|
+
"'": "\\'",
|
10305
|
+
'"': '\\"',
|
10306
|
+
"\\": "\\\\",
|
10307
|
+
"\b": "\\b",
|
10308
|
+
"\f": "\\f",
|
10309
|
+
"\n": "\\n",
|
10310
|
+
"\r": "\\r",
|
10311
|
+
" ": "\\t",
|
10312
|
+
"\v": "\\v",
|
10313
|
+
"\0": "\\0",
|
10314
|
+
"\u2028": "\\u2028",
|
10315
|
+
"\u2029": "\\u2029"
|
10316
|
+
};
|
10317
|
+
let product = "";
|
10318
|
+
for (let i = 0; i < value2.length; i++) {
|
10319
|
+
const c = value2[i];
|
10320
|
+
switch (c) {
|
10321
|
+
case "'":
|
10322
|
+
case '"':
|
10323
|
+
quotes[c]++;
|
10324
|
+
product += c;
|
10335
10325
|
continue;
|
10336
|
-
|
10337
|
-
|
10326
|
+
case "\0":
|
10327
|
+
if (util2.isDigit(value2[i + 1])) {
|
10328
|
+
product += "\\x00";
|
10329
|
+
continue;
|
10330
|
+
}
|
10338
10331
|
}
|
10339
|
-
|
10340
|
-
|
10341
|
-
|
10342
|
-
} finally {
|
10343
|
-
try {
|
10344
|
-
if (!_iteratorNormalCompletion2 && _iterator2.return) {
|
10345
|
-
_iterator2.return();
|
10346
|
-
}
|
10347
|
-
} finally {
|
10348
|
-
if (_didIteratorError2) {
|
10349
|
-
throw _iteratorError2;
|
10350
|
-
}
|
10332
|
+
if (replacements[c]) {
|
10333
|
+
product += replacements[c];
|
10334
|
+
continue;
|
10351
10335
|
}
|
10336
|
+
if (c < " ") {
|
10337
|
+
let hexString = c.charCodeAt(0).toString(16);
|
10338
|
+
product += "\\x" + ("00" + hexString).substring(hexString.length);
|
10339
|
+
continue;
|
10340
|
+
}
|
10341
|
+
product += c;
|
10352
10342
|
}
|
10353
|
-
|
10354
|
-
return quotes[a] < quotes[b] ? a : b;
|
10355
|
-
});
|
10343
|
+
const quoteChar = quote2 || Object.keys(quotes).reduce((a, b) => quotes[a] < quotes[b] ? a : b);
|
10356
10344
|
product = product.replace(new RegExp(quoteChar, "g"), replacements[quoteChar]);
|
10357
10345
|
return quoteChar + product + quoteChar;
|
10358
10346
|
}
|
@@ -10361,50 +10349,31 @@ var require_node2 = __commonJS({
|
|
10361
10349
|
throw TypeError("Converting circular structure to JSON5");
|
10362
10350
|
}
|
10363
10351
|
stack.push(value2);
|
10364
|
-
|
10352
|
+
let stepback = indent;
|
10365
10353
|
indent = indent + gap;
|
10366
|
-
|
10367
|
-
|
10368
|
-
|
10369
|
-
|
10370
|
-
|
10371
|
-
|
10372
|
-
|
10373
|
-
|
10374
|
-
var propertyString = serializeProperty(key, value2);
|
10375
|
-
if (propertyString !== void 0) {
|
10376
|
-
var member = serializeKey(key) + ":";
|
10377
|
-
if (gap !== "") {
|
10378
|
-
member += " ";
|
10379
|
-
}
|
10380
|
-
member += propertyString;
|
10381
|
-
partial.push(member);
|
10382
|
-
}
|
10383
|
-
}
|
10384
|
-
} catch (err2) {
|
10385
|
-
_didIteratorError3 = true;
|
10386
|
-
_iteratorError3 = err2;
|
10387
|
-
} finally {
|
10388
|
-
try {
|
10389
|
-
if (!_iteratorNormalCompletion3 && _iterator3.return) {
|
10390
|
-
_iterator3.return();
|
10391
|
-
}
|
10392
|
-
} finally {
|
10393
|
-
if (_didIteratorError3) {
|
10394
|
-
throw _iteratorError3;
|
10354
|
+
let keys = propertyList || Object.keys(value2);
|
10355
|
+
let partial = [];
|
10356
|
+
for (const key of keys) {
|
10357
|
+
const propertyString = serializeProperty(key, value2);
|
10358
|
+
if (propertyString !== void 0) {
|
10359
|
+
let member = serializeKey(key) + ":";
|
10360
|
+
if (gap !== "") {
|
10361
|
+
member += " ";
|
10395
10362
|
}
|
10363
|
+
member += propertyString;
|
10364
|
+
partial.push(member);
|
10396
10365
|
}
|
10397
10366
|
}
|
10398
|
-
|
10367
|
+
let final;
|
10399
10368
|
if (partial.length === 0) {
|
10400
10369
|
final = "{}";
|
10401
10370
|
} else {
|
10402
|
-
|
10371
|
+
let properties;
|
10403
10372
|
if (gap === "") {
|
10404
10373
|
properties = partial.join(",");
|
10405
10374
|
final = "{" + properties + "}";
|
10406
10375
|
} else {
|
10407
|
-
|
10376
|
+
let separator = ",\n" + indent;
|
10408
10377
|
properties = partial.join(separator);
|
10409
10378
|
final = "{\n" + indent + properties + ",\n" + stepback + "}";
|
10410
10379
|
}
|
@@ -10417,11 +10386,11 @@ var require_node2 = __commonJS({
|
|
10417
10386
|
if (key.length === 0) {
|
10418
10387
|
return quoteString(key, true);
|
10419
10388
|
}
|
10420
|
-
|
10389
|
+
const firstChar = String.fromCodePoint(key.codePointAt(0));
|
10421
10390
|
if (!util2.isIdStartChar(firstChar)) {
|
10422
10391
|
return quoteString(key, true);
|
10423
10392
|
}
|
10424
|
-
for (
|
10393
|
+
for (let i = firstChar.length; i < key.length; i++) {
|
10425
10394
|
if (!util2.isIdContinueChar(String.fromCodePoint(key.codePointAt(i)))) {
|
10426
10395
|
return quoteString(key, true);
|
10427
10396
|
}
|
@@ -10433,45 +10402,40 @@ var require_node2 = __commonJS({
|
|
10433
10402
|
throw TypeError("Converting circular structure to JSON5");
|
10434
10403
|
}
|
10435
10404
|
stack.push(value2);
|
10436
|
-
|
10405
|
+
let stepback = indent;
|
10437
10406
|
indent = indent + gap;
|
10438
|
-
|
10439
|
-
for (
|
10440
|
-
|
10407
|
+
let partial = [];
|
10408
|
+
for (let i = 0; i < value2.length; i++) {
|
10409
|
+
const propertyString = serializeProperty(String(i), value2);
|
10441
10410
|
partial.push(propertyString !== void 0 ? propertyString : "null");
|
10442
10411
|
}
|
10443
|
-
|
10412
|
+
let final;
|
10444
10413
|
if (partial.length === 0) {
|
10445
10414
|
final = "[]";
|
10446
10415
|
} else {
|
10447
10416
|
if (gap === "") {
|
10448
|
-
|
10417
|
+
let properties = partial.join(",");
|
10449
10418
|
final = "[" + properties + "]";
|
10450
10419
|
} else {
|
10451
|
-
|
10452
|
-
|
10453
|
-
final = "[\n" + indent +
|
10420
|
+
let separator = ",\n" + indent;
|
10421
|
+
let properties = partial.join(separator);
|
10422
|
+
final = "[\n" + indent + properties + ",\n" + stepback + "]";
|
10454
10423
|
}
|
10455
10424
|
}
|
10456
10425
|
stack.pop();
|
10457
10426
|
indent = stepback;
|
10458
10427
|
return final;
|
10459
10428
|
}
|
10460
|
-
}
|
10461
|
-
module22.exports = exports2["default"];
|
10429
|
+
};
|
10462
10430
|
});
|
10463
10431
|
var require_lib32 = __commonJS2((exports2, module22) => {
|
10464
|
-
|
10465
|
-
|
10466
|
-
var
|
10467
|
-
|
10468
|
-
|
10469
|
-
|
10470
|
-
|
10471
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
10472
|
-
}
|
10473
|
-
exports2.default = { parse: _parse2.default, stringify: _stringify2.default };
|
10474
|
-
module22.exports = exports2["default"];
|
10432
|
+
var parse = require_parse4();
|
10433
|
+
var stringify = require_stringify3();
|
10434
|
+
var JSON5 = {
|
10435
|
+
parse,
|
10436
|
+
stringify
|
10437
|
+
};
|
10438
|
+
module22.exports = JSON5;
|
10475
10439
|
});
|
10476
10440
|
var require_strip_bom = __commonJS2((exports2, module22) => {
|
10477
10441
|
"use strict";
|
@@ -10487,16 +10451,20 @@ var require_node2 = __commonJS({
|
|
10487
10451
|
});
|
10488
10452
|
var require_tsconfig_loader = __commonJS2((exports2) => {
|
10489
10453
|
"use strict";
|
10490
|
-
var __assign = exports2 && exports2.__assign ||
|
10491
|
-
|
10492
|
-
s = arguments
|
10493
|
-
|
10494
|
-
|
10495
|
-
|
10496
|
-
|
10497
|
-
|
10454
|
+
var __assign = exports2 && exports2.__assign || function() {
|
10455
|
+
__assign = Object.assign || function(t) {
|
10456
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
10457
|
+
s = arguments[i];
|
10458
|
+
for (var p in s)
|
10459
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
10460
|
+
t[p] = s[p];
|
10461
|
+
}
|
10462
|
+
return t;
|
10463
|
+
};
|
10464
|
+
return __assign.apply(this, arguments);
|
10498
10465
|
};
|
10499
10466
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
10467
|
+
exports2.loadTsconfig = exports2.walkForTsConfig = exports2.tsConfigLoader = void 0;
|
10500
10468
|
var path4 = require("path");
|
10501
10469
|
var fs32 = require("fs");
|
10502
10470
|
var JSON5 = require_lib32();
|
@@ -10536,19 +10504,23 @@ var require_node2 = __commonJS({
|
|
10536
10504
|
var configAbsolutePath = walkForTsConfig(cwd);
|
10537
10505
|
return configAbsolutePath ? path4.resolve(configAbsolutePath) : void 0;
|
10538
10506
|
}
|
10539
|
-
function walkForTsConfig(directory,
|
10540
|
-
if (
|
10541
|
-
|
10507
|
+
function walkForTsConfig(directory, readdirSync3) {
|
10508
|
+
if (readdirSync3 === void 0) {
|
10509
|
+
readdirSync3 = fs32.readdirSync;
|
10542
10510
|
}
|
10543
|
-
var
|
10544
|
-
|
10545
|
-
|
10511
|
+
var files = readdirSync3(directory);
|
10512
|
+
var filesToCheck = ["tsconfig.json", "jsconfig.json"];
|
10513
|
+
for (var _i = 0, filesToCheck_1 = filesToCheck; _i < filesToCheck_1.length; _i++) {
|
10514
|
+
var fileToCheck = filesToCheck_1[_i];
|
10515
|
+
if (files.indexOf(fileToCheck) !== -1) {
|
10516
|
+
return path4.join(directory, fileToCheck);
|
10517
|
+
}
|
10546
10518
|
}
|
10547
|
-
var parentDirectory = path4.
|
10519
|
+
var parentDirectory = path4.dirname(directory);
|
10548
10520
|
if (directory === parentDirectory) {
|
10549
10521
|
return void 0;
|
10550
10522
|
}
|
10551
|
-
return walkForTsConfig(parentDirectory,
|
10523
|
+
return walkForTsConfig(parentDirectory, readdirSync3);
|
10552
10524
|
}
|
10553
10525
|
exports2.walkForTsConfig = walkForTsConfig;
|
10554
10526
|
function loadTsconfig(configFilePath, existsSync4, readFileSync4) {
|
@@ -10565,44 +10537,147 @@ var require_node2 = __commonJS({
|
|
10565
10537
|
}
|
10566
10538
|
var configString = readFileSync4(configFilePath);
|
10567
10539
|
var cleanedJson = StripBom(configString);
|
10568
|
-
var config
|
10540
|
+
var config;
|
10541
|
+
try {
|
10542
|
+
config = JSON5.parse(cleanedJson);
|
10543
|
+
} catch (e) {
|
10544
|
+
throw new Error("".concat(configFilePath, " is malformed ").concat(e.message));
|
10545
|
+
}
|
10569
10546
|
var extendedConfig = config.extends;
|
10570
10547
|
if (extendedConfig) {
|
10571
|
-
|
10572
|
-
|
10573
|
-
|
10574
|
-
|
10575
|
-
|
10576
|
-
|
10577
|
-
|
10578
|
-
}
|
10579
|
-
var base = loadTsconfig(extendedConfigPath, existsSync4, readFileSync4) || {};
|
10580
|
-
if (base.compilerOptions && base.compilerOptions.baseUrl) {
|
10581
|
-
var extendsDir = path4.dirname(extendedConfig);
|
10582
|
-
base.compilerOptions.baseUrl = path4.join(extendsDir, base.compilerOptions.baseUrl);
|
10548
|
+
var base = void 0;
|
10549
|
+
if (Array.isArray(extendedConfig)) {
|
10550
|
+
base = extendedConfig.reduce(function(currBase, extendedConfigElement) {
|
10551
|
+
return mergeTsconfigs(currBase, loadTsconfigFromExtends(configFilePath, extendedConfigElement, existsSync4, readFileSync4));
|
10552
|
+
}, {});
|
10553
|
+
} else {
|
10554
|
+
base = loadTsconfigFromExtends(configFilePath, extendedConfig, existsSync4, readFileSync4);
|
10583
10555
|
}
|
10584
|
-
return
|
10556
|
+
return mergeTsconfigs(base, config);
|
10585
10557
|
}
|
10586
10558
|
return config;
|
10587
10559
|
}
|
10588
10560
|
exports2.loadTsconfig = loadTsconfig;
|
10561
|
+
function loadTsconfigFromExtends(configFilePath, extendedConfigValue, existsSync4, readFileSync4) {
|
10562
|
+
var _a3;
|
10563
|
+
if (typeof extendedConfigValue === "string" && extendedConfigValue.indexOf(".json") === -1) {
|
10564
|
+
extendedConfigValue += ".json";
|
10565
|
+
}
|
10566
|
+
var currentDir = path4.dirname(configFilePath);
|
10567
|
+
var extendedConfigPath = path4.join(currentDir, extendedConfigValue);
|
10568
|
+
if (extendedConfigValue.indexOf("/") !== -1 && extendedConfigValue.indexOf(".") !== -1 && !existsSync4(extendedConfigPath)) {
|
10569
|
+
extendedConfigPath = path4.join(currentDir, "node_modules", extendedConfigValue);
|
10570
|
+
}
|
10571
|
+
var config = loadTsconfig(extendedConfigPath, existsSync4, readFileSync4) || {};
|
10572
|
+
if ((_a3 = config.compilerOptions) === null || _a3 === void 0 ? void 0 : _a3.baseUrl) {
|
10573
|
+
var extendsDir = path4.dirname(extendedConfigValue);
|
10574
|
+
config.compilerOptions.baseUrl = path4.join(extendsDir, config.compilerOptions.baseUrl);
|
10575
|
+
}
|
10576
|
+
return config;
|
10577
|
+
}
|
10578
|
+
function mergeTsconfigs(base, config) {
|
10579
|
+
base = base || {};
|
10580
|
+
config = config || {};
|
10581
|
+
return __assign(__assign(__assign({}, base), config), { compilerOptions: __assign(__assign({}, base.compilerOptions), config.compilerOptions) });
|
10582
|
+
}
|
10583
|
+
});
|
10584
|
+
var require_config_loader = __commonJS2((exports2) => {
|
10585
|
+
"use strict";
|
10586
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
10587
|
+
exports2.configLoader = exports2.loadConfig = void 0;
|
10588
|
+
var TsConfigLoader2 = require_tsconfig_loader();
|
10589
|
+
var path4 = require("path");
|
10590
|
+
function loadConfig2(cwd) {
|
10591
|
+
if (cwd === void 0) {
|
10592
|
+
cwd = process.cwd();
|
10593
|
+
}
|
10594
|
+
return configLoader({ cwd });
|
10595
|
+
}
|
10596
|
+
exports2.loadConfig = loadConfig2;
|
10597
|
+
function configLoader(_a3) {
|
10598
|
+
var cwd = _a3.cwd, explicitParams = _a3.explicitParams, _b = _a3.tsConfigLoader, tsConfigLoader = _b === void 0 ? TsConfigLoader2.tsConfigLoader : _b;
|
10599
|
+
if (explicitParams) {
|
10600
|
+
var absoluteBaseUrl = path4.isAbsolute(explicitParams.baseUrl) ? explicitParams.baseUrl : path4.join(cwd, explicitParams.baseUrl);
|
10601
|
+
return {
|
10602
|
+
resultType: "success",
|
10603
|
+
configFileAbsolutePath: "",
|
10604
|
+
baseUrl: explicitParams.baseUrl,
|
10605
|
+
absoluteBaseUrl,
|
10606
|
+
paths: explicitParams.paths,
|
10607
|
+
mainFields: explicitParams.mainFields,
|
10608
|
+
addMatchAll: explicitParams.addMatchAll
|
10609
|
+
};
|
10610
|
+
}
|
10611
|
+
var loadResult = tsConfigLoader({
|
10612
|
+
cwd,
|
10613
|
+
getEnv: function(key) {
|
10614
|
+
return process.env[key];
|
10615
|
+
}
|
10616
|
+
});
|
10617
|
+
if (!loadResult.tsConfigPath) {
|
10618
|
+
return {
|
10619
|
+
resultType: "failed",
|
10620
|
+
message: "Couldn't find tsconfig.json"
|
10621
|
+
};
|
10622
|
+
}
|
10623
|
+
return {
|
10624
|
+
resultType: "success",
|
10625
|
+
configFileAbsolutePath: loadResult.tsConfigPath,
|
10626
|
+
baseUrl: loadResult.baseUrl,
|
10627
|
+
absoluteBaseUrl: path4.resolve(path4.dirname(loadResult.tsConfigPath), loadResult.baseUrl || ""),
|
10628
|
+
paths: loadResult.paths || {},
|
10629
|
+
addMatchAll: loadResult.baseUrl !== void 0
|
10630
|
+
};
|
10631
|
+
}
|
10632
|
+
exports2.configLoader = configLoader;
|
10589
10633
|
});
|
10590
10634
|
var require_minimist2 = __commonJS2((exports2, module22) => {
|
10635
|
+
"use strict";
|
10636
|
+
function hasKey(obj, keys) {
|
10637
|
+
var o = obj;
|
10638
|
+
keys.slice(0, -1).forEach(function(key2) {
|
10639
|
+
o = o[key2] || {};
|
10640
|
+
});
|
10641
|
+
var key = keys[keys.length - 1];
|
10642
|
+
return key in o;
|
10643
|
+
}
|
10644
|
+
function isNumber(x) {
|
10645
|
+
if (typeof x === "number") {
|
10646
|
+
return true;
|
10647
|
+
}
|
10648
|
+
if (/^0x[0-9a-f]+$/i.test(x)) {
|
10649
|
+
return true;
|
10650
|
+
}
|
10651
|
+
return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
|
10652
|
+
}
|
10653
|
+
function isConstructorOrProto(obj, key) {
|
10654
|
+
return key === "constructor" && typeof obj[key] === "function" || key === "__proto__";
|
10655
|
+
}
|
10591
10656
|
module22.exports = function(args, opts) {
|
10592
|
-
if (!opts)
|
10657
|
+
if (!opts) {
|
10593
10658
|
opts = {};
|
10594
|
-
var flags = { bools: {}, strings: {}, unknownFn: null };
|
10595
|
-
if (typeof opts["unknown"] === "function") {
|
10596
|
-
flags.unknownFn = opts["unknown"];
|
10597
10659
|
}
|
10598
|
-
|
10660
|
+
var flags = {
|
10661
|
+
bools: {},
|
10662
|
+
strings: {},
|
10663
|
+
unknownFn: null
|
10664
|
+
};
|
10665
|
+
if (typeof opts.unknown === "function") {
|
10666
|
+
flags.unknownFn = opts.unknown;
|
10667
|
+
}
|
10668
|
+
if (typeof opts.boolean === "boolean" && opts.boolean) {
|
10599
10669
|
flags.allBools = true;
|
10600
10670
|
} else {
|
10601
|
-
[].concat(opts
|
10671
|
+
[].concat(opts.boolean).filter(Boolean).forEach(function(key2) {
|
10602
10672
|
flags.bools[key2] = true;
|
10603
10673
|
});
|
10604
10674
|
}
|
10605
10675
|
var aliases = {};
|
10676
|
+
function aliasIsBoolean(key2) {
|
10677
|
+
return aliases[key2].some(function(x) {
|
10678
|
+
return flags.bools[x];
|
10679
|
+
});
|
10680
|
+
}
|
10606
10681
|
Object.keys(opts.alias || {}).forEach(function(key2) {
|
10607
10682
|
aliases[key2] = [].concat(opts.alias[key2]);
|
10608
10683
|
aliases[key2].forEach(function(x) {
|
@@ -10614,89 +10689,96 @@ var require_node2 = __commonJS({
|
|
10614
10689
|
[].concat(opts.string).filter(Boolean).forEach(function(key2) {
|
10615
10690
|
flags.strings[key2] = true;
|
10616
10691
|
if (aliases[key2]) {
|
10617
|
-
|
10692
|
+
[].concat(aliases[key2]).forEach(function(k) {
|
10693
|
+
flags.strings[k] = true;
|
10694
|
+
});
|
10618
10695
|
}
|
10619
10696
|
});
|
10620
|
-
var defaults3 = opts
|
10697
|
+
var defaults3 = opts.default || {};
|
10621
10698
|
var argv2 = { _: [] };
|
10622
|
-
Object.keys(flags.bools).forEach(function(key2) {
|
10623
|
-
setArg(key2, defaults3[key2] === void 0 ? false : defaults3[key2]);
|
10624
|
-
});
|
10625
|
-
var notFlags = [];
|
10626
|
-
if (args.indexOf("--") !== -1) {
|
10627
|
-
notFlags = args.slice(args.indexOf("--") + 1);
|
10628
|
-
args = args.slice(0, args.indexOf("--"));
|
10629
|
-
}
|
10630
10699
|
function argDefined(key2, arg2) {
|
10631
10700
|
return flags.allBools && /^--[^=]+$/.test(arg2) || flags.strings[key2] || flags.bools[key2] || aliases[key2];
|
10632
10701
|
}
|
10633
|
-
function setArg(key2, val, arg2) {
|
10634
|
-
if (arg2 && flags.unknownFn && !argDefined(key2, arg2)) {
|
10635
|
-
if (flags.unknownFn(arg2) === false)
|
10636
|
-
return;
|
10637
|
-
}
|
10638
|
-
var value2 = !flags.strings[key2] && isNumber(val) ? Number(val) : val;
|
10639
|
-
setKey(argv2, key2.split("."), value2);
|
10640
|
-
(aliases[key2] || []).forEach(function(x) {
|
10641
|
-
setKey(argv2, x.split("."), value2);
|
10642
|
-
});
|
10643
|
-
}
|
10644
10702
|
function setKey(obj, keys, value2) {
|
10645
10703
|
var o = obj;
|
10646
10704
|
for (var i2 = 0; i2 < keys.length - 1; i2++) {
|
10647
10705
|
var key2 = keys[i2];
|
10648
|
-
if (key2
|
10706
|
+
if (isConstructorOrProto(o, key2)) {
|
10649
10707
|
return;
|
10650
|
-
|
10708
|
+
}
|
10709
|
+
if (o[key2] === void 0) {
|
10651
10710
|
o[key2] = {};
|
10652
|
-
|
10711
|
+
}
|
10712
|
+
if (o[key2] === Object.prototype || o[key2] === Number.prototype || o[key2] === String.prototype) {
|
10653
10713
|
o[key2] = {};
|
10654
|
-
|
10714
|
+
}
|
10715
|
+
if (o[key2] === Array.prototype) {
|
10655
10716
|
o[key2] = [];
|
10717
|
+
}
|
10656
10718
|
o = o[key2];
|
10657
10719
|
}
|
10658
|
-
var
|
10659
|
-
if (
|
10720
|
+
var lastKey = keys[keys.length - 1];
|
10721
|
+
if (isConstructorOrProto(o, lastKey)) {
|
10660
10722
|
return;
|
10661
|
-
|
10723
|
+
}
|
10724
|
+
if (o === Object.prototype || o === Number.prototype || o === String.prototype) {
|
10662
10725
|
o = {};
|
10663
|
-
|
10726
|
+
}
|
10727
|
+
if (o === Array.prototype) {
|
10664
10728
|
o = [];
|
10665
|
-
|
10666
|
-
|
10667
|
-
|
10668
|
-
|
10729
|
+
}
|
10730
|
+
if (o[lastKey] === void 0 || flags.bools[lastKey] || typeof o[lastKey] === "boolean") {
|
10731
|
+
o[lastKey] = value2;
|
10732
|
+
} else if (Array.isArray(o[lastKey])) {
|
10733
|
+
o[lastKey].push(value2);
|
10669
10734
|
} else {
|
10670
|
-
o[
|
10735
|
+
o[lastKey] = [o[lastKey], value2];
|
10671
10736
|
}
|
10672
10737
|
}
|
10673
|
-
function
|
10674
|
-
|
10675
|
-
|
10738
|
+
function setArg(key2, val, arg2) {
|
10739
|
+
if (arg2 && flags.unknownFn && !argDefined(key2, arg2)) {
|
10740
|
+
if (flags.unknownFn(arg2) === false) {
|
10741
|
+
return;
|
10742
|
+
}
|
10743
|
+
}
|
10744
|
+
var value2 = !flags.strings[key2] && isNumber(val) ? Number(val) : val;
|
10745
|
+
setKey(argv2, key2.split("."), value2);
|
10746
|
+
(aliases[key2] || []).forEach(function(x) {
|
10747
|
+
setKey(argv2, x.split("."), value2);
|
10676
10748
|
});
|
10677
10749
|
}
|
10750
|
+
Object.keys(flags.bools).forEach(function(key2) {
|
10751
|
+
setArg(key2, defaults3[key2] === void 0 ? false : defaults3[key2]);
|
10752
|
+
});
|
10753
|
+
var notFlags = [];
|
10754
|
+
if (args.indexOf("--") !== -1) {
|
10755
|
+
notFlags = args.slice(args.indexOf("--") + 1);
|
10756
|
+
args = args.slice(0, args.indexOf("--"));
|
10757
|
+
}
|
10678
10758
|
for (var i = 0; i < args.length; i++) {
|
10679
10759
|
var arg = args[i];
|
10760
|
+
var key;
|
10761
|
+
var next;
|
10680
10762
|
if (/^--.+=/.test(arg)) {
|
10681
10763
|
var m = arg.match(/^--([^=]+)=([\s\S]*)$/);
|
10682
|
-
|
10764
|
+
key = m[1];
|
10683
10765
|
var value = m[2];
|
10684
10766
|
if (flags.bools[key]) {
|
10685
10767
|
value = value !== "false";
|
10686
10768
|
}
|
10687
10769
|
setArg(key, value, arg);
|
10688
10770
|
} else if (/^--no-.+/.test(arg)) {
|
10689
|
-
|
10771
|
+
key = arg.match(/^--no-(.+)/)[1];
|
10690
10772
|
setArg(key, false, arg);
|
10691
10773
|
} else if (/^--.+/.test(arg)) {
|
10692
|
-
|
10693
|
-
|
10694
|
-
if (next !== void 0 &&
|
10774
|
+
key = arg.match(/^--(.+)/)[1];
|
10775
|
+
next = args[i + 1];
|
10776
|
+
if (next !== void 0 && !/^(-|--)[^-]/.test(next) && !flags.bools[key] && !flags.allBools && (aliases[key] ? !aliasIsBoolean(key) : true)) {
|
10695
10777
|
setArg(key, next, arg);
|
10696
|
-
i
|
10778
|
+
i += 1;
|
10697
10779
|
} else if (/^(true|false)$/.test(next)) {
|
10698
10780
|
setArg(key, next === "true", arg);
|
10699
|
-
i
|
10781
|
+
i += 1;
|
10700
10782
|
} else {
|
10701
10783
|
setArg(key, flags.strings[key] ? "" : true, arg);
|
10702
10784
|
}
|
@@ -10704,13 +10786,13 @@ var require_node2 = __commonJS({
|
|
10704
10786
|
var letters = arg.slice(1, -1).split("");
|
10705
10787
|
var broken = false;
|
10706
10788
|
for (var j = 0; j < letters.length; j++) {
|
10707
|
-
|
10789
|
+
next = arg.slice(j + 2);
|
10708
10790
|
if (next === "-") {
|
10709
10791
|
setArg(letters[j], next, arg);
|
10710
10792
|
continue;
|
10711
10793
|
}
|
10712
|
-
if (/[A-Za-z]/.test(letters[j]) &&
|
10713
|
-
setArg(letters[j], next.
|
10794
|
+
if (/[A-Za-z]/.test(letters[j]) && next[0] === "=") {
|
10795
|
+
setArg(letters[j], next.slice(1), arg);
|
10714
10796
|
broken = true;
|
10715
10797
|
break;
|
10716
10798
|
}
|
@@ -10727,21 +10809,21 @@ var require_node2 = __commonJS({
|
|
10727
10809
|
setArg(letters[j], flags.strings[letters[j]] ? "" : true, arg);
|
10728
10810
|
}
|
10729
10811
|
}
|
10730
|
-
|
10812
|
+
key = arg.slice(-1)[0];
|
10731
10813
|
if (!broken && key !== "-") {
|
10732
10814
|
if (args[i + 1] && !/^(-|--)[^-]/.test(args[i + 1]) && !flags.bools[key] && (aliases[key] ? !aliasIsBoolean(key) : true)) {
|
10733
10815
|
setArg(key, args[i + 1], arg);
|
10734
|
-
i
|
10816
|
+
i += 1;
|
10735
10817
|
} else if (args[i + 1] && /^(true|false)$/.test(args[i + 1])) {
|
10736
10818
|
setArg(key, args[i + 1] === "true", arg);
|
10737
|
-
i
|
10819
|
+
i += 1;
|
10738
10820
|
} else {
|
10739
10821
|
setArg(key, flags.strings[key] ? "" : true, arg);
|
10740
10822
|
}
|
10741
10823
|
}
|
10742
10824
|
} else {
|
10743
10825
|
if (!flags.unknownFn || flags.unknownFn(arg) !== false) {
|
10744
|
-
argv2._.push(flags.strings
|
10826
|
+
argv2._.push(flags.strings._ || !isNumber(arg) ? arg : Number(arg));
|
10745
10827
|
}
|
10746
10828
|
if (opts.stopEarly) {
|
10747
10829
|
argv2._.push.apply(argv2._, args.slice(i + 1));
|
@@ -10749,120 +10831,41 @@ var require_node2 = __commonJS({
|
|
10749
10831
|
}
|
10750
10832
|
}
|
10751
10833
|
}
|
10752
|
-
Object.keys(defaults3).forEach(function(
|
10753
|
-
if (!hasKey(argv2,
|
10754
|
-
setKey(argv2,
|
10755
|
-
(aliases[
|
10756
|
-
setKey(argv2, x.split("."), defaults3[
|
10834
|
+
Object.keys(defaults3).forEach(function(k) {
|
10835
|
+
if (!hasKey(argv2, k.split("."))) {
|
10836
|
+
setKey(argv2, k.split("."), defaults3[k]);
|
10837
|
+
(aliases[k] || []).forEach(function(x) {
|
10838
|
+
setKey(argv2, x.split("."), defaults3[k]);
|
10757
10839
|
});
|
10758
10840
|
}
|
10759
10841
|
});
|
10760
10842
|
if (opts["--"]) {
|
10761
|
-
argv2["--"] =
|
10762
|
-
notFlags.forEach(function(key2) {
|
10763
|
-
argv2["--"].push(key2);
|
10764
|
-
});
|
10843
|
+
argv2["--"] = notFlags.slice();
|
10765
10844
|
} else {
|
10766
|
-
notFlags.forEach(function(
|
10767
|
-
argv2._.push(
|
10845
|
+
notFlags.forEach(function(k) {
|
10846
|
+
argv2._.push(k);
|
10768
10847
|
});
|
10769
10848
|
}
|
10770
10849
|
return argv2;
|
10771
10850
|
};
|
10772
|
-
function hasKey(obj, keys) {
|
10773
|
-
var o = obj;
|
10774
|
-
keys.slice(0, -1).forEach(function(key2) {
|
10775
|
-
o = o[key2] || {};
|
10776
|
-
});
|
10777
|
-
var key = keys[keys.length - 1];
|
10778
|
-
return key in o;
|
10779
|
-
}
|
10780
|
-
function isNumber(x) {
|
10781
|
-
if (typeof x === "number")
|
10782
|
-
return true;
|
10783
|
-
if (/^0x[0-9a-f]+$/i.test(x))
|
10784
|
-
return true;
|
10785
|
-
return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
|
10786
|
-
}
|
10787
|
-
});
|
10788
|
-
var require_options = __commonJS2((exports2) => {
|
10789
|
-
"use strict";
|
10790
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
10791
|
-
var minimist2 = require_minimist2();
|
10792
|
-
var argv2 = minimist2(process.argv.slice(2), {
|
10793
|
-
string: ["project"],
|
10794
|
-
alias: {
|
10795
|
-
project: ["P"]
|
10796
|
-
}
|
10797
|
-
});
|
10798
|
-
var project = argv2 && argv2.project;
|
10799
|
-
exports2.options = {
|
10800
|
-
cwd: project || process.cwd()
|
10801
|
-
};
|
10802
|
-
});
|
10803
|
-
var require_config_loader = __commonJS2((exports2) => {
|
10804
|
-
"use strict";
|
10805
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
10806
|
-
var TsConfigLoader = require_tsconfig_loader();
|
10807
|
-
var path4 = require("path");
|
10808
|
-
var options_1 = require_options();
|
10809
|
-
function loadConfig2(cwd) {
|
10810
|
-
if (cwd === void 0) {
|
10811
|
-
cwd = options_1.options.cwd;
|
10812
|
-
}
|
10813
|
-
return configLoader({ cwd });
|
10814
|
-
}
|
10815
|
-
exports2.loadConfig = loadConfig2;
|
10816
|
-
function configLoader(_a3) {
|
10817
|
-
var cwd = _a3.cwd, explicitParams = _a3.explicitParams, _b = _a3.tsConfigLoader, tsConfigLoader = _b === void 0 ? TsConfigLoader.tsConfigLoader : _b;
|
10818
|
-
if (explicitParams) {
|
10819
|
-
var absoluteBaseUrl_1 = path4.isAbsolute(explicitParams.baseUrl) ? explicitParams.baseUrl : path4.join(cwd, explicitParams.baseUrl);
|
10820
|
-
return {
|
10821
|
-
resultType: "success",
|
10822
|
-
configFileAbsolutePath: "",
|
10823
|
-
baseUrl: explicitParams.baseUrl,
|
10824
|
-
absoluteBaseUrl: absoluteBaseUrl_1,
|
10825
|
-
paths: explicitParams.paths,
|
10826
|
-
mainFields: explicitParams.mainFields,
|
10827
|
-
addMatchAll: explicitParams.addMatchAll
|
10828
|
-
};
|
10829
|
-
}
|
10830
|
-
var loadResult = tsConfigLoader({
|
10831
|
-
cwd,
|
10832
|
-
getEnv: function(key) {
|
10833
|
-
return process.env[key];
|
10834
|
-
}
|
10835
|
-
});
|
10836
|
-
if (!loadResult.tsConfigPath) {
|
10837
|
-
return {
|
10838
|
-
resultType: "failed",
|
10839
|
-
message: "Couldn't find tsconfig.json"
|
10840
|
-
};
|
10841
|
-
}
|
10842
|
-
if (!loadResult.baseUrl) {
|
10843
|
-
return {
|
10844
|
-
resultType: "failed",
|
10845
|
-
message: "Missing baseUrl in compilerOptions"
|
10846
|
-
};
|
10847
|
-
}
|
10848
|
-
var tsConfigDir = path4.dirname(loadResult.tsConfigPath);
|
10849
|
-
var absoluteBaseUrl = path4.join(tsConfigDir, loadResult.baseUrl);
|
10850
|
-
return {
|
10851
|
-
resultType: "success",
|
10852
|
-
configFileAbsolutePath: loadResult.tsConfigPath,
|
10853
|
-
baseUrl: loadResult.baseUrl,
|
10854
|
-
absoluteBaseUrl,
|
10855
|
-
paths: loadResult.paths || {}
|
10856
|
-
};
|
10857
|
-
}
|
10858
|
-
exports2.configLoader = configLoader;
|
10859
10851
|
});
|
10860
10852
|
var require_register = __commonJS2((exports2) => {
|
10861
10853
|
"use strict";
|
10854
|
+
var __spreadArray = exports2 && exports2.__spreadArray || function(to, from, pack) {
|
10855
|
+
if (pack || arguments.length === 2)
|
10856
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
10857
|
+
if (ar || !(i in from)) {
|
10858
|
+
if (!ar)
|
10859
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
10860
|
+
ar[i] = from[i];
|
10861
|
+
}
|
10862
|
+
}
|
10863
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
10864
|
+
};
|
10862
10865
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
10866
|
+
exports2.register = void 0;
|
10863
10867
|
var match_path_sync_1 = require_match_path_sync();
|
10864
10868
|
var config_loader_1 = require_config_loader();
|
10865
|
-
var options_1 = require_options();
|
10866
10869
|
var noOp2 = function() {
|
10867
10870
|
return void 0;
|
10868
10871
|
};
|
@@ -10903,16 +10906,33 @@ var require_node2 = __commonJS({
|
|
10903
10906
|
}
|
10904
10907
|
return coreModules;
|
10905
10908
|
}
|
10906
|
-
function register2(
|
10907
|
-
var
|
10908
|
-
|
10909
|
+
function register2(params) {
|
10910
|
+
var cwd;
|
10911
|
+
var explicitParams;
|
10912
|
+
if (params) {
|
10913
|
+
cwd = params.cwd;
|
10914
|
+
if (params.baseUrl || params.paths) {
|
10915
|
+
explicitParams = params;
|
10916
|
+
}
|
10917
|
+
} else {
|
10918
|
+
var minimist2 = require_minimist2();
|
10919
|
+
var argv2 = minimist2(process.argv.slice(2), {
|
10920
|
+
string: ["project"],
|
10921
|
+
alias: {
|
10922
|
+
project: ["P"]
|
10923
|
+
}
|
10924
|
+
});
|
10925
|
+
cwd = argv2.project;
|
10926
|
+
}
|
10927
|
+
var configLoaderResult = (0, config_loader_1.configLoader)({
|
10928
|
+
cwd: cwd !== null && cwd !== void 0 ? cwd : process.cwd(),
|
10909
10929
|
explicitParams
|
10910
10930
|
});
|
10911
10931
|
if (configLoaderResult.resultType === "failed") {
|
10912
|
-
console.warn(configLoaderResult.message
|
10932
|
+
console.warn("".concat(configLoaderResult.message, ". tsconfig-paths will be skipped"));
|
10913
10933
|
return noOp2;
|
10914
10934
|
}
|
10915
|
-
var matchPath = match_path_sync_1.createMatchPath(configLoaderResult.absoluteBaseUrl, configLoaderResult.paths, configLoaderResult.mainFields, configLoaderResult.addMatchAll);
|
10935
|
+
var matchPath = (0, match_path_sync_1.createMatchPath)(configLoaderResult.absoluteBaseUrl, configLoaderResult.paths, configLoaderResult.mainFields, configLoaderResult.addMatchAll);
|
10916
10936
|
var Module = require("module");
|
10917
10937
|
var originalResolveFilename = Module._resolveFilename;
|
10918
10938
|
var coreModules = getCoreModules(Module.builtinModules);
|
@@ -10921,7 +10941,7 @@ var require_node2 = __commonJS({
|
|
10921
10941
|
if (!isCoreModule) {
|
10922
10942
|
var found = matchPath(request);
|
10923
10943
|
if (found) {
|
10924
|
-
var modifiedArguments = [found]
|
10944
|
+
var modifiedArguments = __spreadArray([found], [].slice.call(arguments, 1), true);
|
10925
10945
|
return originalResolveFilename.apply(this, modifiedArguments);
|
10926
10946
|
}
|
10927
10947
|
}
|
@@ -10936,16 +10956,29 @@ var require_node2 = __commonJS({
|
|
10936
10956
|
var require_lib42 = __commonJS2((exports2) => {
|
10937
10957
|
"use strict";
|
10938
10958
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
10959
|
+
exports2.loadConfig = exports2.register = exports2.matchFromAbsolutePathsAsync = exports2.createMatchPathAsync = exports2.matchFromAbsolutePaths = exports2.createMatchPath = void 0;
|
10939
10960
|
var match_path_sync_1 = require_match_path_sync();
|
10940
|
-
exports2
|
10941
|
-
|
10961
|
+
Object.defineProperty(exports2, "createMatchPath", { enumerable: true, get: function() {
|
10962
|
+
return match_path_sync_1.createMatchPath;
|
10963
|
+
} });
|
10964
|
+
Object.defineProperty(exports2, "matchFromAbsolutePaths", { enumerable: true, get: function() {
|
10965
|
+
return match_path_sync_1.matchFromAbsolutePaths;
|
10966
|
+
} });
|
10942
10967
|
var match_path_async_1 = require_match_path_async();
|
10943
|
-
exports2
|
10944
|
-
|
10968
|
+
Object.defineProperty(exports2, "createMatchPathAsync", { enumerable: true, get: function() {
|
10969
|
+
return match_path_async_1.createMatchPathAsync;
|
10970
|
+
} });
|
10971
|
+
Object.defineProperty(exports2, "matchFromAbsolutePathsAsync", { enumerable: true, get: function() {
|
10972
|
+
return match_path_async_1.matchFromAbsolutePathsAsync;
|
10973
|
+
} });
|
10945
10974
|
var register_1 = require_register();
|
10946
|
-
exports2
|
10975
|
+
Object.defineProperty(exports2, "register", { enumerable: true, get: function() {
|
10976
|
+
return register_1.register;
|
10977
|
+
} });
|
10947
10978
|
var config_loader_1 = require_config_loader();
|
10948
|
-
exports2
|
10979
|
+
Object.defineProperty(exports2, "loadConfig", { enumerable: true, get: function() {
|
10980
|
+
return config_loader_1.loadConfig;
|
10981
|
+
} });
|
10949
10982
|
});
|
10950
10983
|
var import_source_map_support = __toModule(require_source_map_support());
|
10951
10984
|
var import_pirates = __toModule(require_lib5());
|
@@ -13310,6 +13343,7 @@ var init_serializer = __esm({
|
|
13310
13343
|
import_path2 = __toESM(require("path"));
|
13311
13344
|
glob = __toESM(require("glob"));
|
13312
13345
|
init_source();
|
13346
|
+
init_views();
|
13313
13347
|
sqlToStr = (sql2) => {
|
13314
13348
|
return sql2.toQuery({
|
13315
13349
|
escapeName: () => {
|
@@ -13360,7 +13394,16 @@ ${filenames.join("\n")}
|
|
13360
13394
|
});
|
13361
13395
|
return result2;
|
13362
13396
|
}, /* @__PURE__ */ new Set());
|
13363
|
-
|
13397
|
+
const res = [...result];
|
13398
|
+
const errors = res.filter((it) => {
|
13399
|
+
return !(it.endsWith(".ts") || it.endsWith(".js") || it.endsWith(".cjs") || it.endsWith(".mjs") || it.endsWith(".mts") || it.endsWith(".cts"));
|
13400
|
+
});
|
13401
|
+
if (res.length === 0) {
|
13402
|
+
console.log(error(`No schema files found for path [${path4.join(", ")}]`));
|
13403
|
+
console.log(error(`If path represents a file - please make sure to use .ts or other extension in the path`));
|
13404
|
+
process.exit(1);
|
13405
|
+
}
|
13406
|
+
return res;
|
13364
13407
|
};
|
13365
13408
|
}
|
13366
13409
|
});
|
@@ -44267,7 +44310,7 @@ var require_promise = __commonJS({
|
|
44267
44310
|
for (let i = 0; functionsToWrap && i < functionsToWrap.length; i++) {
|
44268
44311
|
const func = functionsToWrap[i];
|
44269
44312
|
if (typeof core.Connection.prototype[func] === "function" && PromiseConnection.prototype[func] === void 0) {
|
44270
|
-
PromiseConnection.prototype[func] = function factory(funcName) {
|
44313
|
+
PromiseConnection.prototype[func] = /* @__PURE__ */ function factory(funcName) {
|
44271
44314
|
return function() {
|
44272
44315
|
return core.Connection.prototype[funcName].apply(
|
44273
44316
|
this.connection,
|
@@ -44387,7 +44430,7 @@ var require_promise = __commonJS({
|
|
44387
44430
|
for (let i = 0; functionsToWrap && i < functionsToWrap.length; i++) {
|
44388
44431
|
const func = functionsToWrap[i];
|
44389
44432
|
if (typeof core.Pool.prototype[func] === "function" && PromisePool.prototype[func] === void 0) {
|
44390
|
-
PromisePool.prototype[func] = function factory(funcName) {
|
44433
|
+
PromisePool.prototype[func] = /* @__PURE__ */ function factory(funcName) {
|
44391
44434
|
return function() {
|
44392
44435
|
return core.Pool.prototype[funcName].apply(this.pool, arguments);
|
44393
44436
|
};
|
@@ -44474,7 +44517,7 @@ var require_promise = __commonJS({
|
|
44474
44517
|
for (let i = 0; functionsToWrap && i < functionsToWrap.length; i++) {
|
44475
44518
|
const func = functionsToWrap[i];
|
44476
44519
|
if (typeof core.PoolCluster.prototype[func] === "function" && PromisePoolCluster.prototype[func] === void 0) {
|
44477
|
-
PromisePoolCluster.prototype[func] = function factory(funcName) {
|
44520
|
+
PromisePoolCluster.prototype[func] = /* @__PURE__ */ function factory(funcName) {
|
44478
44521
|
return function() {
|
44479
44522
|
return core.PoolCluster.prototype[funcName].apply(this.poolCluster, arguments);
|
44480
44523
|
};
|
@@ -51218,7 +51261,7 @@ var require_partial = __commonJS({
|
|
51218
51261
|
match(filepath) {
|
51219
51262
|
const parts = filepath.split("/");
|
51220
51263
|
const levels = parts.length;
|
51221
|
-
const patterns = this._storage.filter((
|
51264
|
+
const patterns = this._storage.filter((info3) => !info3.complete || info3.segments.length > levels);
|
51222
51265
|
for (const pattern of patterns) {
|
51223
51266
|
const section = pattern.sections[0];
|
51224
51267
|
if (!pattern.complete && levels > section.length) {
|
@@ -62064,13 +62107,13 @@ var package_default = {
|
|
62064
62107
|
]
|
62065
62108
|
},
|
62066
62109
|
dependencies: {
|
62067
|
-
"@drizzle-team/studio": "^0.0.
|
62110
|
+
"@drizzle-team/studio": "^0.0.34",
|
62068
62111
|
"@esbuild-kit/esm-loader": "^2.5.5",
|
62069
62112
|
camelcase: "^7.0.1",
|
62070
62113
|
chalk: "^5.2.0",
|
62071
62114
|
commander: "^9.4.1",
|
62072
|
-
esbuild: "^0.
|
62073
|
-
"esbuild-register": "^3.
|
62115
|
+
esbuild: "^0.19.7",
|
62116
|
+
"esbuild-register": "^3.5.0",
|
62074
62117
|
glob: "^8.1.0",
|
62075
62118
|
hanji: "^0.0.5",
|
62076
62119
|
"json-diff": "0.9.0",
|