prettier 2.7.1 → 3.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +129 -1033
- package/bin-prettier.js +9 -4
- package/{cli.js → cli.mjs} +12185 -13902
- package/doc.js +1235 -1325
- package/esm/parser-angular.mjs +2 -2
- package/esm/parser-babel.mjs +16 -25
- package/esm/parser-espree.mjs +13 -24
- package/esm/parser-flow.mjs +21 -33
- package/esm/parser-glimmer.mjs +20 -22
- package/esm/parser-graphql.mjs +7 -13
- package/esm/parser-html.mjs +13 -21
- package/esm/parser-markdown.mjs +38 -54
- package/esm/parser-meriyah.mjs +7 -18
- package/esm/parser-postcss.mjs +47 -70
- package/esm/parser-typescript.mjs +58 -69
- package/esm/parser-yaml.mjs +141 -143
- package/esm/standalone.mjs +93 -85
- package/index.js +34653 -34790
- package/package.json +3 -2
- package/parser-angular.js +2 -2
- package/parser-babel.js +16 -25
- package/parser-espree.js +13 -24
- package/parser-flow.js +21 -33
- package/parser-glimmer.js +20 -22
- package/parser-graphql.js +7 -13
- package/parser-html.js +13 -21
- package/parser-markdown.js +38 -54
- package/parser-meriyah.js +7 -18
- package/parser-postcss.js +47 -70
- package/parser-typescript.js +58 -69
- package/parser-yaml.js +141 -143
- package/standalone.js +93 -85
- package/third-party.js +626 -556
package/third-party.js
CHANGED
|
@@ -1,14 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __commonJS = (cb, mod) => function __require() {
|
|
6
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = {
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
|
+
};
|
|
10
|
+
var __export = (target, all) => {
|
|
11
|
+
for (var name in all)
|
|
12
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from))
|
|
17
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
18
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
9
21
|
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
|
+
mod
|
|
25
|
+
));
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
+
|
|
28
|
+
// node_modules/import-fresh/node_modules/resolve-from/index.js
|
|
10
29
|
var require_resolve_from = __commonJS({
|
|
11
|
-
"node_modules/import-fresh/node_modules/resolve-from/index.js"(
|
|
30
|
+
"node_modules/import-fresh/node_modules/resolve-from/index.js"(exports, module2) {
|
|
12
31
|
"use strict";
|
|
13
32
|
var path = require("path");
|
|
14
33
|
var Module = require("module");
|
|
@@ -50,14 +69,19 @@ var require_resolve_from = __commonJS({
|
|
|
50
69
|
module2.exports.silent = (fromDir, moduleId) => resolveFrom(fromDir, moduleId, true);
|
|
51
70
|
}
|
|
52
71
|
});
|
|
72
|
+
|
|
73
|
+
// scripts/build/shims/parent-module.cjs
|
|
53
74
|
var require_parent_module = __commonJS({
|
|
54
|
-
"scripts/build/shims/parent-module.cjs"(
|
|
75
|
+
"scripts/build/shims/parent-module.cjs"(exports, module2) {
|
|
55
76
|
"use strict";
|
|
56
|
-
|
|
77
|
+
var parentModule = (file) => file;
|
|
78
|
+
module2.exports = parentModule;
|
|
57
79
|
}
|
|
58
80
|
});
|
|
81
|
+
|
|
82
|
+
// node_modules/import-fresh/index.js
|
|
59
83
|
var require_import_fresh = __commonJS({
|
|
60
|
-
"node_modules/import-fresh/index.js"(
|
|
84
|
+
"node_modules/import-fresh/index.js"(exports, module2) {
|
|
61
85
|
"use strict";
|
|
62
86
|
var path = require("path");
|
|
63
87
|
var resolveFrom = require_resolve_from();
|
|
@@ -84,8 +108,10 @@ var require_import_fresh = __commonJS({
|
|
|
84
108
|
};
|
|
85
109
|
}
|
|
86
110
|
});
|
|
111
|
+
|
|
112
|
+
// node_modules/is-arrayish/index.js
|
|
87
113
|
var require_is_arrayish = __commonJS({
|
|
88
|
-
"node_modules/is-arrayish/index.js"(
|
|
114
|
+
"node_modules/is-arrayish/index.js"(exports, module2) {
|
|
89
115
|
"use strict";
|
|
90
116
|
module2.exports = function isArrayish(obj) {
|
|
91
117
|
if (!obj) {
|
|
@@ -95,8 +121,10 @@ var require_is_arrayish = __commonJS({
|
|
|
95
121
|
};
|
|
96
122
|
}
|
|
97
123
|
});
|
|
124
|
+
|
|
125
|
+
// node_modules/error-ex/index.js
|
|
98
126
|
var require_error_ex = __commonJS({
|
|
99
|
-
"node_modules/error-ex/index.js"(
|
|
127
|
+
"node_modules/error-ex/index.js"(exports, module2) {
|
|
100
128
|
"use strict";
|
|
101
129
|
var util = require("util");
|
|
102
130
|
var isArrayish = require_is_arrayish();
|
|
@@ -203,8 +231,10 @@ var require_error_ex = __commonJS({
|
|
|
203
231
|
module2.exports = errorEx;
|
|
204
232
|
}
|
|
205
233
|
});
|
|
234
|
+
|
|
235
|
+
// node_modules/json-parse-even-better-errors/index.js
|
|
206
236
|
var require_json_parse_even_better_errors = __commonJS({
|
|
207
|
-
"node_modules/json-parse-even-better-errors/index.js"(
|
|
237
|
+
"node_modules/json-parse-even-better-errors/index.js"(exports, module2) {
|
|
208
238
|
"use strict";
|
|
209
239
|
var hexify = (char) => {
|
|
210
240
|
const h = char.charCodeAt(0).toString(16).toUpperCase();
|
|
@@ -273,7 +303,9 @@ var require_json_parse_even_better_errors = __commonJS({
|
|
|
273
303
|
} catch (e) {
|
|
274
304
|
if (typeof txt !== "string" && !Buffer.isBuffer(txt)) {
|
|
275
305
|
const isEmptyArray = Array.isArray(txt) && txt.length === 0;
|
|
276
|
-
throw Object.assign(new TypeError(
|
|
306
|
+
throw Object.assign(new TypeError(
|
|
307
|
+
`Cannot parse ${isEmptyArray ? "an empty array" : String(txt)}`
|
|
308
|
+
), {
|
|
277
309
|
code: "EJSONPARSE",
|
|
278
310
|
systemError: e
|
|
279
311
|
});
|
|
@@ -292,11 +324,13 @@ var require_json_parse_even_better_errors = __commonJS({
|
|
|
292
324
|
};
|
|
293
325
|
}
|
|
294
326
|
});
|
|
327
|
+
|
|
328
|
+
// node_modules/parse-json/node_modules/lines-and-columns/build/index.js
|
|
295
329
|
var require_build = __commonJS({
|
|
296
|
-
"node_modules/parse-json/node_modules/lines-and-columns/build/index.js"(
|
|
330
|
+
"node_modules/parse-json/node_modules/lines-and-columns/build/index.js"(exports) {
|
|
297
331
|
"use strict";
|
|
298
|
-
|
|
299
|
-
|
|
332
|
+
exports.__esModule = true;
|
|
333
|
+
exports.LinesAndColumns = void 0;
|
|
300
334
|
var LF = "\n";
|
|
301
335
|
var CR = "\r";
|
|
302
336
|
var LinesAndColumns = function() {
|
|
@@ -333,10 +367,7 @@ var require_build = __commonJS({
|
|
|
333
367
|
line++;
|
|
334
368
|
}
|
|
335
369
|
var column = index - offsets[line];
|
|
336
|
-
return {
|
|
337
|
-
line,
|
|
338
|
-
column
|
|
339
|
-
};
|
|
370
|
+
return { line, column };
|
|
340
371
|
};
|
|
341
372
|
LinesAndColumns2.prototype.indexForLocation = function(location) {
|
|
342
373
|
var line = location.line, column = location.column;
|
|
@@ -355,22 +386,20 @@ var require_build = __commonJS({
|
|
|
355
386
|
};
|
|
356
387
|
return LinesAndColumns2;
|
|
357
388
|
}();
|
|
358
|
-
|
|
359
|
-
|
|
389
|
+
exports.LinesAndColumns = LinesAndColumns;
|
|
390
|
+
exports["default"] = LinesAndColumns;
|
|
360
391
|
}
|
|
361
392
|
});
|
|
393
|
+
|
|
394
|
+
// node_modules/js-tokens/index.js
|
|
362
395
|
var require_js_tokens = __commonJS({
|
|
363
|
-
"node_modules/js-tokens/index.js"(
|
|
364
|
-
Object.defineProperty(
|
|
396
|
+
"node_modules/js-tokens/index.js"(exports) {
|
|
397
|
+
Object.defineProperty(exports, "__esModule", {
|
|
365
398
|
value: true
|
|
366
399
|
});
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
var token = {
|
|
370
|
-
type: "invalid",
|
|
371
|
-
value: match[0],
|
|
372
|
-
closed: void 0
|
|
373
|
-
};
|
|
400
|
+
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;
|
|
401
|
+
exports.matchToToken = function(match) {
|
|
402
|
+
var token = { type: "invalid", value: match[0], closed: void 0 };
|
|
374
403
|
if (match[1])
|
|
375
404
|
token.type = "string", token.closed = !!(match[3] || match[4]);
|
|
376
405
|
else if (match[5])
|
|
@@ -391,15 +420,17 @@ var require_js_tokens = __commonJS({
|
|
|
391
420
|
};
|
|
392
421
|
}
|
|
393
422
|
});
|
|
423
|
+
|
|
424
|
+
// node_modules/@babel/helper-validator-identifier/lib/identifier.js
|
|
394
425
|
var require_identifier = __commonJS({
|
|
395
|
-
"node_modules/@babel/helper-validator-identifier/lib/identifier.js"(
|
|
426
|
+
"node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports) {
|
|
396
427
|
"use strict";
|
|
397
|
-
Object.defineProperty(
|
|
428
|
+
Object.defineProperty(exports, "__esModule", {
|
|
398
429
|
value: true
|
|
399
430
|
});
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
431
|
+
exports.isIdentifierChar = isIdentifierChar;
|
|
432
|
+
exports.isIdentifierName = isIdentifierName;
|
|
433
|
+
exports.isIdentifierStart = isIdentifierStart;
|
|
403
434
|
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
435
|
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-\u0ECD\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
436
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
@@ -474,17 +505,19 @@ var require_identifier = __commonJS({
|
|
|
474
505
|
}
|
|
475
506
|
}
|
|
476
507
|
});
|
|
508
|
+
|
|
509
|
+
// node_modules/@babel/helper-validator-identifier/lib/keyword.js
|
|
477
510
|
var require_keyword = __commonJS({
|
|
478
|
-
"node_modules/@babel/helper-validator-identifier/lib/keyword.js"(
|
|
511
|
+
"node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports) {
|
|
479
512
|
"use strict";
|
|
480
|
-
Object.defineProperty(
|
|
513
|
+
Object.defineProperty(exports, "__esModule", {
|
|
481
514
|
value: true
|
|
482
515
|
});
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
516
|
+
exports.isKeyword = isKeyword;
|
|
517
|
+
exports.isReservedWord = isReservedWord;
|
|
518
|
+
exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
|
|
519
|
+
exports.isStrictBindReservedWord = isStrictBindReservedWord;
|
|
520
|
+
exports.isStrictReservedWord = isStrictReservedWord;
|
|
488
521
|
var reservedWords = {
|
|
489
522
|
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
523
|
strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
|
|
@@ -510,55 +543,57 @@ var require_keyword = __commonJS({
|
|
|
510
543
|
}
|
|
511
544
|
}
|
|
512
545
|
});
|
|
546
|
+
|
|
547
|
+
// node_modules/@babel/helper-validator-identifier/lib/index.js
|
|
513
548
|
var require_lib = __commonJS({
|
|
514
|
-
"node_modules/@babel/helper-validator-identifier/lib/index.js"(
|
|
549
|
+
"node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) {
|
|
515
550
|
"use strict";
|
|
516
|
-
Object.defineProperty(
|
|
551
|
+
Object.defineProperty(exports, "__esModule", {
|
|
517
552
|
value: true
|
|
518
553
|
});
|
|
519
|
-
Object.defineProperty(
|
|
554
|
+
Object.defineProperty(exports, "isIdentifierChar", {
|
|
520
555
|
enumerable: true,
|
|
521
556
|
get: function() {
|
|
522
557
|
return _identifier.isIdentifierChar;
|
|
523
558
|
}
|
|
524
559
|
});
|
|
525
|
-
Object.defineProperty(
|
|
560
|
+
Object.defineProperty(exports, "isIdentifierName", {
|
|
526
561
|
enumerable: true,
|
|
527
562
|
get: function() {
|
|
528
563
|
return _identifier.isIdentifierName;
|
|
529
564
|
}
|
|
530
565
|
});
|
|
531
|
-
Object.defineProperty(
|
|
566
|
+
Object.defineProperty(exports, "isIdentifierStart", {
|
|
532
567
|
enumerable: true,
|
|
533
568
|
get: function() {
|
|
534
569
|
return _identifier.isIdentifierStart;
|
|
535
570
|
}
|
|
536
571
|
});
|
|
537
|
-
Object.defineProperty(
|
|
572
|
+
Object.defineProperty(exports, "isKeyword", {
|
|
538
573
|
enumerable: true,
|
|
539
574
|
get: function() {
|
|
540
575
|
return _keyword.isKeyword;
|
|
541
576
|
}
|
|
542
577
|
});
|
|
543
|
-
Object.defineProperty(
|
|
578
|
+
Object.defineProperty(exports, "isReservedWord", {
|
|
544
579
|
enumerable: true,
|
|
545
580
|
get: function() {
|
|
546
581
|
return _keyword.isReservedWord;
|
|
547
582
|
}
|
|
548
583
|
});
|
|
549
|
-
Object.defineProperty(
|
|
584
|
+
Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
|
|
550
585
|
enumerable: true,
|
|
551
586
|
get: function() {
|
|
552
587
|
return _keyword.isStrictBindOnlyReservedWord;
|
|
553
588
|
}
|
|
554
589
|
});
|
|
555
|
-
Object.defineProperty(
|
|
590
|
+
Object.defineProperty(exports, "isStrictBindReservedWord", {
|
|
556
591
|
enumerable: true,
|
|
557
592
|
get: function() {
|
|
558
593
|
return _keyword.isStrictBindReservedWord;
|
|
559
594
|
}
|
|
560
595
|
});
|
|
561
|
-
Object.defineProperty(
|
|
596
|
+
Object.defineProperty(exports, "isStrictReservedWord", {
|
|
562
597
|
enumerable: true,
|
|
563
598
|
get: function() {
|
|
564
599
|
return _keyword.isStrictReservedWord;
|
|
@@ -568,8 +603,10 @@ var require_lib = __commonJS({
|
|
|
568
603
|
var _keyword = require_keyword();
|
|
569
604
|
}
|
|
570
605
|
});
|
|
606
|
+
|
|
607
|
+
// node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js
|
|
571
608
|
var require_escape_string_regexp = __commonJS({
|
|
572
|
-
"node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(
|
|
609
|
+
"node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(exports, module2) {
|
|
573
610
|
"use strict";
|
|
574
611
|
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
575
612
|
module2.exports = function(str) {
|
|
@@ -580,8 +617,10 @@ var require_escape_string_regexp = __commonJS({
|
|
|
580
617
|
};
|
|
581
618
|
}
|
|
582
619
|
});
|
|
620
|
+
|
|
621
|
+
// node_modules/color-name/index.js
|
|
583
622
|
var require_color_name = __commonJS({
|
|
584
|
-
"node_modules/color-name/index.js"(
|
|
623
|
+
"node_modules/color-name/index.js"(exports, module2) {
|
|
585
624
|
"use strict";
|
|
586
625
|
module2.exports = {
|
|
587
626
|
"aliceblue": [240, 248, 255],
|
|
@@ -735,8 +774,10 @@ var require_color_name = __commonJS({
|
|
|
735
774
|
};
|
|
736
775
|
}
|
|
737
776
|
});
|
|
777
|
+
|
|
778
|
+
// node_modules/color-convert/conversions.js
|
|
738
779
|
var require_conversions = __commonJS({
|
|
739
|
-
"node_modules/color-convert/conversions.js"(
|
|
780
|
+
"node_modules/color-convert/conversions.js"(exports, module2) {
|
|
740
781
|
var cssKeywords = require_color_name();
|
|
741
782
|
var reverseKeywords = {};
|
|
742
783
|
for (key in cssKeywords) {
|
|
@@ -746,66 +787,21 @@ var require_conversions = __commonJS({
|
|
|
746
787
|
}
|
|
747
788
|
var key;
|
|
748
789
|
var convert = module2.exports = {
|
|
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
|
-
}
|
|
790
|
+
rgb: { channels: 3, labels: "rgb" },
|
|
791
|
+
hsl: { channels: 3, labels: "hsl" },
|
|
792
|
+
hsv: { channels: 3, labels: "hsv" },
|
|
793
|
+
hwb: { channels: 3, labels: "hwb" },
|
|
794
|
+
cmyk: { channels: 4, labels: "cmyk" },
|
|
795
|
+
xyz: { channels: 3, labels: "xyz" },
|
|
796
|
+
lab: { channels: 3, labels: "lab" },
|
|
797
|
+
lch: { channels: 3, labels: "lch" },
|
|
798
|
+
hex: { channels: 1, labels: ["hex"] },
|
|
799
|
+
keyword: { channels: 1, labels: ["keyword"] },
|
|
800
|
+
ansi16: { channels: 1, labels: ["ansi16"] },
|
|
801
|
+
ansi256: { channels: 1, labels: ["ansi256"] },
|
|
802
|
+
hcg: { channels: 3, labels: ["h", "c", "g"] },
|
|
803
|
+
apple: { channels: 3, labels: ["r16", "g16", "b16"] },
|
|
804
|
+
gray: { channels: 1, labels: ["gray"] }
|
|
809
805
|
};
|
|
810
806
|
for (model in convert) {
|
|
811
807
|
if (convert.hasOwnProperty(model)) {
|
|
@@ -822,12 +818,8 @@ var require_conversions = __commonJS({
|
|
|
822
818
|
labels = convert[model].labels;
|
|
823
819
|
delete convert[model].channels;
|
|
824
820
|
delete convert[model].labels;
|
|
825
|
-
Object.defineProperty(convert[model], "channels", {
|
|
826
|
-
|
|
827
|
-
});
|
|
828
|
-
Object.defineProperty(convert[model], "labels", {
|
|
829
|
-
value: labels
|
|
830
|
-
});
|
|
821
|
+
Object.defineProperty(convert[model], "channels", { value: channels });
|
|
822
|
+
Object.defineProperty(convert[model], "labels", { value: labels });
|
|
831
823
|
}
|
|
832
824
|
}
|
|
833
825
|
var channels;
|
|
@@ -900,7 +892,11 @@ var require_conversions = __commonJS({
|
|
|
900
892
|
h -= 1;
|
|
901
893
|
}
|
|
902
894
|
}
|
|
903
|
-
return [
|
|
895
|
+
return [
|
|
896
|
+
h * 360,
|
|
897
|
+
s * 100,
|
|
898
|
+
v * 100
|
|
899
|
+
];
|
|
904
900
|
};
|
|
905
901
|
convert.rgb.hwb = function(rgb) {
|
|
906
902
|
var r = rgb[0];
|
|
@@ -1413,7 +1409,11 @@ var require_conversions = __commonJS({
|
|
|
1413
1409
|
pure[2] = w;
|
|
1414
1410
|
}
|
|
1415
1411
|
mg = (1 - c) * g;
|
|
1416
|
-
return [
|
|
1412
|
+
return [
|
|
1413
|
+
(c * pure[0] + mg) * 255,
|
|
1414
|
+
(c * pure[1] + mg) * 255,
|
|
1415
|
+
(c * pure[2] + mg) * 255
|
|
1416
|
+
];
|
|
1417
1417
|
};
|
|
1418
1418
|
convert.hcg.hsv = function(hcg) {
|
|
1419
1419
|
var c = hcg[1] / 100;
|
|
@@ -1487,8 +1487,10 @@ var require_conversions = __commonJS({
|
|
|
1487
1487
|
};
|
|
1488
1488
|
}
|
|
1489
1489
|
});
|
|
1490
|
+
|
|
1491
|
+
// node_modules/color-convert/route.js
|
|
1490
1492
|
var require_route = __commonJS({
|
|
1491
|
-
"node_modules/color-convert/route.js"(
|
|
1493
|
+
"node_modules/color-convert/route.js"(exports, module2) {
|
|
1492
1494
|
var conversions = require_conversions();
|
|
1493
1495
|
function buildGraph() {
|
|
1494
1496
|
var graph = {};
|
|
@@ -1553,8 +1555,10 @@ var require_route = __commonJS({
|
|
|
1553
1555
|
};
|
|
1554
1556
|
}
|
|
1555
1557
|
});
|
|
1558
|
+
|
|
1559
|
+
// node_modules/color-convert/index.js
|
|
1556
1560
|
var require_color_convert = __commonJS({
|
|
1557
|
-
"node_modules/color-convert/index.js"(
|
|
1561
|
+
"node_modules/color-convert/index.js"(exports, module2) {
|
|
1558
1562
|
var conversions = require_conversions();
|
|
1559
1563
|
var route = require_route();
|
|
1560
1564
|
var convert = {};
|
|
@@ -1597,12 +1601,8 @@ var require_color_convert = __commonJS({
|
|
|
1597
1601
|
}
|
|
1598
1602
|
models.forEach(function(fromModel) {
|
|
1599
1603
|
convert[fromModel] = {};
|
|
1600
|
-
Object.defineProperty(convert[fromModel], "channels", {
|
|
1601
|
-
|
|
1602
|
-
});
|
|
1603
|
-
Object.defineProperty(convert[fromModel], "labels", {
|
|
1604
|
-
value: conversions[fromModel].labels
|
|
1605
|
-
});
|
|
1604
|
+
Object.defineProperty(convert[fromModel], "channels", { value: conversions[fromModel].channels });
|
|
1605
|
+
Object.defineProperty(convert[fromModel], "labels", { value: conversions[fromModel].labels });
|
|
1606
1606
|
var routes = route(fromModel);
|
|
1607
1607
|
var routeModels = Object.keys(routes);
|
|
1608
1608
|
routeModels.forEach(function(toModel) {
|
|
@@ -1614,8 +1614,10 @@ var require_color_convert = __commonJS({
|
|
|
1614
1614
|
module2.exports = convert;
|
|
1615
1615
|
}
|
|
1616
1616
|
});
|
|
1617
|
+
|
|
1618
|
+
// node_modules/ansi-styles/index.js
|
|
1617
1619
|
var require_ansi_styles = __commonJS({
|
|
1618
|
-
"node_modules/ansi-styles/index.js"(
|
|
1620
|
+
"node_modules/ansi-styles/index.js"(exports, module2) {
|
|
1619
1621
|
"use strict";
|
|
1620
1622
|
var colorConvert = require_color_convert();
|
|
1621
1623
|
var wrapAnsi16 = (fn, offset) => function() {
|
|
@@ -1752,8 +1754,10 @@ var require_ansi_styles = __commonJS({
|
|
|
1752
1754
|
});
|
|
1753
1755
|
}
|
|
1754
1756
|
});
|
|
1757
|
+
|
|
1758
|
+
// node_modules/@babel/highlight/node_modules/has-flag/index.js
|
|
1755
1759
|
var require_has_flag = __commonJS({
|
|
1756
|
-
"node_modules/@babel/highlight/node_modules/has-flag/index.js"(
|
|
1760
|
+
"node_modules/@babel/highlight/node_modules/has-flag/index.js"(exports, module2) {
|
|
1757
1761
|
"use strict";
|
|
1758
1762
|
module2.exports = (flag, argv) => {
|
|
1759
1763
|
argv = argv || process.argv;
|
|
@@ -1764,8 +1768,10 @@ var require_has_flag = __commonJS({
|
|
|
1764
1768
|
};
|
|
1765
1769
|
}
|
|
1766
1770
|
});
|
|
1771
|
+
|
|
1772
|
+
// node_modules/@babel/highlight/node_modules/supports-color/index.js
|
|
1767
1773
|
var require_supports_color = __commonJS({
|
|
1768
|
-
"node_modules/@babel/highlight/node_modules/supports-color/index.js"(
|
|
1774
|
+
"node_modules/@babel/highlight/node_modules/supports-color/index.js"(exports, module2) {
|
|
1769
1775
|
"use strict";
|
|
1770
1776
|
var os = require("os");
|
|
1771
1777
|
var hasFlag = require_has_flag();
|
|
@@ -1857,14 +1863,27 @@ var require_supports_color = __commonJS({
|
|
|
1857
1863
|
};
|
|
1858
1864
|
}
|
|
1859
1865
|
});
|
|
1866
|
+
|
|
1867
|
+
// node_modules/@babel/highlight/node_modules/chalk/templates.js
|
|
1860
1868
|
var require_templates = __commonJS({
|
|
1861
|
-
"node_modules/@babel/highlight/node_modules/chalk/templates.js"(
|
|
1869
|
+
"node_modules/@babel/highlight/node_modules/chalk/templates.js"(exports, module2) {
|
|
1862
1870
|
"use strict";
|
|
1863
1871
|
var TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
|
|
1864
1872
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
1865
1873
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
1866
1874
|
var ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;
|
|
1867
|
-
var ESCAPES = /* @__PURE__ */ new Map([
|
|
1875
|
+
var ESCAPES = /* @__PURE__ */ new Map([
|
|
1876
|
+
["n", "\n"],
|
|
1877
|
+
["r", "\r"],
|
|
1878
|
+
["t", " "],
|
|
1879
|
+
["b", "\b"],
|
|
1880
|
+
["f", "\f"],
|
|
1881
|
+
["v", "\v"],
|
|
1882
|
+
["0", "\0"],
|
|
1883
|
+
["\\", "\\"],
|
|
1884
|
+
["e", "\x1B"],
|
|
1885
|
+
["a", "\x07"]
|
|
1886
|
+
]);
|
|
1868
1887
|
function unescape(c) {
|
|
1869
1888
|
if (c[0] === "u" && c.length === 5 || c[0] === "x" && c.length === 3) {
|
|
1870
1889
|
return String.fromCharCode(parseInt(c.slice(1), 16));
|
|
@@ -1934,10 +1953,7 @@ var require_templates = __commonJS({
|
|
|
1934
1953
|
const str = chunk.join("");
|
|
1935
1954
|
chunk = [];
|
|
1936
1955
|
chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str));
|
|
1937
|
-
styles.push({
|
|
1938
|
-
inverse,
|
|
1939
|
-
styles: parseStyle(style)
|
|
1940
|
-
});
|
|
1956
|
+
styles.push({ inverse, styles: parseStyle(style) });
|
|
1941
1957
|
} else if (close) {
|
|
1942
1958
|
if (styles.length === 0) {
|
|
1943
1959
|
throw new Error("Found extraneous } in Chalk template literal");
|
|
@@ -1958,8 +1974,10 @@ var require_templates = __commonJS({
|
|
|
1958
1974
|
};
|
|
1959
1975
|
}
|
|
1960
1976
|
});
|
|
1977
|
+
|
|
1978
|
+
// node_modules/@babel/highlight/node_modules/chalk/index.js
|
|
1961
1979
|
var require_chalk = __commonJS({
|
|
1962
|
-
"node_modules/@babel/highlight/node_modules/chalk/index.js"(
|
|
1980
|
+
"node_modules/@babel/highlight/node_modules/chalk/index.js"(exports, module2) {
|
|
1963
1981
|
"use strict";
|
|
1964
1982
|
var escapeStringRegexp = require_escape_string_regexp();
|
|
1965
1983
|
var ansiStyles = require_ansi_styles();
|
|
@@ -2123,15 +2141,17 @@ var require_chalk = __commonJS({
|
|
|
2123
2141
|
module2.exports.default = module2.exports;
|
|
2124
2142
|
}
|
|
2125
2143
|
});
|
|
2144
|
+
|
|
2145
|
+
// node_modules/@babel/highlight/lib/index.js
|
|
2126
2146
|
var require_lib2 = __commonJS({
|
|
2127
|
-
"node_modules/@babel/highlight/lib/index.js"(
|
|
2147
|
+
"node_modules/@babel/highlight/lib/index.js"(exports) {
|
|
2128
2148
|
"use strict";
|
|
2129
|
-
Object.defineProperty(
|
|
2149
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2130
2150
|
value: true
|
|
2131
2151
|
});
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2152
|
+
exports.default = highlight;
|
|
2153
|
+
exports.getChalk = getChalk;
|
|
2154
|
+
exports.shouldHighlight = shouldHighlight;
|
|
2135
2155
|
var _jsTokens = require_js_tokens();
|
|
2136
2156
|
var _helperValidatorIdentifier = require_lib();
|
|
2137
2157
|
var _chalk = require_chalk();
|
|
@@ -2159,7 +2179,7 @@ var require_lib2 = __commonJS({
|
|
|
2159
2179
|
if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {
|
|
2160
2180
|
return "keyword";
|
|
2161
2181
|
}
|
|
2162
|
-
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.
|
|
2182
|
+
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) == "</")) {
|
|
2163
2183
|
return "jsxIdentifier";
|
|
2164
2184
|
}
|
|
2165
2185
|
if (token.value[0] !== token.value[0].toLowerCase()) {
|
|
@@ -2220,14 +2240,16 @@ var require_lib2 = __commonJS({
|
|
|
2220
2240
|
}
|
|
2221
2241
|
}
|
|
2222
2242
|
});
|
|
2243
|
+
|
|
2244
|
+
// node_modules/@babel/code-frame/lib/index.js
|
|
2223
2245
|
var require_lib3 = __commonJS({
|
|
2224
|
-
"node_modules/@babel/code-frame/lib/index.js"(
|
|
2246
|
+
"node_modules/@babel/code-frame/lib/index.js"(exports) {
|
|
2225
2247
|
"use strict";
|
|
2226
|
-
Object.defineProperty(
|
|
2248
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2227
2249
|
value: true
|
|
2228
2250
|
});
|
|
2229
|
-
|
|
2230
|
-
|
|
2251
|
+
exports.codeFrameColumns = codeFrameColumns;
|
|
2252
|
+
exports.default = _default;
|
|
2231
2253
|
var _highlight = require_lib2();
|
|
2232
2254
|
var deprecationWarningShown = false;
|
|
2233
2255
|
function getDefs(chalk) {
|
|
@@ -2364,17 +2386,15 @@ ${frame}`;
|
|
|
2364
2386
|
}
|
|
2365
2387
|
}
|
|
2366
2388
|
});
|
|
2389
|
+
|
|
2390
|
+
// node_modules/parse-json/index.js
|
|
2367
2391
|
var require_parse_json = __commonJS({
|
|
2368
|
-
"node_modules/parse-json/index.js"(
|
|
2392
|
+
"node_modules/parse-json/index.js"(exports, module2) {
|
|
2369
2393
|
"use strict";
|
|
2370
2394
|
var errorEx = require_error_ex();
|
|
2371
2395
|
var fallback = require_json_parse_even_better_errors();
|
|
2372
|
-
var {
|
|
2373
|
-
|
|
2374
|
-
} = require_build();
|
|
2375
|
-
var {
|
|
2376
|
-
codeFrameColumns
|
|
2377
|
-
} = require_lib3();
|
|
2396
|
+
var { default: LinesAndColumns } = require_build();
|
|
2397
|
+
var { codeFrameColumns } = require_lib3();
|
|
2378
2398
|
var JSONError = errorEx("JSONError", {
|
|
2379
2399
|
fileName: errorEx.append("in %s"),
|
|
2380
2400
|
codeFrame: errorEx.append("\n\n%s\n")
|
|
@@ -2402,14 +2422,11 @@ var require_parse_json = __commonJS({
|
|
|
2402
2422
|
const lines = new LinesAndColumns(string);
|
|
2403
2423
|
const index = Number(indexMatch[1]);
|
|
2404
2424
|
const location = lines.locationForIndex(index);
|
|
2405
|
-
const codeFrame = codeFrameColumns(
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
}, {
|
|
2411
|
-
highlightCode: true
|
|
2412
|
-
});
|
|
2425
|
+
const codeFrame = codeFrameColumns(
|
|
2426
|
+
string,
|
|
2427
|
+
{ start: { line: location.line + 1, column: location.column + 1 } },
|
|
2428
|
+
{ highlightCode: true }
|
|
2429
|
+
);
|
|
2413
2430
|
jsonError.codeFrame = codeFrame;
|
|
2414
2431
|
}
|
|
2415
2432
|
throw jsonError;
|
|
@@ -2419,8 +2436,10 @@ var require_parse_json = __commonJS({
|
|
|
2419
2436
|
module2.exports = parseJson;
|
|
2420
2437
|
}
|
|
2421
2438
|
});
|
|
2439
|
+
|
|
2440
|
+
// node_modules/yaml/dist/PlainValue-ec8e588e.js
|
|
2422
2441
|
var require_PlainValue_ec8e588e = __commonJS({
|
|
2423
|
-
"node_modules/yaml/dist/PlainValue-ec8e588e.js"(
|
|
2442
|
+
"node_modules/yaml/dist/PlainValue-ec8e588e.js"(exports) {
|
|
2424
2443
|
"use strict";
|
|
2425
2444
|
var Char = {
|
|
2426
2445
|
ANCHOR: "&",
|
|
@@ -3102,23 +3121,25 @@ ${ctx}
|
|
|
3102
3121
|
return offset;
|
|
3103
3122
|
}
|
|
3104
3123
|
};
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3124
|
+
exports.Char = Char;
|
|
3125
|
+
exports.Node = Node;
|
|
3126
|
+
exports.PlainValue = PlainValue;
|
|
3127
|
+
exports.Range = Range;
|
|
3128
|
+
exports.Type = Type;
|
|
3129
|
+
exports.YAMLError = YAMLError;
|
|
3130
|
+
exports.YAMLReferenceError = YAMLReferenceError;
|
|
3131
|
+
exports.YAMLSemanticError = YAMLSemanticError;
|
|
3132
|
+
exports.YAMLSyntaxError = YAMLSyntaxError;
|
|
3133
|
+
exports.YAMLWarning = YAMLWarning;
|
|
3134
|
+
exports._defineProperty = _defineProperty;
|
|
3135
|
+
exports.defaultTagPrefix = defaultTagPrefix;
|
|
3136
|
+
exports.defaultTags = defaultTags;
|
|
3118
3137
|
}
|
|
3119
3138
|
});
|
|
3139
|
+
|
|
3140
|
+
// node_modules/yaml/dist/parse-cst.js
|
|
3120
3141
|
var require_parse_cst = __commonJS({
|
|
3121
|
-
"node_modules/yaml/dist/parse-cst.js"(
|
|
3142
|
+
"node_modules/yaml/dist/parse-cst.js"(exports) {
|
|
3122
3143
|
"use strict";
|
|
3123
3144
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
3124
3145
|
var BlankLine = class extends PlainValue.Node {
|
|
@@ -4512,11 +4533,13 @@ var require_parse_cst = __commonJS({
|
|
|
4512
4533
|
documents.toString = () => documents.join("...\n");
|
|
4513
4534
|
return documents;
|
|
4514
4535
|
}
|
|
4515
|
-
|
|
4536
|
+
exports.parse = parse;
|
|
4516
4537
|
}
|
|
4517
4538
|
});
|
|
4539
|
+
|
|
4540
|
+
// node_modules/yaml/dist/resolveSeq-d03cb037.js
|
|
4518
4541
|
var require_resolveSeq_d03cb037 = __commonJS({
|
|
4519
|
-
"node_modules/yaml/dist/resolveSeq-d03cb037.js"(
|
|
4542
|
+
"node_modules/yaml/dist/resolveSeq-d03cb037.js"(exports) {
|
|
4520
4543
|
"use strict";
|
|
4521
4544
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
4522
4545
|
function addCommentBefore(str, indent, comment) {
|
|
@@ -6443,33 +6466,35 @@ ${ca}` : ca;
|
|
|
6443
6466
|
items
|
|
6444
6467
|
};
|
|
6445
6468
|
}
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
+
exports.Alias = Alias;
|
|
6470
|
+
exports.Collection = Collection;
|
|
6471
|
+
exports.Merge = Merge;
|
|
6472
|
+
exports.Node = Node;
|
|
6473
|
+
exports.Pair = Pair;
|
|
6474
|
+
exports.Scalar = Scalar;
|
|
6475
|
+
exports.YAMLMap = YAMLMap;
|
|
6476
|
+
exports.YAMLSeq = YAMLSeq;
|
|
6477
|
+
exports.addComment = addComment;
|
|
6478
|
+
exports.binaryOptions = binaryOptions;
|
|
6479
|
+
exports.boolOptions = boolOptions;
|
|
6480
|
+
exports.findPair = findPair;
|
|
6481
|
+
exports.intOptions = intOptions;
|
|
6482
|
+
exports.isEmptyPath = isEmptyPath;
|
|
6483
|
+
exports.nullOptions = nullOptions;
|
|
6484
|
+
exports.resolveMap = resolveMap;
|
|
6485
|
+
exports.resolveNode = resolveNode;
|
|
6486
|
+
exports.resolveSeq = resolveSeq;
|
|
6487
|
+
exports.resolveString = resolveString;
|
|
6488
|
+
exports.strOptions = strOptions;
|
|
6489
|
+
exports.stringifyNumber = stringifyNumber;
|
|
6490
|
+
exports.stringifyString = stringifyString;
|
|
6491
|
+
exports.toJSON = toJSON;
|
|
6469
6492
|
}
|
|
6470
6493
|
});
|
|
6494
|
+
|
|
6495
|
+
// node_modules/yaml/dist/warnings-1000a372.js
|
|
6471
6496
|
var require_warnings_1000a372 = __commonJS({
|
|
6472
|
-
"node_modules/yaml/dist/warnings-1000a372.js"(
|
|
6497
|
+
"node_modules/yaml/dist/warnings-1000a372.js"(exports) {
|
|
6473
6498
|
"use strict";
|
|
6474
6499
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
6475
6500
|
var resolveSeq = require_resolveSeq_d03cb037();
|
|
@@ -6809,20 +6834,22 @@ ${pair.comment}` : item.comment;
|
|
|
6809
6834
|
warn(msg, "DeprecationWarning");
|
|
6810
6835
|
}
|
|
6811
6836
|
}
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6837
|
+
exports.binary = binary;
|
|
6838
|
+
exports.floatTime = floatTime;
|
|
6839
|
+
exports.intTime = intTime;
|
|
6840
|
+
exports.omap = omap;
|
|
6841
|
+
exports.pairs = pairs;
|
|
6842
|
+
exports.set = set;
|
|
6843
|
+
exports.timestamp = timestamp;
|
|
6844
|
+
exports.warn = warn;
|
|
6845
|
+
exports.warnFileDeprecation = warnFileDeprecation;
|
|
6846
|
+
exports.warnOptionDeprecation = warnOptionDeprecation;
|
|
6822
6847
|
}
|
|
6823
6848
|
});
|
|
6849
|
+
|
|
6850
|
+
// node_modules/yaml/dist/Schema-88e323a7.js
|
|
6824
6851
|
var require_Schema_88e323a7 = __commonJS({
|
|
6825
|
-
"node_modules/yaml/dist/Schema-88e323a7.js"(
|
|
6852
|
+
"node_modules/yaml/dist/Schema-88e323a7.js"(exports) {
|
|
6826
6853
|
"use strict";
|
|
6827
6854
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
6828
6855
|
var resolveSeq = require_resolveSeq_d03cb037();
|
|
@@ -7281,11 +7308,13 @@ var require_Schema_88e323a7 = __commonJS({
|
|
|
7281
7308
|
};
|
|
7282
7309
|
PlainValue._defineProperty(Schema, "defaultPrefix", PlainValue.defaultTagPrefix);
|
|
7283
7310
|
PlainValue._defineProperty(Schema, "defaultTags", PlainValue.defaultTags);
|
|
7284
|
-
|
|
7311
|
+
exports.Schema = Schema;
|
|
7285
7312
|
}
|
|
7286
7313
|
});
|
|
7314
|
+
|
|
7315
|
+
// node_modules/yaml/dist/Document-9b4560a1.js
|
|
7287
7316
|
var require_Document_9b4560a1 = __commonJS({
|
|
7288
|
-
"node_modules/yaml/dist/Document-9b4560a1.js"(
|
|
7317
|
+
"node_modules/yaml/dist/Document-9b4560a1.js"(exports) {
|
|
7289
7318
|
"use strict";
|
|
7290
7319
|
var PlainValue = require_PlainValue_ec8e588e();
|
|
7291
7320
|
var resolveSeq = require_resolveSeq_d03cb037();
|
|
@@ -7695,7 +7724,7 @@ ${cbNode.commentBefore}` : cb;
|
|
|
7695
7724
|
if (comment)
|
|
7696
7725
|
directiveComments.push(comment);
|
|
7697
7726
|
}
|
|
7698
|
-
if (prevDoc && !hasDirectives && (doc.version || prevDoc.version || doc.options.version)
|
|
7727
|
+
if (prevDoc && !hasDirectives && "1.1" === (doc.version || prevDoc.version || doc.options.version)) {
|
|
7699
7728
|
const copyTagPrefix = ({
|
|
7700
7729
|
handle,
|
|
7701
7730
|
prefix
|
|
@@ -7956,13 +7985,15 @@ ${cbNode.commentBefore}` : cb;
|
|
|
7956
7985
|
}
|
|
7957
7986
|
};
|
|
7958
7987
|
PlainValue._defineProperty(Document, "defaults", documentOptions);
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7988
|
+
exports.Document = Document;
|
|
7989
|
+
exports.defaultOptions = defaultOptions;
|
|
7990
|
+
exports.scalarOptions = scalarOptions;
|
|
7962
7991
|
}
|
|
7963
7992
|
});
|
|
7993
|
+
|
|
7994
|
+
// node_modules/yaml/dist/index.js
|
|
7964
7995
|
var require_dist = __commonJS({
|
|
7965
|
-
"node_modules/yaml/dist/index.js"(
|
|
7996
|
+
"node_modules/yaml/dist/index.js"(exports) {
|
|
7966
7997
|
"use strict";
|
|
7967
7998
|
var parseCst = require_parse_cst();
|
|
7968
7999
|
var Document$1 = require_Document_9b4560a1();
|
|
@@ -8027,21 +8058,25 @@ var require_dist = __commonJS({
|
|
|
8027
8058
|
scalarOptions: Document$1.scalarOptions,
|
|
8028
8059
|
stringify
|
|
8029
8060
|
};
|
|
8030
|
-
|
|
8061
|
+
exports.YAML = YAML;
|
|
8031
8062
|
}
|
|
8032
8063
|
});
|
|
8064
|
+
|
|
8065
|
+
// node_modules/yaml/index.js
|
|
8033
8066
|
var require_yaml = __commonJS({
|
|
8034
|
-
"node_modules/yaml/index.js"(
|
|
8067
|
+
"node_modules/yaml/index.js"(exports, module2) {
|
|
8035
8068
|
module2.exports = require_dist().YAML;
|
|
8036
8069
|
}
|
|
8037
8070
|
});
|
|
8071
|
+
|
|
8072
|
+
// node_modules/cosmiconfig/dist/loaders.js
|
|
8038
8073
|
var require_loaders = __commonJS({
|
|
8039
|
-
"node_modules/cosmiconfig/dist/loaders.js"(
|
|
8074
|
+
"node_modules/cosmiconfig/dist/loaders.js"(exports) {
|
|
8040
8075
|
"use strict";
|
|
8041
|
-
Object.defineProperty(
|
|
8076
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8042
8077
|
value: true
|
|
8043
8078
|
});
|
|
8044
|
-
|
|
8079
|
+
exports.loaders = void 0;
|
|
8045
8080
|
var importFresh;
|
|
8046
8081
|
var loadJs = function loadJs2(filepath) {
|
|
8047
8082
|
if (importFresh === void 0) {
|
|
@@ -8085,16 +8120,18 @@ ${error.message}`;
|
|
|
8085
8120
|
loadJson,
|
|
8086
8121
|
loadYaml
|
|
8087
8122
|
};
|
|
8088
|
-
|
|
8123
|
+
exports.loaders = loaders;
|
|
8089
8124
|
}
|
|
8090
8125
|
});
|
|
8126
|
+
|
|
8127
|
+
// node_modules/cosmiconfig/dist/getPropertyByPath.js
|
|
8091
8128
|
var require_getPropertyByPath = __commonJS({
|
|
8092
|
-
"node_modules/cosmiconfig/dist/getPropertyByPath.js"(
|
|
8129
|
+
"node_modules/cosmiconfig/dist/getPropertyByPath.js"(exports) {
|
|
8093
8130
|
"use strict";
|
|
8094
|
-
Object.defineProperty(
|
|
8131
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8095
8132
|
value: true
|
|
8096
8133
|
});
|
|
8097
|
-
|
|
8134
|
+
exports.getPropertyByPath = getPropertyByPath;
|
|
8098
8135
|
function getPropertyByPath(source, path) {
|
|
8099
8136
|
if (typeof path === "string" && Object.prototype.hasOwnProperty.call(source, path)) {
|
|
8100
8137
|
return source[path];
|
|
@@ -8109,21 +8146,21 @@ var require_getPropertyByPath = __commonJS({
|
|
|
8109
8146
|
}
|
|
8110
8147
|
}
|
|
8111
8148
|
});
|
|
8149
|
+
|
|
8150
|
+
// node_modules/cosmiconfig/dist/ExplorerBase.js
|
|
8112
8151
|
var require_ExplorerBase = __commonJS({
|
|
8113
|
-
"node_modules/cosmiconfig/dist/ExplorerBase.js"(
|
|
8152
|
+
"node_modules/cosmiconfig/dist/ExplorerBase.js"(exports) {
|
|
8114
8153
|
"use strict";
|
|
8115
|
-
Object.defineProperty(
|
|
8154
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8116
8155
|
value: true
|
|
8117
8156
|
});
|
|
8118
|
-
|
|
8119
|
-
|
|
8157
|
+
exports.getExtensionDescription = getExtensionDescription;
|
|
8158
|
+
exports.ExplorerBase = void 0;
|
|
8120
8159
|
var _path = _interopRequireDefault(require("path"));
|
|
8121
8160
|
var _loaders = require_loaders();
|
|
8122
8161
|
var _getPropertyByPath = require_getPropertyByPath();
|
|
8123
8162
|
function _interopRequireDefault(obj) {
|
|
8124
|
-
return obj && obj.__esModule ? obj : {
|
|
8125
|
-
default: obj
|
|
8126
|
-
};
|
|
8163
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8127
8164
|
}
|
|
8128
8165
|
var ExplorerBase = class {
|
|
8129
8166
|
constructor(options) {
|
|
@@ -8217,7 +8254,7 @@ var require_ExplorerBase = __commonJS({
|
|
|
8217
8254
|
}
|
|
8218
8255
|
}
|
|
8219
8256
|
};
|
|
8220
|
-
|
|
8257
|
+
exports.ExplorerBase = ExplorerBase;
|
|
8221
8258
|
function nextDirUp(dir) {
|
|
8222
8259
|
return _path.default.dirname(dir);
|
|
8223
8260
|
}
|
|
@@ -8227,19 +8264,19 @@ var require_ExplorerBase = __commonJS({
|
|
|
8227
8264
|
}
|
|
8228
8265
|
}
|
|
8229
8266
|
});
|
|
8267
|
+
|
|
8268
|
+
// node_modules/cosmiconfig/dist/readFile.js
|
|
8230
8269
|
var require_readFile = __commonJS({
|
|
8231
|
-
"node_modules/cosmiconfig/dist/readFile.js"(
|
|
8270
|
+
"node_modules/cosmiconfig/dist/readFile.js"(exports) {
|
|
8232
8271
|
"use strict";
|
|
8233
|
-
Object.defineProperty(
|
|
8272
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8234
8273
|
value: true
|
|
8235
8274
|
});
|
|
8236
|
-
|
|
8237
|
-
|
|
8275
|
+
exports.readFile = readFile;
|
|
8276
|
+
exports.readFileSync = readFileSync;
|
|
8238
8277
|
var _fs = _interopRequireDefault(require("fs"));
|
|
8239
8278
|
function _interopRequireDefault(obj) {
|
|
8240
|
-
return obj && obj.__esModule ? obj : {
|
|
8241
|
-
default: obj
|
|
8242
|
-
};
|
|
8279
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8243
8280
|
}
|
|
8244
8281
|
async function fsReadFileAsync(pathname, encoding) {
|
|
8245
8282
|
return new Promise((resolve, reject) => {
|
|
@@ -8278,14 +8315,16 @@ var require_readFile = __commonJS({
|
|
|
8278
8315
|
}
|
|
8279
8316
|
}
|
|
8280
8317
|
});
|
|
8318
|
+
|
|
8319
|
+
// node_modules/cosmiconfig/dist/cacheWrapper.js
|
|
8281
8320
|
var require_cacheWrapper = __commonJS({
|
|
8282
|
-
"node_modules/cosmiconfig/dist/cacheWrapper.js"(
|
|
8321
|
+
"node_modules/cosmiconfig/dist/cacheWrapper.js"(exports) {
|
|
8283
8322
|
"use strict";
|
|
8284
|
-
Object.defineProperty(
|
|
8323
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8285
8324
|
value: true
|
|
8286
8325
|
});
|
|
8287
|
-
|
|
8288
|
-
|
|
8326
|
+
exports.cacheWrapper = cacheWrapper;
|
|
8327
|
+
exports.cacheWrapperSync = cacheWrapperSync;
|
|
8289
8328
|
async function cacheWrapper(cache, key, fn) {
|
|
8290
8329
|
const cached = cache.get(key);
|
|
8291
8330
|
if (cached !== void 0) {
|
|
@@ -8306,12 +8345,12 @@ var require_cacheWrapper = __commonJS({
|
|
|
8306
8345
|
}
|
|
8307
8346
|
}
|
|
8308
8347
|
});
|
|
8348
|
+
|
|
8349
|
+
// node_modules/path-type/index.js
|
|
8309
8350
|
var require_path_type = __commonJS({
|
|
8310
|
-
"node_modules/path-type/index.js"(
|
|
8351
|
+
"node_modules/path-type/index.js"(exports) {
|
|
8311
8352
|
"use strict";
|
|
8312
|
-
var {
|
|
8313
|
-
promisify
|
|
8314
|
-
} = require("util");
|
|
8353
|
+
var { promisify } = require("util");
|
|
8315
8354
|
var fs = require("fs");
|
|
8316
8355
|
async function isType(fsStatType, statsMethodName, filePath) {
|
|
8317
8356
|
if (typeof filePath !== "string") {
|
|
@@ -8340,28 +8379,28 @@ var require_path_type = __commonJS({
|
|
|
8340
8379
|
throw error;
|
|
8341
8380
|
}
|
|
8342
8381
|
}
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8382
|
+
exports.isFile = isType.bind(null, "stat", "isFile");
|
|
8383
|
+
exports.isDirectory = isType.bind(null, "stat", "isDirectory");
|
|
8384
|
+
exports.isSymlink = isType.bind(null, "lstat", "isSymbolicLink");
|
|
8385
|
+
exports.isFileSync = isTypeSync.bind(null, "statSync", "isFile");
|
|
8386
|
+
exports.isDirectorySync = isTypeSync.bind(null, "statSync", "isDirectory");
|
|
8387
|
+
exports.isSymlinkSync = isTypeSync.bind(null, "lstatSync", "isSymbolicLink");
|
|
8349
8388
|
}
|
|
8350
8389
|
});
|
|
8390
|
+
|
|
8391
|
+
// node_modules/cosmiconfig/dist/getDirectory.js
|
|
8351
8392
|
var require_getDirectory = __commonJS({
|
|
8352
|
-
"node_modules/cosmiconfig/dist/getDirectory.js"(
|
|
8393
|
+
"node_modules/cosmiconfig/dist/getDirectory.js"(exports) {
|
|
8353
8394
|
"use strict";
|
|
8354
|
-
Object.defineProperty(
|
|
8395
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8355
8396
|
value: true
|
|
8356
8397
|
});
|
|
8357
|
-
|
|
8358
|
-
|
|
8398
|
+
exports.getDirectory = getDirectory;
|
|
8399
|
+
exports.getDirectorySync = getDirectorySync;
|
|
8359
8400
|
var _path = _interopRequireDefault(require("path"));
|
|
8360
8401
|
var _pathType = require_path_type();
|
|
8361
8402
|
function _interopRequireDefault(obj) {
|
|
8362
|
-
return obj && obj.__esModule ? obj : {
|
|
8363
|
-
default: obj
|
|
8364
|
-
};
|
|
8403
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8365
8404
|
}
|
|
8366
8405
|
async function getDirectory(filepath) {
|
|
8367
8406
|
const filePathIsDirectory = await (0, _pathType.isDirectory)(filepath);
|
|
@@ -8381,22 +8420,22 @@ var require_getDirectory = __commonJS({
|
|
|
8381
8420
|
}
|
|
8382
8421
|
}
|
|
8383
8422
|
});
|
|
8423
|
+
|
|
8424
|
+
// node_modules/cosmiconfig/dist/Explorer.js
|
|
8384
8425
|
var require_Explorer = __commonJS({
|
|
8385
|
-
"node_modules/cosmiconfig/dist/Explorer.js"(
|
|
8426
|
+
"node_modules/cosmiconfig/dist/Explorer.js"(exports) {
|
|
8386
8427
|
"use strict";
|
|
8387
|
-
Object.defineProperty(
|
|
8428
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8388
8429
|
value: true
|
|
8389
8430
|
});
|
|
8390
|
-
|
|
8431
|
+
exports.Explorer = void 0;
|
|
8391
8432
|
var _path = _interopRequireDefault(require("path"));
|
|
8392
8433
|
var _ExplorerBase = require_ExplorerBase();
|
|
8393
8434
|
var _readFile = require_readFile();
|
|
8394
8435
|
var _cacheWrapper = require_cacheWrapper();
|
|
8395
8436
|
var _getDirectory = require_getDirectory();
|
|
8396
8437
|
function _interopRequireDefault(obj) {
|
|
8397
|
-
return obj && obj.__esModule ? obj : {
|
|
8398
|
-
default: obj
|
|
8399
|
-
};
|
|
8438
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8400
8439
|
}
|
|
8401
8440
|
var Explorer = class extends _ExplorerBase.ExplorerBase {
|
|
8402
8441
|
constructor(options) {
|
|
@@ -8471,25 +8510,25 @@ var require_Explorer = __commonJS({
|
|
|
8471
8510
|
return runLoad();
|
|
8472
8511
|
}
|
|
8473
8512
|
};
|
|
8474
|
-
|
|
8513
|
+
exports.Explorer = Explorer;
|
|
8475
8514
|
}
|
|
8476
8515
|
});
|
|
8516
|
+
|
|
8517
|
+
// node_modules/cosmiconfig/dist/ExplorerSync.js
|
|
8477
8518
|
var require_ExplorerSync = __commonJS({
|
|
8478
|
-
"node_modules/cosmiconfig/dist/ExplorerSync.js"(
|
|
8519
|
+
"node_modules/cosmiconfig/dist/ExplorerSync.js"(exports) {
|
|
8479
8520
|
"use strict";
|
|
8480
|
-
Object.defineProperty(
|
|
8521
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8481
8522
|
value: true
|
|
8482
8523
|
});
|
|
8483
|
-
|
|
8524
|
+
exports.ExplorerSync = void 0;
|
|
8484
8525
|
var _path = _interopRequireDefault(require("path"));
|
|
8485
8526
|
var _ExplorerBase = require_ExplorerBase();
|
|
8486
8527
|
var _readFile = require_readFile();
|
|
8487
8528
|
var _cacheWrapper = require_cacheWrapper();
|
|
8488
8529
|
var _getDirectory = require_getDirectory();
|
|
8489
8530
|
function _interopRequireDefault(obj) {
|
|
8490
|
-
return obj && obj.__esModule ? obj : {
|
|
8491
|
-
default: obj
|
|
8492
|
-
};
|
|
8531
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8493
8532
|
}
|
|
8494
8533
|
var ExplorerSync = class extends _ExplorerBase.ExplorerBase {
|
|
8495
8534
|
constructor(options) {
|
|
@@ -8564,37 +8603,39 @@ var require_ExplorerSync = __commonJS({
|
|
|
8564
8603
|
return runLoadSync();
|
|
8565
8604
|
}
|
|
8566
8605
|
};
|
|
8567
|
-
|
|
8606
|
+
exports.ExplorerSync = ExplorerSync;
|
|
8568
8607
|
}
|
|
8569
8608
|
});
|
|
8609
|
+
|
|
8610
|
+
// node_modules/cosmiconfig/dist/types.js
|
|
8570
8611
|
var require_types = __commonJS({
|
|
8571
|
-
"node_modules/cosmiconfig/dist/types.js"(
|
|
8612
|
+
"node_modules/cosmiconfig/dist/types.js"(exports) {
|
|
8572
8613
|
"use strict";
|
|
8573
|
-
Object.defineProperty(
|
|
8614
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8574
8615
|
value: true
|
|
8575
8616
|
});
|
|
8576
8617
|
}
|
|
8577
8618
|
});
|
|
8619
|
+
|
|
8620
|
+
// node_modules/cosmiconfig/dist/index.js
|
|
8578
8621
|
var require_dist2 = __commonJS({
|
|
8579
|
-
"node_modules/cosmiconfig/dist/index.js"(
|
|
8622
|
+
"node_modules/cosmiconfig/dist/index.js"(exports) {
|
|
8580
8623
|
"use strict";
|
|
8581
|
-
Object.defineProperty(
|
|
8624
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8582
8625
|
value: true
|
|
8583
8626
|
});
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8627
|
+
exports.cosmiconfig = cosmiconfig2;
|
|
8628
|
+
exports.cosmiconfigSync = cosmiconfigSync;
|
|
8629
|
+
exports.defaultLoaders = void 0;
|
|
8587
8630
|
var _os = _interopRequireDefault(require("os"));
|
|
8588
8631
|
var _Explorer = require_Explorer();
|
|
8589
8632
|
var _ExplorerSync = require_ExplorerSync();
|
|
8590
8633
|
var _loaders = require_loaders();
|
|
8591
8634
|
var _types = require_types();
|
|
8592
8635
|
function _interopRequireDefault(obj) {
|
|
8593
|
-
return obj && obj.__esModule ? obj : {
|
|
8594
|
-
default: obj
|
|
8595
|
-
};
|
|
8636
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
8596
8637
|
}
|
|
8597
|
-
function
|
|
8638
|
+
function cosmiconfig2(moduleName, options = {}) {
|
|
8598
8639
|
const normalizedOptions = normalizeOptions(moduleName, options);
|
|
8599
8640
|
const explorer = new _Explorer.Explorer(normalizedOptions);
|
|
8600
8641
|
return {
|
|
@@ -8624,7 +8665,7 @@ var require_dist2 = __commonJS({
|
|
|
8624
8665
|
".yml": _loaders.loaders.loadYaml,
|
|
8625
8666
|
noExt: _loaders.loaders.loadYaml
|
|
8626
8667
|
});
|
|
8627
|
-
|
|
8668
|
+
exports.defaultLoaders = defaultLoaders;
|
|
8628
8669
|
var identity = function identity2(x) {
|
|
8629
8670
|
return x;
|
|
8630
8671
|
};
|
|
@@ -8638,15 +8679,22 @@ var require_dist2 = __commonJS({
|
|
|
8638
8679
|
transform: identity,
|
|
8639
8680
|
loaders: defaultLoaders
|
|
8640
8681
|
};
|
|
8641
|
-
const normalizedOptions =
|
|
8642
|
-
|
|
8643
|
-
|
|
8682
|
+
const normalizedOptions = {
|
|
8683
|
+
...defaults,
|
|
8684
|
+
...options,
|
|
8685
|
+
loaders: {
|
|
8686
|
+
...defaults.loaders,
|
|
8687
|
+
...options.loaders
|
|
8688
|
+
}
|
|
8689
|
+
};
|
|
8644
8690
|
return normalizedOptions;
|
|
8645
8691
|
}
|
|
8646
8692
|
}
|
|
8647
8693
|
});
|
|
8694
|
+
|
|
8695
|
+
// node_modules/find-parent-dir/index.js
|
|
8648
8696
|
var require_find_parent_dir = __commonJS({
|
|
8649
|
-
"node_modules/find-parent-dir/index.js"(
|
|
8697
|
+
"node_modules/find-parent-dir/index.js"(exports, module2) {
|
|
8650
8698
|
"use strict";
|
|
8651
8699
|
var path = require("path");
|
|
8652
8700
|
var fs = require("fs");
|
|
@@ -8658,7 +8706,7 @@ var require_find_parent_dir = __commonJS({
|
|
|
8658
8706
|
return parts;
|
|
8659
8707
|
return !parts[0].length ? parts.slice(1) : parts;
|
|
8660
8708
|
}
|
|
8661
|
-
|
|
8709
|
+
exports = module2.exports = function(currentFullPath, clue, cb) {
|
|
8662
8710
|
function testDir(parts) {
|
|
8663
8711
|
if (parts.length === 0)
|
|
8664
8712
|
return cb(null, null);
|
|
@@ -8671,7 +8719,7 @@ var require_find_parent_dir = __commonJS({
|
|
|
8671
8719
|
}
|
|
8672
8720
|
testDir(splitPath(currentFullPath));
|
|
8673
8721
|
};
|
|
8674
|
-
|
|
8722
|
+
exports.sync = function(currentFullPath, clue) {
|
|
8675
8723
|
function testDir(parts) {
|
|
8676
8724
|
if (parts.length === 0)
|
|
8677
8725
|
return null;
|
|
@@ -8683,283 +8731,265 @@ var require_find_parent_dir = __commonJS({
|
|
|
8683
8731
|
};
|
|
8684
8732
|
}
|
|
8685
8733
|
});
|
|
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
|
-
});
|
|
8734
|
+
|
|
8735
|
+
// node_modules/ci-info/vendors.json
|
|
8717
8736
|
var require_vendors = __commonJS({
|
|
8718
|
-
"node_modules/ci-info/vendors.json"(
|
|
8719
|
-
module2.exports = [
|
|
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
|
-
|
|
8737
|
+
"node_modules/ci-info/vendors.json"(exports, module2) {
|
|
8738
|
+
module2.exports = [
|
|
8739
|
+
{
|
|
8740
|
+
name: "AppVeyor",
|
|
8741
|
+
constant: "APPVEYOR",
|
|
8742
|
+
env: "APPVEYOR",
|
|
8743
|
+
pr: "APPVEYOR_PULL_REQUEST_NUMBER"
|
|
8744
|
+
},
|
|
8745
|
+
{
|
|
8746
|
+
name: "Azure Pipelines",
|
|
8747
|
+
constant: "AZURE_PIPELINES",
|
|
8748
|
+
env: "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",
|
|
8749
|
+
pr: "SYSTEM_PULLREQUEST_PULLREQUESTID"
|
|
8750
|
+
},
|
|
8751
|
+
{
|
|
8752
|
+
name: "Appcircle",
|
|
8753
|
+
constant: "APPCIRCLE",
|
|
8754
|
+
env: "AC_APPCIRCLE"
|
|
8755
|
+
},
|
|
8756
|
+
{
|
|
8757
|
+
name: "Bamboo",
|
|
8758
|
+
constant: "BAMBOO",
|
|
8759
|
+
env: "bamboo_planKey"
|
|
8760
|
+
},
|
|
8761
|
+
{
|
|
8762
|
+
name: "Bitbucket Pipelines",
|
|
8763
|
+
constant: "BITBUCKET",
|
|
8764
|
+
env: "BITBUCKET_COMMIT",
|
|
8765
|
+
pr: "BITBUCKET_PR_ID"
|
|
8766
|
+
},
|
|
8767
|
+
{
|
|
8768
|
+
name: "Bitrise",
|
|
8769
|
+
constant: "BITRISE",
|
|
8770
|
+
env: "BITRISE_IO",
|
|
8771
|
+
pr: "BITRISE_PULL_REQUEST"
|
|
8772
|
+
},
|
|
8773
|
+
{
|
|
8774
|
+
name: "Buddy",
|
|
8775
|
+
constant: "BUDDY",
|
|
8776
|
+
env: "BUDDY_WORKSPACE_ID",
|
|
8777
|
+
pr: "BUDDY_EXECUTION_PULL_REQUEST_ID"
|
|
8778
|
+
},
|
|
8779
|
+
{
|
|
8780
|
+
name: "Buildkite",
|
|
8781
|
+
constant: "BUILDKITE",
|
|
8782
|
+
env: "BUILDKITE",
|
|
8783
|
+
pr: { env: "BUILDKITE_PULL_REQUEST", ne: "false" }
|
|
8784
|
+
},
|
|
8785
|
+
{
|
|
8786
|
+
name: "CircleCI",
|
|
8787
|
+
constant: "CIRCLE",
|
|
8788
|
+
env: "CIRCLECI",
|
|
8789
|
+
pr: "CIRCLE_PULL_REQUEST"
|
|
8790
|
+
},
|
|
8791
|
+
{
|
|
8792
|
+
name: "Cirrus CI",
|
|
8793
|
+
constant: "CIRRUS",
|
|
8794
|
+
env: "CIRRUS_CI",
|
|
8795
|
+
pr: "CIRRUS_PR"
|
|
8796
|
+
},
|
|
8797
|
+
{
|
|
8798
|
+
name: "AWS CodeBuild",
|
|
8799
|
+
constant: "CODEBUILD",
|
|
8800
|
+
env: "CODEBUILD_BUILD_ARN"
|
|
8801
|
+
},
|
|
8802
|
+
{
|
|
8803
|
+
name: "Codefresh",
|
|
8804
|
+
constant: "CODEFRESH",
|
|
8805
|
+
env: "CF_BUILD_ID",
|
|
8806
|
+
pr: { any: ["CF_PULL_REQUEST_NUMBER", "CF_PULL_REQUEST_ID"] }
|
|
8807
|
+
},
|
|
8808
|
+
{
|
|
8809
|
+
name: "Codeship",
|
|
8810
|
+
constant: "CODESHIP",
|
|
8811
|
+
env: { CI_NAME: "codeship" }
|
|
8812
|
+
},
|
|
8813
|
+
{
|
|
8814
|
+
name: "Drone",
|
|
8815
|
+
constant: "DRONE",
|
|
8816
|
+
env: "DRONE",
|
|
8817
|
+
pr: { DRONE_BUILD_EVENT: "pull_request" }
|
|
8818
|
+
},
|
|
8819
|
+
{
|
|
8820
|
+
name: "dsari",
|
|
8821
|
+
constant: "DSARI",
|
|
8822
|
+
env: "DSARI"
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
name: "Expo Application Services",
|
|
8826
|
+
constant: "EAS",
|
|
8827
|
+
env: "EAS_BUILD"
|
|
8828
|
+
},
|
|
8829
|
+
{
|
|
8830
|
+
name: "GitHub Actions",
|
|
8831
|
+
constant: "GITHUB_ACTIONS",
|
|
8832
|
+
env: "GITHUB_ACTIONS",
|
|
8833
|
+
pr: { GITHUB_EVENT_NAME: "pull_request" }
|
|
8834
|
+
},
|
|
8835
|
+
{
|
|
8836
|
+
name: "GitLab CI",
|
|
8837
|
+
constant: "GITLAB",
|
|
8838
|
+
env: "GITLAB_CI",
|
|
8839
|
+
pr: "CI_MERGE_REQUEST_ID"
|
|
8840
|
+
},
|
|
8841
|
+
{
|
|
8842
|
+
name: "GoCD",
|
|
8843
|
+
constant: "GOCD",
|
|
8844
|
+
env: "GO_PIPELINE_LABEL"
|
|
8845
|
+
},
|
|
8846
|
+
{
|
|
8847
|
+
name: "LayerCI",
|
|
8848
|
+
constant: "LAYERCI",
|
|
8849
|
+
env: "LAYERCI",
|
|
8850
|
+
pr: "LAYERCI_PULL_REQUEST"
|
|
8851
|
+
},
|
|
8852
|
+
{
|
|
8853
|
+
name: "Hudson",
|
|
8854
|
+
constant: "HUDSON",
|
|
8855
|
+
env: "HUDSON_URL"
|
|
8856
|
+
},
|
|
8857
|
+
{
|
|
8858
|
+
name: "Jenkins",
|
|
8859
|
+
constant: "JENKINS",
|
|
8860
|
+
env: ["JENKINS_URL", "BUILD_ID"],
|
|
8861
|
+
pr: { any: ["ghprbPullId", "CHANGE_ID"] }
|
|
8862
|
+
},
|
|
8863
|
+
{
|
|
8864
|
+
name: "Magnum CI",
|
|
8865
|
+
constant: "MAGNUM",
|
|
8866
|
+
env: "MAGNUM"
|
|
8867
|
+
},
|
|
8868
|
+
{
|
|
8869
|
+
name: "Netlify CI",
|
|
8870
|
+
constant: "NETLIFY",
|
|
8871
|
+
env: "NETLIFY",
|
|
8872
|
+
pr: { env: "PULL_REQUEST", ne: "false" }
|
|
8873
|
+
},
|
|
8874
|
+
{
|
|
8875
|
+
name: "Nevercode",
|
|
8876
|
+
constant: "NEVERCODE",
|
|
8877
|
+
env: "NEVERCODE",
|
|
8878
|
+
pr: { env: "NEVERCODE_PULL_REQUEST", ne: "false" }
|
|
8879
|
+
},
|
|
8880
|
+
{
|
|
8881
|
+
name: "Render",
|
|
8882
|
+
constant: "RENDER",
|
|
8883
|
+
env: "RENDER",
|
|
8884
|
+
pr: { IS_PULL_REQUEST: "true" }
|
|
8885
|
+
},
|
|
8886
|
+
{
|
|
8887
|
+
name: "Sail CI",
|
|
8888
|
+
constant: "SAIL",
|
|
8889
|
+
env: "SAILCI",
|
|
8890
|
+
pr: "SAIL_PULL_REQUEST_NUMBER"
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
name: "Semaphore",
|
|
8894
|
+
constant: "SEMAPHORE",
|
|
8895
|
+
env: "SEMAPHORE",
|
|
8896
|
+
pr: "PULL_REQUEST_NUMBER"
|
|
8897
|
+
},
|
|
8898
|
+
{
|
|
8899
|
+
name: "Screwdriver",
|
|
8900
|
+
constant: "SCREWDRIVER",
|
|
8901
|
+
env: "SCREWDRIVER",
|
|
8902
|
+
pr: { env: "SD_PULL_REQUEST", ne: "false" }
|
|
8903
|
+
},
|
|
8904
|
+
{
|
|
8905
|
+
name: "Shippable",
|
|
8906
|
+
constant: "SHIPPABLE",
|
|
8907
|
+
env: "SHIPPABLE",
|
|
8908
|
+
pr: { IS_PULL_REQUEST: "true" }
|
|
8909
|
+
},
|
|
8910
|
+
{
|
|
8911
|
+
name: "Solano CI",
|
|
8912
|
+
constant: "SOLANO",
|
|
8913
|
+
env: "TDDIUM",
|
|
8914
|
+
pr: "TDDIUM_PR_ID"
|
|
8915
|
+
},
|
|
8916
|
+
{
|
|
8917
|
+
name: "Strider CD",
|
|
8918
|
+
constant: "STRIDER",
|
|
8919
|
+
env: "STRIDER"
|
|
8920
|
+
},
|
|
8921
|
+
{
|
|
8922
|
+
name: "TaskCluster",
|
|
8923
|
+
constant: "TASKCLUSTER",
|
|
8924
|
+
env: ["TASK_ID", "RUN_ID"]
|
|
8925
|
+
},
|
|
8926
|
+
{
|
|
8927
|
+
name: "TeamCity",
|
|
8928
|
+
constant: "TEAMCITY",
|
|
8929
|
+
env: "TEAMCITY_VERSION"
|
|
8930
|
+
},
|
|
8931
|
+
{
|
|
8932
|
+
name: "Travis CI",
|
|
8933
|
+
constant: "TRAVIS",
|
|
8934
|
+
env: "TRAVIS",
|
|
8935
|
+
pr: { env: "TRAVIS_PULL_REQUEST", ne: "false" }
|
|
8936
|
+
},
|
|
8937
|
+
{
|
|
8938
|
+
name: "Vercel",
|
|
8939
|
+
constant: "VERCEL",
|
|
8940
|
+
env: "NOW_BUILDER"
|
|
8941
|
+
},
|
|
8942
|
+
{
|
|
8943
|
+
name: "Visual Studio App Center",
|
|
8944
|
+
constant: "APPCENTER",
|
|
8945
|
+
env: "APPCENTER_BUILD_ID"
|
|
8910
8946
|
}
|
|
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
|
-
}];
|
|
8947
|
+
];
|
|
8920
8948
|
}
|
|
8921
8949
|
});
|
|
8950
|
+
|
|
8951
|
+
// node_modules/ci-info/index.js
|
|
8922
8952
|
var require_ci_info = __commonJS({
|
|
8923
|
-
"node_modules/ci-info/index.js"(
|
|
8953
|
+
"node_modules/ci-info/index.js"(exports) {
|
|
8924
8954
|
"use strict";
|
|
8925
8955
|
var vendors = require_vendors();
|
|
8926
8956
|
var env = process.env;
|
|
8927
|
-
Object.defineProperty(
|
|
8957
|
+
Object.defineProperty(exports, "_vendors", {
|
|
8928
8958
|
value: vendors.map(function(v) {
|
|
8929
8959
|
return v.constant;
|
|
8930
8960
|
})
|
|
8931
8961
|
});
|
|
8932
|
-
|
|
8933
|
-
|
|
8962
|
+
exports.name = null;
|
|
8963
|
+
exports.isPR = null;
|
|
8934
8964
|
vendors.forEach(function(vendor) {
|
|
8935
8965
|
const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env];
|
|
8936
|
-
const
|
|
8966
|
+
const isCI2 = envs.every(function(obj) {
|
|
8937
8967
|
return checkEnv(obj);
|
|
8938
8968
|
});
|
|
8939
|
-
|
|
8940
|
-
if (
|
|
8941
|
-
|
|
8969
|
+
exports[vendor.constant] = isCI2;
|
|
8970
|
+
if (isCI2) {
|
|
8971
|
+
exports.name = vendor.name;
|
|
8942
8972
|
switch (typeof vendor.pr) {
|
|
8943
8973
|
case "string":
|
|
8944
|
-
|
|
8974
|
+
exports.isPR = !!env[vendor.pr];
|
|
8945
8975
|
break;
|
|
8946
8976
|
case "object":
|
|
8947
8977
|
if ("env" in vendor.pr) {
|
|
8948
|
-
|
|
8978
|
+
exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne;
|
|
8949
8979
|
} else if ("any" in vendor.pr) {
|
|
8950
|
-
|
|
8980
|
+
exports.isPR = vendor.pr.any.some(function(key) {
|
|
8951
8981
|
return !!env[key];
|
|
8952
8982
|
});
|
|
8953
8983
|
} else {
|
|
8954
|
-
|
|
8984
|
+
exports.isPR = checkEnv(vendor.pr);
|
|
8955
8985
|
}
|
|
8956
8986
|
break;
|
|
8957
8987
|
default:
|
|
8958
|
-
|
|
8988
|
+
exports.isPR = null;
|
|
8959
8989
|
}
|
|
8960
8990
|
}
|
|
8961
8991
|
});
|
|
8962
|
-
|
|
8992
|
+
exports.isCI = !!(env.CI || env.CONTINUOUS_INTEGRATION || env.BUILD_NUMBER || env.RUN_ID || exports.name || false);
|
|
8963
8993
|
function checkEnv(obj) {
|
|
8964
8994
|
if (typeof obj === "string")
|
|
8965
8995
|
return !!env[obj];
|
|
@@ -8969,10 +8999,50 @@ var require_ci_info = __commonJS({
|
|
|
8969
8999
|
}
|
|
8970
9000
|
}
|
|
8971
9001
|
});
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
9002
|
+
|
|
9003
|
+
// src/common/third-party.js
|
|
9004
|
+
var third_party_exports = {};
|
|
9005
|
+
__export(third_party_exports, {
|
|
9006
|
+
default: () => third_party_default
|
|
9007
|
+
});
|
|
9008
|
+
module.exports = __toCommonJS(third_party_exports);
|
|
9009
|
+
var import_cosmiconfig = __toESM(require_dist2(), 1);
|
|
9010
|
+
var import_find_parent_dir = __toESM(require_find_parent_dir(), 1);
|
|
9011
|
+
|
|
9012
|
+
// node_modules/get-stdin/index.js
|
|
9013
|
+
var { stdin } = process;
|
|
9014
|
+
async function getStdin() {
|
|
9015
|
+
let result = "";
|
|
9016
|
+
if (stdin.isTTY) {
|
|
9017
|
+
return result;
|
|
9018
|
+
}
|
|
9019
|
+
stdin.setEncoding("utf8");
|
|
9020
|
+
for await (const chunk of stdin) {
|
|
9021
|
+
result += chunk;
|
|
9022
|
+
}
|
|
9023
|
+
return result;
|
|
9024
|
+
}
|
|
9025
|
+
getStdin.buffer = async () => {
|
|
9026
|
+
const result = [];
|
|
9027
|
+
let length = 0;
|
|
9028
|
+
if (stdin.isTTY) {
|
|
9029
|
+
return Buffer.concat([]);
|
|
9030
|
+
}
|
|
9031
|
+
for await (const chunk of stdin) {
|
|
9032
|
+
result.push(chunk);
|
|
9033
|
+
length += chunk.length;
|
|
9034
|
+
}
|
|
9035
|
+
return Buffer.concat(result, length);
|
|
9036
|
+
};
|
|
9037
|
+
|
|
9038
|
+
// src/common/third-party.js
|
|
9039
|
+
var import_ci_info = __toESM(require_ci_info(), 1);
|
|
9040
|
+
var thirdParty = {
|
|
9041
|
+
cosmiconfig: import_cosmiconfig.cosmiconfig,
|
|
9042
|
+
findParentDir: import_find_parent_dir.sync,
|
|
9043
|
+
getStdin,
|
|
9044
|
+
isCI: () => import_ci_info.isCI
|
|
8978
9045
|
};
|
|
9046
|
+
var third_party_default = thirdParty;
|
|
9047
|
+
// Interop default export
|
|
9048
|
+
module.exports = module.exports.default
|