@markw65/monkeyc-optimizer 1.1.89 → 1.1.90
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/CHANGELOG.md +5 -0
- package/build/api.cjs +44 -44
- package/build/cftinfo.cjs +7 -9
- package/build/{chunk-7CG7CM26.cjs → chunk-BOVSYC7N.cjs} +1572 -2023
- package/build/{chunk-X7QCZR3F.cjs → chunk-KHQPCXSJ.cjs} +449 -517
- package/build/{chunk-JDC43A3I.cjs → chunk-UBAYZSM3.cjs} +15 -25
- package/build/{chunk-ABYVSU2C.cjs → chunk-VS2QQHAK.cjs} +5 -6
- package/build/optimizer.cjs +22 -22
- package/build/sdk-util.cjs +17 -17
- package/build/src/type-flow/inference-type.d.ts +2 -0
- package/build/src/type-flow/interp.d.ts +1 -1
- package/build/src/type-flow/types.d.ts +3 -1
- package/build/util.cjs +27 -27
- package/build/worker-thread.cjs +7 -7
- package/package.json +2 -2
|
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_KHQPCXSJ_exports = {};
|
|
30
|
+
__export(chunk_KHQPCXSJ_exports, {
|
|
31
31
|
AwaitedError: () => AwaitedError,
|
|
32
32
|
GenericQueue: () => GenericQueue,
|
|
33
33
|
bumpLogging: () => bumpLogging,
|
|
@@ -55,22 +55,22 @@ __export(chunk_X7QCZR3F_exports, {
|
|
|
55
55
|
spawnByLine: () => spawnByLine,
|
|
56
56
|
wouldLog: () => wouldLog
|
|
57
57
|
});
|
|
58
|
-
module.exports = __toCommonJS(
|
|
59
|
-
var
|
|
58
|
+
module.exports = __toCommonJS(chunk_KHQPCXSJ_exports);
|
|
59
|
+
var import_chunk_VS2QQHAK = require("./chunk-VS2QQHAK.cjs");
|
|
60
60
|
var child_process = __toESM(require("child_process"));
|
|
61
61
|
var fsc = __toESM(require("fs"));
|
|
62
62
|
var fs = __toESM(require("fs/promises"));
|
|
63
63
|
var path = __toESM(require("path"));
|
|
64
64
|
var readline = __toESM(require("readline"));
|
|
65
|
-
var require_array = (0,
|
|
66
|
-
"node_modules/fast-glob/out/utils/array.js"(
|
|
65
|
+
var require_array = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
66
|
+
"node_modules/fast-glob/out/utils/array.js"(exports2) {
|
|
67
67
|
"use strict";
|
|
68
|
-
Object.defineProperty(
|
|
69
|
-
|
|
68
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
69
|
+
exports2.splitWhen = exports2.flatten = void 0;
|
|
70
70
|
function flatten(items) {
|
|
71
71
|
return items.reduce((collection, item) => [].concat(collection, item), []);
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
exports2.flatten = flatten;
|
|
74
74
|
function splitWhen(items, predicate) {
|
|
75
75
|
const result = [[]];
|
|
76
76
|
let groupIndex = 0;
|
|
@@ -84,25 +84,25 @@ var require_array = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
84
84
|
}
|
|
85
85
|
return result;
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
exports2.splitWhen = splitWhen;
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
var require_errno = (0,
|
|
91
|
-
"node_modules/fast-glob/out/utils/errno.js"(
|
|
90
|
+
var require_errno = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
91
|
+
"node_modules/fast-glob/out/utils/errno.js"(exports2) {
|
|
92
92
|
"use strict";
|
|
93
|
-
Object.defineProperty(
|
|
94
|
-
|
|
93
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
94
|
+
exports2.isEnoentCodeError = void 0;
|
|
95
95
|
function isEnoentCodeError(error) {
|
|
96
96
|
return error.code === "ENOENT";
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
exports2.isEnoentCodeError = isEnoentCodeError;
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
|
-
var require_fs = (0,
|
|
102
|
-
"node_modules/fast-glob/out/utils/fs.js"(
|
|
101
|
+
var require_fs = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
102
|
+
"node_modules/fast-glob/out/utils/fs.js"(exports2) {
|
|
103
103
|
"use strict";
|
|
104
|
-
Object.defineProperty(
|
|
105
|
-
|
|
104
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
105
|
+
exports2.createDirentFromStats = void 0;
|
|
106
106
|
var DirentFromStats = class {
|
|
107
107
|
constructor(name, stats) {
|
|
108
108
|
this.name = name;
|
|
@@ -118,29 +118,29 @@ var require_fs = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
118
118
|
function createDirentFromStats(name, stats) {
|
|
119
119
|
return new DirentFromStats(name, stats);
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
exports2.createDirentFromStats = createDirentFromStats;
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
-
var require_path = (0,
|
|
125
|
-
"node_modules/fast-glob/out/utils/path.js"(
|
|
124
|
+
var require_path = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
125
|
+
"node_modules/fast-glob/out/utils/path.js"(exports2) {
|
|
126
126
|
"use strict";
|
|
127
|
-
Object.defineProperty(
|
|
128
|
-
|
|
129
|
-
var path2 = (0,
|
|
127
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
128
|
+
exports2.removeLeadingDotSegment = exports2.escape = exports2.makeAbsolute = exports2.unixify = void 0;
|
|
129
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
130
130
|
var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
|
|
131
131
|
var UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;
|
|
132
132
|
function unixify(filepath) {
|
|
133
133
|
return filepath.replace(/\\/g, "/");
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
exports2.unixify = unixify;
|
|
136
136
|
function makeAbsolute(cwd, filepath) {
|
|
137
137
|
return path2.resolve(cwd, filepath);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
exports2.makeAbsolute = makeAbsolute;
|
|
140
140
|
function escape(pattern) {
|
|
141
141
|
return pattern.replace(UNESCAPED_GLOB_SYMBOLS_RE, "\\$2");
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
exports2.escape = escape;
|
|
144
144
|
function removeLeadingDotSegment(entry) {
|
|
145
145
|
if (entry.charAt(0) === ".") {
|
|
146
146
|
const secondCharactery = entry.charAt(1);
|
|
@@ -150,27 +150,26 @@ var require_path = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
150
150
|
}
|
|
151
151
|
return entry;
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
exports2.removeLeadingDotSegment = removeLeadingDotSegment;
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
-
var require_is_extglob = (0,
|
|
157
|
-
"node_modules/is-extglob/index.js"(
|
|
156
|
+
var require_is_extglob = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
157
|
+
"node_modules/is-extglob/index.js"(exports2, module2) {
|
|
158
158
|
module2.exports = function isExtglob(str) {
|
|
159
159
|
if (typeof str !== "string" || str === "") {
|
|
160
160
|
return false;
|
|
161
161
|
}
|
|
162
162
|
var match;
|
|
163
163
|
while (match = /(\\).|([@?!+*]\(.*\))/g.exec(str)) {
|
|
164
|
-
if (match[2])
|
|
165
|
-
return true;
|
|
164
|
+
if (match[2]) return true;
|
|
166
165
|
str = str.slice(match.index + match[0].length);
|
|
167
166
|
}
|
|
168
167
|
return false;
|
|
169
168
|
};
|
|
170
169
|
}
|
|
171
170
|
});
|
|
172
|
-
var require_is_glob = (0,
|
|
173
|
-
"node_modules/is-glob/index.js"(
|
|
171
|
+
var require_is_glob = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
172
|
+
"node_modules/is-glob/index.js"(exports2, module2) {
|
|
174
173
|
var isExtglob = require_is_extglob();
|
|
175
174
|
var chars = { "{": "}", "(": ")", "[": "]" };
|
|
176
175
|
var strictCheck = function(str) {
|
|
@@ -298,12 +297,12 @@ var require_is_glob = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
298
297
|
};
|
|
299
298
|
}
|
|
300
299
|
});
|
|
301
|
-
var require_glob_parent = (0,
|
|
302
|
-
"node_modules/fast-glob/node_modules/glob-parent/index.js"(
|
|
300
|
+
var require_glob_parent = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
301
|
+
"node_modules/fast-glob/node_modules/glob-parent/index.js"(exports2, module2) {
|
|
303
302
|
"use strict";
|
|
304
303
|
var isGlob = require_is_glob();
|
|
305
|
-
var pathPosixDirname = (0,
|
|
306
|
-
var isWin32 = (0,
|
|
304
|
+
var pathPosixDirname = (0, import_chunk_VS2QQHAK.__require)("path").posix.dirname;
|
|
305
|
+
var isWin32 = (0, import_chunk_VS2QQHAK.__require)("os").platform() === "win32";
|
|
307
306
|
var slash = "/";
|
|
308
307
|
var backslash = /\\/g;
|
|
309
308
|
var enclosure = /[\{\[].*[\}\]]$/;
|
|
@@ -325,10 +324,10 @@ var require_glob_parent = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
325
324
|
};
|
|
326
325
|
}
|
|
327
326
|
});
|
|
328
|
-
var require_utils = (0,
|
|
329
|
-
"node_modules/braces/lib/utils.js"(
|
|
327
|
+
var require_utils = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
328
|
+
"node_modules/braces/lib/utils.js"(exports2) {
|
|
330
329
|
"use strict";
|
|
331
|
-
|
|
330
|
+
exports2.isInteger = (num) => {
|
|
332
331
|
if (typeof num === "number") {
|
|
333
332
|
return Number.isInteger(num);
|
|
334
333
|
}
|
|
@@ -337,18 +336,15 @@ var require_utils = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
337
336
|
}
|
|
338
337
|
return false;
|
|
339
338
|
};
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
if (limit === false)
|
|
343
|
-
|
|
344
|
-
if (!exports.isInteger(min) || !exports.isInteger(max))
|
|
345
|
-
return false;
|
|
339
|
+
exports2.find = (node, type) => node.nodes.find((node2) => node2.type === type);
|
|
340
|
+
exports2.exceedsLimit = (min, max, step = 1, limit) => {
|
|
341
|
+
if (limit === false) return false;
|
|
342
|
+
if (!exports2.isInteger(min) || !exports2.isInteger(max)) return false;
|
|
346
343
|
return (Number(max) - Number(min)) / Number(step) >= limit;
|
|
347
344
|
};
|
|
348
|
-
|
|
345
|
+
exports2.escapeNode = (block, n = 0, type) => {
|
|
349
346
|
const node = block.nodes[n];
|
|
350
|
-
if (!node)
|
|
351
|
-
return;
|
|
347
|
+
if (!node) return;
|
|
352
348
|
if (type && node.type === type || node.type === "open" || node.type === "close") {
|
|
353
349
|
if (node.escaped !== true) {
|
|
354
350
|
node.value = "\\" + node.value;
|
|
@@ -356,20 +352,17 @@ var require_utils = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
356
352
|
}
|
|
357
353
|
}
|
|
358
354
|
};
|
|
359
|
-
|
|
360
|
-
if (node.type !== "brace")
|
|
361
|
-
return false;
|
|
355
|
+
exports2.encloseBrace = (node) => {
|
|
356
|
+
if (node.type !== "brace") return false;
|
|
362
357
|
if (node.commas >> 0 + node.ranges >> 0 === 0) {
|
|
363
358
|
node.invalid = true;
|
|
364
359
|
return true;
|
|
365
360
|
}
|
|
366
361
|
return false;
|
|
367
362
|
};
|
|
368
|
-
|
|
369
|
-
if (block.type !== "brace")
|
|
370
|
-
|
|
371
|
-
if (block.invalid === true || block.dollar)
|
|
372
|
-
return true;
|
|
363
|
+
exports2.isInvalidBrace = (block) => {
|
|
364
|
+
if (block.type !== "brace") return false;
|
|
365
|
+
if (block.invalid === true || block.dollar) return true;
|
|
373
366
|
if (block.commas >> 0 + block.ranges >> 0 === 0) {
|
|
374
367
|
block.invalid = true;
|
|
375
368
|
return true;
|
|
@@ -380,20 +373,18 @@ var require_utils = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
380
373
|
}
|
|
381
374
|
return false;
|
|
382
375
|
};
|
|
383
|
-
|
|
376
|
+
exports2.isOpenOrClose = (node) => {
|
|
384
377
|
if (node.type === "open" || node.type === "close") {
|
|
385
378
|
return true;
|
|
386
379
|
}
|
|
387
380
|
return node.open === true || node.close === true;
|
|
388
381
|
};
|
|
389
|
-
|
|
390
|
-
if (node.type === "text")
|
|
391
|
-
|
|
392
|
-
if (node.type === "range")
|
|
393
|
-
node.type = "text";
|
|
382
|
+
exports2.reduce = (nodes) => nodes.reduce((acc, node) => {
|
|
383
|
+
if (node.type === "text") acc.push(node.value);
|
|
384
|
+
if (node.type === "range") node.type = "text";
|
|
394
385
|
return acc;
|
|
395
386
|
}, []);
|
|
396
|
-
|
|
387
|
+
exports2.flatten = (...args) => {
|
|
397
388
|
const result = [];
|
|
398
389
|
const flat = (arr) => {
|
|
399
390
|
for (let i = 0; i < arr.length; i++) {
|
|
@@ -413,8 +404,8 @@ var require_utils = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
413
404
|
};
|
|
414
405
|
}
|
|
415
406
|
});
|
|
416
|
-
var require_stringify = (0,
|
|
417
|
-
"node_modules/braces/lib/stringify.js"(
|
|
407
|
+
var require_stringify = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
408
|
+
"node_modules/braces/lib/stringify.js"(exports2, module2) {
|
|
418
409
|
"use strict";
|
|
419
410
|
var utils = require_utils();
|
|
420
411
|
module2.exports = (ast, options = {}) => {
|
|
@@ -442,8 +433,8 @@ var require_stringify = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
442
433
|
};
|
|
443
434
|
}
|
|
444
435
|
});
|
|
445
|
-
var require_is_number = (0,
|
|
446
|
-
"node_modules/is-number/index.js"(
|
|
436
|
+
var require_is_number = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
437
|
+
"node_modules/is-number/index.js"(exports2, module2) {
|
|
447
438
|
"use strict";
|
|
448
439
|
module2.exports = function(num) {
|
|
449
440
|
if (typeof num === "number") {
|
|
@@ -456,8 +447,8 @@ var require_is_number = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
456
447
|
};
|
|
457
448
|
}
|
|
458
449
|
});
|
|
459
|
-
var require_to_regex_range = (0,
|
|
460
|
-
"node_modules/to-regex-range/index.js"(
|
|
450
|
+
var require_to_regex_range = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
451
|
+
"node_modules/to-regex-range/index.js"(exports2, module2) {
|
|
461
452
|
"use strict";
|
|
462
453
|
var isNumber = require_is_number();
|
|
463
454
|
var toRegexRange = (min, max, options) => {
|
|
@@ -614,8 +605,7 @@ var require_to_regex_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
614
605
|
}
|
|
615
606
|
function zip(a, b) {
|
|
616
607
|
let arr = [];
|
|
617
|
-
for (let i = 0; i < a.length; i++)
|
|
618
|
-
arr.push([a[i], b[i]]);
|
|
608
|
+
for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
|
|
619
609
|
return arr;
|
|
620
610
|
}
|
|
621
611
|
function compare(a, b) {
|
|
@@ -666,10 +656,10 @@ var require_to_regex_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
666
656
|
module2.exports = toRegexRange;
|
|
667
657
|
}
|
|
668
658
|
});
|
|
669
|
-
var require_fill_range = (0,
|
|
670
|
-
"node_modules/fill-range/index.js"(
|
|
659
|
+
var require_fill_range = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
660
|
+
"node_modules/fill-range/index.js"(exports2, module2) {
|
|
671
661
|
"use strict";
|
|
672
|
-
var util = (0,
|
|
662
|
+
var util = (0, import_chunk_VS2QQHAK.__require)("util");
|
|
673
663
|
var toRegexRange = require_to_regex_range();
|
|
674
664
|
var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
675
665
|
var transform = (toNumber) => {
|
|
@@ -682,12 +672,9 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
682
672
|
var zeros = (input) => {
|
|
683
673
|
let value = `${input}`;
|
|
684
674
|
let index = -1;
|
|
685
|
-
if (value[0] === "-")
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
return false;
|
|
689
|
-
while (value[++index] === "0")
|
|
690
|
-
;
|
|
675
|
+
if (value[0] === "-") value = value.slice(1);
|
|
676
|
+
if (value === "0") return false;
|
|
677
|
+
while (value[++index] === "0") ;
|
|
691
678
|
return index > 0;
|
|
692
679
|
};
|
|
693
680
|
var stringify = (start, end, options) => {
|
|
@@ -699,8 +686,7 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
699
686
|
var pad = (input, maxLength, toNumber) => {
|
|
700
687
|
if (maxLength > 0) {
|
|
701
688
|
let dash = input[0] === "-" ? "-" : "";
|
|
702
|
-
if (dash)
|
|
703
|
-
input = input.slice(1);
|
|
689
|
+
if (dash) input = input.slice(1);
|
|
704
690
|
input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0");
|
|
705
691
|
}
|
|
706
692
|
if (toNumber === false) {
|
|
@@ -714,8 +700,7 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
714
700
|
input = input.slice(1);
|
|
715
701
|
maxLength--;
|
|
716
702
|
}
|
|
717
|
-
while (input.length < maxLength)
|
|
718
|
-
input = "0" + input;
|
|
703
|
+
while (input.length < maxLength) input = "0" + input;
|
|
719
704
|
return negative ? "-" + input : input;
|
|
720
705
|
};
|
|
721
706
|
var toSequence = (parts, options, maxLen) => {
|
|
@@ -746,8 +731,7 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
746
731
|
return toRegexRange(a, b, { wrap: false, ...options });
|
|
747
732
|
}
|
|
748
733
|
let start = String.fromCharCode(a);
|
|
749
|
-
if (a === b)
|
|
750
|
-
return start;
|
|
734
|
+
if (a === b) return start;
|
|
751
735
|
let stop = String.fromCharCode(b);
|
|
752
736
|
return `[${start}-${stop}]`;
|
|
753
737
|
};
|
|
@@ -763,8 +747,7 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
763
747
|
return new RangeError("Invalid range arguments: " + util.inspect(...args));
|
|
764
748
|
};
|
|
765
749
|
var invalidRange = (start, end, options) => {
|
|
766
|
-
if (options.strictRanges === true)
|
|
767
|
-
throw rangeError([start, end]);
|
|
750
|
+
if (options.strictRanges === true) throw rangeError([start, end]);
|
|
768
751
|
return [];
|
|
769
752
|
};
|
|
770
753
|
var invalidStep = (step, options) => {
|
|
@@ -777,14 +760,11 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
777
760
|
let a = Number(start);
|
|
778
761
|
let b = Number(end);
|
|
779
762
|
if (!Number.isInteger(a) || !Number.isInteger(b)) {
|
|
780
|
-
if (options.strictRanges === true)
|
|
781
|
-
throw rangeError([start, end]);
|
|
763
|
+
if (options.strictRanges === true) throw rangeError([start, end]);
|
|
782
764
|
return [];
|
|
783
765
|
}
|
|
784
|
-
if (a === 0)
|
|
785
|
-
|
|
786
|
-
if (b === 0)
|
|
787
|
-
b = 0;
|
|
766
|
+
if (a === 0) a = 0;
|
|
767
|
+
if (b === 0) b = 0;
|
|
788
768
|
let descending = a > b;
|
|
789
769
|
let startString = String(start);
|
|
790
770
|
let endString = String(end);
|
|
@@ -854,12 +834,10 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
854
834
|
return fill(start, end, 0, step);
|
|
855
835
|
}
|
|
856
836
|
let opts = { ...options };
|
|
857
|
-
if (opts.capture === true)
|
|
858
|
-
opts.wrap = true;
|
|
837
|
+
if (opts.capture === true) opts.wrap = true;
|
|
859
838
|
step = step || opts.step || 1;
|
|
860
839
|
if (!isNumber(step)) {
|
|
861
|
-
if (step != null && !isObject(step))
|
|
862
|
-
return invalidStep(step, opts);
|
|
840
|
+
if (step != null && !isObject(step)) return invalidStep(step, opts);
|
|
863
841
|
return fill(start, end, 1, step);
|
|
864
842
|
}
|
|
865
843
|
if (isNumber(start) && isNumber(end)) {
|
|
@@ -870,8 +848,8 @@ var require_fill_range = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
870
848
|
module2.exports = fill;
|
|
871
849
|
}
|
|
872
850
|
});
|
|
873
|
-
var require_compile = (0,
|
|
874
|
-
"node_modules/braces/lib/compile.js"(
|
|
851
|
+
var require_compile = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
852
|
+
"node_modules/braces/lib/compile.js"(exports2, module2) {
|
|
875
853
|
"use strict";
|
|
876
854
|
var fill = require_fill_range();
|
|
877
855
|
var utils = require_utils();
|
|
@@ -920,8 +898,8 @@ var require_compile = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
920
898
|
module2.exports = compile;
|
|
921
899
|
}
|
|
922
900
|
});
|
|
923
|
-
var require_expand = (0,
|
|
924
|
-
"node_modules/braces/lib/expand.js"(
|
|
901
|
+
var require_expand = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
902
|
+
"node_modules/braces/lib/expand.js"(exports2, module2) {
|
|
925
903
|
"use strict";
|
|
926
904
|
var fill = require_fill_range();
|
|
927
905
|
var stringify = require_stringify();
|
|
@@ -930,8 +908,7 @@ var require_expand = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
930
908
|
const result = [];
|
|
931
909
|
queue = [].concat(queue);
|
|
932
910
|
stash = [].concat(stash);
|
|
933
|
-
if (!stash.length)
|
|
934
|
-
return queue;
|
|
911
|
+
if (!stash.length) return queue;
|
|
935
912
|
if (!queue.length) {
|
|
936
913
|
return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash;
|
|
937
914
|
}
|
|
@@ -942,8 +919,7 @@ var require_expand = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
942
919
|
}
|
|
943
920
|
} else {
|
|
944
921
|
for (let ele of stash) {
|
|
945
|
-
if (enclose === true && typeof ele === "string")
|
|
946
|
-
ele = `{${ele}}`;
|
|
922
|
+
if (enclose === true && typeof ele === "string") ele = `{${ele}}`;
|
|
947
923
|
result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele);
|
|
948
924
|
}
|
|
949
925
|
}
|
|
@@ -991,8 +967,7 @@ var require_expand = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
991
967
|
for (let i = 0; i < node.nodes.length; i++) {
|
|
992
968
|
const child = node.nodes[i];
|
|
993
969
|
if (child.type === "comma" && node.type === "brace") {
|
|
994
|
-
if (i === 1)
|
|
995
|
-
queue.push("");
|
|
970
|
+
if (i === 1) queue.push("");
|
|
996
971
|
queue.push("");
|
|
997
972
|
continue;
|
|
998
973
|
}
|
|
@@ -1015,8 +990,8 @@ var require_expand = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1015
990
|
module2.exports = expand;
|
|
1016
991
|
}
|
|
1017
992
|
});
|
|
1018
|
-
var require_constants = (0,
|
|
1019
|
-
"node_modules/braces/lib/constants.js"(
|
|
993
|
+
var require_constants = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
994
|
+
"node_modules/braces/lib/constants.js"(exports2, module2) {
|
|
1020
995
|
"use strict";
|
|
1021
996
|
module2.exports = {
|
|
1022
997
|
MAX_LENGTH: 1e4,
|
|
@@ -1114,8 +1089,8 @@ var require_constants = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1114
1089
|
};
|
|
1115
1090
|
}
|
|
1116
1091
|
});
|
|
1117
|
-
var require_parse = (0,
|
|
1118
|
-
"node_modules/braces/lib/parse.js"(
|
|
1092
|
+
var require_parse = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
1093
|
+
"node_modules/braces/lib/parse.js"(exports2, module2) {
|
|
1119
1094
|
"use strict";
|
|
1120
1095
|
var stringify = require_stringify();
|
|
1121
1096
|
var {
|
|
@@ -1246,8 +1221,7 @@ var require_parse = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1246
1221
|
continue;
|
|
1247
1222
|
}
|
|
1248
1223
|
if (next === open2) {
|
|
1249
|
-
if (options.keepQuotes === true)
|
|
1250
|
-
value += next;
|
|
1224
|
+
if (options.keepQuotes === true) value += next;
|
|
1251
1225
|
break;
|
|
1252
1226
|
}
|
|
1253
1227
|
value += next;
|
|
@@ -1334,12 +1308,9 @@ var require_parse = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1334
1308
|
if (block.type !== "root") {
|
|
1335
1309
|
block.nodes.forEach((node) => {
|
|
1336
1310
|
if (!node.nodes) {
|
|
1337
|
-
if (node.type === "open")
|
|
1338
|
-
|
|
1339
|
-
if (node.type
|
|
1340
|
-
node.isClose = true;
|
|
1341
|
-
if (!node.nodes)
|
|
1342
|
-
node.type = "text";
|
|
1311
|
+
if (node.type === "open") node.isOpen = true;
|
|
1312
|
+
if (node.type === "close") node.isClose = true;
|
|
1313
|
+
if (!node.nodes) node.type = "text";
|
|
1343
1314
|
node.invalid = true;
|
|
1344
1315
|
}
|
|
1345
1316
|
});
|
|
@@ -1354,8 +1325,8 @@ var require_parse = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1354
1325
|
module2.exports = parse;
|
|
1355
1326
|
}
|
|
1356
1327
|
});
|
|
1357
|
-
var require_braces = (0,
|
|
1358
|
-
"node_modules/braces/index.js"(
|
|
1328
|
+
var require_braces = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
1329
|
+
"node_modules/braces/index.js"(exports2, module2) {
|
|
1359
1330
|
"use strict";
|
|
1360
1331
|
var stringify = require_stringify();
|
|
1361
1332
|
var compile = require_compile();
|
|
@@ -1415,10 +1386,10 @@ var require_braces = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1415
1386
|
module2.exports = braces;
|
|
1416
1387
|
}
|
|
1417
1388
|
});
|
|
1418
|
-
var require_constants2 = (0,
|
|
1419
|
-
"node_modules/picomatch/lib/constants.js"(
|
|
1389
|
+
var require_constants2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
1390
|
+
"node_modules/picomatch/lib/constants.js"(exports2, module2) {
|
|
1420
1391
|
"use strict";
|
|
1421
|
-
var path2 = (0,
|
|
1392
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
1422
1393
|
var WIN_SLASH = "\\\\/";
|
|
1423
1394
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
1424
1395
|
var DOT_LITERAL = "\\.";
|
|
@@ -1610,10 +1581,10 @@ var require_constants2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1610
1581
|
};
|
|
1611
1582
|
}
|
|
1612
1583
|
});
|
|
1613
|
-
var require_utils2 = (0,
|
|
1614
|
-
"node_modules/picomatch/lib/utils.js"(
|
|
1584
|
+
var require_utils2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
1585
|
+
"node_modules/picomatch/lib/utils.js"(exports2) {
|
|
1615
1586
|
"use strict";
|
|
1616
|
-
var path2 = (0,
|
|
1587
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
1617
1588
|
var win32 = process.platform === "win32";
|
|
1618
1589
|
var {
|
|
1619
1590
|
REGEX_BACKSLASH,
|
|
@@ -1621,38 +1592,36 @@ var require_utils2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1621
1592
|
REGEX_SPECIAL_CHARS,
|
|
1622
1593
|
REGEX_SPECIAL_CHARS_GLOBAL
|
|
1623
1594
|
} = require_constants2();
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1595
|
+
exports2.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
1596
|
+
exports2.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
|
|
1597
|
+
exports2.isRegexChar = (str) => str.length === 1 && exports2.hasRegexChars(str);
|
|
1598
|
+
exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
|
|
1599
|
+
exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
|
|
1600
|
+
exports2.removeBackslashes = (str) => {
|
|
1630
1601
|
return str.replace(REGEX_REMOVE_BACKSLASH, (match) => {
|
|
1631
1602
|
return match === "\\" ? "" : match;
|
|
1632
1603
|
});
|
|
1633
1604
|
};
|
|
1634
|
-
|
|
1605
|
+
exports2.supportsLookbehinds = () => {
|
|
1635
1606
|
const segs = process.version.slice(1).split(".").map(Number);
|
|
1636
1607
|
if (segs.length === 3 && segs[0] >= 9 || segs[0] === 8 && segs[1] >= 10) {
|
|
1637
1608
|
return true;
|
|
1638
1609
|
}
|
|
1639
1610
|
return false;
|
|
1640
1611
|
};
|
|
1641
|
-
|
|
1612
|
+
exports2.isWindows = (options) => {
|
|
1642
1613
|
if (options && typeof options.windows === "boolean") {
|
|
1643
1614
|
return options.windows;
|
|
1644
1615
|
}
|
|
1645
1616
|
return win32 === true || path2.sep === "\\";
|
|
1646
1617
|
};
|
|
1647
|
-
|
|
1618
|
+
exports2.escapeLast = (input, char, lastIdx) => {
|
|
1648
1619
|
const idx = input.lastIndexOf(char, lastIdx);
|
|
1649
|
-
if (idx === -1)
|
|
1650
|
-
|
|
1651
|
-
if (input[idx - 1] === "\\")
|
|
1652
|
-
return exports.escapeLast(input, char, idx - 1);
|
|
1620
|
+
if (idx === -1) return input;
|
|
1621
|
+
if (input[idx - 1] === "\\") return exports2.escapeLast(input, char, idx - 1);
|
|
1653
1622
|
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
|
|
1654
1623
|
};
|
|
1655
|
-
|
|
1624
|
+
exports2.removePrefix = (input, state = {}) => {
|
|
1656
1625
|
let output = input;
|
|
1657
1626
|
if (output.startsWith("./")) {
|
|
1658
1627
|
output = output.slice(2);
|
|
@@ -1660,7 +1629,7 @@ var require_utils2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1660
1629
|
}
|
|
1661
1630
|
return output;
|
|
1662
1631
|
};
|
|
1663
|
-
|
|
1632
|
+
exports2.wrapOutput = (input, state = {}, options = {}) => {
|
|
1664
1633
|
const prepend = options.contains ? "" : "^";
|
|
1665
1634
|
const append = options.contains ? "" : "$";
|
|
1666
1635
|
let output = `${prepend}(?:${input})${append}`;
|
|
@@ -1671,8 +1640,8 @@ var require_utils2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1671
1640
|
};
|
|
1672
1641
|
}
|
|
1673
1642
|
});
|
|
1674
|
-
var require_scan = (0,
|
|
1675
|
-
"node_modules/picomatch/lib/scan.js"(
|
|
1643
|
+
var require_scan = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
1644
|
+
"node_modules/picomatch/lib/scan.js"(exports2, module2) {
|
|
1676
1645
|
"use strict";
|
|
1677
1646
|
var utils = require_utils2();
|
|
1678
1647
|
var {
|
|
@@ -1806,8 +1775,7 @@ var require_scan = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1806
1775
|
slashes.push(index);
|
|
1807
1776
|
tokens.push(token);
|
|
1808
1777
|
token = { value: "", depth: 0, isGlob: false };
|
|
1809
|
-
if (finished === true)
|
|
1810
|
-
continue;
|
|
1778
|
+
if (finished === true) continue;
|
|
1811
1779
|
if (prev === CHAR_DOT && index === start + 1) {
|
|
1812
1780
|
start += 2;
|
|
1813
1781
|
continue;
|
|
@@ -1843,8 +1811,7 @@ var require_scan = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1843
1811
|
}
|
|
1844
1812
|
}
|
|
1845
1813
|
if (code === CHAR_ASTERISK) {
|
|
1846
|
-
if (prev === CHAR_ASTERISK)
|
|
1847
|
-
isGlobstar = token.isGlobstar = true;
|
|
1814
|
+
if (prev === CHAR_ASTERISK) isGlobstar = token.isGlobstar = true;
|
|
1848
1815
|
isGlob = token.isGlob = true;
|
|
1849
1816
|
finished = true;
|
|
1850
1817
|
if (scanToEnd === true) {
|
|
@@ -1937,8 +1904,7 @@ var require_scan = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
1937
1904
|
}
|
|
1938
1905
|
}
|
|
1939
1906
|
if (opts.unescape === true) {
|
|
1940
|
-
if (glob2)
|
|
1941
|
-
glob2 = utils.removeBackslashes(glob2);
|
|
1907
|
+
if (glob2) glob2 = utils.removeBackslashes(glob2);
|
|
1942
1908
|
if (base && backslashes === true) {
|
|
1943
1909
|
base = utils.removeBackslashes(base);
|
|
1944
1910
|
}
|
|
@@ -2002,8 +1968,8 @@ var require_scan = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2002
1968
|
module2.exports = scan;
|
|
2003
1969
|
}
|
|
2004
1970
|
});
|
|
2005
|
-
var require_parse2 = (0,
|
|
2006
|
-
"node_modules/picomatch/lib/parse.js"(
|
|
1971
|
+
var require_parse2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
1972
|
+
"node_modules/picomatch/lib/parse.js"(exports2, module2) {
|
|
2007
1973
|
"use strict";
|
|
2008
1974
|
var constants2 = require_constants2();
|
|
2009
1975
|
var utils = require_utils2();
|
|
@@ -2146,8 +2112,7 @@ var require_parse2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2146
2112
|
if (extglobs.length && tok.type !== "paren") {
|
|
2147
2113
|
extglobs[extglobs.length - 1].inner += tok.value;
|
|
2148
2114
|
}
|
|
2149
|
-
if (tok.value || tok.output)
|
|
2150
|
-
append(tok);
|
|
2115
|
+
if (tok.value || tok.output) append(tok);
|
|
2151
2116
|
if (prev && prev.type === "text" && tok.type === "text") {
|
|
2152
2117
|
prev.value += tok.value;
|
|
2153
2118
|
prev.output = (prev.output || "") + tok.value;
|
|
@@ -2462,8 +2427,7 @@ var require_parse2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2462
2427
|
}
|
|
2463
2428
|
if (value === ".") {
|
|
2464
2429
|
if (state.braces > 0 && prev.type === "dot") {
|
|
2465
|
-
if (prev.value === ".")
|
|
2466
|
-
prev.output = DOT_LITERAL;
|
|
2430
|
+
if (prev.value === ".") prev.output = DOT_LITERAL;
|
|
2467
2431
|
const brace = braces[braces.length - 1];
|
|
2468
2432
|
prev.type = "dots";
|
|
2469
2433
|
prev.output += value;
|
|
@@ -2678,20 +2642,17 @@ var require_parse2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2678
2642
|
push(token);
|
|
2679
2643
|
}
|
|
2680
2644
|
while (state.brackets > 0) {
|
|
2681
|
-
if (opts.strictBrackets === true)
|
|
2682
|
-
throw new SyntaxError(syntaxError("closing", "]"));
|
|
2645
|
+
if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
|
|
2683
2646
|
state.output = utils.escapeLast(state.output, "[");
|
|
2684
2647
|
decrement("brackets");
|
|
2685
2648
|
}
|
|
2686
2649
|
while (state.parens > 0) {
|
|
2687
|
-
if (opts.strictBrackets === true)
|
|
2688
|
-
throw new SyntaxError(syntaxError("closing", ")"));
|
|
2650
|
+
if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
|
|
2689
2651
|
state.output = utils.escapeLast(state.output, "(");
|
|
2690
2652
|
decrement("parens");
|
|
2691
2653
|
}
|
|
2692
2654
|
while (state.braces > 0) {
|
|
2693
|
-
if (opts.strictBrackets === true)
|
|
2694
|
-
throw new SyntaxError(syntaxError("closing", "}"));
|
|
2655
|
+
if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
|
|
2695
2656
|
state.output = utils.escapeLast(state.output, "{");
|
|
2696
2657
|
decrement("braces");
|
|
2697
2658
|
}
|
|
@@ -2738,8 +2699,7 @@ var require_parse2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2738
2699
|
star = `(${star})`;
|
|
2739
2700
|
}
|
|
2740
2701
|
const globstar = (opts2) => {
|
|
2741
|
-
if (opts2.noglobstar === true)
|
|
2742
|
-
return star;
|
|
2702
|
+
if (opts2.noglobstar === true) return star;
|
|
2743
2703
|
return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
|
|
2744
2704
|
};
|
|
2745
2705
|
const create = (str) => {
|
|
@@ -2762,11 +2722,9 @@ var require_parse2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2762
2722
|
return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
|
|
2763
2723
|
default: {
|
|
2764
2724
|
const match = /^(.*?)\.(\w+)$/.exec(str);
|
|
2765
|
-
if (!match)
|
|
2766
|
-
return;
|
|
2725
|
+
if (!match) return;
|
|
2767
2726
|
const source2 = create(match[1]);
|
|
2768
|
-
if (!source2)
|
|
2769
|
-
return;
|
|
2727
|
+
if (!source2) return;
|
|
2770
2728
|
return source2 + DOT_LITERAL + match[2];
|
|
2771
2729
|
}
|
|
2772
2730
|
}
|
|
@@ -2781,10 +2739,10 @@ var require_parse2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2781
2739
|
module2.exports = parse;
|
|
2782
2740
|
}
|
|
2783
2741
|
});
|
|
2784
|
-
var require_picomatch = (0,
|
|
2785
|
-
"node_modules/picomatch/lib/picomatch.js"(
|
|
2742
|
+
var require_picomatch = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
2743
|
+
"node_modules/picomatch/lib/picomatch.js"(exports2, module2) {
|
|
2786
2744
|
"use strict";
|
|
2787
|
-
var path2 = (0,
|
|
2745
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
2788
2746
|
var scan = require_scan();
|
|
2789
2747
|
var parse = require_parse2();
|
|
2790
2748
|
var utils = require_utils2();
|
|
@@ -2796,8 +2754,7 @@ var require_picomatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2796
2754
|
const arrayMatcher = (str) => {
|
|
2797
2755
|
for (const isMatch of fns) {
|
|
2798
2756
|
const state2 = isMatch(str);
|
|
2799
|
-
if (state2)
|
|
2800
|
-
return state2;
|
|
2757
|
+
if (state2) return state2;
|
|
2801
2758
|
}
|
|
2802
2759
|
return false;
|
|
2803
2760
|
};
|
|
@@ -2874,8 +2831,7 @@ var require_picomatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2874
2831
|
};
|
|
2875
2832
|
picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
2876
2833
|
picomatch.parse = (pattern, options) => {
|
|
2877
|
-
if (Array.isArray(pattern))
|
|
2878
|
-
return pattern.map((p) => picomatch.parse(p, options));
|
|
2834
|
+
if (Array.isArray(pattern)) return pattern.map((p) => picomatch.parse(p, options));
|
|
2879
2835
|
return parse(pattern, { ...options, fastpaths: false });
|
|
2880
2836
|
};
|
|
2881
2837
|
picomatch.scan = (input, options) => scan(input, options);
|
|
@@ -2914,8 +2870,7 @@ var require_picomatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2914
2870
|
const opts = options || {};
|
|
2915
2871
|
return new RegExp(source, opts.flags || (opts.nocase ? "i" : ""));
|
|
2916
2872
|
} catch (err) {
|
|
2917
|
-
if (options && options.debug === true)
|
|
2918
|
-
throw err;
|
|
2873
|
+
if (options && options.debug === true) throw err;
|
|
2919
2874
|
return /$^/;
|
|
2920
2875
|
}
|
|
2921
2876
|
};
|
|
@@ -2923,16 +2878,16 @@ var require_picomatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2923
2878
|
module2.exports = picomatch;
|
|
2924
2879
|
}
|
|
2925
2880
|
});
|
|
2926
|
-
var require_picomatch2 = (0,
|
|
2927
|
-
"node_modules/picomatch/index.js"(
|
|
2881
|
+
var require_picomatch2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
2882
|
+
"node_modules/picomatch/index.js"(exports2, module2) {
|
|
2928
2883
|
"use strict";
|
|
2929
2884
|
module2.exports = require_picomatch();
|
|
2930
2885
|
}
|
|
2931
2886
|
});
|
|
2932
|
-
var require_micromatch = (0,
|
|
2933
|
-
"node_modules/micromatch/index.js"(
|
|
2887
|
+
var require_micromatch = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
2888
|
+
"node_modules/micromatch/index.js"(exports2, module2) {
|
|
2934
2889
|
"use strict";
|
|
2935
|
-
var util = (0,
|
|
2890
|
+
var util = (0, import_chunk_VS2QQHAK.__require)("util");
|
|
2936
2891
|
var braces = require_braces();
|
|
2937
2892
|
var picomatch = require_picomatch2();
|
|
2938
2893
|
var utils = require_utils2();
|
|
@@ -2957,13 +2912,11 @@ var require_micromatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2957
2912
|
for (let i = 0; i < patterns.length; i++) {
|
|
2958
2913
|
let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);
|
|
2959
2914
|
let negated = isMatch.state.negated || isMatch.state.negatedExtglob;
|
|
2960
|
-
if (negated)
|
|
2961
|
-
negatives++;
|
|
2915
|
+
if (negated) negatives++;
|
|
2962
2916
|
for (let item of list) {
|
|
2963
2917
|
let matched = isMatch(item, true);
|
|
2964
2918
|
let match = negated ? !matched.isMatch : matched.isMatch;
|
|
2965
|
-
if (!match)
|
|
2966
|
-
continue;
|
|
2919
|
+
if (!match) continue;
|
|
2967
2920
|
if (negated) {
|
|
2968
2921
|
omit.add(matched.output);
|
|
2969
2922
|
} else {
|
|
@@ -2993,8 +2946,7 @@ var require_micromatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
2993
2946
|
let result = /* @__PURE__ */ new Set();
|
|
2994
2947
|
let items = [];
|
|
2995
2948
|
let onResult = (state) => {
|
|
2996
|
-
if (options.onResult)
|
|
2997
|
-
options.onResult(state);
|
|
2949
|
+
if (options.onResult) options.onResult(state);
|
|
2998
2950
|
items.push(state.output);
|
|
2999
2951
|
};
|
|
3000
2952
|
let matches = new Set(micromatch(list, patterns, { ...options, onResult }));
|
|
@@ -3028,8 +2980,7 @@ var require_micromatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3028
2980
|
}
|
|
3029
2981
|
let keys = micromatch(Object.keys(obj), patterns, options);
|
|
3030
2982
|
let res = {};
|
|
3031
|
-
for (let key of keys)
|
|
3032
|
-
res[key] = obj[key];
|
|
2983
|
+
for (let key of keys) res[key] = obj[key];
|
|
3033
2984
|
return res;
|
|
3034
2985
|
};
|
|
3035
2986
|
micromatch.some = (list, patterns, options) => {
|
|
@@ -3078,28 +3029,26 @@ var require_micromatch = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3078
3029
|
return res;
|
|
3079
3030
|
};
|
|
3080
3031
|
micromatch.braces = (pattern, options) => {
|
|
3081
|
-
if (typeof pattern !== "string")
|
|
3082
|
-
throw new TypeError("Expected a string");
|
|
3032
|
+
if (typeof pattern !== "string") throw new TypeError("Expected a string");
|
|
3083
3033
|
if (options && options.nobrace === true || !hasBraces(pattern)) {
|
|
3084
3034
|
return [pattern];
|
|
3085
3035
|
}
|
|
3086
3036
|
return braces(pattern, options);
|
|
3087
3037
|
};
|
|
3088
3038
|
micromatch.braceExpand = (pattern, options) => {
|
|
3089
|
-
if (typeof pattern !== "string")
|
|
3090
|
-
throw new TypeError("Expected a string");
|
|
3039
|
+
if (typeof pattern !== "string") throw new TypeError("Expected a string");
|
|
3091
3040
|
return micromatch.braces(pattern, { ...options, expand: true });
|
|
3092
3041
|
};
|
|
3093
3042
|
micromatch.hasBraces = hasBraces;
|
|
3094
3043
|
module2.exports = micromatch;
|
|
3095
3044
|
}
|
|
3096
3045
|
});
|
|
3097
|
-
var require_pattern = (0,
|
|
3098
|
-
"node_modules/fast-glob/out/utils/pattern.js"(
|
|
3046
|
+
var require_pattern = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3047
|
+
"node_modules/fast-glob/out/utils/pattern.js"(exports2) {
|
|
3099
3048
|
"use strict";
|
|
3100
|
-
Object.defineProperty(
|
|
3101
|
-
|
|
3102
|
-
var path2 = (0,
|
|
3049
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3050
|
+
exports2.matchAny = exports2.convertPatternsToRe = exports2.makeRe = exports2.getPatternParts = exports2.expandBraceExpansion = exports2.expandPatternsWithBraceExpansion = exports2.isAffectDepthOfReadingPattern = exports2.endsWithSlashGlobStar = exports2.hasGlobStar = exports2.getBaseDirectory = exports2.isPatternRelatedToParentDirectory = exports2.getPatternsOutsideCurrentDirectory = exports2.getPatternsInsideCurrentDirectory = exports2.getPositivePatterns = exports2.getNegativePatterns = exports2.isPositivePattern = exports2.isNegativePattern = exports2.convertToNegativePattern = exports2.convertToPositivePattern = exports2.isDynamicPattern = exports2.isStaticPattern = void 0;
|
|
3051
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
3103
3052
|
var globParent = require_glob_parent();
|
|
3104
3053
|
var micromatch = require_micromatch();
|
|
3105
3054
|
var GLOBSTAR = "**";
|
|
@@ -3112,7 +3061,7 @@ var require_pattern = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3112
3061
|
function isStaticPattern(pattern, options = {}) {
|
|
3113
3062
|
return !isDynamicPattern(pattern, options);
|
|
3114
3063
|
}
|
|
3115
|
-
|
|
3064
|
+
exports2.isStaticPattern = isStaticPattern;
|
|
3116
3065
|
function isDynamicPattern(pattern, options = {}) {
|
|
3117
3066
|
if (pattern === "") {
|
|
3118
3067
|
return false;
|
|
@@ -3131,7 +3080,7 @@ var require_pattern = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3131
3080
|
}
|
|
3132
3081
|
return false;
|
|
3133
3082
|
}
|
|
3134
|
-
|
|
3083
|
+
exports2.isDynamicPattern = isDynamicPattern;
|
|
3135
3084
|
function hasBraceExpansion(pattern) {
|
|
3136
3085
|
const openingBraceIndex = pattern.indexOf("{");
|
|
3137
3086
|
if (openingBraceIndex === -1) {
|
|
@@ -3147,69 +3096,69 @@ var require_pattern = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3147
3096
|
function convertToPositivePattern(pattern) {
|
|
3148
3097
|
return isNegativePattern(pattern) ? pattern.slice(1) : pattern;
|
|
3149
3098
|
}
|
|
3150
|
-
|
|
3099
|
+
exports2.convertToPositivePattern = convertToPositivePattern;
|
|
3151
3100
|
function convertToNegativePattern(pattern) {
|
|
3152
3101
|
return "!" + pattern;
|
|
3153
3102
|
}
|
|
3154
|
-
|
|
3103
|
+
exports2.convertToNegativePattern = convertToNegativePattern;
|
|
3155
3104
|
function isNegativePattern(pattern) {
|
|
3156
3105
|
return pattern.startsWith("!") && pattern[1] !== "(";
|
|
3157
3106
|
}
|
|
3158
|
-
|
|
3107
|
+
exports2.isNegativePattern = isNegativePattern;
|
|
3159
3108
|
function isPositivePattern(pattern) {
|
|
3160
3109
|
return !isNegativePattern(pattern);
|
|
3161
3110
|
}
|
|
3162
|
-
|
|
3111
|
+
exports2.isPositivePattern = isPositivePattern;
|
|
3163
3112
|
function getNegativePatterns(patterns) {
|
|
3164
3113
|
return patterns.filter(isNegativePattern);
|
|
3165
3114
|
}
|
|
3166
|
-
|
|
3115
|
+
exports2.getNegativePatterns = getNegativePatterns;
|
|
3167
3116
|
function getPositivePatterns(patterns) {
|
|
3168
3117
|
return patterns.filter(isPositivePattern);
|
|
3169
3118
|
}
|
|
3170
|
-
|
|
3119
|
+
exports2.getPositivePatterns = getPositivePatterns;
|
|
3171
3120
|
function getPatternsInsideCurrentDirectory(patterns) {
|
|
3172
3121
|
return patterns.filter((pattern) => !isPatternRelatedToParentDirectory(pattern));
|
|
3173
3122
|
}
|
|
3174
|
-
|
|
3123
|
+
exports2.getPatternsInsideCurrentDirectory = getPatternsInsideCurrentDirectory;
|
|
3175
3124
|
function getPatternsOutsideCurrentDirectory(patterns) {
|
|
3176
3125
|
return patterns.filter(isPatternRelatedToParentDirectory);
|
|
3177
3126
|
}
|
|
3178
|
-
|
|
3127
|
+
exports2.getPatternsOutsideCurrentDirectory = getPatternsOutsideCurrentDirectory;
|
|
3179
3128
|
function isPatternRelatedToParentDirectory(pattern) {
|
|
3180
3129
|
return pattern.startsWith("..") || pattern.startsWith("./..");
|
|
3181
3130
|
}
|
|
3182
|
-
|
|
3131
|
+
exports2.isPatternRelatedToParentDirectory = isPatternRelatedToParentDirectory;
|
|
3183
3132
|
function getBaseDirectory(pattern) {
|
|
3184
3133
|
return globParent(pattern, { flipBackslashes: false });
|
|
3185
3134
|
}
|
|
3186
|
-
|
|
3135
|
+
exports2.getBaseDirectory = getBaseDirectory;
|
|
3187
3136
|
function hasGlobStar(pattern) {
|
|
3188
3137
|
return pattern.includes(GLOBSTAR);
|
|
3189
3138
|
}
|
|
3190
|
-
|
|
3139
|
+
exports2.hasGlobStar = hasGlobStar;
|
|
3191
3140
|
function endsWithSlashGlobStar(pattern) {
|
|
3192
3141
|
return pattern.endsWith("/" + GLOBSTAR);
|
|
3193
3142
|
}
|
|
3194
|
-
|
|
3143
|
+
exports2.endsWithSlashGlobStar = endsWithSlashGlobStar;
|
|
3195
3144
|
function isAffectDepthOfReadingPattern(pattern) {
|
|
3196
3145
|
const basename = path2.basename(pattern);
|
|
3197
3146
|
return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);
|
|
3198
3147
|
}
|
|
3199
|
-
|
|
3148
|
+
exports2.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
|
|
3200
3149
|
function expandPatternsWithBraceExpansion(patterns) {
|
|
3201
3150
|
return patterns.reduce((collection, pattern) => {
|
|
3202
3151
|
return collection.concat(expandBraceExpansion(pattern));
|
|
3203
3152
|
}, []);
|
|
3204
3153
|
}
|
|
3205
|
-
|
|
3154
|
+
exports2.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;
|
|
3206
3155
|
function expandBraceExpansion(pattern) {
|
|
3207
3156
|
return micromatch.braces(pattern, {
|
|
3208
3157
|
expand: true,
|
|
3209
3158
|
nodupes: true
|
|
3210
3159
|
});
|
|
3211
3160
|
}
|
|
3212
|
-
|
|
3161
|
+
exports2.expandBraceExpansion = expandBraceExpansion;
|
|
3213
3162
|
function getPatternParts(pattern, options) {
|
|
3214
3163
|
let { parts } = micromatch.scan(pattern, Object.assign(Object.assign({}, options), { parts: true }));
|
|
3215
3164
|
if (parts.length === 0) {
|
|
@@ -3221,25 +3170,25 @@ var require_pattern = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3221
3170
|
}
|
|
3222
3171
|
return parts;
|
|
3223
3172
|
}
|
|
3224
|
-
|
|
3173
|
+
exports2.getPatternParts = getPatternParts;
|
|
3225
3174
|
function makeRe(pattern, options) {
|
|
3226
3175
|
return micromatch.makeRe(pattern, options);
|
|
3227
3176
|
}
|
|
3228
|
-
|
|
3177
|
+
exports2.makeRe = makeRe;
|
|
3229
3178
|
function convertPatternsToRe(patterns, options) {
|
|
3230
3179
|
return patterns.map((pattern) => makeRe(pattern, options));
|
|
3231
3180
|
}
|
|
3232
|
-
|
|
3181
|
+
exports2.convertPatternsToRe = convertPatternsToRe;
|
|
3233
3182
|
function matchAny(entry, patternsRe) {
|
|
3234
3183
|
return patternsRe.some((patternRe) => patternRe.test(entry));
|
|
3235
3184
|
}
|
|
3236
|
-
|
|
3185
|
+
exports2.matchAny = matchAny;
|
|
3237
3186
|
}
|
|
3238
3187
|
});
|
|
3239
|
-
var require_merge2 = (0,
|
|
3240
|
-
"node_modules/merge2/index.js"(
|
|
3188
|
+
var require_merge2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3189
|
+
"node_modules/merge2/index.js"(exports2, module2) {
|
|
3241
3190
|
"use strict";
|
|
3242
|
-
var Stream = (0,
|
|
3191
|
+
var Stream = (0, import_chunk_VS2QQHAK.__require)("stream");
|
|
3243
3192
|
var PassThrough = Stream.PassThrough;
|
|
3244
3193
|
var slice = Array.prototype.slice;
|
|
3245
3194
|
module2.exports = merge2;
|
|
@@ -3353,11 +3302,11 @@ var require_merge2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3353
3302
|
}
|
|
3354
3303
|
}
|
|
3355
3304
|
});
|
|
3356
|
-
var require_stream = (0,
|
|
3357
|
-
"node_modules/fast-glob/out/utils/stream.js"(
|
|
3305
|
+
var require_stream = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3306
|
+
"node_modules/fast-glob/out/utils/stream.js"(exports2) {
|
|
3358
3307
|
"use strict";
|
|
3359
|
-
Object.defineProperty(
|
|
3360
|
-
|
|
3308
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3309
|
+
exports2.merge = void 0;
|
|
3361
3310
|
var merge2 = require_merge2();
|
|
3362
3311
|
function merge(streams) {
|
|
3363
3312
|
const mergedStream = merge2(streams);
|
|
@@ -3368,53 +3317,53 @@ var require_stream = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3368
3317
|
mergedStream.once("end", () => propagateCloseEventToSources(streams));
|
|
3369
3318
|
return mergedStream;
|
|
3370
3319
|
}
|
|
3371
|
-
|
|
3320
|
+
exports2.merge = merge;
|
|
3372
3321
|
function propagateCloseEventToSources(streams) {
|
|
3373
3322
|
streams.forEach((stream) => stream.emit("close"));
|
|
3374
3323
|
}
|
|
3375
3324
|
}
|
|
3376
3325
|
});
|
|
3377
|
-
var require_string = (0,
|
|
3378
|
-
"node_modules/fast-glob/out/utils/string.js"(
|
|
3326
|
+
var require_string = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3327
|
+
"node_modules/fast-glob/out/utils/string.js"(exports2) {
|
|
3379
3328
|
"use strict";
|
|
3380
|
-
Object.defineProperty(
|
|
3381
|
-
|
|
3329
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3330
|
+
exports2.isEmpty = exports2.isString = void 0;
|
|
3382
3331
|
function isString(input) {
|
|
3383
3332
|
return typeof input === "string";
|
|
3384
3333
|
}
|
|
3385
|
-
|
|
3334
|
+
exports2.isString = isString;
|
|
3386
3335
|
function isEmpty(input) {
|
|
3387
3336
|
return input === "";
|
|
3388
3337
|
}
|
|
3389
|
-
|
|
3338
|
+
exports2.isEmpty = isEmpty;
|
|
3390
3339
|
}
|
|
3391
3340
|
});
|
|
3392
|
-
var require_utils3 = (0,
|
|
3393
|
-
"node_modules/fast-glob/out/utils/index.js"(
|
|
3341
|
+
var require_utils3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3342
|
+
"node_modules/fast-glob/out/utils/index.js"(exports2) {
|
|
3394
3343
|
"use strict";
|
|
3395
|
-
Object.defineProperty(
|
|
3396
|
-
|
|
3344
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3345
|
+
exports2.string = exports2.stream = exports2.pattern = exports2.path = exports2.fs = exports2.errno = exports2.array = void 0;
|
|
3397
3346
|
var array = require_array();
|
|
3398
|
-
|
|
3347
|
+
exports2.array = array;
|
|
3399
3348
|
var errno = require_errno();
|
|
3400
|
-
|
|
3349
|
+
exports2.errno = errno;
|
|
3401
3350
|
var fs2 = require_fs();
|
|
3402
|
-
|
|
3351
|
+
exports2.fs = fs2;
|
|
3403
3352
|
var path2 = require_path();
|
|
3404
|
-
|
|
3353
|
+
exports2.path = path2;
|
|
3405
3354
|
var pattern = require_pattern();
|
|
3406
|
-
|
|
3355
|
+
exports2.pattern = pattern;
|
|
3407
3356
|
var stream = require_stream();
|
|
3408
|
-
|
|
3357
|
+
exports2.stream = stream;
|
|
3409
3358
|
var string = require_string();
|
|
3410
|
-
|
|
3359
|
+
exports2.string = string;
|
|
3411
3360
|
}
|
|
3412
3361
|
});
|
|
3413
|
-
var require_tasks = (0,
|
|
3414
|
-
"node_modules/fast-glob/out/managers/tasks.js"(
|
|
3362
|
+
var require_tasks = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3363
|
+
"node_modules/fast-glob/out/managers/tasks.js"(exports2) {
|
|
3415
3364
|
"use strict";
|
|
3416
|
-
Object.defineProperty(
|
|
3417
|
-
|
|
3365
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3366
|
+
exports2.convertPatternGroupToTask = exports2.convertPatternGroupsToTasks = exports2.groupPatternsByBaseDirectory = exports2.getNegativePatternsAsPositive = exports2.getPositivePatterns = exports2.convertPatternsToTasks = exports2.generate = void 0;
|
|
3418
3367
|
var utils = require_utils3();
|
|
3419
3368
|
function generate(patterns, settings) {
|
|
3420
3369
|
const positivePatterns = getPositivePatterns(patterns);
|
|
@@ -3435,7 +3384,7 @@ var require_tasks = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3435
3384
|
);
|
|
3436
3385
|
return staticTasks.concat(dynamicTasks);
|
|
3437
3386
|
}
|
|
3438
|
-
|
|
3387
|
+
exports2.generate = generate;
|
|
3439
3388
|
function convertPatternsToTasks(positive, negative, dynamic) {
|
|
3440
3389
|
const tasks = [];
|
|
3441
3390
|
const patternsOutsideCurrentDirectory = utils.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
@@ -3450,17 +3399,17 @@ var require_tasks = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3450
3399
|
}
|
|
3451
3400
|
return tasks;
|
|
3452
3401
|
}
|
|
3453
|
-
|
|
3402
|
+
exports2.convertPatternsToTasks = convertPatternsToTasks;
|
|
3454
3403
|
function getPositivePatterns(patterns) {
|
|
3455
3404
|
return utils.pattern.getPositivePatterns(patterns);
|
|
3456
3405
|
}
|
|
3457
|
-
|
|
3406
|
+
exports2.getPositivePatterns = getPositivePatterns;
|
|
3458
3407
|
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
3459
3408
|
const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
|
|
3460
3409
|
const positive = negative.map(utils.pattern.convertToPositivePattern);
|
|
3461
3410
|
return positive;
|
|
3462
3411
|
}
|
|
3463
|
-
|
|
3412
|
+
exports2.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
3464
3413
|
function groupPatternsByBaseDirectory(patterns) {
|
|
3465
3414
|
const group = {};
|
|
3466
3415
|
return patterns.reduce((collection, pattern) => {
|
|
@@ -3473,13 +3422,13 @@ var require_tasks = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3473
3422
|
return collection;
|
|
3474
3423
|
}, group);
|
|
3475
3424
|
}
|
|
3476
|
-
|
|
3425
|
+
exports2.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
3477
3426
|
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
3478
3427
|
return Object.keys(positive).map((base) => {
|
|
3479
3428
|
return convertPatternGroupToTask(base, positive[base], negative, dynamic);
|
|
3480
3429
|
});
|
|
3481
3430
|
}
|
|
3482
|
-
|
|
3431
|
+
exports2.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
|
|
3483
3432
|
function convertPatternGroupToTask(base, positive, negative, dynamic) {
|
|
3484
3433
|
return {
|
|
3485
3434
|
dynamic,
|
|
@@ -3489,30 +3438,30 @@ var require_tasks = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3489
3438
|
patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
|
|
3490
3439
|
};
|
|
3491
3440
|
}
|
|
3492
|
-
|
|
3441
|
+
exports2.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
3493
3442
|
}
|
|
3494
3443
|
});
|
|
3495
|
-
var require_patterns = (0,
|
|
3496
|
-
"node_modules/fast-glob/out/managers/patterns.js"(
|
|
3444
|
+
var require_patterns = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3445
|
+
"node_modules/fast-glob/out/managers/patterns.js"(exports2) {
|
|
3497
3446
|
"use strict";
|
|
3498
|
-
Object.defineProperty(
|
|
3499
|
-
|
|
3447
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3448
|
+
exports2.removeDuplicateSlashes = exports2.transform = void 0;
|
|
3500
3449
|
var DOUBLE_SLASH_RE = /(?!^)\/{2,}/g;
|
|
3501
3450
|
function transform(patterns) {
|
|
3502
3451
|
return patterns.map((pattern) => removeDuplicateSlashes(pattern));
|
|
3503
3452
|
}
|
|
3504
|
-
|
|
3453
|
+
exports2.transform = transform;
|
|
3505
3454
|
function removeDuplicateSlashes(pattern) {
|
|
3506
3455
|
return pattern.replace(DOUBLE_SLASH_RE, "/");
|
|
3507
3456
|
}
|
|
3508
|
-
|
|
3457
|
+
exports2.removeDuplicateSlashes = removeDuplicateSlashes;
|
|
3509
3458
|
}
|
|
3510
3459
|
});
|
|
3511
|
-
var require_async = (0,
|
|
3512
|
-
"node_modules/@nodelib/fs.stat/out/providers/async.js"(
|
|
3460
|
+
var require_async = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3461
|
+
"node_modules/@nodelib/fs.stat/out/providers/async.js"(exports2) {
|
|
3513
3462
|
"use strict";
|
|
3514
|
-
Object.defineProperty(
|
|
3515
|
-
|
|
3463
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3464
|
+
exports2.read = void 0;
|
|
3516
3465
|
function read(path2, settings, callback) {
|
|
3517
3466
|
settings.fs.lstat(path2, (lstatError, lstat) => {
|
|
3518
3467
|
if (lstatError !== null) {
|
|
@@ -3539,7 +3488,7 @@ var require_async = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3539
3488
|
});
|
|
3540
3489
|
});
|
|
3541
3490
|
}
|
|
3542
|
-
|
|
3491
|
+
exports2.read = read;
|
|
3543
3492
|
function callFailureCallback(callback, error) {
|
|
3544
3493
|
callback(error);
|
|
3545
3494
|
}
|
|
@@ -3548,11 +3497,11 @@ var require_async = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3548
3497
|
}
|
|
3549
3498
|
}
|
|
3550
3499
|
});
|
|
3551
|
-
var require_sync = (0,
|
|
3552
|
-
"node_modules/@nodelib/fs.stat/out/providers/sync.js"(
|
|
3500
|
+
var require_sync = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3501
|
+
"node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports2) {
|
|
3553
3502
|
"use strict";
|
|
3554
|
-
Object.defineProperty(
|
|
3555
|
-
|
|
3503
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3504
|
+
exports2.read = void 0;
|
|
3556
3505
|
function read(path2, settings) {
|
|
3557
3506
|
const lstat = settings.fs.lstatSync(path2);
|
|
3558
3507
|
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
|
|
@@ -3571,16 +3520,16 @@ var require_sync = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3571
3520
|
throw error;
|
|
3572
3521
|
}
|
|
3573
3522
|
}
|
|
3574
|
-
|
|
3523
|
+
exports2.read = read;
|
|
3575
3524
|
}
|
|
3576
3525
|
});
|
|
3577
|
-
var require_fs2 = (0,
|
|
3578
|
-
"node_modules/@nodelib/fs.stat/out/adapters/fs.js"(
|
|
3526
|
+
var require_fs2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3527
|
+
"node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports2) {
|
|
3579
3528
|
"use strict";
|
|
3580
|
-
Object.defineProperty(
|
|
3581
|
-
|
|
3582
|
-
var fs2 = (0,
|
|
3583
|
-
|
|
3529
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3530
|
+
exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
|
|
3531
|
+
var fs2 = (0, import_chunk_VS2QQHAK.__require)("fs");
|
|
3532
|
+
exports2.FILE_SYSTEM_ADAPTER = {
|
|
3584
3533
|
lstat: fs2.lstat,
|
|
3585
3534
|
stat: fs2.stat,
|
|
3586
3535
|
lstatSync: fs2.lstatSync,
|
|
@@ -3588,17 +3537,17 @@ var require_fs2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3588
3537
|
};
|
|
3589
3538
|
function createFileSystemAdapter(fsMethods) {
|
|
3590
3539
|
if (fsMethods === void 0) {
|
|
3591
|
-
return
|
|
3540
|
+
return exports2.FILE_SYSTEM_ADAPTER;
|
|
3592
3541
|
}
|
|
3593
|
-
return Object.assign(Object.assign({},
|
|
3542
|
+
return Object.assign(Object.assign({}, exports2.FILE_SYSTEM_ADAPTER), fsMethods);
|
|
3594
3543
|
}
|
|
3595
|
-
|
|
3544
|
+
exports2.createFileSystemAdapter = createFileSystemAdapter;
|
|
3596
3545
|
}
|
|
3597
3546
|
});
|
|
3598
|
-
var require_settings = (0,
|
|
3599
|
-
"node_modules/@nodelib/fs.stat/out/settings.js"(
|
|
3547
|
+
var require_settings = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3548
|
+
"node_modules/@nodelib/fs.stat/out/settings.js"(exports2) {
|
|
3600
3549
|
"use strict";
|
|
3601
|
-
Object.defineProperty(
|
|
3550
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3602
3551
|
var fs2 = require_fs2();
|
|
3603
3552
|
var Settings = class {
|
|
3604
3553
|
constructor(_options = {}) {
|
|
@@ -3612,18 +3561,18 @@ var require_settings = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3612
3561
|
return option !== null && option !== void 0 ? option : value;
|
|
3613
3562
|
}
|
|
3614
3563
|
};
|
|
3615
|
-
|
|
3564
|
+
exports2.default = Settings;
|
|
3616
3565
|
}
|
|
3617
3566
|
});
|
|
3618
|
-
var require_out = (0,
|
|
3619
|
-
"node_modules/@nodelib/fs.stat/out/index.js"(
|
|
3567
|
+
var require_out = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3568
|
+
"node_modules/@nodelib/fs.stat/out/index.js"(exports2) {
|
|
3620
3569
|
"use strict";
|
|
3621
|
-
Object.defineProperty(
|
|
3622
|
-
|
|
3570
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3571
|
+
exports2.statSync = exports2.stat = exports2.Settings = void 0;
|
|
3623
3572
|
var async = require_async();
|
|
3624
3573
|
var sync = require_sync();
|
|
3625
3574
|
var settings_1 = require_settings();
|
|
3626
|
-
|
|
3575
|
+
exports2.Settings = settings_1.default;
|
|
3627
3576
|
function stat2(path2, optionsOrSettingsOrCallback, callback) {
|
|
3628
3577
|
if (typeof optionsOrSettingsOrCallback === "function") {
|
|
3629
3578
|
async.read(path2, getSettings(), optionsOrSettingsOrCallback);
|
|
@@ -3631,12 +3580,12 @@ var require_out = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3631
3580
|
}
|
|
3632
3581
|
async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
|
|
3633
3582
|
}
|
|
3634
|
-
|
|
3583
|
+
exports2.stat = stat2;
|
|
3635
3584
|
function statSync(path2, optionsOrSettings) {
|
|
3636
3585
|
const settings = getSettings(optionsOrSettings);
|
|
3637
3586
|
return sync.read(path2, settings);
|
|
3638
3587
|
}
|
|
3639
|
-
|
|
3588
|
+
exports2.statSync = statSync;
|
|
3640
3589
|
function getSettings(settingsOrOptions = {}) {
|
|
3641
3590
|
if (settingsOrOptions instanceof settings_1.default) {
|
|
3642
3591
|
return settingsOrOptions;
|
|
@@ -3645,16 +3594,16 @@ var require_out = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3645
3594
|
}
|
|
3646
3595
|
}
|
|
3647
3596
|
});
|
|
3648
|
-
var require_queue_microtask = (0,
|
|
3649
|
-
"node_modules/queue-microtask/index.js"(
|
|
3597
|
+
var require_queue_microtask = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3598
|
+
"node_modules/queue-microtask/index.js"(exports2, module2) {
|
|
3650
3599
|
var promise;
|
|
3651
3600
|
module2.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
|
|
3652
3601
|
throw err;
|
|
3653
3602
|
}, 0));
|
|
3654
3603
|
}
|
|
3655
3604
|
});
|
|
3656
|
-
var require_run_parallel = (0,
|
|
3657
|
-
"node_modules/run-parallel/index.js"(
|
|
3605
|
+
var require_run_parallel = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3606
|
+
"node_modules/run-parallel/index.js"(exports2, module2) {
|
|
3658
3607
|
module2.exports = runParallel;
|
|
3659
3608
|
var queueMicrotask2 = require_queue_microtask();
|
|
3660
3609
|
function runParallel(tasks, cb) {
|
|
@@ -3670,14 +3619,11 @@ var require_run_parallel = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3670
3619
|
}
|
|
3671
3620
|
function done(err) {
|
|
3672
3621
|
function end() {
|
|
3673
|
-
if (cb)
|
|
3674
|
-
cb(err, results);
|
|
3622
|
+
if (cb) cb(err, results);
|
|
3675
3623
|
cb = null;
|
|
3676
3624
|
}
|
|
3677
|
-
if (isSync)
|
|
3678
|
-
|
|
3679
|
-
else
|
|
3680
|
-
end();
|
|
3625
|
+
if (isSync) queueMicrotask2(end);
|
|
3626
|
+
else end();
|
|
3681
3627
|
}
|
|
3682
3628
|
function each(i, err, result) {
|
|
3683
3629
|
results[i] = result;
|
|
@@ -3704,11 +3650,11 @@ var require_run_parallel = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3704
3650
|
}
|
|
3705
3651
|
}
|
|
3706
3652
|
});
|
|
3707
|
-
var require_constants3 = (0,
|
|
3708
|
-
"node_modules/@nodelib/fs.scandir/out/constants.js"(
|
|
3653
|
+
var require_constants3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3654
|
+
"node_modules/@nodelib/fs.scandir/out/constants.js"(exports2) {
|
|
3709
3655
|
"use strict";
|
|
3710
|
-
Object.defineProperty(
|
|
3711
|
-
|
|
3656
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3657
|
+
exports2.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
3712
3658
|
var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
|
|
3713
3659
|
if (NODE_PROCESS_VERSION_PARTS[0] === void 0 || NODE_PROCESS_VERSION_PARTS[1] === void 0) {
|
|
3714
3660
|
throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
|
|
@@ -3719,14 +3665,14 @@ var require_constants3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3719
3665
|
var SUPPORTED_MINOR_VERSION = 10;
|
|
3720
3666
|
var IS_MATCHED_BY_MAJOR = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION;
|
|
3721
3667
|
var IS_MATCHED_BY_MAJOR_AND_MINOR = MAJOR_VERSION === SUPPORTED_MAJOR_VERSION && MINOR_VERSION >= SUPPORTED_MINOR_VERSION;
|
|
3722
|
-
|
|
3668
|
+
exports2.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR;
|
|
3723
3669
|
}
|
|
3724
3670
|
});
|
|
3725
|
-
var require_fs3 = (0,
|
|
3726
|
-
"node_modules/@nodelib/fs.scandir/out/utils/fs.js"(
|
|
3671
|
+
var require_fs3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3672
|
+
"node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports2) {
|
|
3727
3673
|
"use strict";
|
|
3728
|
-
Object.defineProperty(
|
|
3729
|
-
|
|
3674
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3675
|
+
exports2.createDirentFromStats = void 0;
|
|
3730
3676
|
var DirentFromStats = class {
|
|
3731
3677
|
constructor(name, stats) {
|
|
3732
3678
|
this.name = name;
|
|
@@ -3742,37 +3688,37 @@ var require_fs3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3742
3688
|
function createDirentFromStats(name, stats) {
|
|
3743
3689
|
return new DirentFromStats(name, stats);
|
|
3744
3690
|
}
|
|
3745
|
-
|
|
3691
|
+
exports2.createDirentFromStats = createDirentFromStats;
|
|
3746
3692
|
}
|
|
3747
3693
|
});
|
|
3748
|
-
var require_utils4 = (0,
|
|
3749
|
-
"node_modules/@nodelib/fs.scandir/out/utils/index.js"(
|
|
3694
|
+
var require_utils4 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3695
|
+
"node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports2) {
|
|
3750
3696
|
"use strict";
|
|
3751
|
-
Object.defineProperty(
|
|
3752
|
-
|
|
3697
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3698
|
+
exports2.fs = void 0;
|
|
3753
3699
|
var fs2 = require_fs3();
|
|
3754
|
-
|
|
3700
|
+
exports2.fs = fs2;
|
|
3755
3701
|
}
|
|
3756
3702
|
});
|
|
3757
|
-
var require_common = (0,
|
|
3758
|
-
"node_modules/@nodelib/fs.scandir/out/providers/common.js"(
|
|
3703
|
+
var require_common = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3704
|
+
"node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports2) {
|
|
3759
3705
|
"use strict";
|
|
3760
|
-
Object.defineProperty(
|
|
3761
|
-
|
|
3706
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3707
|
+
exports2.joinPathSegments = void 0;
|
|
3762
3708
|
function joinPathSegments(a, b, separator) {
|
|
3763
3709
|
if (a.endsWith(separator)) {
|
|
3764
3710
|
return a + b;
|
|
3765
3711
|
}
|
|
3766
3712
|
return a + separator + b;
|
|
3767
3713
|
}
|
|
3768
|
-
|
|
3714
|
+
exports2.joinPathSegments = joinPathSegments;
|
|
3769
3715
|
}
|
|
3770
3716
|
});
|
|
3771
|
-
var require_async2 = (0,
|
|
3772
|
-
"node_modules/@nodelib/fs.scandir/out/providers/async.js"(
|
|
3717
|
+
var require_async2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3718
|
+
"node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports2) {
|
|
3773
3719
|
"use strict";
|
|
3774
|
-
Object.defineProperty(
|
|
3775
|
-
|
|
3720
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3721
|
+
exports2.readdir = exports2.readdirWithFileTypes = exports2.read = void 0;
|
|
3776
3722
|
var fsStat = require_out();
|
|
3777
3723
|
var rpl = require_run_parallel();
|
|
3778
3724
|
var constants_1 = require_constants3();
|
|
@@ -3785,7 +3731,7 @@ var require_async2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3785
3731
|
}
|
|
3786
3732
|
readdir2(directory, settings, callback);
|
|
3787
3733
|
}
|
|
3788
|
-
|
|
3734
|
+
exports2.read = read;
|
|
3789
3735
|
function readdirWithFileTypes(directory, settings, callback) {
|
|
3790
3736
|
settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => {
|
|
3791
3737
|
if (readdirError !== null) {
|
|
@@ -3811,7 +3757,7 @@ var require_async2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3811
3757
|
});
|
|
3812
3758
|
});
|
|
3813
3759
|
}
|
|
3814
|
-
|
|
3760
|
+
exports2.readdirWithFileTypes = readdirWithFileTypes;
|
|
3815
3761
|
function makeRplTaskEntry(entry, settings) {
|
|
3816
3762
|
return (done) => {
|
|
3817
3763
|
if (!entry.dirent.isSymbolicLink()) {
|
|
@@ -3867,7 +3813,7 @@ var require_async2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3867
3813
|
});
|
|
3868
3814
|
});
|
|
3869
3815
|
}
|
|
3870
|
-
|
|
3816
|
+
exports2.readdir = readdir2;
|
|
3871
3817
|
function callFailureCallback(callback, error) {
|
|
3872
3818
|
callback(error);
|
|
3873
3819
|
}
|
|
@@ -3876,11 +3822,11 @@ var require_async2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3876
3822
|
}
|
|
3877
3823
|
}
|
|
3878
3824
|
});
|
|
3879
|
-
var require_sync2 = (0,
|
|
3880
|
-
"node_modules/@nodelib/fs.scandir/out/providers/sync.js"(
|
|
3825
|
+
var require_sync2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3826
|
+
"node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports2) {
|
|
3881
3827
|
"use strict";
|
|
3882
|
-
Object.defineProperty(
|
|
3883
|
-
|
|
3828
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3829
|
+
exports2.readdir = exports2.readdirWithFileTypes = exports2.read = void 0;
|
|
3884
3830
|
var fsStat = require_out();
|
|
3885
3831
|
var constants_1 = require_constants3();
|
|
3886
3832
|
var utils = require_utils4();
|
|
@@ -3891,7 +3837,7 @@ var require_sync2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3891
3837
|
}
|
|
3892
3838
|
return readdir2(directory, settings);
|
|
3893
3839
|
}
|
|
3894
|
-
|
|
3840
|
+
exports2.read = read;
|
|
3895
3841
|
function readdirWithFileTypes(directory, settings) {
|
|
3896
3842
|
const dirents = settings.fs.readdirSync(directory, { withFileTypes: true });
|
|
3897
3843
|
return dirents.map((dirent) => {
|
|
@@ -3913,7 +3859,7 @@ var require_sync2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3913
3859
|
return entry;
|
|
3914
3860
|
});
|
|
3915
3861
|
}
|
|
3916
|
-
|
|
3862
|
+
exports2.readdirWithFileTypes = readdirWithFileTypes;
|
|
3917
3863
|
function readdir2(directory, settings) {
|
|
3918
3864
|
const names = settings.fs.readdirSync(directory);
|
|
3919
3865
|
return names.map((name) => {
|
|
@@ -3930,16 +3876,16 @@ var require_sync2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3930
3876
|
return entry;
|
|
3931
3877
|
});
|
|
3932
3878
|
}
|
|
3933
|
-
|
|
3879
|
+
exports2.readdir = readdir2;
|
|
3934
3880
|
}
|
|
3935
3881
|
});
|
|
3936
|
-
var require_fs4 = (0,
|
|
3937
|
-
"node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(
|
|
3882
|
+
var require_fs4 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3883
|
+
"node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports2) {
|
|
3938
3884
|
"use strict";
|
|
3939
|
-
Object.defineProperty(
|
|
3940
|
-
|
|
3941
|
-
var fs2 = (0,
|
|
3942
|
-
|
|
3885
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3886
|
+
exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
|
|
3887
|
+
var fs2 = (0, import_chunk_VS2QQHAK.__require)("fs");
|
|
3888
|
+
exports2.FILE_SYSTEM_ADAPTER = {
|
|
3943
3889
|
lstat: fs2.lstat,
|
|
3944
3890
|
stat: fs2.stat,
|
|
3945
3891
|
lstatSync: fs2.lstatSync,
|
|
@@ -3949,18 +3895,18 @@ var require_fs4 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3949
3895
|
};
|
|
3950
3896
|
function createFileSystemAdapter(fsMethods) {
|
|
3951
3897
|
if (fsMethods === void 0) {
|
|
3952
|
-
return
|
|
3898
|
+
return exports2.FILE_SYSTEM_ADAPTER;
|
|
3953
3899
|
}
|
|
3954
|
-
return Object.assign(Object.assign({},
|
|
3900
|
+
return Object.assign(Object.assign({}, exports2.FILE_SYSTEM_ADAPTER), fsMethods);
|
|
3955
3901
|
}
|
|
3956
|
-
|
|
3902
|
+
exports2.createFileSystemAdapter = createFileSystemAdapter;
|
|
3957
3903
|
}
|
|
3958
3904
|
});
|
|
3959
|
-
var require_settings2 = (0,
|
|
3960
|
-
"node_modules/@nodelib/fs.scandir/out/settings.js"(
|
|
3905
|
+
var require_settings2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3906
|
+
"node_modules/@nodelib/fs.scandir/out/settings.js"(exports2) {
|
|
3961
3907
|
"use strict";
|
|
3962
|
-
Object.defineProperty(
|
|
3963
|
-
var path2 = (0,
|
|
3908
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3909
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
3964
3910
|
var fsStat = require_out();
|
|
3965
3911
|
var fs2 = require_fs4();
|
|
3966
3912
|
var Settings = class {
|
|
@@ -3981,18 +3927,18 @@ var require_settings2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
3981
3927
|
return option !== null && option !== void 0 ? option : value;
|
|
3982
3928
|
}
|
|
3983
3929
|
};
|
|
3984
|
-
|
|
3930
|
+
exports2.default = Settings;
|
|
3985
3931
|
}
|
|
3986
3932
|
});
|
|
3987
|
-
var require_out2 = (0,
|
|
3988
|
-
"node_modules/@nodelib/fs.scandir/out/index.js"(
|
|
3933
|
+
var require_out2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3934
|
+
"node_modules/@nodelib/fs.scandir/out/index.js"(exports2) {
|
|
3989
3935
|
"use strict";
|
|
3990
|
-
Object.defineProperty(
|
|
3991
|
-
|
|
3936
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3937
|
+
exports2.Settings = exports2.scandirSync = exports2.scandir = void 0;
|
|
3992
3938
|
var async = require_async2();
|
|
3993
3939
|
var sync = require_sync2();
|
|
3994
3940
|
var settings_1 = require_settings2();
|
|
3995
|
-
|
|
3941
|
+
exports2.Settings = settings_1.default;
|
|
3996
3942
|
function scandir(path2, optionsOrSettingsOrCallback, callback) {
|
|
3997
3943
|
if (typeof optionsOrSettingsOrCallback === "function") {
|
|
3998
3944
|
async.read(path2, getSettings(), optionsOrSettingsOrCallback);
|
|
@@ -4000,12 +3946,12 @@ var require_out2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4000
3946
|
}
|
|
4001
3947
|
async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
|
|
4002
3948
|
}
|
|
4003
|
-
|
|
3949
|
+
exports2.scandir = scandir;
|
|
4004
3950
|
function scandirSync(path2, optionsOrSettings) {
|
|
4005
3951
|
const settings = getSettings(optionsOrSettings);
|
|
4006
3952
|
return sync.read(path2, settings);
|
|
4007
3953
|
}
|
|
4008
|
-
|
|
3954
|
+
exports2.scandirSync = scandirSync;
|
|
4009
3955
|
function getSettings(settingsOrOptions = {}) {
|
|
4010
3956
|
if (settingsOrOptions instanceof settings_1.default) {
|
|
4011
3957
|
return settingsOrOptions;
|
|
@@ -4014,8 +3960,8 @@ var require_out2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4014
3960
|
}
|
|
4015
3961
|
}
|
|
4016
3962
|
});
|
|
4017
|
-
var require_reusify = (0,
|
|
4018
|
-
"node_modules/reusify/reusify.js"(
|
|
3963
|
+
var require_reusify = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3964
|
+
"node_modules/reusify/reusify.js"(exports2, module2) {
|
|
4019
3965
|
"use strict";
|
|
4020
3966
|
function reusify(Constructor) {
|
|
4021
3967
|
var head = new Constructor();
|
|
@@ -4043,8 +3989,8 @@ var require_reusify = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4043
3989
|
module2.exports = reusify;
|
|
4044
3990
|
}
|
|
4045
3991
|
});
|
|
4046
|
-
var require_queue = (0,
|
|
4047
|
-
"node_modules/fastq/queue.js"(
|
|
3992
|
+
var require_queue = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
3993
|
+
"node_modules/fastq/queue.js"(exports2, module2) {
|
|
4048
3994
|
"use strict";
|
|
4049
3995
|
var reusify = require_reusify();
|
|
4050
3996
|
function fastqueue(context, worker, concurrency) {
|
|
@@ -4105,8 +4051,7 @@ var require_queue = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4105
4051
|
return tasks;
|
|
4106
4052
|
}
|
|
4107
4053
|
function resume() {
|
|
4108
|
-
if (!self.paused)
|
|
4109
|
-
return;
|
|
4054
|
+
if (!self.paused) return;
|
|
4110
4055
|
self.paused = false;
|
|
4111
4056
|
for (var i = 0; i < self.concurrency; i++) {
|
|
4112
4057
|
_running++;
|
|
@@ -4282,26 +4227,26 @@ var require_queue = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4282
4227
|
module2.exports.promise = queueAsPromised;
|
|
4283
4228
|
}
|
|
4284
4229
|
});
|
|
4285
|
-
var require_common2 = (0,
|
|
4286
|
-
"node_modules/@nodelib/fs.walk/out/readers/common.js"(
|
|
4230
|
+
var require_common2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4231
|
+
"node_modules/@nodelib/fs.walk/out/readers/common.js"(exports2) {
|
|
4287
4232
|
"use strict";
|
|
4288
|
-
Object.defineProperty(
|
|
4289
|
-
|
|
4233
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4234
|
+
exports2.joinPathSegments = exports2.replacePathSegmentSeparator = exports2.isAppliedFilter = exports2.isFatalError = void 0;
|
|
4290
4235
|
function isFatalError(settings, error) {
|
|
4291
4236
|
if (settings.errorFilter === null) {
|
|
4292
4237
|
return true;
|
|
4293
4238
|
}
|
|
4294
4239
|
return !settings.errorFilter(error);
|
|
4295
4240
|
}
|
|
4296
|
-
|
|
4241
|
+
exports2.isFatalError = isFatalError;
|
|
4297
4242
|
function isAppliedFilter(filter, value) {
|
|
4298
4243
|
return filter === null || filter(value);
|
|
4299
4244
|
}
|
|
4300
|
-
|
|
4245
|
+
exports2.isAppliedFilter = isAppliedFilter;
|
|
4301
4246
|
function replacePathSegmentSeparator(filepath, separator) {
|
|
4302
4247
|
return filepath.split(/[/\\]/).join(separator);
|
|
4303
4248
|
}
|
|
4304
|
-
|
|
4249
|
+
exports2.replacePathSegmentSeparator = replacePathSegmentSeparator;
|
|
4305
4250
|
function joinPathSegments(a, b, separator) {
|
|
4306
4251
|
if (a === "") {
|
|
4307
4252
|
return b;
|
|
@@ -4311,13 +4256,13 @@ var require_common2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4311
4256
|
}
|
|
4312
4257
|
return a + separator + b;
|
|
4313
4258
|
}
|
|
4314
|
-
|
|
4259
|
+
exports2.joinPathSegments = joinPathSegments;
|
|
4315
4260
|
}
|
|
4316
4261
|
});
|
|
4317
|
-
var require_reader = (0,
|
|
4318
|
-
"node_modules/@nodelib/fs.walk/out/readers/reader.js"(
|
|
4262
|
+
var require_reader = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4263
|
+
"node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports2) {
|
|
4319
4264
|
"use strict";
|
|
4320
|
-
Object.defineProperty(
|
|
4265
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4321
4266
|
var common = require_common2();
|
|
4322
4267
|
var Reader = class {
|
|
4323
4268
|
constructor(_root, _settings) {
|
|
@@ -4326,14 +4271,14 @@ var require_reader = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4326
4271
|
this._root = common.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator);
|
|
4327
4272
|
}
|
|
4328
4273
|
};
|
|
4329
|
-
|
|
4274
|
+
exports2.default = Reader;
|
|
4330
4275
|
}
|
|
4331
4276
|
});
|
|
4332
|
-
var require_async3 = (0,
|
|
4333
|
-
"node_modules/@nodelib/fs.walk/out/readers/async.js"(
|
|
4277
|
+
var require_async3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4278
|
+
"node_modules/@nodelib/fs.walk/out/readers/async.js"(exports2) {
|
|
4334
4279
|
"use strict";
|
|
4335
|
-
Object.defineProperty(
|
|
4336
|
-
var events_1 = (0,
|
|
4280
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4281
|
+
var events_1 = (0, import_chunk_VS2QQHAK.__require)("events");
|
|
4337
4282
|
var fsScandir = require_out2();
|
|
4338
4283
|
var fastq = require_queue();
|
|
4339
4284
|
var common = require_common2();
|
|
@@ -4427,13 +4372,13 @@ var require_async3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4427
4372
|
this._emitter.emit("entry", entry);
|
|
4428
4373
|
}
|
|
4429
4374
|
};
|
|
4430
|
-
|
|
4375
|
+
exports2.default = AsyncReader;
|
|
4431
4376
|
}
|
|
4432
4377
|
});
|
|
4433
|
-
var require_async4 = (0,
|
|
4434
|
-
"node_modules/@nodelib/fs.walk/out/providers/async.js"(
|
|
4378
|
+
var require_async4 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4379
|
+
"node_modules/@nodelib/fs.walk/out/providers/async.js"(exports2) {
|
|
4435
4380
|
"use strict";
|
|
4436
|
-
Object.defineProperty(
|
|
4381
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4437
4382
|
var async_1 = require_async3();
|
|
4438
4383
|
var AsyncProvider = class {
|
|
4439
4384
|
constructor(_root, _settings) {
|
|
@@ -4455,7 +4400,7 @@ var require_async4 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4455
4400
|
this._reader.read();
|
|
4456
4401
|
}
|
|
4457
4402
|
};
|
|
4458
|
-
|
|
4403
|
+
exports2.default = AsyncProvider;
|
|
4459
4404
|
function callFailureCallback(callback, error) {
|
|
4460
4405
|
callback(error);
|
|
4461
4406
|
}
|
|
@@ -4464,11 +4409,11 @@ var require_async4 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4464
4409
|
}
|
|
4465
4410
|
}
|
|
4466
4411
|
});
|
|
4467
|
-
var require_stream2 = (0,
|
|
4468
|
-
"node_modules/@nodelib/fs.walk/out/providers/stream.js"(
|
|
4412
|
+
var require_stream2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4413
|
+
"node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports2) {
|
|
4469
4414
|
"use strict";
|
|
4470
|
-
Object.defineProperty(
|
|
4471
|
-
var stream_1 = (0,
|
|
4415
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4416
|
+
var stream_1 = (0, import_chunk_VS2QQHAK.__require)("stream");
|
|
4472
4417
|
var async_1 = require_async3();
|
|
4473
4418
|
var StreamProvider = class {
|
|
4474
4419
|
constructor(_root, _settings) {
|
|
@@ -4500,13 +4445,13 @@ var require_stream2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4500
4445
|
return this._stream;
|
|
4501
4446
|
}
|
|
4502
4447
|
};
|
|
4503
|
-
|
|
4448
|
+
exports2.default = StreamProvider;
|
|
4504
4449
|
}
|
|
4505
4450
|
});
|
|
4506
|
-
var require_sync3 = (0,
|
|
4507
|
-
"node_modules/@nodelib/fs.walk/out/readers/sync.js"(
|
|
4451
|
+
var require_sync3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4452
|
+
"node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports2) {
|
|
4508
4453
|
"use strict";
|
|
4509
|
-
Object.defineProperty(
|
|
4454
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4510
4455
|
var fsScandir = require_out2();
|
|
4511
4456
|
var common = require_common2();
|
|
4512
4457
|
var reader_1 = require_reader();
|
|
@@ -4562,13 +4507,13 @@ var require_sync3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4562
4507
|
this._storage.push(entry);
|
|
4563
4508
|
}
|
|
4564
4509
|
};
|
|
4565
|
-
|
|
4510
|
+
exports2.default = SyncReader;
|
|
4566
4511
|
}
|
|
4567
4512
|
});
|
|
4568
|
-
var require_sync4 = (0,
|
|
4569
|
-
"node_modules/@nodelib/fs.walk/out/providers/sync.js"(
|
|
4513
|
+
var require_sync4 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4514
|
+
"node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports2) {
|
|
4570
4515
|
"use strict";
|
|
4571
|
-
Object.defineProperty(
|
|
4516
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4572
4517
|
var sync_1 = require_sync3();
|
|
4573
4518
|
var SyncProvider = class {
|
|
4574
4519
|
constructor(_root, _settings) {
|
|
@@ -4580,14 +4525,14 @@ var require_sync4 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4580
4525
|
return this._reader.read();
|
|
4581
4526
|
}
|
|
4582
4527
|
};
|
|
4583
|
-
|
|
4528
|
+
exports2.default = SyncProvider;
|
|
4584
4529
|
}
|
|
4585
4530
|
});
|
|
4586
|
-
var require_settings3 = (0,
|
|
4587
|
-
"node_modules/@nodelib/fs.walk/out/settings.js"(
|
|
4531
|
+
var require_settings3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4532
|
+
"node_modules/@nodelib/fs.walk/out/settings.js"(exports2) {
|
|
4588
4533
|
"use strict";
|
|
4589
|
-
Object.defineProperty(
|
|
4590
|
-
var path2 = (0,
|
|
4534
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4535
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
4591
4536
|
var fsScandir = require_out2();
|
|
4592
4537
|
var Settings = class {
|
|
4593
4538
|
constructor(_options = {}) {
|
|
@@ -4610,19 +4555,19 @@ var require_settings3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4610
4555
|
return option !== null && option !== void 0 ? option : value;
|
|
4611
4556
|
}
|
|
4612
4557
|
};
|
|
4613
|
-
|
|
4558
|
+
exports2.default = Settings;
|
|
4614
4559
|
}
|
|
4615
4560
|
});
|
|
4616
|
-
var require_out3 = (0,
|
|
4617
|
-
"node_modules/@nodelib/fs.walk/out/index.js"(
|
|
4561
|
+
var require_out3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4562
|
+
"node_modules/@nodelib/fs.walk/out/index.js"(exports2) {
|
|
4618
4563
|
"use strict";
|
|
4619
|
-
Object.defineProperty(
|
|
4620
|
-
|
|
4564
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4565
|
+
exports2.Settings = exports2.walkStream = exports2.walkSync = exports2.walk = void 0;
|
|
4621
4566
|
var async_1 = require_async4();
|
|
4622
4567
|
var stream_1 = require_stream2();
|
|
4623
4568
|
var sync_1 = require_sync4();
|
|
4624
4569
|
var settings_1 = require_settings3();
|
|
4625
|
-
|
|
4570
|
+
exports2.Settings = settings_1.default;
|
|
4626
4571
|
function walk(directory, optionsOrSettingsOrCallback, callback) {
|
|
4627
4572
|
if (typeof optionsOrSettingsOrCallback === "function") {
|
|
4628
4573
|
new async_1.default(directory, getSettings()).read(optionsOrSettingsOrCallback);
|
|
@@ -4630,19 +4575,19 @@ var require_out3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4630
4575
|
}
|
|
4631
4576
|
new async_1.default(directory, getSettings(optionsOrSettingsOrCallback)).read(callback);
|
|
4632
4577
|
}
|
|
4633
|
-
|
|
4578
|
+
exports2.walk = walk;
|
|
4634
4579
|
function walkSync(directory, optionsOrSettings) {
|
|
4635
4580
|
const settings = getSettings(optionsOrSettings);
|
|
4636
4581
|
const provider = new sync_1.default(directory, settings);
|
|
4637
4582
|
return provider.read();
|
|
4638
4583
|
}
|
|
4639
|
-
|
|
4584
|
+
exports2.walkSync = walkSync;
|
|
4640
4585
|
function walkStream(directory, optionsOrSettings) {
|
|
4641
4586
|
const settings = getSettings(optionsOrSettings);
|
|
4642
4587
|
const provider = new stream_1.default(directory, settings);
|
|
4643
4588
|
return provider.read();
|
|
4644
4589
|
}
|
|
4645
|
-
|
|
4590
|
+
exports2.walkStream = walkStream;
|
|
4646
4591
|
function getSettings(settingsOrOptions = {}) {
|
|
4647
4592
|
if (settingsOrOptions instanceof settings_1.default) {
|
|
4648
4593
|
return settingsOrOptions;
|
|
@@ -4651,11 +4596,11 @@ var require_out3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4651
4596
|
}
|
|
4652
4597
|
}
|
|
4653
4598
|
});
|
|
4654
|
-
var require_reader2 = (0,
|
|
4655
|
-
"node_modules/fast-glob/out/readers/reader.js"(
|
|
4599
|
+
var require_reader2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4600
|
+
"node_modules/fast-glob/out/readers/reader.js"(exports2) {
|
|
4656
4601
|
"use strict";
|
|
4657
|
-
Object.defineProperty(
|
|
4658
|
-
var path2 = (0,
|
|
4602
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4603
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
4659
4604
|
var fsStat = require_out();
|
|
4660
4605
|
var utils = require_utils3();
|
|
4661
4606
|
var Reader = class {
|
|
@@ -4685,14 +4630,14 @@ var require_reader2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4685
4630
|
return !utils.errno.isEnoentCodeError(error) && !this._settings.suppressErrors;
|
|
4686
4631
|
}
|
|
4687
4632
|
};
|
|
4688
|
-
|
|
4633
|
+
exports2.default = Reader;
|
|
4689
4634
|
}
|
|
4690
4635
|
});
|
|
4691
|
-
var require_stream3 = (0,
|
|
4692
|
-
"node_modules/fast-glob/out/readers/stream.js"(
|
|
4636
|
+
var require_stream3 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4637
|
+
"node_modules/fast-glob/out/readers/stream.js"(exports2) {
|
|
4693
4638
|
"use strict";
|
|
4694
|
-
Object.defineProperty(
|
|
4695
|
-
var stream_1 = (0,
|
|
4639
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4640
|
+
var stream_1 = (0, import_chunk_VS2QQHAK.__require)("stream");
|
|
4696
4641
|
var fsStat = require_out();
|
|
4697
4642
|
var fsWalk = require_out3();
|
|
4698
4643
|
var reader_1 = require_reader2();
|
|
@@ -4740,13 +4685,13 @@ var require_stream3 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4740
4685
|
});
|
|
4741
4686
|
}
|
|
4742
4687
|
};
|
|
4743
|
-
|
|
4688
|
+
exports2.default = ReaderStream;
|
|
4744
4689
|
}
|
|
4745
4690
|
});
|
|
4746
|
-
var require_async5 = (0,
|
|
4747
|
-
"node_modules/fast-glob/out/readers/async.js"(
|
|
4691
|
+
var require_async5 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4692
|
+
"node_modules/fast-glob/out/readers/async.js"(exports2) {
|
|
4748
4693
|
"use strict";
|
|
4749
|
-
Object.defineProperty(
|
|
4694
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4750
4695
|
var fsWalk = require_out3();
|
|
4751
4696
|
var reader_1 = require_reader2();
|
|
4752
4697
|
var stream_1 = require_stream3();
|
|
@@ -4777,13 +4722,13 @@ var require_async5 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4777
4722
|
});
|
|
4778
4723
|
}
|
|
4779
4724
|
};
|
|
4780
|
-
|
|
4725
|
+
exports2.default = ReaderAsync;
|
|
4781
4726
|
}
|
|
4782
4727
|
});
|
|
4783
|
-
var require_matcher = (0,
|
|
4784
|
-
"node_modules/fast-glob/out/providers/matchers/matcher.js"(
|
|
4728
|
+
var require_matcher = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4729
|
+
"node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
|
|
4785
4730
|
"use strict";
|
|
4786
|
-
Object.defineProperty(
|
|
4731
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4787
4732
|
var utils = require_utils3();
|
|
4788
4733
|
var Matcher = class {
|
|
4789
4734
|
constructor(_patterns, _settings, _micromatchOptions) {
|
|
@@ -4827,13 +4772,13 @@ var require_matcher = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4827
4772
|
return utils.array.splitWhen(segments, (segment) => segment.dynamic && utils.pattern.hasGlobStar(segment.pattern));
|
|
4828
4773
|
}
|
|
4829
4774
|
};
|
|
4830
|
-
|
|
4775
|
+
exports2.default = Matcher;
|
|
4831
4776
|
}
|
|
4832
4777
|
});
|
|
4833
|
-
var require_partial = (0,
|
|
4834
|
-
"node_modules/fast-glob/out/providers/matchers/partial.js"(
|
|
4778
|
+
var require_partial = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4779
|
+
"node_modules/fast-glob/out/providers/matchers/partial.js"(exports2) {
|
|
4835
4780
|
"use strict";
|
|
4836
|
-
Object.defineProperty(
|
|
4781
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4837
4782
|
var matcher_1 = require_matcher();
|
|
4838
4783
|
var PartialMatcher = class extends matcher_1.default {
|
|
4839
4784
|
match(filepath) {
|
|
@@ -4862,13 +4807,13 @@ var require_partial = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4862
4807
|
return false;
|
|
4863
4808
|
}
|
|
4864
4809
|
};
|
|
4865
|
-
|
|
4810
|
+
exports2.default = PartialMatcher;
|
|
4866
4811
|
}
|
|
4867
4812
|
});
|
|
4868
|
-
var require_deep = (0,
|
|
4869
|
-
"node_modules/fast-glob/out/providers/filters/deep.js"(
|
|
4813
|
+
var require_deep = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4814
|
+
"node_modules/fast-glob/out/providers/filters/deep.js"(exports2) {
|
|
4870
4815
|
"use strict";
|
|
4871
|
-
Object.defineProperty(
|
|
4816
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4872
4817
|
var utils = require_utils3();
|
|
4873
4818
|
var partial_1 = require_partial();
|
|
4874
4819
|
var DeepFilter = class {
|
|
@@ -4925,13 +4870,13 @@ var require_deep = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4925
4870
|
return !utils.pattern.matchAny(entryPath, patternsRe);
|
|
4926
4871
|
}
|
|
4927
4872
|
};
|
|
4928
|
-
|
|
4873
|
+
exports2.default = DeepFilter;
|
|
4929
4874
|
}
|
|
4930
4875
|
});
|
|
4931
|
-
var require_entry = (0,
|
|
4932
|
-
"node_modules/fast-glob/out/providers/filters/entry.js"(
|
|
4876
|
+
var require_entry = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4877
|
+
"node_modules/fast-glob/out/providers/filters/entry.js"(exports2) {
|
|
4933
4878
|
"use strict";
|
|
4934
|
-
Object.defineProperty(
|
|
4879
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4935
4880
|
var utils = require_utils3();
|
|
4936
4881
|
var EntryFilter = class {
|
|
4937
4882
|
constructor(_settings, _micromatchOptions) {
|
|
@@ -4990,13 +4935,13 @@ var require_entry = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
4990
4935
|
return isMatched;
|
|
4991
4936
|
}
|
|
4992
4937
|
};
|
|
4993
|
-
|
|
4938
|
+
exports2.default = EntryFilter;
|
|
4994
4939
|
}
|
|
4995
4940
|
});
|
|
4996
|
-
var require_error = (0,
|
|
4997
|
-
"node_modules/fast-glob/out/providers/filters/error.js"(
|
|
4941
|
+
var require_error = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4942
|
+
"node_modules/fast-glob/out/providers/filters/error.js"(exports2) {
|
|
4998
4943
|
"use strict";
|
|
4999
|
-
Object.defineProperty(
|
|
4944
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5000
4945
|
var utils = require_utils3();
|
|
5001
4946
|
var ErrorFilter = class {
|
|
5002
4947
|
constructor(_settings) {
|
|
@@ -5009,13 +4954,13 @@ var require_error = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5009
4954
|
return utils.errno.isEnoentCodeError(error) || this._settings.suppressErrors;
|
|
5010
4955
|
}
|
|
5011
4956
|
};
|
|
5012
|
-
|
|
4957
|
+
exports2.default = ErrorFilter;
|
|
5013
4958
|
}
|
|
5014
4959
|
});
|
|
5015
|
-
var require_entry2 = (0,
|
|
5016
|
-
"node_modules/fast-glob/out/providers/transformers/entry.js"(
|
|
4960
|
+
var require_entry2 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4961
|
+
"node_modules/fast-glob/out/providers/transformers/entry.js"(exports2) {
|
|
5017
4962
|
"use strict";
|
|
5018
|
-
Object.defineProperty(
|
|
4963
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5019
4964
|
var utils = require_utils3();
|
|
5020
4965
|
var EntryTransformer = class {
|
|
5021
4966
|
constructor(_settings) {
|
|
@@ -5039,14 +4984,14 @@ var require_entry2 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5039
4984
|
return Object.assign(Object.assign({}, entry), { path: filepath });
|
|
5040
4985
|
}
|
|
5041
4986
|
};
|
|
5042
|
-
|
|
4987
|
+
exports2.default = EntryTransformer;
|
|
5043
4988
|
}
|
|
5044
4989
|
});
|
|
5045
|
-
var require_provider = (0,
|
|
5046
|
-
"node_modules/fast-glob/out/providers/provider.js"(
|
|
4990
|
+
var require_provider = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
4991
|
+
"node_modules/fast-glob/out/providers/provider.js"(exports2) {
|
|
5047
4992
|
"use strict";
|
|
5048
|
-
Object.defineProperty(
|
|
5049
|
-
var path2 = (0,
|
|
4993
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4994
|
+
var path2 = (0, import_chunk_VS2QQHAK.__require)("path");
|
|
5050
4995
|
var deep_1 = require_deep();
|
|
5051
4996
|
var entry_1 = require_entry();
|
|
5052
4997
|
var error_1 = require_error();
|
|
@@ -5091,13 +5036,13 @@ var require_provider = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5091
5036
|
};
|
|
5092
5037
|
}
|
|
5093
5038
|
};
|
|
5094
|
-
|
|
5039
|
+
exports2.default = Provider;
|
|
5095
5040
|
}
|
|
5096
5041
|
});
|
|
5097
|
-
var require_async6 = (0,
|
|
5098
|
-
"node_modules/fast-glob/out/providers/async.js"(
|
|
5042
|
+
var require_async6 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
5043
|
+
"node_modules/fast-glob/out/providers/async.js"(exports2) {
|
|
5099
5044
|
"use strict";
|
|
5100
|
-
Object.defineProperty(
|
|
5045
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5101
5046
|
var async_1 = require_async5();
|
|
5102
5047
|
var provider_1 = require_provider();
|
|
5103
5048
|
var ProviderAsync = class extends provider_1.default {
|
|
@@ -5118,14 +5063,14 @@ var require_async6 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5118
5063
|
return this._reader.static(task.patterns, options);
|
|
5119
5064
|
}
|
|
5120
5065
|
};
|
|
5121
|
-
|
|
5066
|
+
exports2.default = ProviderAsync;
|
|
5122
5067
|
}
|
|
5123
5068
|
});
|
|
5124
|
-
var require_stream4 = (0,
|
|
5125
|
-
"node_modules/fast-glob/out/providers/stream.js"(
|
|
5069
|
+
var require_stream4 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
5070
|
+
"node_modules/fast-glob/out/providers/stream.js"(exports2) {
|
|
5126
5071
|
"use strict";
|
|
5127
|
-
Object.defineProperty(
|
|
5128
|
-
var stream_1 = (0,
|
|
5072
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5073
|
+
var stream_1 = (0, import_chunk_VS2QQHAK.__require)("stream");
|
|
5129
5074
|
var stream_2 = require_stream3();
|
|
5130
5075
|
var provider_1 = require_provider();
|
|
5131
5076
|
var ProviderStream = class extends provider_1.default {
|
|
@@ -5150,13 +5095,13 @@ var require_stream4 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5150
5095
|
return this._reader.static(task.patterns, options);
|
|
5151
5096
|
}
|
|
5152
5097
|
};
|
|
5153
|
-
|
|
5098
|
+
exports2.default = ProviderStream;
|
|
5154
5099
|
}
|
|
5155
5100
|
});
|
|
5156
|
-
var require_sync5 = (0,
|
|
5157
|
-
"node_modules/fast-glob/out/readers/sync.js"(
|
|
5101
|
+
var require_sync5 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
5102
|
+
"node_modules/fast-glob/out/readers/sync.js"(exports2) {
|
|
5158
5103
|
"use strict";
|
|
5159
|
-
Object.defineProperty(
|
|
5104
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5160
5105
|
var fsStat = require_out();
|
|
5161
5106
|
var fsWalk = require_out3();
|
|
5162
5107
|
var reader_1 = require_reader2();
|
|
@@ -5196,13 +5141,13 @@ var require_sync5 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5196
5141
|
return this._statSync(filepath, this._fsStatSettings);
|
|
5197
5142
|
}
|
|
5198
5143
|
};
|
|
5199
|
-
|
|
5144
|
+
exports2.default = ReaderSync;
|
|
5200
5145
|
}
|
|
5201
5146
|
});
|
|
5202
|
-
var require_sync6 = (0,
|
|
5203
|
-
"node_modules/fast-glob/out/providers/sync.js"(
|
|
5147
|
+
var require_sync6 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
5148
|
+
"node_modules/fast-glob/out/providers/sync.js"(exports2) {
|
|
5204
5149
|
"use strict";
|
|
5205
|
-
Object.defineProperty(
|
|
5150
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5206
5151
|
var sync_1 = require_sync5();
|
|
5207
5152
|
var provider_1 = require_provider();
|
|
5208
5153
|
var ProviderSync = class extends provider_1.default {
|
|
@@ -5223,18 +5168,18 @@ var require_sync6 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5223
5168
|
return this._reader.static(task.patterns, options);
|
|
5224
5169
|
}
|
|
5225
5170
|
};
|
|
5226
|
-
|
|
5171
|
+
exports2.default = ProviderSync;
|
|
5227
5172
|
}
|
|
5228
5173
|
});
|
|
5229
|
-
var require_settings4 = (0,
|
|
5230
|
-
"node_modules/fast-glob/out/settings.js"(
|
|
5174
|
+
var require_settings4 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
5175
|
+
"node_modules/fast-glob/out/settings.js"(exports2) {
|
|
5231
5176
|
"use strict";
|
|
5232
|
-
Object.defineProperty(
|
|
5233
|
-
|
|
5234
|
-
var fs2 = (0,
|
|
5235
|
-
var os = (0,
|
|
5177
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5178
|
+
exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
5179
|
+
var fs2 = (0, import_chunk_VS2QQHAK.__require)("fs");
|
|
5180
|
+
var os = (0, import_chunk_VS2QQHAK.__require)("os");
|
|
5236
5181
|
var CPU_COUNT = Math.max(os.cpus().length, 1);
|
|
5237
|
-
|
|
5182
|
+
exports2.DEFAULT_FILE_SYSTEM_ADAPTER = {
|
|
5238
5183
|
lstat: fs2.lstat,
|
|
5239
5184
|
lstatSync: fs2.lstatSync,
|
|
5240
5185
|
stat: fs2.stat,
|
|
@@ -5277,14 +5222,14 @@ var require_settings4 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5277
5222
|
return option === void 0 ? value : option;
|
|
5278
5223
|
}
|
|
5279
5224
|
_getFileSystemMethods(methods = {}) {
|
|
5280
|
-
return Object.assign(Object.assign({},
|
|
5225
|
+
return Object.assign(Object.assign({}, exports2.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
|
|
5281
5226
|
}
|
|
5282
5227
|
};
|
|
5283
|
-
|
|
5228
|
+
exports2.default = Settings;
|
|
5284
5229
|
}
|
|
5285
5230
|
});
|
|
5286
|
-
var require_out4 = (0,
|
|
5287
|
-
"node_modules/fast-glob/out/index.js"(
|
|
5231
|
+
var require_out4 = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
5232
|
+
"node_modules/fast-glob/out/index.js"(exports2, module2) {
|
|
5288
5233
|
"use strict";
|
|
5289
5234
|
var taskManager = require_tasks();
|
|
5290
5235
|
var patternManager = require_patterns();
|
|
@@ -5348,8 +5293,8 @@ var require_out4 = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5348
5293
|
module2.exports = FastGlob;
|
|
5349
5294
|
}
|
|
5350
5295
|
});
|
|
5351
|
-
var require_priorityqueuejs = (0,
|
|
5352
|
-
"node_modules/priorityqueuejs/index.js"(
|
|
5296
|
+
var require_priorityqueuejs = (0, import_chunk_VS2QQHAK.__commonJS)({
|
|
5297
|
+
"node_modules/priorityqueuejs/index.js"(exports2, module2) {
|
|
5353
5298
|
module2.exports = PriorityQueue2;
|
|
5354
5299
|
function PriorityQueue2(comparator) {
|
|
5355
5300
|
this._comparator = comparator || PriorityQueue2.DEFAULT_COMPARATOR;
|
|
@@ -5361,8 +5306,7 @@ var require_priorityqueuejs = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5361
5306
|
} else {
|
|
5362
5307
|
a = a.toString();
|
|
5363
5308
|
b = b.toString();
|
|
5364
|
-
if (a == b)
|
|
5365
|
-
return 0;
|
|
5309
|
+
if (a == b) return 0;
|
|
5366
5310
|
return a > b ? 1 : -1;
|
|
5367
5311
|
}
|
|
5368
5312
|
};
|
|
@@ -5370,16 +5314,14 @@ var require_priorityqueuejs = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5370
5314
|
return this.size() === 0;
|
|
5371
5315
|
};
|
|
5372
5316
|
PriorityQueue2.prototype.peek = function() {
|
|
5373
|
-
if (this.isEmpty())
|
|
5374
|
-
throw new Error("PriorityQueue is empty");
|
|
5317
|
+
if (this.isEmpty()) throw new Error("PriorityQueue is empty");
|
|
5375
5318
|
return this._elements[0];
|
|
5376
5319
|
};
|
|
5377
5320
|
PriorityQueue2.prototype.deq = function() {
|
|
5378
5321
|
var first = this.peek();
|
|
5379
5322
|
var last = this._elements.pop();
|
|
5380
5323
|
var size = this.size();
|
|
5381
|
-
if (size === 0)
|
|
5382
|
-
return first;
|
|
5324
|
+
if (size === 0) return first;
|
|
5383
5325
|
this._elements[0] = last;
|
|
5384
5326
|
var current = 0;
|
|
5385
5327
|
while (current < size) {
|
|
@@ -5392,8 +5334,7 @@ var require_priorityqueuejs = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5392
5334
|
if (right < size && this._compare(right, largest) >= 0) {
|
|
5393
5335
|
largest = right;
|
|
5394
5336
|
}
|
|
5395
|
-
if (largest === current)
|
|
5396
|
-
break;
|
|
5337
|
+
if (largest === current) break;
|
|
5397
5338
|
this._swap(largest, current);
|
|
5398
5339
|
current = largest;
|
|
5399
5340
|
}
|
|
@@ -5404,8 +5345,7 @@ var require_priorityqueuejs = (0, import_chunk_ABYVSU2C.__commonJS)({
|
|
|
5404
5345
|
var current = size - 1;
|
|
5405
5346
|
while (current > 0) {
|
|
5406
5347
|
var parent = Math.floor((current - 1) / 2);
|
|
5407
|
-
if (this._compare(current, parent) <= 0)
|
|
5408
|
-
break;
|
|
5348
|
+
if (this._compare(current, parent) <= 0) break;
|
|
5409
5349
|
this._swap(parent, current);
|
|
5410
5350
|
current = parent;
|
|
5411
5351
|
}
|
|
@@ -5497,7 +5437,7 @@ function getLoggerSettings() {
|
|
|
5497
5437
|
return ls;
|
|
5498
5438
|
}
|
|
5499
5439
|
var loggerSettings, loggerLevelOffset, theLogger, banner, logPromise, livePromises;
|
|
5500
|
-
var init_logger = (0,
|
|
5440
|
+
var init_logger = (0, import_chunk_VS2QQHAK.__esm)({
|
|
5501
5441
|
"src/logger.ts"() {
|
|
5502
5442
|
"use strict";
|
|
5503
5443
|
loggerSettings = null;
|
|
@@ -5535,8 +5475,7 @@ function globSome(pattern, predicate, options) {
|
|
|
5535
5475
|
});
|
|
5536
5476
|
}
|
|
5537
5477
|
function forEach(val, fn) {
|
|
5538
|
-
if (!val)
|
|
5539
|
-
return;
|
|
5478
|
+
if (!val) return;
|
|
5540
5479
|
if (Array.isArray(val)) {
|
|
5541
5480
|
val.forEach(fn);
|
|
5542
5481
|
} else {
|
|
@@ -5544,8 +5483,7 @@ function forEach(val, fn) {
|
|
|
5544
5483
|
}
|
|
5545
5484
|
}
|
|
5546
5485
|
function map(val, fn) {
|
|
5547
|
-
if (!val)
|
|
5548
|
-
return [];
|
|
5486
|
+
if (!val) return [];
|
|
5549
5487
|
if (Array.isArray(val)) {
|
|
5550
5488
|
return val.map(fn);
|
|
5551
5489
|
} else {
|
|
@@ -5553,8 +5491,7 @@ function map(val, fn) {
|
|
|
5553
5491
|
}
|
|
5554
5492
|
}
|
|
5555
5493
|
function every(val, fn) {
|
|
5556
|
-
if (!val)
|
|
5557
|
-
return true;
|
|
5494
|
+
if (!val) return true;
|
|
5558
5495
|
if (Array.isArray(val)) {
|
|
5559
5496
|
return val.every(fn);
|
|
5560
5497
|
} else {
|
|
@@ -5562,8 +5499,7 @@ function every(val, fn) {
|
|
|
5562
5499
|
}
|
|
5563
5500
|
}
|
|
5564
5501
|
function some(val, fn) {
|
|
5565
|
-
if (!val)
|
|
5566
|
-
return false;
|
|
5502
|
+
if (!val) return false;
|
|
5567
5503
|
if (Array.isArray(val)) {
|
|
5568
5504
|
return val.some(fn);
|
|
5569
5505
|
} else {
|
|
@@ -5571,8 +5507,7 @@ function some(val, fn) {
|
|
|
5571
5507
|
}
|
|
5572
5508
|
}
|
|
5573
5509
|
function reduce(val, fn, init) {
|
|
5574
|
-
if (!val)
|
|
5575
|
-
return init;
|
|
5510
|
+
if (!val) return init;
|
|
5576
5511
|
if (Array.isArray(val)) {
|
|
5577
5512
|
return val.reduce(fn, init);
|
|
5578
5513
|
} else {
|
|
@@ -5598,8 +5533,7 @@ async function first_modified(inputs) {
|
|
|
5598
5533
|
return Math.min(...await modified_times(inputs, 0));
|
|
5599
5534
|
}
|
|
5600
5535
|
function pushUnique(arr, value) {
|
|
5601
|
-
if (arr.find((v) => v === value) != null)
|
|
5602
|
-
return false;
|
|
5536
|
+
if (arr.find((v) => v === value) != null) return false;
|
|
5603
5537
|
arr.push(value);
|
|
5604
5538
|
return true;
|
|
5605
5539
|
}
|
|
@@ -5623,8 +5557,7 @@ function spawnByLine(command, args, lineHandlers, options) {
|
|
|
5623
5557
|
rle.on("line", errHandler);
|
|
5624
5558
|
rl.on("line", lineHandler);
|
|
5625
5559
|
proc.on("close", (code) => {
|
|
5626
|
-
if (code === 0)
|
|
5627
|
-
resolve();
|
|
5560
|
+
if (code === 0) resolve();
|
|
5628
5561
|
reject(code);
|
|
5629
5562
|
});
|
|
5630
5563
|
});
|
|
@@ -5648,8 +5581,7 @@ async function promiseAll(promiseFn, parallelism) {
|
|
|
5648
5581
|
let i = 0;
|
|
5649
5582
|
const next = () => {
|
|
5650
5583
|
const index = i++;
|
|
5651
|
-
if (done)
|
|
5652
|
-
return null;
|
|
5584
|
+
if (done) return null;
|
|
5653
5585
|
const promise = promiseFn(index);
|
|
5654
5586
|
if (!promise) {
|
|
5655
5587
|
done = true;
|
|
@@ -5703,10 +5635,10 @@ function popcount(x) {
|
|
|
5703
5635
|
return x & 127;
|
|
5704
5636
|
}
|
|
5705
5637
|
var import_fast_glob, import_priorityqueuejs, GenericQueue, AwaitedError;
|
|
5706
|
-
var init_util = (0,
|
|
5638
|
+
var init_util = (0, import_chunk_VS2QQHAK.__esm)({
|
|
5707
5639
|
"src/util.ts"() {
|
|
5708
|
-
import_fast_glob = (0,
|
|
5709
|
-
import_priorityqueuejs = (0,
|
|
5640
|
+
import_fast_glob = (0, import_chunk_VS2QQHAK.__toESM)(require_out4());
|
|
5641
|
+
import_priorityqueuejs = (0, import_chunk_VS2QQHAK.__toESM)(require_priorityqueuejs());
|
|
5710
5642
|
init_logger();
|
|
5711
5643
|
GenericQueue = class {
|
|
5712
5644
|
enqueued = /* @__PURE__ */ new Set();
|