prettier 2.7.1 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +181 -1101
- package/{bin-prettier.js → bin/prettier.cjs} +10 -5
- package/doc.js +1432 -1305
- package/doc.mjs +1490 -0
- package/index.cjs +532 -0
- package/index.mjs +35778 -0
- package/{cli.js → internal/cli.mjs} +12236 -13897
- package/{third-party.js → internal/third-party.mjs} +704 -611
- package/package.json +140 -6
- package/plugins/acorn-and-espree.js +13 -0
- package/plugins/acorn-and-espree.mjs +13 -0
- package/plugins/angular.js +2 -0
- package/plugins/angular.mjs +2 -0
- package/plugins/babel.js +16 -0
- package/plugins/babel.mjs +16 -0
- package/plugins/flow.js +21 -0
- package/plugins/flow.mjs +21 -0
- package/plugins/glimmer.js +25 -0
- package/plugins/glimmer.mjs +25 -0
- package/plugins/graphql.js +9 -0
- package/plugins/graphql.mjs +9 -0
- package/plugins/html.js +29 -0
- package/plugins/html.mjs +29 -0
- package/plugins/markdown.js +39 -0
- package/plugins/markdown.mjs +39 -0
- package/plugins/meriyah.js +6 -0
- package/plugins/meriyah.mjs +6 -0
- package/plugins/postcss.js +50 -0
- package/plugins/postcss.mjs +50 -0
- package/plugins/typescript.js +242 -0
- package/plugins/typescript.mjs +242 -0
- package/plugins/yaml.js +148 -0
- package/plugins/yaml.mjs +148 -0
- package/standalone.js +75 -85
- package/standalone.mjs +106 -0
- package/esm/parser-angular.mjs +0 -2
- package/esm/parser-babel.mjs +0 -27
- package/esm/parser-espree.mjs +0 -26
- package/esm/parser-flow.mjs +0 -35
- package/esm/parser-glimmer.mjs +0 -27
- package/esm/parser-graphql.mjs +0 -15
- package/esm/parser-html.mjs +0 -36
- package/esm/parser-markdown.mjs +0 -76
- package/esm/parser-meriyah.mjs +0 -19
- package/esm/parser-postcss.mjs +0 -76
- package/esm/parser-typescript.mjs +0 -280
- package/esm/parser-yaml.mjs +0 -150
- package/esm/standalone.mjs +0 -116
- package/index.js +0 -37282
- package/parser-angular.js +0 -2
- package/parser-babel.js +0 -27
- package/parser-espree.js +0 -26
- package/parser-flow.js +0 -35
- package/parser-glimmer.js +0 -27
- package/parser-graphql.js +0 -15
- package/parser-html.js +0 -36
- package/parser-markdown.js +0 -76
- package/parser-meriyah.js +0 -19
- package/parser-postcss.js +0 -76
- package/parser-typescript.js +0 -280
- package/parser-yaml.js +0 -150
|
@@ -1,18 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
import { createRequire as __prettierCreateRequire } from "module";
|
|
2
|
+
import { fileURLToPath as __prettierFileUrlToPath } from "url";
|
|
3
|
+
import { dirname as __prettierDirname } from "path";
|
|
4
|
+
const require = __prettierCreateRequire(import.meta.url);
|
|
5
|
+
const __filename = __prettierFileUrlToPath(import.meta.url);
|
|
6
|
+
const __dirname = __prettierDirname(__filename);
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
var __create = Object.create;
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
11
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
15
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
16
|
+
}) : x)(function(x) {
|
|
17
|
+
if (typeof require !== "undefined")
|
|
18
|
+
return require.apply(this, arguments);
|
|
19
|
+
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
20
|
+
});
|
|
21
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
22
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
23
|
+
};
|
|
24
|
+
var __copyProps = (to, from, except, desc) => {
|
|
25
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
26
|
+
for (let key of __getOwnPropNames(from))
|
|
27
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
29
|
+
}
|
|
30
|
+
return to;
|
|
9
31
|
};
|
|
32
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
33
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
|
+
mod
|
|
35
|
+
));
|
|
36
|
+
|
|
37
|
+
// node_modules/import-fresh/node_modules/resolve-from/index.js
|
|
10
38
|
var require_resolve_from = __commonJS({
|
|
11
|
-
"node_modules/import-fresh/node_modules/resolve-from/index.js"(
|
|
39
|
+
"node_modules/import-fresh/node_modules/resolve-from/index.js"(exports, module) {
|
|
12
40
|
"use strict";
|
|
13
|
-
var path =
|
|
14
|
-
var Module =
|
|
15
|
-
var fs =
|
|
41
|
+
var path = __require("path");
|
|
42
|
+
var Module = __require("module");
|
|
43
|
+
var fs = __require("fs");
|
|
16
44
|
var resolveFrom = (fromDir, moduleId, silent) => {
|
|
17
45
|
if (typeof fromDir !== "string") {
|
|
18
46
|
throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
|
|
@@ -46,30 +74,35 @@ var require_resolve_from = __commonJS({
|
|
|
46
74
|
}
|
|
47
75
|
return resolveFileName();
|
|
48
76
|
};
|
|
49
|
-
|
|
50
|
-
|
|
77
|
+
module.exports = (fromDir, moduleId) => resolveFrom(fromDir, moduleId);
|
|
78
|
+
module.exports.silent = (fromDir, moduleId) => resolveFrom(fromDir, moduleId, true);
|
|
51
79
|
}
|
|
52
80
|
});
|
|
81
|
+
|
|
82
|
+
// scripts/build/shims/parent-module.cjs
|
|
53
83
|
var require_parent_module = __commonJS({
|
|
54
|
-
"scripts/build/shims/parent-module.cjs"(
|
|
84
|
+
"scripts/build/shims/parent-module.cjs"(exports, module) {
|
|
55
85
|
"use strict";
|
|
56
|
-
|
|
86
|
+
var parentModule = (file) => file;
|
|
87
|
+
module.exports = parentModule;
|
|
57
88
|
}
|
|
58
89
|
});
|
|
90
|
+
|
|
91
|
+
// node_modules/import-fresh/index.js
|
|
59
92
|
var require_import_fresh = __commonJS({
|
|
60
|
-
"node_modules/import-fresh/index.js"(
|
|
93
|
+
"node_modules/import-fresh/index.js"(exports, module) {
|
|
61
94
|
"use strict";
|
|
62
|
-
var path =
|
|
95
|
+
var path = __require("path");
|
|
63
96
|
var resolveFrom = require_resolve_from();
|
|
64
97
|
var parentModule = require_parent_module();
|
|
65
|
-
|
|
98
|
+
module.exports = (moduleId) => {
|
|
66
99
|
if (typeof moduleId !== "string") {
|
|
67
100
|
throw new TypeError("Expected a string");
|
|
68
101
|
}
|
|
69
102
|
const parentPath = parentModule(__filename);
|
|
70
103
|
const cwd = parentPath ? path.dirname(parentPath) : __dirname;
|
|
71
104
|
const filePath = resolveFrom(cwd, moduleId);
|
|
72
|
-
const oldModule =
|
|
105
|
+
const oldModule = __require.cache[filePath];
|
|
73
106
|
if (oldModule && oldModule.parent) {
|
|
74
107
|
let i = oldModule.parent.children.length;
|
|
75
108
|
while (i--) {
|
|
@@ -78,16 +111,18 @@ var require_import_fresh = __commonJS({
|
|
|
78
111
|
}
|
|
79
112
|
}
|
|
80
113
|
}
|
|
81
|
-
delete
|
|
82
|
-
const parent =
|
|
83
|
-
return parent === void 0 ?
|
|
114
|
+
delete __require.cache[filePath];
|
|
115
|
+
const parent = __require.cache[parentPath];
|
|
116
|
+
return parent === void 0 ? __require(filePath) : parent.require(filePath);
|
|
84
117
|
};
|
|
85
118
|
}
|
|
86
119
|
});
|
|
120
|
+
|
|
121
|
+
// node_modules/is-arrayish/index.js
|
|
87
122
|
var require_is_arrayish = __commonJS({
|
|
88
|
-
"node_modules/is-arrayish/index.js"(
|
|
123
|
+
"node_modules/is-arrayish/index.js"(exports, module) {
|
|
89
124
|
"use strict";
|
|
90
|
-
|
|
125
|
+
module.exports = function isArrayish(obj) {
|
|
91
126
|
if (!obj) {
|
|
92
127
|
return false;
|
|
93
128
|
}
|
|
@@ -95,10 +130,12 @@ var require_is_arrayish = __commonJS({
|
|
|
95
130
|
};
|
|
96
131
|
}
|
|
97
132
|
});
|
|
133
|
+
|
|
134
|
+
// node_modules/error-ex/index.js
|
|
98
135
|
var require_error_ex = __commonJS({
|
|
99
|
-
"node_modules/error-ex/index.js"(
|
|
136
|
+
"node_modules/error-ex/index.js"(exports, module) {
|
|
100
137
|
"use strict";
|
|
101
|
-
var util =
|
|
138
|
+
var util = __require("util");
|
|
102
139
|
var isArrayish = require_is_arrayish();
|
|
103
140
|
var errorEx = function errorEx2(name, properties) {
|
|
104
141
|
if (!name || name.constructor !== String) {
|
|
@@ -200,11 +237,13 @@ var require_error_ex = __commonJS({
|
|
|
200
237
|
}
|
|
201
238
|
};
|
|
202
239
|
};
|
|
203
|
-
|
|
240
|
+
module.exports = errorEx;
|
|
204
241
|
}
|
|
205
242
|
});
|
|
243
|
+
|
|
244
|
+
// node_modules/json-parse-even-better-errors/index.js
|
|
206
245
|
var require_json_parse_even_better_errors = __commonJS({
|
|
207
|
-
"node_modules/json-parse-even-better-errors/index.js"(
|
|
246
|
+
"node_modules/json-parse-even-better-errors/index.js"(exports, module) {
|
|
208
247
|
"use strict";
|
|
209
248
|
var hexify = (char) => {
|
|
210
249
|
const h = char.charCodeAt(0).toString(16).toUpperCase();
|
|
@@ -273,7 +312,9 @@ var require_json_parse_even_better_errors = __commonJS({
|
|
|
273
312
|
} catch (e) {
|
|
274
313
|
if (typeof txt !== "string" && !Buffer.isBuffer(txt)) {
|
|
275
314
|
const isEmptyArray = Array.isArray(txt) && txt.length === 0;
|
|
276
|
-
throw Object.assign(new TypeError(
|
|
315
|
+
throw Object.assign(new TypeError(
|
|
316
|
+
`Cannot parse ${isEmptyArray ? "an empty array" : String(txt)}`
|
|
317
|
+
), {
|
|
277
318
|
code: "EJSONPARSE",
|
|
278
319
|
systemError: e
|
|
279
320
|
});
|
|
@@ -282,7 +323,7 @@ var require_json_parse_even_better_errors = __commonJS({
|
|
|
282
323
|
}
|
|
283
324
|
};
|
|
284
325
|
var stripBOM = (txt) => String(txt).replace(/^\uFEFF/, "");
|
|
285
|
-
|
|
326
|
+
module.exports = parseJson;
|
|
286
327
|
parseJson.JSONParseError = JSONParseError;
|
|
287
328
|
parseJson.noExceptions = (txt, reviver) => {
|
|
288
329
|
try {
|
|
@@ -292,11 +333,13 @@ var require_json_parse_even_better_errors = __commonJS({
|
|
|
292
333
|
};
|
|
293
334
|
}
|
|
294
335
|
});
|
|
336
|
+
|
|
337
|
+
// node_modules/parse-json/node_modules/lines-and-columns/build/index.js
|
|
295
338
|
var require_build = __commonJS({
|
|
296
|
-
"node_modules/parse-json/node_modules/lines-and-columns/build/index.js"(
|
|
339
|
+
"node_modules/parse-json/node_modules/lines-and-columns/build/index.js"(exports) {
|
|
297
340
|
"use strict";
|
|
298
|
-
|
|
299
|
-
|
|
341
|
+
exports.__esModule = true;
|
|
342
|
+
exports.LinesAndColumns = void 0;
|
|
300
343
|
var LF = "\n";
|
|
301
344
|
var CR = "\r";
|
|
302
345
|
var LinesAndColumns = function() {
|
|
@@ -333,10 +376,7 @@ var require_build = __commonJS({
|
|
|
333
376
|
line++;
|
|
334
377
|
}
|
|
335
378
|
var column = index - offsets[line];
|
|
336
|
-
return {
|
|
337
|
-
line,
|
|
338
|
-
column
|
|
339
|
-
};
|
|
379
|
+
return { line, column };
|
|
340
380
|
};
|
|
341
381
|
LinesAndColumns2.prototype.indexForLocation = function(location) {
|
|
342
382
|
var line = location.line, column = location.column;
|
|
@@ -355,22 +395,20 @@ var require_build = __commonJS({
|
|
|
355
395
|
};
|
|
356
396
|
return LinesAndColumns2;
|
|
357
397
|
}();
|
|
358
|
-
|
|
359
|
-
|
|
398
|
+
exports.LinesAndColumns = LinesAndColumns;
|
|
399
|
+
exports["default"] = LinesAndColumns;
|
|
360
400
|
}
|
|
361
401
|
});
|
|
402
|
+
|
|
403
|
+
// node_modules/js-tokens/index.js
|
|
362
404
|
var require_js_tokens = __commonJS({
|
|
363
|
-
"node_modules/js-tokens/index.js"(
|
|
364
|
-
Object.defineProperty(
|
|
405
|
+
"node_modules/js-tokens/index.js"(exports) {
|
|
406
|
+
Object.defineProperty(exports, "__esModule", {
|
|
365
407
|
value: true
|
|
366
408
|
});
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
var token = {
|
|
370
|
-
type: "invalid",
|
|
371
|
-
value: match[0],
|
|
372
|
-
closed: void 0
|
|
373
|
-
};
|
|
409
|
+
exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;
|
|
410
|
+
exports.matchToToken = function(match) {
|
|
411
|
+
var token = { type: "invalid", value: match[0], closed: void 0 };
|
|
374
412
|
if (match[1])
|
|
375
413
|
token.type = "string", token.closed = !!(match[3] || match[4]);
|
|
376
414
|
else if (match[5])
|
|
@@ -391,22 +429,24 @@ var require_js_tokens = __commonJS({
|
|
|
391
429
|
};
|
|
392
430
|
}
|
|
393
431
|
});
|
|
432
|
+
|
|
433
|
+
// node_modules/@babel/helper-validator-identifier/lib/identifier.js
|
|
394
434
|
var require_identifier = __commonJS({
|
|
395
|
-
"node_modules/@babel/helper-validator-identifier/lib/identifier.js"(
|
|
435
|
+
"node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports) {
|
|
396
436
|
"use strict";
|
|
397
|
-
Object.defineProperty(
|
|
437
|
+
Object.defineProperty(exports, "__esModule", {
|
|
398
438
|
value: true
|
|
399
439
|
});
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
440
|
+
exports.isIdentifierChar = isIdentifierChar;
|
|
441
|
+
exports.isIdentifierName = isIdentifierName;
|
|
442
|
+
exports.isIdentifierStart = isIdentifierStart;
|
|
403
443
|
var nonASCIIidentifierStartChars = "\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\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\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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";
|
|
404
|
-
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\
|
|
444
|
+
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F";
|
|
405
445
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
406
446
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
407
447
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
408
|
-
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24,
|
|
409
|
-
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1,
|
|
448
|
+
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, 6, 4191];
|
|
449
|
+
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
410
450
|
function isInAstralSet(code, set) {
|
|
411
451
|
let pos = 65536;
|
|
412
452
|
for (let i = 0, length = set.length; i < length; i += 2) {
|
|
@@ -474,17 +514,19 @@ var require_identifier = __commonJS({
|
|
|
474
514
|
}
|
|
475
515
|
}
|
|
476
516
|
});
|
|
517
|
+
|
|
518
|
+
// node_modules/@babel/helper-validator-identifier/lib/keyword.js
|
|
477
519
|
var require_keyword = __commonJS({
|
|
478
|
-
"node_modules/@babel/helper-validator-identifier/lib/keyword.js"(
|
|
520
|
+
"node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports) {
|
|
479
521
|
"use strict";
|
|
480
|
-
Object.defineProperty(
|
|
522
|
+
Object.defineProperty(exports, "__esModule", {
|
|
481
523
|
value: true
|
|
482
524
|
});
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
525
|
+
exports.isKeyword = isKeyword;
|
|
526
|
+
exports.isReservedWord = isReservedWord;
|
|
527
|
+
exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
|
|
528
|
+
exports.isStrictBindReservedWord = isStrictBindReservedWord;
|
|
529
|
+
exports.isStrictReservedWord = isStrictReservedWord;
|
|
488
530
|
var reservedWords = {
|
|
489
531
|
keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"],
|
|
490
532
|
strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
|
|
@@ -510,55 +552,57 @@ var require_keyword = __commonJS({
|
|
|
510
552
|
}
|
|
511
553
|
}
|
|
512
554
|
});
|
|
555
|
+
|
|
556
|
+
// node_modules/@babel/helper-validator-identifier/lib/index.js
|
|
513
557
|
var require_lib = __commonJS({
|
|
514
|
-
"node_modules/@babel/helper-validator-identifier/lib/index.js"(
|
|
558
|
+
"node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) {
|
|
515
559
|
"use strict";
|
|
516
|
-
Object.defineProperty(
|
|
560
|
+
Object.defineProperty(exports, "__esModule", {
|
|
517
561
|
value: true
|
|
518
562
|
});
|
|
519
|
-
Object.defineProperty(
|
|
563
|
+
Object.defineProperty(exports, "isIdentifierChar", {
|
|
520
564
|
enumerable: true,
|
|
521
565
|
get: function() {
|
|
522
566
|
return _identifier.isIdentifierChar;
|
|
523
567
|
}
|
|
524
568
|
});
|
|
525
|
-
Object.defineProperty(
|
|
569
|
+
Object.defineProperty(exports, "isIdentifierName", {
|
|
526
570
|
enumerable: true,
|
|
527
571
|
get: function() {
|
|
528
572
|
return _identifier.isIdentifierName;
|
|
529
573
|
}
|
|
530
574
|
});
|
|
531
|
-
Object.defineProperty(
|
|
575
|
+
Object.defineProperty(exports, "isIdentifierStart", {
|
|
532
576
|
enumerable: true,
|
|
533
577
|
get: function() {
|
|
534
578
|
return _identifier.isIdentifierStart;
|
|
535
579
|
}
|
|
536
580
|
});
|
|
537
|
-
Object.defineProperty(
|
|
581
|
+
Object.defineProperty(exports, "isKeyword", {
|
|
538
582
|
enumerable: true,
|
|
539
583
|
get: function() {
|
|
540
584
|
return _keyword.isKeyword;
|
|
541
585
|
}
|
|
542
586
|
});
|
|
543
|
-
Object.defineProperty(
|
|
587
|
+
Object.defineProperty(exports, "isReservedWord", {
|
|
544
588
|
enumerable: true,
|
|
545
589
|
get: function() {
|
|
546
590
|
return _keyword.isReservedWord;
|
|
547
591
|
}
|
|
548
592
|
});
|
|
549
|
-
Object.defineProperty(
|
|
593
|
+
Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
|
|
550
594
|
enumerable: true,
|
|
551
595
|
get: function() {
|
|
552
596
|
return _keyword.isStrictBindOnlyReservedWord;
|
|
553
597
|
}
|
|
554
598
|
});
|
|
555
|
-
Object.defineProperty(
|
|
599
|
+
Object.defineProperty(exports, "isStrictBindReservedWord", {
|
|
556
600
|
enumerable: true,
|
|
557
601
|
get: function() {
|
|
558
602
|
return _keyword.isStrictBindReservedWord;
|
|
559
603
|
}
|
|
560
604
|
});
|
|
561
|
-
Object.defineProperty(
|
|
605
|
+
Object.defineProperty(exports, "isStrictReservedWord", {
|
|
562
606
|
enumerable: true,
|
|
563
607
|
get: function() {
|
|
564
608
|
return _keyword.isStrictReservedWord;
|
|
@@ -568,11 +612,13 @@ var require_lib = __commonJS({
|
|
|
568
612
|
var _keyword = require_keyword();
|
|
569
613
|
}
|
|
570
614
|
});
|
|
615
|
+
|
|
616
|
+
// node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js
|
|
571
617
|
var require_escape_string_regexp = __commonJS({
|
|
572
|
-
"node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(
|
|
618
|
+
"node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(exports, module) {
|
|
573
619
|
"use strict";
|
|
574
620
|
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
575
|
-
|
|
621
|
+
module.exports = function(str) {
|
|
576
622
|
if (typeof str !== "string") {
|
|
577
623
|
throw new TypeError("Expected a string");
|
|
578
624
|
}
|
|
@@ -580,10 +626,12 @@ var require_escape_string_regexp = __commonJS({
|
|
|
580
626
|
};
|
|
581
627
|
}
|
|
582
628
|
});
|
|
629
|
+
|
|
630
|
+
// node_modules/color-name/index.js
|
|
583
631
|
var require_color_name = __commonJS({
|
|
584
|
-
"node_modules/color-name/index.js"(
|
|
632
|
+
"node_modules/color-name/index.js"(exports, module) {
|
|
585
633
|
"use strict";
|
|
586
|
-
|
|
634
|
+
module.exports = {
|
|
587
635
|
"aliceblue": [240, 248, 255],
|
|
588
636
|
"antiquewhite": [250, 235, 215],
|
|
589
637
|
"aqua": [0, 255, 255],
|
|
@@ -735,8 +783,10 @@ var require_color_name = __commonJS({
|
|
|
735
783
|
};
|
|
736
784
|
}
|
|
737
785
|
});
|
|
786
|
+
|
|
787
|
+
// node_modules/color-convert/conversions.js
|
|
738
788
|
var require_conversions = __commonJS({
|
|
739
|
-
"node_modules/color-convert/conversions.js"(
|
|
789
|
+
"node_modules/color-convert/conversions.js"(exports, module) {
|
|
740
790
|
var cssKeywords = require_color_name();
|
|
741
791
|
var reverseKeywords = {};
|
|
742
792
|
for (key in cssKeywords) {
|
|
@@ -745,67 +795,22 @@ var require_conversions = __commonJS({
|
|
|
745
795
|
}
|
|
746
796
|
}
|
|
747
797
|
var key;
|
|
748
|
-
var convert =
|
|
749
|
-
rgb: {
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
},
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
},
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
},
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
},
|
|
765
|
-
cmyk: {
|
|
766
|
-
channels: 4,
|
|
767
|
-
labels: "cmyk"
|
|
768
|
-
},
|
|
769
|
-
xyz: {
|
|
770
|
-
channels: 3,
|
|
771
|
-
labels: "xyz"
|
|
772
|
-
},
|
|
773
|
-
lab: {
|
|
774
|
-
channels: 3,
|
|
775
|
-
labels: "lab"
|
|
776
|
-
},
|
|
777
|
-
lch: {
|
|
778
|
-
channels: 3,
|
|
779
|
-
labels: "lch"
|
|
780
|
-
},
|
|
781
|
-
hex: {
|
|
782
|
-
channels: 1,
|
|
783
|
-
labels: ["hex"]
|
|
784
|
-
},
|
|
785
|
-
keyword: {
|
|
786
|
-
channels: 1,
|
|
787
|
-
labels: ["keyword"]
|
|
788
|
-
},
|
|
789
|
-
ansi16: {
|
|
790
|
-
channels: 1,
|
|
791
|
-
labels: ["ansi16"]
|
|
792
|
-
},
|
|
793
|
-
ansi256: {
|
|
794
|
-
channels: 1,
|
|
795
|
-
labels: ["ansi256"]
|
|
796
|
-
},
|
|
797
|
-
hcg: {
|
|
798
|
-
channels: 3,
|
|
799
|
-
labels: ["h", "c", "g"]
|
|
800
|
-
},
|
|
801
|
-
apple: {
|
|
802
|
-
channels: 3,
|
|
803
|
-
labels: ["r16", "g16", "b16"]
|
|
804
|
-
},
|
|
805
|
-
gray: {
|
|
806
|
-
channels: 1,
|
|
807
|
-
labels: ["gray"]
|
|
808
|
-
}
|
|
798
|
+
var convert = module.exports = {
|
|
799
|
+
rgb: { channels: 3, labels: "rgb" },
|
|
800
|
+
hsl: { channels: 3, labels: "hsl" },
|
|
801
|
+
hsv: { channels: 3, labels: "hsv" },
|
|
802
|
+
hwb: { channels: 3, labels: "hwb" },
|
|
803
|
+
cmyk: { channels: 4, labels: "cmyk" },
|
|
804
|
+
xyz: { channels: 3, labels: "xyz" },
|
|
805
|
+
lab: { channels: 3, labels: "lab" },
|
|
806
|
+
lch: { channels: 3, labels: "lch" },
|
|
807
|
+
hex: { channels: 1, labels: ["hex"] },
|
|
808
|
+
keyword: { channels: 1, labels: ["keyword"] },
|
|
809
|
+
ansi16: { channels: 1, labels: ["ansi16"] },
|
|
810
|
+
ansi256: { channels: 1, labels: ["ansi256"] },
|
|
811
|
+
hcg: { channels: 3, labels: ["h", "c", "g"] },
|
|
812
|
+
apple: { channels: 3, labels: ["r16", "g16", "b16"] },
|
|
813
|
+
gray: { channels: 1, labels: ["gray"] }
|
|
809
814
|
};
|
|
810
815
|
for (model in convert) {
|
|
811
816
|
if (convert.hasOwnProperty(model)) {
|
|
@@ -822,12 +827,8 @@ var require_conversions = __commonJS({
|
|
|
822
827
|
labels = convert[model].labels;
|
|
823
828
|
delete convert[model].channels;
|
|
824
829
|
delete convert[model].labels;
|
|
825
|
-
Object.defineProperty(convert[model], "channels", {
|
|
826
|
-
|
|
827
|
-
});
|
|
828
|
-
Object.defineProperty(convert[model], "labels", {
|
|
829
|
-
value: labels
|
|
830
|
-
});
|
|
830
|
+
Object.defineProperty(convert[model], "channels", { value: channels });
|
|
831
|
+
Object.defineProperty(convert[model], "labels", { value: labels });
|
|
831
832
|
}
|
|
832
833
|
}
|
|
833
834
|
var channels;
|
|
@@ -900,7 +901,11 @@ var require_conversions = __commonJS({
|
|
|
900
901
|
h -= 1;
|
|
901
902
|
}
|
|
902
903
|
}
|
|
903
|
-
return [
|
|
904
|
+
return [
|
|
905
|
+
h * 360,
|
|
906
|
+
s * 100,
|
|
907
|
+
v * 100
|
|
908
|
+
];
|
|
904
909
|
};
|
|
905
910
|
convert.rgb.hwb = function(rgb) {
|
|
906
911
|
var r = rgb[0];
|
|
@@ -1413,7 +1418,11 @@ var require_conversions = __commonJS({
|
|
|
1413
1418
|
pure[2] = w;
|
|
1414
1419
|
}
|
|
1415
1420
|
mg = (1 - c) * g;
|
|
1416
|
-
return [
|
|
1421
|
+
return [
|
|
1422
|
+
(c * pure[0] + mg) * 255,
|
|
1423
|
+
(c * pure[1] + mg) * 255,
|
|
1424
|
+
(c * pure[2] + mg) * 255
|
|
1425
|
+
];
|
|
1417
1426
|
};
|
|
1418
1427
|
convert.hcg.hsv = function(hcg) {
|
|
1419
1428
|
var c = hcg[1] / 100;
|
|
@@ -1487,8 +1496,10 @@ var require_conversions = __commonJS({
|
|
|
1487
1496
|
};
|
|
1488
1497
|
}
|
|
1489
1498
|
});
|
|
1499
|
+
|
|
1500
|
+
// node_modules/color-convert/route.js
|
|
1490
1501
|
var require_route = __commonJS({
|
|
1491
|
-
"node_modules/color-convert/route.js"(
|
|
1502
|
+
"node_modules/color-convert/route.js"(exports, module) {
|
|
1492
1503
|
var conversions = require_conversions();
|
|
1493
1504
|
function buildGraph() {
|
|
1494
1505
|
var graph = {};
|
|
@@ -1537,7 +1548,7 @@ var require_route = __commonJS({
|
|
|
1537
1548
|
fn.conversion = path;
|
|
1538
1549
|
return fn;
|
|
1539
1550
|
}
|
|
1540
|
-
|
|
1551
|
+
module.exports = function(fromModel) {
|
|
1541
1552
|
var graph = deriveBFS(fromModel);
|
|
1542
1553
|
var conversion = {};
|
|
1543
1554
|
var models = Object.keys(graph);
|
|
@@ -1553,8 +1564,10 @@ var require_route = __commonJS({
|
|
|
1553
1564
|
};
|
|
1554
1565
|
}
|
|
1555
1566
|
});
|
|
1567
|
+
|
|
1568
|
+
// node_modules/color-convert/index.js
|
|
1556
1569
|
var require_color_convert = __commonJS({
|
|
1557
|
-
"node_modules/color-convert/index.js"(
|
|
1570
|
+
"node_modules/color-convert/index.js"(exports, module) {
|
|
1558
1571
|
var conversions = require_conversions();
|
|
1559
1572
|
var route = require_route();
|
|
1560
1573
|
var convert = {};
|
|
@@ -1597,12 +1610,8 @@ var require_color_convert = __commonJS({
|
|
|
1597
1610
|
}
|
|
1598
1611
|
models.forEach(function(fromModel) {
|
|
1599
1612
|
convert[fromModel] = {};
|
|
1600
|
-
Object.defineProperty(convert[fromModel], "channels", {
|
|
1601
|
-
|
|
1602
|
-
});
|
|
1603
|
-
Object.defineProperty(convert[fromModel], "labels", {
|
|
1604
|
-
value: conversions[fromModel].labels
|
|
1605
|
-
});
|
|
1613
|
+
Object.defineProperty(convert[fromModel], "channels", { value: conversions[fromModel].channels });
|
|
1614
|
+
Object.defineProperty(convert[fromModel], "labels", { value: conversions[fromModel].labels });
|
|
1606
1615
|
var routes = route(fromModel);
|
|
1607
1616
|
var routeModels = Object.keys(routes);
|
|
1608
1617
|
routeModels.forEach(function(toModel) {
|
|
@@ -1611,11 +1620,13 @@ var require_color_convert = __commonJS({
|
|
|
1611
1620
|
convert[fromModel][toModel].raw = wrapRaw(fn);
|
|
1612
1621
|
});
|
|
1613
1622
|
});
|
|
1614
|
-
|
|
1623
|
+
module.exports = convert;
|
|
1615
1624
|
}
|
|
1616
1625
|
});
|
|
1626
|
+
|
|
1627
|
+
// node_modules/ansi-styles/index.js
|
|
1617
1628
|
var require_ansi_styles = __commonJS({
|
|
1618
|
-
"node_modules/ansi-styles/index.js"(
|
|
1629
|
+
"node_modules/ansi-styles/index.js"(exports, module) {
|
|
1619
1630
|
"use strict";
|
|
1620
1631
|
var colorConvert = require_color_convert();
|
|
1621
1632
|
var wrapAnsi16 = (fn, offset) => function() {
|
|
@@ -1746,16 +1757,18 @@ var require_ansi_styles = __commonJS({
|
|
|
1746
1757
|
}
|
|
1747
1758
|
return styles;
|
|
1748
1759
|
}
|
|
1749
|
-
Object.defineProperty(
|
|
1760
|
+
Object.defineProperty(module, "exports", {
|
|
1750
1761
|
enumerable: true,
|
|
1751
1762
|
get: assembleStyles
|
|
1752
1763
|
});
|
|
1753
1764
|
}
|
|
1754
1765
|
});
|
|
1766
|
+
|
|
1767
|
+
// node_modules/@babel/highlight/node_modules/has-flag/index.js
|
|
1755
1768
|
var require_has_flag = __commonJS({
|
|
1756
|
-
"node_modules/@babel/highlight/node_modules/has-flag/index.js"(
|
|
1769
|
+
"node_modules/@babel/highlight/node_modules/has-flag/index.js"(exports, module) {
|
|
1757
1770
|
"use strict";
|
|
1758
|
-
|
|
1771
|
+
module.exports = (flag, argv) => {
|
|
1759
1772
|
argv = argv || process.argv;
|
|
1760
1773
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
1761
1774
|
const pos = argv.indexOf(prefix + flag);
|
|
@@ -1764,10 +1777,12 @@ var require_has_flag = __commonJS({
|
|
|
1764
1777
|
};
|
|
1765
1778
|
}
|
|
1766
1779
|
});
|
|
1780
|
+
|
|
1781
|
+
// node_modules/@babel/highlight/node_modules/supports-color/index.js
|
|
1767
1782
|
var require_supports_color = __commonJS({
|
|
1768
|
-
"node_modules/@babel/highlight/node_modules/supports-color/index.js"(
|
|
1783
|
+
"node_modules/@babel/highlight/node_modules/supports-color/index.js"(exports, module) {
|
|
1769
1784
|
"use strict";
|
|
1770
|
-
var os =
|
|
1785
|
+
var os = __require("os");
|
|
1771
1786
|
var hasFlag = require_has_flag();
|
|
1772
1787
|
var env = process.env;
|
|
1773
1788
|
var forceColor;
|
|
@@ -1850,21 +1865,34 @@ var require_supports_color = __commonJS({
|
|
|
1850
1865
|
const level = supportsColor(stream);
|
|
1851
1866
|
return translateLevel(level);
|
|
1852
1867
|
}
|
|
1853
|
-
|
|
1868
|
+
module.exports = {
|
|
1854
1869
|
supportsColor: getSupportLevel,
|
|
1855
1870
|
stdout: getSupportLevel(process.stdout),
|
|
1856
1871
|
stderr: getSupportLevel(process.stderr)
|
|
1857
1872
|
};
|
|
1858
1873
|
}
|
|
1859
1874
|
});
|
|
1875
|
+
|
|
1876
|
+
// node_modules/@babel/highlight/node_modules/chalk/templates.js
|
|
1860
1877
|
var require_templates = __commonJS({
|
|
1861
|
-
"node_modules/@babel/highlight/node_modules/chalk/templates.js"(
|
|
1878
|
+
"node_modules/@babel/highlight/node_modules/chalk/templates.js"(exports, module) {
|
|
1862
1879
|
"use strict";
|
|
1863
1880
|
var TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
|
|
1864
1881
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
1865
1882
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
1866
1883
|
var ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;
|
|
1867
|
-
var ESCAPES = /* @__PURE__ */ new Map([
|
|
1884
|
+
var ESCAPES = /* @__PURE__ */ new Map([
|
|
1885
|
+
["n", "\n"],
|
|
1886
|
+
["r", "\r"],
|
|
1887
|
+
["t", " "],
|
|
1888
|
+
["b", "\b"],
|
|
1889
|
+
["f", "\f"],
|
|
1890
|
+
["v", "\v"],
|
|
1891
|
+
["0", "\0"],
|
|
1892
|
+
["\\", "\\"],
|
|
1893
|
+
["e", "\x1B"],
|
|
1894
|
+
["a", "\x07"]
|
|
1895
|
+
]);
|
|
1868
1896
|
function unescape(c) {
|
|
1869
1897
|
if (c[0] === "u" && c.length === 5 || c[0] === "x" && c.length === 3) {
|
|
1870
1898
|
return String.fromCharCode(parseInt(c.slice(1), 16));
|
|
@@ -1923,7 +1951,7 @@ var require_templates = __commonJS({
|
|
|
1923
1951
|
}
|
|
1924
1952
|
return current;
|
|
1925
1953
|
}
|
|
1926
|
-
|
|
1954
|
+
module.exports = (chalk, tmp) => {
|
|
1927
1955
|
const styles = [];
|
|
1928
1956
|
const chunks = [];
|
|
1929
1957
|
let chunk = [];
|
|
@@ -1934,10 +1962,7 @@ var require_templates = __commonJS({
|
|
|
1934
1962
|
const str = chunk.join("");
|
|
1935
1963
|
chunk = [];
|
|
1936
1964
|
chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str));
|
|
1937
|
-
styles.push({
|
|
1938
|
-
inverse,
|
|
1939
|
-
styles: parseStyle(style)
|
|
1940
|
-
});
|
|
1965
|
+
styles.push({ inverse, styles: parseStyle(style) });
|
|
1941
1966
|
} else if (close) {
|
|
1942
1967
|
if (styles.length === 0) {
|
|
1943
1968
|
throw new Error("Found extraneous } in Chalk template literal");
|
|
@@ -1958,8 +1983,10 @@ var require_templates = __commonJS({
|
|
|
1958
1983
|
};
|
|
1959
1984
|
}
|
|
1960
1985
|
});
|
|
1986
|
+
|
|
1987
|
+
// node_modules/@babel/highlight/node_modules/chalk/index.js
|
|
1961
1988
|
var require_chalk = __commonJS({
|
|
1962
|
-
"node_modules/@babel/highlight/node_modules/chalk/index.js"(
|
|
1989
|
+
"node_modules/@babel/highlight/node_modules/chalk/index.js"(exports, module) {
|
|
1963
1990
|
"use strict";
|
|
1964
1991
|
var escapeStringRegexp = require_escape_string_regexp();
|
|
1965
1992
|
var ansiStyles = require_ansi_styles();
|
|
@@ -2118,20 +2145,22 @@ var require_chalk = __commonJS({
|
|
|
2118
2145
|
return template(chalk, parts.join(""));
|
|
2119
2146
|
}
|
|
2120
2147
|
Object.defineProperties(Chalk.prototype, styles);
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2148
|
+
module.exports = Chalk();
|
|
2149
|
+
module.exports.supportsColor = stdoutColor;
|
|
2150
|
+
module.exports.default = module.exports;
|
|
2124
2151
|
}
|
|
2125
2152
|
});
|
|
2153
|
+
|
|
2154
|
+
// node_modules/@babel/highlight/lib/index.js
|
|
2126
2155
|
var require_lib2 = __commonJS({
|
|
2127
|
-
"node_modules/@babel/highlight/lib/index.js"(
|
|
2156
|
+
"node_modules/@babel/highlight/lib/index.js"(exports) {
|
|
2128
2157
|
"use strict";
|
|
2129
|
-
Object.defineProperty(
|
|
2158
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2130
2159
|
value: true
|
|
2131
2160
|
});
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2161
|
+
exports.default = highlight;
|
|
2162
|
+
exports.getChalk = getChalk;
|
|
2163
|
+
exports.shouldHighlight = shouldHighlight;
|
|
2135
2164
|
var _jsTokens = require_js_tokens();
|
|
2136
2165
|
var _helperValidatorIdentifier = require_lib();
|
|
2137
2166
|
var _chalk = require_chalk();
|
|
@@ -2159,7 +2188,7 @@ var require_lib2 = __commonJS({
|
|
|
2159
2188
|
if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {
|
|
2160
2189
|
return "keyword";
|
|
2161
2190
|
}
|
|
2162
|
-
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.
|
|
2191
|
+
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == "</")) {
|
|
2163
2192
|
return "jsxIdentifier";
|
|
2164
2193
|
}
|
|
2165
2194
|
if (token.value[0] !== token.value[0].toLowerCase()) {
|
|
@@ -2220,14 +2249,16 @@ var require_lib2 = __commonJS({
|
|
|
2220
2249
|
}
|
|
2221
2250
|
}
|
|
2222
2251
|
});
|
|
2252
|
+
|
|
2253
|
+
// node_modules/@babel/code-frame/lib/index.js
|
|
2223
2254
|
var require_lib3 = __commonJS({
|
|
2224
|
-
"node_modules/@babel/code-frame/lib/index.js"(
|
|
2255
|
+
"node_modules/@babel/code-frame/lib/index.js"(exports) {
|
|
2225
2256
|
"use strict";
|
|
2226
|
-
Object.defineProperty(
|
|
2257
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2227
2258
|
value: true
|
|
2228
2259
|
});
|
|
2229
|
-
|
|
2230
|
-
|
|
2260
|
+
exports.codeFrameColumns = codeFrameColumns;
|
|
2261
|
+
exports.default = _default;
|
|
2231
2262
|
var _highlight = require_lib2();
|
|
2232
2263
|
var deprecationWarningShown = false;
|
|
2233
2264
|
function getDefs(chalk) {
|
|
@@ -2364,17 +2395,15 @@ ${frame}`;
|
|
|
2364
2395
|
}
|
|
2365
2396
|
}
|
|
2366
2397
|
});
|
|
2398
|
+
|
|
2399
|
+
// node_modules/parse-json/index.js
|
|
2367
2400
|
var require_parse_json = __commonJS({
|
|
2368
|
-
"node_modules/parse-json/index.js"(
|
|
2401
|
+
"node_modules/parse-json/index.js"(exports, module) {
|
|
2369
2402
|
"use strict";
|
|
2370
2403
|
var errorEx = require_error_ex();
|
|
2371
2404
|
var fallback = require_json_parse_even_better_errors();
|
|
2372
|
-
var {
|
|
2373
|
-
|
|
2374
|
-
} = require_build();
|
|
2375
|
-
var {
|
|
2376
|
-
codeFrameColumns
|
|
2377
|
-
} = require_lib3();
|
|
2405
|
+
var { default: LinesAndColumns } = require_build();
|
|
2406
|
+
var { codeFrameColumns } = require_lib3();
|
|
2378
2407
|
var JSONError = errorEx("JSONError", {
|
|
2379
2408
|
fileName: errorEx.append("in %s"),
|
|
2380
2409
|
codeFrame: errorEx.append("\n\n%s\n")
|
|
@@ -2402,25 +2431,24 @@ var require_parse_json = __commonJS({
|
|
|
2402
2431
|
const lines = new LinesAndColumns(string);
|
|
2403
2432
|
const index = Number(indexMatch[1]);
|
|
2404
2433
|
const location = lines.locationForIndex(index);
|
|
2405
|
-
const codeFrame = codeFrameColumns(
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
}, {
|
|
2411
|
-
highlightCode: true
|
|
2412
|
-
});
|
|
2434
|
+
const codeFrame = codeFrameColumns(
|
|
2435
|
+
string,
|
|
2436
|
+
{ start: { line: location.line + 1, column: location.column + 1 } },
|
|
2437
|
+
{ highlightCode: true }
|
|
2438
|
+
);
|
|
2413
2439
|
jsonError.codeFrame = codeFrame;
|
|
2414
2440
|
}
|
|
2415
2441
|
throw jsonError;
|
|
2416
2442
|
}
|
|
2417
2443
|
};
|
|
2418
2444
|
parseJson.JSONError = JSONError;
|
|
2419
|
-
|
|
2445
|
+
module.exports = parseJson;
|
|
2420
2446
|
}
|
|
2421
2447
|
});
|
|
2448
|
+
|
|
2449
|
+
// node_modules/yaml/dist/PlainValue-ec8e588e.js
|
|
2422
2450
|
var require_PlainValue_ec8e588e = __commonJS({
|
|
2423
|
-
"node_modules/yaml/dist/PlainValue-ec8e588e.js"(
|
|
2451
|
+
"node_modules/yaml/dist/PlainValue-ec8e588e.js"(exports) {
|
|
2424
2452
|
"use strict";
|
|
2425
2453
|
var Char = {
|
|
2426
2454
|
ANCHOR: "&",
|
|
@@ -3102,23 +3130,25 @@ ${ctx}
|
|
|
3102
3130
|
return offset;
|
|
3103
3131
|
}
|
|
3104
3132
|
};
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3133
|
+
exports.Char = Char;
|
|
3134
|
+
exports.Node = Node;
|
|
3135
|
+
exports.PlainValue = PlainValue;
|
|
3136
|
+
exports.Range = Range;
|
|
3137
|
+
exports.Type = Type;
|
|
3138
|
+
exports.YAMLError = YAMLError;
|
|
3139
|
+
exports.YAMLReferenceError = YAMLReferenceError;
|
|
3140
|
+
exports.YAMLSemanticError = YAMLSemanticError;
|
|
3141
|
+
exports.YAMLSyntaxError = YAMLSyntaxError;
|
|
3142
|
+
exports.YAMLWarning = YAMLWarning;
|
|
3143
|
+
exports._defineProperty = _defineProperty;
|
|
3144
|
+
exports.defaultTagPrefix = defaultTagPrefix;
|
|
3145
|
+
exports.defaultTags = defaultTags;
|
|
3118
3146
|
}
|
|
3119
3147
|
});
|
|
3148
|
+
|
|
3149
|
+
// node_modules/yaml/dist/parse-cst.js
|
|
3120
3150
|
var require_parse_cst = __commonJS({
|
|
3121
|
-
"node_modules/yaml/dist/parse-cst.js"(
|
|
3151
|
+
"node_modules/yaml/dist/parse-cst.js"(exports) {
|
|
3122
3152
|
"use strict";
|
|
3123
3153
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
3124
3154
|
var BlankLine = class extends PlainValue.Node {
|
|
@@ -4512,11 +4542,13 @@ var require_parse_cst = __commonJS({
|
|
|
4512
4542
|
documents.toString = () => documents.join("...\n");
|
|
4513
4543
|
return documents;
|
|
4514
4544
|
}
|
|
4515
|
-
|
|
4545
|
+
exports.parse = parse;
|
|
4516
4546
|
}
|
|
4517
4547
|
});
|
|
4548
|
+
|
|
4549
|
+
// node_modules/yaml/dist/resolveSeq-d03cb037.js
|
|
4518
4550
|
var require_resolveSeq_d03cb037 = __commonJS({
|
|
4519
|
-
"node_modules/yaml/dist/resolveSeq-d03cb037.js"(
|
|
4551
|
+
"node_modules/yaml/dist/resolveSeq-d03cb037.js"(exports) {
|
|
4520
4552
|
"use strict";
|
|
4521
4553
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
4522
4554
|
function addCommentBefore(str, indent, comment) {
|
|
@@ -6443,33 +6475,35 @@ ${ca}` : ca;
|
|
|
6443
6475
|
items
|
|
6444
6476
|
};
|
|
6445
6477
|
}
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6478
|
+
exports.Alias = Alias;
|
|
6479
|
+
exports.Collection = Collection;
|
|
6480
|
+
exports.Merge = Merge;
|
|
6481
|
+
exports.Node = Node;
|
|
6482
|
+
exports.Pair = Pair;
|
|
6483
|
+
exports.Scalar = Scalar;
|
|
6484
|
+
exports.YAMLMap = YAMLMap;
|
|
6485
|
+
exports.YAMLSeq = YAMLSeq;
|
|
6486
|
+
exports.addComment = addComment;
|
|
6487
|
+
exports.binaryOptions = binaryOptions;
|
|
6488
|
+
exports.boolOptions = boolOptions;
|
|
6489
|
+
exports.findPair = findPair;
|
|
6490
|
+
exports.intOptions = intOptions;
|
|
6491
|
+
exports.isEmptyPath = isEmptyPath;
|
|
6492
|
+
exports.nullOptions = nullOptions;
|
|
6493
|
+
exports.resolveMap = resolveMap;
|
|
6494
|
+
exports.resolveNode = resolveNode;
|
|
6495
|
+
exports.resolveSeq = resolveSeq;
|
|
6496
|
+
exports.resolveString = resolveString;
|
|
6497
|
+
exports.strOptions = strOptions;
|
|
6498
|
+
exports.stringifyNumber = stringifyNumber;
|
|
6499
|
+
exports.stringifyString = stringifyString;
|
|
6500
|
+
exports.toJSON = toJSON;
|
|
6469
6501
|
}
|
|
6470
6502
|
});
|
|
6503
|
+
|
|
6504
|
+
// node_modules/yaml/dist/warnings-1000a372.js
|
|
6471
6505
|
var require_warnings_1000a372 = __commonJS({
|
|
6472
|
-
"node_modules/yaml/dist/warnings-1000a372.js"(
|
|
6506
|
+
"node_modules/yaml/dist/warnings-1000a372.js"(exports) {
|
|
6473
6507
|
"use strict";
|
|
6474
6508
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
6475
6509
|
var resolveSeq = require_resolveSeq_d03cb037();
|
|
@@ -6809,20 +6843,22 @@ ${pair.comment}` : item.comment;
|
|
|
6809
6843
|
warn(msg, "DeprecationWarning");
|
|
6810
6844
|
}
|
|
6811
6845
|
}
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6846
|
+
exports.binary = binary;
|
|
6847
|
+
exports.floatTime = floatTime;
|
|
6848
|
+
exports.intTime = intTime;
|
|
6849
|
+
exports.omap = omap;
|
|
6850
|
+
exports.pairs = pairs;
|
|
6851
|
+
exports.set = set;
|
|
6852
|
+
exports.timestamp = timestamp;
|
|
6853
|
+
exports.warn = warn;
|
|
6854
|
+
exports.warnFileDeprecation = warnFileDeprecation;
|
|
6855
|
+
exports.warnOptionDeprecation = warnOptionDeprecation;
|
|
6822
6856
|
}
|
|
6823
6857
|
});
|
|
6858
|
+
|
|
6859
|
+
// node_modules/yaml/dist/Schema-88e323a7.js
|
|
6824
6860
|
var require_Schema_88e323a7 = __commonJS({
|
|
6825
|
-
"node_modules/yaml/dist/Schema-88e323a7.js"(
|
|
6861
|
+
"node_modules/yaml/dist/Schema-88e323a7.js"(exports) {
|
|
6826
6862
|
"use strict";
|
|
6827
6863
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
6828
6864
|
var resolveSeq = require_resolveSeq_d03cb037();
|
|
@@ -7281,11 +7317,13 @@ var require_Schema_88e323a7 = __commonJS({
|
|
|
7281
7317
|
};
|
|
7282
7318
|
PlainValue._defineProperty(Schema, "defaultPrefix", PlainValue.defaultTagPrefix);
|
|
7283
7319
|
PlainValue._defineProperty(Schema, "defaultTags", PlainValue.defaultTags);
|
|
7284
|
-
|
|
7320
|
+
exports.Schema = Schema;
|
|
7285
7321
|
}
|
|
7286
7322
|
});
|
|
7323
|
+
|
|
7324
|
+
// node_modules/yaml/dist/Document-9b4560a1.js
|
|
7287
7325
|
var require_Document_9b4560a1 = __commonJS({
|
|
7288
|
-
"node_modules/yaml/dist/Document-9b4560a1.js"(
|
|
7326
|
+
"node_modules/yaml/dist/Document-9b4560a1.js"(exports) {
|
|
7289
7327
|
"use strict";
|
|
7290
7328
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
7291
7329
|
var resolveSeq = require_resolveSeq_d03cb037();
|
|
@@ -7695,7 +7733,7 @@ ${cbNode.commentBefore}` : cb;
|
|
|
7695
7733
|
if (comment)
|
|
7696
7734
|
directiveComments.push(comment);
|
|
7697
7735
|
}
|
|
7698
|
-
if (prevDoc && !hasDirectives && (doc.version || prevDoc.version || doc.options.version)
|
|
7736
|
+
if (prevDoc && !hasDirectives && "1.1" === (doc.version || prevDoc.version || doc.options.version)) {
|
|
7699
7737
|
const copyTagPrefix = ({
|
|
7700
7738
|
handle,
|
|
7701
7739
|
prefix
|
|
@@ -7956,13 +7994,15 @@ ${cbNode.commentBefore}` : cb;
|
|
|
7956
7994
|
}
|
|
7957
7995
|
};
|
|
7958
7996
|
PlainValue._defineProperty(Document, "defaults", documentOptions);
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7997
|
+
exports.Document = Document;
|
|
7998
|
+
exports.defaultOptions = defaultOptions;
|
|
7999
|
+
exports.scalarOptions = scalarOptions;
|
|
7962
8000
|
}
|
|
7963
8001
|
});
|
|
8002
|
+
|
|
8003
|
+
// node_modules/yaml/dist/index.js
|
|
7964
8004
|
var require_dist = __commonJS({
|
|
7965
|
-
"node_modules/yaml/dist/index.js"(
|
|
8005
|
+
"node_modules/yaml/dist/index.js"(exports) {
|
|
7966
8006
|
"use strict";
|
|
7967
8007
|
var parseCst = require_parse_cst();
|
|
7968
8008
|
var Document$1 = require_Document_9b4560a1();
|
|
@@ -8027,21 +8067,25 @@ var require_dist = __commonJS({
|
|
|
8027
8067
|
scalarOptions: Document$1.scalarOptions,
|
|
8028
8068
|
stringify
|
|
8029
8069
|
};
|
|
8030
|
-
|
|
8070
|
+
exports.YAML = YAML;
|
|
8031
8071
|
}
|
|
8032
8072
|
});
|
|
8073
|
+
|
|
8074
|
+
// node_modules/yaml/index.js
|
|
8033
8075
|
var require_yaml = __commonJS({
|
|
8034
|
-
"node_modules/yaml/index.js"(
|
|
8035
|
-
|
|
8076
|
+
"node_modules/yaml/index.js"(exports, module) {
|
|
8077
|
+
module.exports = require_dist().YAML;
|
|
8036
8078
|
}
|
|
8037
8079
|
});
|
|
8080
|
+
|
|
8081
|
+
// node_modules/cosmiconfig/dist/loaders.js
|
|
8038
8082
|
var require_loaders = __commonJS({
|
|
8039
|
-
"node_modules/cosmiconfig/dist/loaders.js"(
|
|
8083
|
+
"node_modules/cosmiconfig/dist/loaders.js"(exports) {
|
|
8040
8084
|
"use strict";
|
|
8041
|
-
Object.defineProperty(
|
|
8085
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8042
8086
|
value: true
|
|
8043
8087
|
});
|
|
8044
|
-
|
|
8088
|
+
exports.loaders = void 0;
|
|
8045
8089
|
var importFresh;
|
|
8046
8090
|
var loadJs = function loadJs2(filepath) {
|
|
8047
8091
|
if (importFresh === void 0) {
|
|
@@ -8085,16 +8129,18 @@ ${error.message}`;
|
|
|
8085
8129
|
loadJson,
|
|
8086
8130
|
loadYaml
|
|
8087
8131
|
};
|
|
8088
|
-
|
|
8132
|
+
exports.loaders = loaders;
|
|
8089
8133
|
}
|
|
8090
8134
|
});
|
|
8135
|
+
|
|
8136
|
+
// node_modules/cosmiconfig/dist/getPropertyByPath.js
|
|
8091
8137
|
var require_getPropertyByPath = __commonJS({
|
|
8092
|
-
"node_modules/cosmiconfig/dist/getPropertyByPath.js"(
|
|
8138
|
+
"node_modules/cosmiconfig/dist/getPropertyByPath.js"(exports) {
|
|
8093
8139
|
"use strict";
|
|
8094
|
-
Object.defineProperty(
|
|
8140
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8095
8141
|
value: true
|
|
8096
8142
|
});
|
|
8097
|
-
|
|
8143
|
+
exports.getPropertyByPath = getPropertyByPath;
|
|
8098
8144
|
function getPropertyByPath(source, path) {
|
|
8099
8145
|
if (typeof path === "string" && Object.prototype.hasOwnProperty.call(source, path)) {
|
|
8100
8146
|
return source[path];
|
|
@@ -8109,21 +8155,21 @@ var require_getPropertyByPath = __commonJS({
|
|
|
8109
8155
|
}
|
|
8110
8156
|
}
|
|
8111
8157
|
});
|
|
8158
|
+
|
|
8159
|
+
// node_modules/cosmiconfig/dist/ExplorerBase.js
|
|
8112
8160
|
var require_ExplorerBase = __commonJS({
|
|
8113
|
-
"node_modules/cosmiconfig/dist/ExplorerBase.js"(
|
|
8161
|
+
"node_modules/cosmiconfig/dist/ExplorerBase.js"(exports) {
|
|
8114
8162
|
"use strict";
|
|
8115
|
-
Object.defineProperty(
|
|
8163
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8116
8164
|
value: true
|
|
8117
8165
|
});
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
var _path = _interopRequireDefault(
|
|
8166
|
+
exports.getExtensionDescription = getExtensionDescription;
|
|
8167
|
+
exports.ExplorerBase = void 0;
|
|
8168
|
+
var _path = _interopRequireDefault(__require("path"));
|
|
8121
8169
|
var _loaders = require_loaders();
|
|
8122
8170
|
var _getPropertyByPath = require_getPropertyByPath();
|
|
8123
8171
|
function _interopRequireDefault(obj) {
|
|
8124
|
-
return obj && obj.__esModule ? obj : {
|
|
8125
|
-
default: obj
|
|
8126
|
-
};
|
|
8172
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8127
8173
|
}
|
|
8128
8174
|
var ExplorerBase = class {
|
|
8129
8175
|
constructor(options) {
|
|
@@ -8217,7 +8263,7 @@ var require_ExplorerBase = __commonJS({
|
|
|
8217
8263
|
}
|
|
8218
8264
|
}
|
|
8219
8265
|
};
|
|
8220
|
-
|
|
8266
|
+
exports.ExplorerBase = ExplorerBase;
|
|
8221
8267
|
function nextDirUp(dir) {
|
|
8222
8268
|
return _path.default.dirname(dir);
|
|
8223
8269
|
}
|
|
@@ -8227,19 +8273,19 @@ var require_ExplorerBase = __commonJS({
|
|
|
8227
8273
|
}
|
|
8228
8274
|
}
|
|
8229
8275
|
});
|
|
8276
|
+
|
|
8277
|
+
// node_modules/cosmiconfig/dist/readFile.js
|
|
8230
8278
|
var require_readFile = __commonJS({
|
|
8231
|
-
"node_modules/cosmiconfig/dist/readFile.js"(
|
|
8279
|
+
"node_modules/cosmiconfig/dist/readFile.js"(exports) {
|
|
8232
8280
|
"use strict";
|
|
8233
|
-
Object.defineProperty(
|
|
8281
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8234
8282
|
value: true
|
|
8235
8283
|
});
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
var _fs = _interopRequireDefault(
|
|
8284
|
+
exports.readFile = readFile;
|
|
8285
|
+
exports.readFileSync = readFileSync;
|
|
8286
|
+
var _fs = _interopRequireDefault(__require("fs"));
|
|
8239
8287
|
function _interopRequireDefault(obj) {
|
|
8240
|
-
return obj && obj.__esModule ? obj : {
|
|
8241
|
-
default: obj
|
|
8242
|
-
};
|
|
8288
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8243
8289
|
}
|
|
8244
8290
|
async function fsReadFileAsync(pathname, encoding) {
|
|
8245
8291
|
return new Promise((resolve, reject) => {
|
|
@@ -8278,14 +8324,16 @@ var require_readFile = __commonJS({
|
|
|
8278
8324
|
}
|
|
8279
8325
|
}
|
|
8280
8326
|
});
|
|
8327
|
+
|
|
8328
|
+
// node_modules/cosmiconfig/dist/cacheWrapper.js
|
|
8281
8329
|
var require_cacheWrapper = __commonJS({
|
|
8282
|
-
"node_modules/cosmiconfig/dist/cacheWrapper.js"(
|
|
8330
|
+
"node_modules/cosmiconfig/dist/cacheWrapper.js"(exports) {
|
|
8283
8331
|
"use strict";
|
|
8284
|
-
Object.defineProperty(
|
|
8332
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8285
8333
|
value: true
|
|
8286
8334
|
});
|
|
8287
|
-
|
|
8288
|
-
|
|
8335
|
+
exports.cacheWrapper = cacheWrapper;
|
|
8336
|
+
exports.cacheWrapperSync = cacheWrapperSync;
|
|
8289
8337
|
async function cacheWrapper(cache, key, fn) {
|
|
8290
8338
|
const cached = cache.get(key);
|
|
8291
8339
|
if (cached !== void 0) {
|
|
@@ -8306,13 +8354,13 @@ var require_cacheWrapper = __commonJS({
|
|
|
8306
8354
|
}
|
|
8307
8355
|
}
|
|
8308
8356
|
});
|
|
8357
|
+
|
|
8358
|
+
// node_modules/path-type/index.js
|
|
8309
8359
|
var require_path_type = __commonJS({
|
|
8310
|
-
"node_modules/path-type/index.js"(
|
|
8360
|
+
"node_modules/path-type/index.js"(exports) {
|
|
8311
8361
|
"use strict";
|
|
8312
|
-
var {
|
|
8313
|
-
|
|
8314
|
-
} = require("util");
|
|
8315
|
-
var fs = require("fs");
|
|
8362
|
+
var { promisify } = __require("util");
|
|
8363
|
+
var fs = __require("fs");
|
|
8316
8364
|
async function isType(fsStatType, statsMethodName, filePath) {
|
|
8317
8365
|
if (typeof filePath !== "string") {
|
|
8318
8366
|
throw new TypeError(`Expected a string, got ${typeof filePath}`);
|
|
@@ -8340,28 +8388,28 @@ var require_path_type = __commonJS({
|
|
|
8340
8388
|
throw error;
|
|
8341
8389
|
}
|
|
8342
8390
|
}
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8391
|
+
exports.isFile = isType.bind(null, "stat", "isFile");
|
|
8392
|
+
exports.isDirectory = isType.bind(null, "stat", "isDirectory");
|
|
8393
|
+
exports.isSymlink = isType.bind(null, "lstat", "isSymbolicLink");
|
|
8394
|
+
exports.isFileSync = isTypeSync.bind(null, "statSync", "isFile");
|
|
8395
|
+
exports.isDirectorySync = isTypeSync.bind(null, "statSync", "isDirectory");
|
|
8396
|
+
exports.isSymlinkSync = isTypeSync.bind(null, "lstatSync", "isSymbolicLink");
|
|
8349
8397
|
}
|
|
8350
8398
|
});
|
|
8399
|
+
|
|
8400
|
+
// node_modules/cosmiconfig/dist/getDirectory.js
|
|
8351
8401
|
var require_getDirectory = __commonJS({
|
|
8352
|
-
"node_modules/cosmiconfig/dist/getDirectory.js"(
|
|
8402
|
+
"node_modules/cosmiconfig/dist/getDirectory.js"(exports) {
|
|
8353
8403
|
"use strict";
|
|
8354
|
-
Object.defineProperty(
|
|
8404
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8355
8405
|
value: true
|
|
8356
8406
|
});
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
var _path = _interopRequireDefault(
|
|
8407
|
+
exports.getDirectory = getDirectory;
|
|
8408
|
+
exports.getDirectorySync = getDirectorySync;
|
|
8409
|
+
var _path = _interopRequireDefault(__require("path"));
|
|
8360
8410
|
var _pathType = require_path_type();
|
|
8361
8411
|
function _interopRequireDefault(obj) {
|
|
8362
|
-
return obj && obj.__esModule ? obj : {
|
|
8363
|
-
default: obj
|
|
8364
|
-
};
|
|
8412
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8365
8413
|
}
|
|
8366
8414
|
async function getDirectory(filepath) {
|
|
8367
8415
|
const filePathIsDirectory = await (0, _pathType.isDirectory)(filepath);
|
|
@@ -8381,22 +8429,22 @@ var require_getDirectory = __commonJS({
|
|
|
8381
8429
|
}
|
|
8382
8430
|
}
|
|
8383
8431
|
});
|
|
8432
|
+
|
|
8433
|
+
// node_modules/cosmiconfig/dist/Explorer.js
|
|
8384
8434
|
var require_Explorer = __commonJS({
|
|
8385
|
-
"node_modules/cosmiconfig/dist/Explorer.js"(
|
|
8435
|
+
"node_modules/cosmiconfig/dist/Explorer.js"(exports) {
|
|
8386
8436
|
"use strict";
|
|
8387
|
-
Object.defineProperty(
|
|
8437
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8388
8438
|
value: true
|
|
8389
8439
|
});
|
|
8390
|
-
|
|
8391
|
-
var _path = _interopRequireDefault(
|
|
8440
|
+
exports.Explorer = void 0;
|
|
8441
|
+
var _path = _interopRequireDefault(__require("path"));
|
|
8392
8442
|
var _ExplorerBase = require_ExplorerBase();
|
|
8393
8443
|
var _readFile = require_readFile();
|
|
8394
8444
|
var _cacheWrapper = require_cacheWrapper();
|
|
8395
8445
|
var _getDirectory = require_getDirectory();
|
|
8396
8446
|
function _interopRequireDefault(obj) {
|
|
8397
|
-
return obj && obj.__esModule ? obj : {
|
|
8398
|
-
default: obj
|
|
8399
|
-
};
|
|
8447
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8400
8448
|
}
|
|
8401
8449
|
var Explorer = class extends _ExplorerBase.ExplorerBase {
|
|
8402
8450
|
constructor(options) {
|
|
@@ -8471,25 +8519,25 @@ var require_Explorer = __commonJS({
|
|
|
8471
8519
|
return runLoad();
|
|
8472
8520
|
}
|
|
8473
8521
|
};
|
|
8474
|
-
|
|
8522
|
+
exports.Explorer = Explorer;
|
|
8475
8523
|
}
|
|
8476
8524
|
});
|
|
8525
|
+
|
|
8526
|
+
// node_modules/cosmiconfig/dist/ExplorerSync.js
|
|
8477
8527
|
var require_ExplorerSync = __commonJS({
|
|
8478
|
-
"node_modules/cosmiconfig/dist/ExplorerSync.js"(
|
|
8528
|
+
"node_modules/cosmiconfig/dist/ExplorerSync.js"(exports) {
|
|
8479
8529
|
"use strict";
|
|
8480
|
-
Object.defineProperty(
|
|
8530
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8481
8531
|
value: true
|
|
8482
8532
|
});
|
|
8483
|
-
|
|
8484
|
-
var _path = _interopRequireDefault(
|
|
8533
|
+
exports.ExplorerSync = void 0;
|
|
8534
|
+
var _path = _interopRequireDefault(__require("path"));
|
|
8485
8535
|
var _ExplorerBase = require_ExplorerBase();
|
|
8486
8536
|
var _readFile = require_readFile();
|
|
8487
8537
|
var _cacheWrapper = require_cacheWrapper();
|
|
8488
8538
|
var _getDirectory = require_getDirectory();
|
|
8489
8539
|
function _interopRequireDefault(obj) {
|
|
8490
|
-
return obj && obj.__esModule ? obj : {
|
|
8491
|
-
default: obj
|
|
8492
|
-
};
|
|
8540
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8493
8541
|
}
|
|
8494
8542
|
var ExplorerSync = class extends _ExplorerBase.ExplorerBase {
|
|
8495
8543
|
constructor(options) {
|
|
@@ -8564,37 +8612,39 @@ var require_ExplorerSync = __commonJS({
|
|
|
8564
8612
|
return runLoadSync();
|
|
8565
8613
|
}
|
|
8566
8614
|
};
|
|
8567
|
-
|
|
8615
|
+
exports.ExplorerSync = ExplorerSync;
|
|
8568
8616
|
}
|
|
8569
8617
|
});
|
|
8618
|
+
|
|
8619
|
+
// node_modules/cosmiconfig/dist/types.js
|
|
8570
8620
|
var require_types = __commonJS({
|
|
8571
|
-
"node_modules/cosmiconfig/dist/types.js"(
|
|
8621
|
+
"node_modules/cosmiconfig/dist/types.js"(exports) {
|
|
8572
8622
|
"use strict";
|
|
8573
|
-
Object.defineProperty(
|
|
8623
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8574
8624
|
value: true
|
|
8575
8625
|
});
|
|
8576
8626
|
}
|
|
8577
8627
|
});
|
|
8628
|
+
|
|
8629
|
+
// node_modules/cosmiconfig/dist/index.js
|
|
8578
8630
|
var require_dist2 = __commonJS({
|
|
8579
|
-
"node_modules/cosmiconfig/dist/index.js"(
|
|
8631
|
+
"node_modules/cosmiconfig/dist/index.js"(exports) {
|
|
8580
8632
|
"use strict";
|
|
8581
|
-
Object.defineProperty(
|
|
8633
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8582
8634
|
value: true
|
|
8583
8635
|
});
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
var _os = _interopRequireDefault(
|
|
8636
|
+
exports.cosmiconfig = cosmiconfig2;
|
|
8637
|
+
exports.cosmiconfigSync = cosmiconfigSync;
|
|
8638
|
+
exports.defaultLoaders = void 0;
|
|
8639
|
+
var _os = _interopRequireDefault(__require("os"));
|
|
8588
8640
|
var _Explorer = require_Explorer();
|
|
8589
8641
|
var _ExplorerSync = require_ExplorerSync();
|
|
8590
8642
|
var _loaders = require_loaders();
|
|
8591
8643
|
var _types = require_types();
|
|
8592
8644
|
function _interopRequireDefault(obj) {
|
|
8593
|
-
return obj && obj.__esModule ? obj : {
|
|
8594
|
-
default: obj
|
|
8595
|
-
};
|
|
8645
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8596
8646
|
}
|
|
8597
|
-
function
|
|
8647
|
+
function cosmiconfig2(moduleName, options = {}) {
|
|
8598
8648
|
const normalizedOptions = normalizeOptions(moduleName, options);
|
|
8599
8649
|
const explorer = new _Explorer.Explorer(normalizedOptions);
|
|
8600
8650
|
return {
|
|
@@ -8624,7 +8674,7 @@ var require_dist2 = __commonJS({
|
|
|
8624
8674
|
".yml": _loaders.loaders.loadYaml,
|
|
8625
8675
|
noExt: _loaders.loaders.loadYaml
|
|
8626
8676
|
});
|
|
8627
|
-
|
|
8677
|
+
exports.defaultLoaders = defaultLoaders;
|
|
8628
8678
|
var identity = function identity2(x) {
|
|
8629
8679
|
return x;
|
|
8630
8680
|
};
|
|
@@ -8638,18 +8688,25 @@ var require_dist2 = __commonJS({
|
|
|
8638
8688
|
transform: identity,
|
|
8639
8689
|
loaders: defaultLoaders
|
|
8640
8690
|
};
|
|
8641
|
-
const normalizedOptions =
|
|
8642
|
-
|
|
8643
|
-
|
|
8691
|
+
const normalizedOptions = {
|
|
8692
|
+
...defaults,
|
|
8693
|
+
...options,
|
|
8694
|
+
loaders: {
|
|
8695
|
+
...defaults.loaders,
|
|
8696
|
+
...options.loaders
|
|
8697
|
+
}
|
|
8698
|
+
};
|
|
8644
8699
|
return normalizedOptions;
|
|
8645
8700
|
}
|
|
8646
8701
|
}
|
|
8647
8702
|
});
|
|
8703
|
+
|
|
8704
|
+
// node_modules/find-parent-dir/index.js
|
|
8648
8705
|
var require_find_parent_dir = __commonJS({
|
|
8649
|
-
"node_modules/find-parent-dir/index.js"(
|
|
8706
|
+
"node_modules/find-parent-dir/index.js"(exports, module) {
|
|
8650
8707
|
"use strict";
|
|
8651
|
-
var path =
|
|
8652
|
-
var fs =
|
|
8708
|
+
var path = __require("path");
|
|
8709
|
+
var fs = __require("fs");
|
|
8653
8710
|
var exists = fs.exists || path.exists;
|
|
8654
8711
|
var existsSync = fs.existsSync || path.existsSync;
|
|
8655
8712
|
function splitPath(path2) {
|
|
@@ -8658,7 +8715,7 @@ var require_find_parent_dir = __commonJS({
|
|
|
8658
8715
|
return parts;
|
|
8659
8716
|
return !parts[0].length ? parts.slice(1) : parts;
|
|
8660
8717
|
}
|
|
8661
|
-
|
|
8718
|
+
exports = module.exports = function(currentFullPath, clue, cb) {
|
|
8662
8719
|
function testDir(parts) {
|
|
8663
8720
|
if (parts.length === 0)
|
|
8664
8721
|
return cb(null, null);
|
|
@@ -8671,7 +8728,7 @@ var require_find_parent_dir = __commonJS({
|
|
|
8671
8728
|
}
|
|
8672
8729
|
testDir(splitPath(currentFullPath));
|
|
8673
8730
|
};
|
|
8674
|
-
|
|
8731
|
+
exports.sync = function(currentFullPath, clue) {
|
|
8675
8732
|
function testDir(parts) {
|
|
8676
8733
|
if (parts.length === 0)
|
|
8677
8734
|
return null;
|
|
@@ -8683,283 +8740,283 @@ var require_find_parent_dir = __commonJS({
|
|
|
8683
8740
|
};
|
|
8684
8741
|
}
|
|
8685
8742
|
});
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
"use strict";
|
|
8689
|
-
var {
|
|
8690
|
-
stdin
|
|
8691
|
-
} = process;
|
|
8692
|
-
module2.exports = async () => {
|
|
8693
|
-
let result = "";
|
|
8694
|
-
if (stdin.isTTY) {
|
|
8695
|
-
return result;
|
|
8696
|
-
}
|
|
8697
|
-
stdin.setEncoding("utf8");
|
|
8698
|
-
for await (const chunk of stdin) {
|
|
8699
|
-
result += chunk;
|
|
8700
|
-
}
|
|
8701
|
-
return result;
|
|
8702
|
-
};
|
|
8703
|
-
module2.exports.buffer = async () => {
|
|
8704
|
-
const result = [];
|
|
8705
|
-
let length = 0;
|
|
8706
|
-
if (stdin.isTTY) {
|
|
8707
|
-
return Buffer.concat([]);
|
|
8708
|
-
}
|
|
8709
|
-
for await (const chunk of stdin) {
|
|
8710
|
-
result.push(chunk);
|
|
8711
|
-
length += chunk.length;
|
|
8712
|
-
}
|
|
8713
|
-
return Buffer.concat(result, length);
|
|
8714
|
-
};
|
|
8715
|
-
}
|
|
8716
|
-
});
|
|
8743
|
+
|
|
8744
|
+
// node_modules/ci-info/vendors.json
|
|
8717
8745
|
var require_vendors = __commonJS({
|
|
8718
|
-
"node_modules/ci-info/vendors.json"(
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8743
|
-
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
env: "
|
|
8758
|
-
|
|
8759
|
-
}
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
}
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
|
|
8868
|
-
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
env: "
|
|
8877
|
-
|
|
8878
|
-
}
|
|
8879
|
-
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8746
|
+
"node_modules/ci-info/vendors.json"(exports, module) {
|
|
8747
|
+
module.exports = [
|
|
8748
|
+
{
|
|
8749
|
+
name: "AppVeyor",
|
|
8750
|
+
constant: "APPVEYOR",
|
|
8751
|
+
env: "APPVEYOR",
|
|
8752
|
+
pr: "APPVEYOR_PULL_REQUEST_NUMBER"
|
|
8753
|
+
},
|
|
8754
|
+
{
|
|
8755
|
+
name: "Azure Pipelines",
|
|
8756
|
+
constant: "AZURE_PIPELINES",
|
|
8757
|
+
env: "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",
|
|
8758
|
+
pr: "SYSTEM_PULLREQUEST_PULLREQUESTID"
|
|
8759
|
+
},
|
|
8760
|
+
{
|
|
8761
|
+
name: "Appcircle",
|
|
8762
|
+
constant: "APPCIRCLE",
|
|
8763
|
+
env: "AC_APPCIRCLE"
|
|
8764
|
+
},
|
|
8765
|
+
{
|
|
8766
|
+
name: "Bamboo",
|
|
8767
|
+
constant: "BAMBOO",
|
|
8768
|
+
env: "bamboo_planKey"
|
|
8769
|
+
},
|
|
8770
|
+
{
|
|
8771
|
+
name: "Bitbucket Pipelines",
|
|
8772
|
+
constant: "BITBUCKET",
|
|
8773
|
+
env: "BITBUCKET_COMMIT",
|
|
8774
|
+
pr: "BITBUCKET_PR_ID"
|
|
8775
|
+
},
|
|
8776
|
+
{
|
|
8777
|
+
name: "Bitrise",
|
|
8778
|
+
constant: "BITRISE",
|
|
8779
|
+
env: "BITRISE_IO",
|
|
8780
|
+
pr: "BITRISE_PULL_REQUEST"
|
|
8781
|
+
},
|
|
8782
|
+
{
|
|
8783
|
+
name: "Buddy",
|
|
8784
|
+
constant: "BUDDY",
|
|
8785
|
+
env: "BUDDY_WORKSPACE_ID",
|
|
8786
|
+
pr: "BUDDY_EXECUTION_PULL_REQUEST_ID"
|
|
8787
|
+
},
|
|
8788
|
+
{
|
|
8789
|
+
name: "Buildkite",
|
|
8790
|
+
constant: "BUILDKITE",
|
|
8791
|
+
env: "BUILDKITE",
|
|
8792
|
+
pr: { env: "BUILDKITE_PULL_REQUEST", ne: "false" }
|
|
8793
|
+
},
|
|
8794
|
+
{
|
|
8795
|
+
name: "CircleCI",
|
|
8796
|
+
constant: "CIRCLE",
|
|
8797
|
+
env: "CIRCLECI",
|
|
8798
|
+
pr: "CIRCLE_PULL_REQUEST"
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
name: "Cirrus CI",
|
|
8802
|
+
constant: "CIRRUS",
|
|
8803
|
+
env: "CIRRUS_CI",
|
|
8804
|
+
pr: "CIRRUS_PR"
|
|
8805
|
+
},
|
|
8806
|
+
{
|
|
8807
|
+
name: "Codemagic",
|
|
8808
|
+
constant: "CODEMAGIC",
|
|
8809
|
+
env: "CM_BUILD_ID",
|
|
8810
|
+
pr: "CM_PULL_REQUEST"
|
|
8811
|
+
},
|
|
8812
|
+
{
|
|
8813
|
+
name: "AWS CodeBuild",
|
|
8814
|
+
constant: "CODEBUILD",
|
|
8815
|
+
env: "CODEBUILD_BUILD_ARN"
|
|
8816
|
+
},
|
|
8817
|
+
{
|
|
8818
|
+
name: "Codefresh",
|
|
8819
|
+
constant: "CODEFRESH",
|
|
8820
|
+
env: "CF_BUILD_ID",
|
|
8821
|
+
pr: { any: ["CF_PULL_REQUEST_NUMBER", "CF_PULL_REQUEST_ID"] }
|
|
8822
|
+
},
|
|
8823
|
+
{
|
|
8824
|
+
name: "Codeship",
|
|
8825
|
+
constant: "CODESHIP",
|
|
8826
|
+
env: { CI_NAME: "codeship" }
|
|
8827
|
+
},
|
|
8828
|
+
{
|
|
8829
|
+
name: "Drone",
|
|
8830
|
+
constant: "DRONE",
|
|
8831
|
+
env: "DRONE",
|
|
8832
|
+
pr: { DRONE_BUILD_EVENT: "pull_request" }
|
|
8833
|
+
},
|
|
8834
|
+
{
|
|
8835
|
+
name: "dsari",
|
|
8836
|
+
constant: "DSARI",
|
|
8837
|
+
env: "DSARI"
|
|
8838
|
+
},
|
|
8839
|
+
{
|
|
8840
|
+
name: "Expo Application Services",
|
|
8841
|
+
constant: "EAS",
|
|
8842
|
+
env: "EAS_BUILD"
|
|
8843
|
+
},
|
|
8844
|
+
{
|
|
8845
|
+
name: "GitHub Actions",
|
|
8846
|
+
constant: "GITHUB_ACTIONS",
|
|
8847
|
+
env: "GITHUB_ACTIONS",
|
|
8848
|
+
pr: { GITHUB_EVENT_NAME: "pull_request" }
|
|
8849
|
+
},
|
|
8850
|
+
{
|
|
8851
|
+
name: "GitLab CI",
|
|
8852
|
+
constant: "GITLAB",
|
|
8853
|
+
env: "GITLAB_CI",
|
|
8854
|
+
pr: "CI_MERGE_REQUEST_ID"
|
|
8855
|
+
},
|
|
8856
|
+
{
|
|
8857
|
+
name: "GoCD",
|
|
8858
|
+
constant: "GOCD",
|
|
8859
|
+
env: "GO_PIPELINE_LABEL"
|
|
8860
|
+
},
|
|
8861
|
+
{
|
|
8862
|
+
name: "LayerCI",
|
|
8863
|
+
constant: "LAYERCI",
|
|
8864
|
+
env: "LAYERCI",
|
|
8865
|
+
pr: "LAYERCI_PULL_REQUEST"
|
|
8866
|
+
},
|
|
8867
|
+
{
|
|
8868
|
+
name: "Hudson",
|
|
8869
|
+
constant: "HUDSON",
|
|
8870
|
+
env: "HUDSON_URL"
|
|
8871
|
+
},
|
|
8872
|
+
{
|
|
8873
|
+
name: "Jenkins",
|
|
8874
|
+
constant: "JENKINS",
|
|
8875
|
+
env: ["JENKINS_URL", "BUILD_ID"],
|
|
8876
|
+
pr: { any: ["ghprbPullId", "CHANGE_ID"] }
|
|
8877
|
+
},
|
|
8878
|
+
{
|
|
8879
|
+
name: "Magnum CI",
|
|
8880
|
+
constant: "MAGNUM",
|
|
8881
|
+
env: "MAGNUM"
|
|
8882
|
+
},
|
|
8883
|
+
{
|
|
8884
|
+
name: "Netlify CI",
|
|
8885
|
+
constant: "NETLIFY",
|
|
8886
|
+
env: "NETLIFY",
|
|
8887
|
+
pr: { env: "PULL_REQUEST", ne: "false" }
|
|
8888
|
+
},
|
|
8889
|
+
{
|
|
8890
|
+
name: "Nevercode",
|
|
8891
|
+
constant: "NEVERCODE",
|
|
8892
|
+
env: "NEVERCODE",
|
|
8893
|
+
pr: { env: "NEVERCODE_PULL_REQUEST", ne: "false" }
|
|
8894
|
+
},
|
|
8895
|
+
{
|
|
8896
|
+
name: "Render",
|
|
8897
|
+
constant: "RENDER",
|
|
8898
|
+
env: "RENDER",
|
|
8899
|
+
pr: { IS_PULL_REQUEST: "true" }
|
|
8900
|
+
},
|
|
8901
|
+
{
|
|
8902
|
+
name: "Sail CI",
|
|
8903
|
+
constant: "SAIL",
|
|
8904
|
+
env: "SAILCI",
|
|
8905
|
+
pr: "SAIL_PULL_REQUEST_NUMBER"
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
name: "Semaphore",
|
|
8909
|
+
constant: "SEMAPHORE",
|
|
8910
|
+
env: "SEMAPHORE",
|
|
8911
|
+
pr: "PULL_REQUEST_NUMBER"
|
|
8912
|
+
},
|
|
8913
|
+
{
|
|
8914
|
+
name: "Screwdriver",
|
|
8915
|
+
constant: "SCREWDRIVER",
|
|
8916
|
+
env: "SCREWDRIVER",
|
|
8917
|
+
pr: { env: "SD_PULL_REQUEST", ne: "false" }
|
|
8918
|
+
},
|
|
8919
|
+
{
|
|
8920
|
+
name: "Shippable",
|
|
8921
|
+
constant: "SHIPPABLE",
|
|
8922
|
+
env: "SHIPPABLE",
|
|
8923
|
+
pr: { IS_PULL_REQUEST: "true" }
|
|
8924
|
+
},
|
|
8925
|
+
{
|
|
8926
|
+
name: "Solano CI",
|
|
8927
|
+
constant: "SOLANO",
|
|
8928
|
+
env: "TDDIUM",
|
|
8929
|
+
pr: "TDDIUM_PR_ID"
|
|
8930
|
+
},
|
|
8931
|
+
{
|
|
8932
|
+
name: "Strider CD",
|
|
8933
|
+
constant: "STRIDER",
|
|
8934
|
+
env: "STRIDER"
|
|
8935
|
+
},
|
|
8936
|
+
{
|
|
8937
|
+
name: "TaskCluster",
|
|
8938
|
+
constant: "TASKCLUSTER",
|
|
8939
|
+
env: ["TASK_ID", "RUN_ID"]
|
|
8940
|
+
},
|
|
8941
|
+
{
|
|
8942
|
+
name: "TeamCity",
|
|
8943
|
+
constant: "TEAMCITY",
|
|
8944
|
+
env: "TEAMCITY_VERSION"
|
|
8945
|
+
},
|
|
8946
|
+
{
|
|
8947
|
+
name: "Travis CI",
|
|
8948
|
+
constant: "TRAVIS",
|
|
8949
|
+
env: "TRAVIS",
|
|
8950
|
+
pr: { env: "TRAVIS_PULL_REQUEST", ne: "false" }
|
|
8951
|
+
},
|
|
8952
|
+
{
|
|
8953
|
+
name: "Vercel",
|
|
8954
|
+
constant: "VERCEL",
|
|
8955
|
+
env: "NOW_BUILDER"
|
|
8956
|
+
},
|
|
8957
|
+
{
|
|
8958
|
+
name: "Visual Studio App Center",
|
|
8959
|
+
constant: "APPCENTER",
|
|
8960
|
+
env: "APPCENTER_BUILD_ID"
|
|
8961
|
+
},
|
|
8962
|
+
{
|
|
8963
|
+
name: "Xcode Cloud",
|
|
8964
|
+
constant: "XCODE_CLOUD",
|
|
8965
|
+
env: "CI_XCODE_PROJECT",
|
|
8966
|
+
pr: "CI_PULL_REQUEST_NUMBER"
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
name: "Xcode Server",
|
|
8970
|
+
constant: "XCODE_SERVER",
|
|
8971
|
+
env: "XCS"
|
|
8910
8972
|
}
|
|
8911
|
-
|
|
8912
|
-
name: "Vercel",
|
|
8913
|
-
constant: "VERCEL",
|
|
8914
|
-
env: "NOW_BUILDER"
|
|
8915
|
-
}, {
|
|
8916
|
-
name: "Visual Studio App Center",
|
|
8917
|
-
constant: "APPCENTER",
|
|
8918
|
-
env: "APPCENTER_BUILD_ID"
|
|
8919
|
-
}];
|
|
8973
|
+
];
|
|
8920
8974
|
}
|
|
8921
8975
|
});
|
|
8976
|
+
|
|
8977
|
+
// node_modules/ci-info/index.js
|
|
8922
8978
|
var require_ci_info = __commonJS({
|
|
8923
|
-
"node_modules/ci-info/index.js"(
|
|
8979
|
+
"node_modules/ci-info/index.js"(exports) {
|
|
8924
8980
|
"use strict";
|
|
8925
8981
|
var vendors = require_vendors();
|
|
8926
8982
|
var env = process.env;
|
|
8927
|
-
Object.defineProperty(
|
|
8983
|
+
Object.defineProperty(exports, "_vendors", {
|
|
8928
8984
|
value: vendors.map(function(v) {
|
|
8929
8985
|
return v.constant;
|
|
8930
8986
|
})
|
|
8931
8987
|
});
|
|
8932
|
-
|
|
8933
|
-
|
|
8988
|
+
exports.name = null;
|
|
8989
|
+
exports.isPR = null;
|
|
8934
8990
|
vendors.forEach(function(vendor) {
|
|
8935
8991
|
const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env];
|
|
8936
|
-
const
|
|
8992
|
+
const isCI2 = envs.every(function(obj) {
|
|
8937
8993
|
return checkEnv(obj);
|
|
8938
8994
|
});
|
|
8939
|
-
|
|
8940
|
-
if (
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8995
|
+
exports[vendor.constant] = isCI2;
|
|
8996
|
+
if (!isCI2) {
|
|
8997
|
+
return;
|
|
8998
|
+
}
|
|
8999
|
+
exports.name = vendor.name;
|
|
9000
|
+
switch (typeof vendor.pr) {
|
|
9001
|
+
case "string":
|
|
9002
|
+
exports.isPR = !!env[vendor.pr];
|
|
9003
|
+
break;
|
|
9004
|
+
case "object":
|
|
9005
|
+
if ("env" in vendor.pr) {
|
|
9006
|
+
exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne;
|
|
9007
|
+
} else if ("any" in vendor.pr) {
|
|
9008
|
+
exports.isPR = vendor.pr.any.some(function(key) {
|
|
9009
|
+
return !!env[key];
|
|
9010
|
+
});
|
|
9011
|
+
} else {
|
|
9012
|
+
exports.isPR = checkEnv(vendor.pr);
|
|
9013
|
+
}
|
|
9014
|
+
break;
|
|
9015
|
+
default:
|
|
9016
|
+
exports.isPR = null;
|
|
8960
9017
|
}
|
|
8961
9018
|
});
|
|
8962
|
-
|
|
9019
|
+
exports.isCI = !!(env.CI || env.CONTINUOUS_INTEGRATION || env.BUILD_NUMBER || env.CI_APP_ID || env.CI_BUILD_ID || env.CI_BUILD_NUMBER || env.RUN_ID || exports.name || false);
|
|
8963
9020
|
function checkEnv(obj) {
|
|
8964
9021
|
if (typeof obj === "string")
|
|
8965
9022
|
return !!env[obj];
|
|
@@ -8969,10 +9026,46 @@ var require_ci_info = __commonJS({
|
|
|
8969
9026
|
}
|
|
8970
9027
|
}
|
|
8971
9028
|
});
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
9029
|
+
|
|
9030
|
+
// src/common/third-party.js
|
|
9031
|
+
var import_cosmiconfig = __toESM(require_dist2(), 1);
|
|
9032
|
+
var import_find_parent_dir = __toESM(require_find_parent_dir(), 1);
|
|
9033
|
+
|
|
9034
|
+
// node_modules/get-stdin/index.js
|
|
9035
|
+
var { stdin } = process;
|
|
9036
|
+
async function getStdin() {
|
|
9037
|
+
let result = "";
|
|
9038
|
+
if (stdin.isTTY) {
|
|
9039
|
+
return result;
|
|
9040
|
+
}
|
|
9041
|
+
stdin.setEncoding("utf8");
|
|
9042
|
+
for await (const chunk of stdin) {
|
|
9043
|
+
result += chunk;
|
|
9044
|
+
}
|
|
9045
|
+
return result;
|
|
9046
|
+
}
|
|
9047
|
+
getStdin.buffer = async () => {
|
|
9048
|
+
const result = [];
|
|
9049
|
+
let length = 0;
|
|
9050
|
+
if (stdin.isTTY) {
|
|
9051
|
+
return Buffer.concat([]);
|
|
9052
|
+
}
|
|
9053
|
+
for await (const chunk of stdin) {
|
|
9054
|
+
result.push(chunk);
|
|
9055
|
+
length += chunk.length;
|
|
9056
|
+
}
|
|
9057
|
+
return Buffer.concat(result, length);
|
|
9058
|
+
};
|
|
9059
|
+
|
|
9060
|
+
// src/common/third-party.js
|
|
9061
|
+
var import_ci_info = __toESM(require_ci_info(), 1);
|
|
9062
|
+
var thirdParty = {
|
|
9063
|
+
cosmiconfig: import_cosmiconfig.cosmiconfig,
|
|
9064
|
+
findParentDir: import_find_parent_dir.sync,
|
|
9065
|
+
getStdin,
|
|
9066
|
+
isCI: () => import_ci_info.isCI
|
|
9067
|
+
};
|
|
9068
|
+
var third_party_default = thirdParty;
|
|
9069
|
+
export {
|
|
9070
|
+
third_party_default as default
|
|
8978
9071
|
};
|