prebundle 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/fast-glob/index.js +299 -316
- package/compiled/fs-extra/index.js +87 -91
- package/compiled/rslog/index.js +21 -22
- package/dist/prebundle.js +6 -2
- package/package.json +3 -3
|
@@ -302,8 +302,8 @@
|
|
|
302
302
|
throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink,
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
|
-
_getValue(option,
|
|
306
|
-
return option !== null && option !== void 0 ? option :
|
|
305
|
+
_getValue(option, value) {
|
|
306
|
+
return option !== null && option !== void 0 ? option : value;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
exports["default"] = Settings;
|
|
@@ -469,8 +469,8 @@
|
|
|
469
469
|
true,
|
|
470
470
|
);
|
|
471
471
|
}
|
|
472
|
-
_getValue(option,
|
|
473
|
-
return option !== null && option !== void 0 ? option :
|
|
472
|
+
_getValue(option, value) {
|
|
473
|
+
return option !== null && option !== void 0 ? option : value;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
exports["default"] = Settings;
|
|
@@ -738,8 +738,8 @@
|
|
|
738
738
|
return !settings.errorFilter(error);
|
|
739
739
|
}
|
|
740
740
|
exports.isFatalError = isFatalError;
|
|
741
|
-
function isAppliedFilter(filter,
|
|
742
|
-
return filter === null || filter(
|
|
741
|
+
function isAppliedFilter(filter, value) {
|
|
742
|
+
return filter === null || filter(value);
|
|
743
743
|
}
|
|
744
744
|
exports.isAppliedFilter = isAppliedFilter;
|
|
745
745
|
function replacePathSegmentSeparator(filepath, separator) {
|
|
@@ -875,13 +875,13 @@
|
|
|
875
875
|
this._options.throwErrorOnBrokenSymbolicLink,
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
|
-
_getValue(option,
|
|
879
|
-
return option !== null && option !== void 0 ? option :
|
|
878
|
+
_getValue(option, value) {
|
|
879
|
+
return option !== null && option !== void 0 ? option : value;
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
882
|
exports["default"] = Settings;
|
|
883
883
|
},
|
|
884
|
-
32: (
|
|
884
|
+
32: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
885
885
|
"use strict";
|
|
886
886
|
const stringify = __nccwpck_require__(1738);
|
|
887
887
|
const compile = __nccwpck_require__(2445);
|
|
@@ -940,9 +940,9 @@
|
|
|
940
940
|
? braces.compile(input, options)
|
|
941
941
|
: braces.expand(input, options);
|
|
942
942
|
};
|
|
943
|
-
|
|
943
|
+
module.exports = braces;
|
|
944
944
|
},
|
|
945
|
-
2445: (
|
|
945
|
+
2445: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
946
946
|
"use strict";
|
|
947
947
|
const fill = __nccwpck_require__(4059);
|
|
948
948
|
const utils = __nccwpck_require__(3230);
|
|
@@ -992,11 +992,11 @@
|
|
|
992
992
|
};
|
|
993
993
|
return walk(ast);
|
|
994
994
|
};
|
|
995
|
-
|
|
995
|
+
module.exports = compile;
|
|
996
996
|
},
|
|
997
|
-
443: (
|
|
997
|
+
443: (module) => {
|
|
998
998
|
"use strict";
|
|
999
|
-
|
|
999
|
+
module.exports = {
|
|
1000
1000
|
MAX_LENGTH: 1024 * 64,
|
|
1001
1001
|
CHAR_0: "0",
|
|
1002
1002
|
CHAR_9: "9",
|
|
@@ -1038,13 +1038,13 @@
|
|
|
1038
1038
|
CHAR_SEMICOLON: ";",
|
|
1039
1039
|
CHAR_SINGLE_QUOTE: "'",
|
|
1040
1040
|
CHAR_SPACE: " ",
|
|
1041
|
-
CHAR_TAB: "
|
|
1041
|
+
CHAR_TAB: "\t",
|
|
1042
1042
|
CHAR_UNDERSCORE: "_",
|
|
1043
1043
|
CHAR_VERTICAL_LINE: "|",
|
|
1044
|
-
CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\
|
|
1044
|
+
CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\ufeff",
|
|
1045
1045
|
};
|
|
1046
1046
|
},
|
|
1047
|
-
1577: (
|
|
1047
|
+
1577: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1048
1048
|
"use strict";
|
|
1049
1049
|
const fill = __nccwpck_require__(4059);
|
|
1050
1050
|
const stringify = __nccwpck_require__(1738);
|
|
@@ -1061,8 +1061,8 @@
|
|
|
1061
1061
|
}
|
|
1062
1062
|
for (let item of queue) {
|
|
1063
1063
|
if (Array.isArray(item)) {
|
|
1064
|
-
for (let
|
|
1065
|
-
result.push(append(
|
|
1064
|
+
for (let value of item) {
|
|
1065
|
+
result.push(append(value, stash, enclose));
|
|
1066
1066
|
}
|
|
1067
1067
|
} else {
|
|
1068
1068
|
for (let ele of stash) {
|
|
@@ -1147,9 +1147,9 @@
|
|
|
1147
1147
|
};
|
|
1148
1148
|
return utils.flatten(walk(ast));
|
|
1149
1149
|
};
|
|
1150
|
-
|
|
1150
|
+
module.exports = expand;
|
|
1151
1151
|
},
|
|
1152
|
-
7702: (
|
|
1152
|
+
7702: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1153
1153
|
"use strict";
|
|
1154
1154
|
const stringify = __nccwpck_require__(1738);
|
|
1155
1155
|
const {
|
|
@@ -1191,7 +1191,7 @@
|
|
|
1191
1191
|
let length = input.length;
|
|
1192
1192
|
let index = 0;
|
|
1193
1193
|
let depth = 0;
|
|
1194
|
-
let
|
|
1194
|
+
let value;
|
|
1195
1195
|
let memo = {};
|
|
1196
1196
|
const advance = () => input[index++];
|
|
1197
1197
|
const push = (node) => {
|
|
@@ -1211,36 +1211,36 @@
|
|
|
1211
1211
|
push({ type: "bos" });
|
|
1212
1212
|
while (index < length) {
|
|
1213
1213
|
block = stack[stack.length - 1];
|
|
1214
|
-
|
|
1214
|
+
value = advance();
|
|
1215
1215
|
if (
|
|
1216
|
-
|
|
1217
|
-
|
|
1216
|
+
value === CHAR_ZERO_WIDTH_NOBREAK_SPACE ||
|
|
1217
|
+
value === CHAR_NO_BREAK_SPACE
|
|
1218
1218
|
) {
|
|
1219
1219
|
continue;
|
|
1220
1220
|
}
|
|
1221
|
-
if (
|
|
1221
|
+
if (value === CHAR_BACKSLASH) {
|
|
1222
1222
|
push({
|
|
1223
1223
|
type: "text",
|
|
1224
|
-
value: (options.keepEscaping ?
|
|
1224
|
+
value: (options.keepEscaping ? value : "") + advance(),
|
|
1225
1225
|
});
|
|
1226
1226
|
continue;
|
|
1227
1227
|
}
|
|
1228
|
-
if (
|
|
1229
|
-
push({ type: "text", value: "\\" +
|
|
1228
|
+
if (value === CHAR_RIGHT_SQUARE_BRACKET) {
|
|
1229
|
+
push({ type: "text", value: "\\" + value });
|
|
1230
1230
|
continue;
|
|
1231
1231
|
}
|
|
1232
|
-
if (
|
|
1232
|
+
if (value === CHAR_LEFT_SQUARE_BRACKET) {
|
|
1233
1233
|
brackets++;
|
|
1234
1234
|
let closed = true;
|
|
1235
1235
|
let next;
|
|
1236
1236
|
while (index < length && (next = advance())) {
|
|
1237
|
-
|
|
1237
|
+
value += next;
|
|
1238
1238
|
if (next === CHAR_LEFT_SQUARE_BRACKET) {
|
|
1239
1239
|
brackets++;
|
|
1240
1240
|
continue;
|
|
1241
1241
|
}
|
|
1242
1242
|
if (next === CHAR_BACKSLASH) {
|
|
1243
|
-
|
|
1243
|
+
value += advance();
|
|
1244
1244
|
continue;
|
|
1245
1245
|
}
|
|
1246
1246
|
if (next === CHAR_RIGHT_SQUARE_BRACKET) {
|
|
@@ -1250,50 +1250,50 @@
|
|
|
1250
1250
|
}
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
|
-
push({ type: "text", value
|
|
1253
|
+
push({ type: "text", value });
|
|
1254
1254
|
continue;
|
|
1255
1255
|
}
|
|
1256
|
-
if (
|
|
1256
|
+
if (value === CHAR_LEFT_PARENTHESES) {
|
|
1257
1257
|
block = push({ type: "paren", nodes: [] });
|
|
1258
1258
|
stack.push(block);
|
|
1259
|
-
push({ type: "text", value
|
|
1259
|
+
push({ type: "text", value });
|
|
1260
1260
|
continue;
|
|
1261
1261
|
}
|
|
1262
|
-
if (
|
|
1262
|
+
if (value === CHAR_RIGHT_PARENTHESES) {
|
|
1263
1263
|
if (block.type !== "paren") {
|
|
1264
|
-
push({ type: "text", value
|
|
1264
|
+
push({ type: "text", value });
|
|
1265
1265
|
continue;
|
|
1266
1266
|
}
|
|
1267
1267
|
block = stack.pop();
|
|
1268
|
-
push({ type: "text", value
|
|
1268
|
+
push({ type: "text", value });
|
|
1269
1269
|
block = stack[stack.length - 1];
|
|
1270
1270
|
continue;
|
|
1271
1271
|
}
|
|
1272
1272
|
if (
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1273
|
+
value === CHAR_DOUBLE_QUOTE ||
|
|
1274
|
+
value === CHAR_SINGLE_QUOTE ||
|
|
1275
|
+
value === CHAR_BACKTICK
|
|
1276
1276
|
) {
|
|
1277
|
-
let open =
|
|
1277
|
+
let open = value;
|
|
1278
1278
|
let next;
|
|
1279
1279
|
if (options.keepQuotes !== true) {
|
|
1280
|
-
|
|
1280
|
+
value = "";
|
|
1281
1281
|
}
|
|
1282
1282
|
while (index < length && (next = advance())) {
|
|
1283
1283
|
if (next === CHAR_BACKSLASH) {
|
|
1284
|
-
|
|
1284
|
+
value += next + advance();
|
|
1285
1285
|
continue;
|
|
1286
1286
|
}
|
|
1287
1287
|
if (next === open) {
|
|
1288
|
-
if (options.keepQuotes === true)
|
|
1288
|
+
if (options.keepQuotes === true) value += next;
|
|
1289
1289
|
break;
|
|
1290
1290
|
}
|
|
1291
|
-
|
|
1291
|
+
value += next;
|
|
1292
1292
|
}
|
|
1293
|
-
push({ type: "text", value
|
|
1293
|
+
push({ type: "text", value });
|
|
1294
1294
|
continue;
|
|
1295
1295
|
}
|
|
1296
|
-
if (
|
|
1296
|
+
if (value === CHAR_LEFT_CURLY_BRACE) {
|
|
1297
1297
|
depth++;
|
|
1298
1298
|
let dollar =
|
|
1299
1299
|
(prev.value && prev.value.slice(-1) === "$") ||
|
|
@@ -1310,41 +1310,41 @@
|
|
|
1310
1310
|
};
|
|
1311
1311
|
block = push(brace);
|
|
1312
1312
|
stack.push(block);
|
|
1313
|
-
push({ type: "open", value
|
|
1313
|
+
push({ type: "open", value });
|
|
1314
1314
|
continue;
|
|
1315
1315
|
}
|
|
1316
|
-
if (
|
|
1316
|
+
if (value === CHAR_RIGHT_CURLY_BRACE) {
|
|
1317
1317
|
if (block.type !== "brace") {
|
|
1318
|
-
push({ type: "text", value
|
|
1318
|
+
push({ type: "text", value });
|
|
1319
1319
|
continue;
|
|
1320
1320
|
}
|
|
1321
1321
|
let type = "close";
|
|
1322
1322
|
block = stack.pop();
|
|
1323
1323
|
block.close = true;
|
|
1324
|
-
push({ type, value
|
|
1324
|
+
push({ type, value });
|
|
1325
1325
|
depth--;
|
|
1326
1326
|
block = stack[stack.length - 1];
|
|
1327
1327
|
continue;
|
|
1328
1328
|
}
|
|
1329
|
-
if (
|
|
1329
|
+
if (value === CHAR_COMMA && depth > 0) {
|
|
1330
1330
|
if (block.ranges > 0) {
|
|
1331
1331
|
block.ranges = 0;
|
|
1332
1332
|
let open = block.nodes.shift();
|
|
1333
1333
|
block.nodes = [open, { type: "text", value: stringify(block) }];
|
|
1334
1334
|
}
|
|
1335
|
-
push({ type: "comma", value
|
|
1335
|
+
push({ type: "comma", value });
|
|
1336
1336
|
block.commas++;
|
|
1337
1337
|
continue;
|
|
1338
1338
|
}
|
|
1339
|
-
if (
|
|
1339
|
+
if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
|
|
1340
1340
|
let siblings = block.nodes;
|
|
1341
1341
|
if (depth === 0 || siblings.length === 0) {
|
|
1342
|
-
push({ type: "text", value
|
|
1342
|
+
push({ type: "text", value });
|
|
1343
1343
|
continue;
|
|
1344
1344
|
}
|
|
1345
1345
|
if (prev.type === "dot") {
|
|
1346
1346
|
block.range = [];
|
|
1347
|
-
prev.value +=
|
|
1347
|
+
prev.value += value;
|
|
1348
1348
|
prev.type = "range";
|
|
1349
1349
|
if (block.nodes.length !== 3 && block.nodes.length !== 5) {
|
|
1350
1350
|
block.invalid = true;
|
|
@@ -1359,15 +1359,15 @@
|
|
|
1359
1359
|
if (prev.type === "range") {
|
|
1360
1360
|
siblings.pop();
|
|
1361
1361
|
let before = siblings[siblings.length - 1];
|
|
1362
|
-
before.value += prev.value +
|
|
1362
|
+
before.value += prev.value + value;
|
|
1363
1363
|
prev = before;
|
|
1364
1364
|
block.ranges--;
|
|
1365
1365
|
continue;
|
|
1366
1366
|
}
|
|
1367
|
-
push({ type: "dot", value
|
|
1367
|
+
push({ type: "dot", value });
|
|
1368
1368
|
continue;
|
|
1369
1369
|
}
|
|
1370
|
-
push({ type: "text", value
|
|
1370
|
+
push({ type: "text", value });
|
|
1371
1371
|
}
|
|
1372
1372
|
do {
|
|
1373
1373
|
block = stack.pop();
|
|
@@ -1388,12 +1388,12 @@
|
|
|
1388
1388
|
push({ type: "eos" });
|
|
1389
1389
|
return ast;
|
|
1390
1390
|
};
|
|
1391
|
-
|
|
1391
|
+
module.exports = parse;
|
|
1392
1392
|
},
|
|
1393
|
-
1738: (
|
|
1393
|
+
1738: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1394
1394
|
"use strict";
|
|
1395
1395
|
const utils = __nccwpck_require__(3230);
|
|
1396
|
-
|
|
1396
|
+
module.exports = (ast, options = {}) => {
|
|
1397
1397
|
let stringify = (node, parent = {}) => {
|
|
1398
1398
|
let invalidBlock =
|
|
1399
1399
|
options.escapeInvalid && utils.isInvalidBrace(parent);
|
|
@@ -1499,7 +1499,7 @@
|
|
|
1499
1499
|
return result;
|
|
1500
1500
|
};
|
|
1501
1501
|
},
|
|
1502
|
-
6581: (
|
|
1502
|
+
6581: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1503
1503
|
"use strict";
|
|
1504
1504
|
const taskManager = __nccwpck_require__(1789);
|
|
1505
1505
|
const async_1 = __nccwpck_require__(5728);
|
|
@@ -1598,7 +1598,7 @@
|
|
|
1598
1598
|
);
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
|
-
|
|
1601
|
+
module.exports = FastGlob;
|
|
1602
1602
|
},
|
|
1603
1603
|
1789: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1604
1604
|
"use strict";
|
|
@@ -1719,14 +1719,9 @@
|
|
|
1719
1719
|
}
|
|
1720
1720
|
exports.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
1721
1721
|
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
1722
|
-
return Object.keys(positive).map((base) =>
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
positive[base],
|
|
1726
|
-
negative,
|
|
1727
|
-
dynamic,
|
|
1728
|
-
);
|
|
1729
|
-
});
|
|
1722
|
+
return Object.keys(positive).map((base) =>
|
|
1723
|
+
convertPatternGroupToTask(base, positive[base], negative, dynamic),
|
|
1724
|
+
);
|
|
1730
1725
|
}
|
|
1731
1726
|
exports.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
|
|
1732
1727
|
function convertPatternGroupToTask(base, positive, negative, dynamic) {
|
|
@@ -2272,8 +2267,8 @@
|
|
|
2272
2267
|
static(patterns, options) {
|
|
2273
2268
|
const filepaths = patterns.map(this._getFullEntryPath, this);
|
|
2274
2269
|
const stream = new stream_1.PassThrough({ objectMode: true });
|
|
2275
|
-
stream._write = (index, _enc, done) =>
|
|
2276
|
-
|
|
2270
|
+
stream._write = (index, _enc, done) =>
|
|
2271
|
+
this._getEntry(filepaths[index], patterns[index], options)
|
|
2277
2272
|
.then((entry) => {
|
|
2278
2273
|
if (entry !== null && options.entryFilter(entry)) {
|
|
2279
2274
|
stream.push(entry);
|
|
@@ -2284,7 +2279,6 @@
|
|
|
2284
2279
|
done();
|
|
2285
2280
|
})
|
|
2286
2281
|
.catch(done);
|
|
2287
|
-
};
|
|
2288
2282
|
for (let i = 0; i < filepaths.length; i++) {
|
|
2289
2283
|
stream.write(i);
|
|
2290
2284
|
}
|
|
@@ -2302,9 +2296,9 @@
|
|
|
2302
2296
|
}
|
|
2303
2297
|
_getStat(filepath) {
|
|
2304
2298
|
return new Promise((resolve, reject) => {
|
|
2305
|
-
this._stat(filepath, this._fsStatSettings, (error, stats) =>
|
|
2306
|
-
|
|
2307
|
-
|
|
2299
|
+
this._stat(filepath, this._fsStatSettings, (error, stats) =>
|
|
2300
|
+
error === null ? resolve(stats) : reject(error),
|
|
2301
|
+
);
|
|
2308
2302
|
});
|
|
2309
2303
|
}
|
|
2310
2304
|
}
|
|
@@ -2428,8 +2422,8 @@
|
|
|
2428
2422
|
}
|
|
2429
2423
|
this.ignore = [].concat(this.ignore);
|
|
2430
2424
|
}
|
|
2431
|
-
_getValue(option,
|
|
2432
|
-
return option === undefined ?
|
|
2425
|
+
_getValue(option, value) {
|
|
2426
|
+
return option === undefined ? value : option;
|
|
2433
2427
|
}
|
|
2434
2428
|
_getFileSystemMethods(methods = {}) {
|
|
2435
2429
|
return Object.assign(
|
|
@@ -2732,9 +2726,11 @@
|
|
|
2732
2726
|
}
|
|
2733
2727
|
exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
|
|
2734
2728
|
function expandPatternsWithBraceExpansion(patterns) {
|
|
2735
|
-
return patterns.reduce(
|
|
2736
|
-
|
|
2737
|
-
|
|
2729
|
+
return patterns.reduce(
|
|
2730
|
+
(collection, pattern) =>
|
|
2731
|
+
collection.concat(expandBraceExpansion(pattern)),
|
|
2732
|
+
[],
|
|
2733
|
+
);
|
|
2738
2734
|
}
|
|
2739
2735
|
exports.expandPatternsWithBraceExpansion =
|
|
2740
2736
|
expandPatternsWithBraceExpansion;
|
|
@@ -2812,7 +2808,7 @@
|
|
|
2812
2808
|
}
|
|
2813
2809
|
exports.isEmpty = isEmpty;
|
|
2814
2810
|
},
|
|
2815
|
-
3550: (
|
|
2811
|
+
3550: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2816
2812
|
"use strict";
|
|
2817
2813
|
var reusify = __nccwpck_require__(7728);
|
|
2818
2814
|
function fastqueue(context, worker, _concurrency) {
|
|
@@ -2832,10 +2828,10 @@
|
|
|
2832
2828
|
var _running = 0;
|
|
2833
2829
|
var errorHandler = null;
|
|
2834
2830
|
var self = {
|
|
2835
|
-
push
|
|
2831
|
+
push,
|
|
2836
2832
|
drain: noop,
|
|
2837
2833
|
saturated: noop,
|
|
2838
|
-
pause
|
|
2834
|
+
pause,
|
|
2839
2835
|
paused: false,
|
|
2840
2836
|
get concurrency() {
|
|
2841
2837
|
return _concurrency;
|
|
@@ -2853,16 +2849,16 @@
|
|
|
2853
2849
|
release();
|
|
2854
2850
|
}
|
|
2855
2851
|
},
|
|
2856
|
-
running
|
|
2857
|
-
resume
|
|
2858
|
-
idle
|
|
2859
|
-
length
|
|
2860
|
-
getQueue
|
|
2861
|
-
unshift
|
|
2852
|
+
running,
|
|
2853
|
+
resume,
|
|
2854
|
+
idle,
|
|
2855
|
+
length,
|
|
2856
|
+
getQueue,
|
|
2857
|
+
unshift,
|
|
2862
2858
|
empty: noop,
|
|
2863
|
-
kill
|
|
2864
|
-
killAndDrain
|
|
2865
|
-
error
|
|
2859
|
+
kill,
|
|
2860
|
+
killAndDrain,
|
|
2861
|
+
error,
|
|
2866
2862
|
};
|
|
2867
2863
|
return self;
|
|
2868
2864
|
function running() {
|
|
@@ -2905,11 +2901,11 @@
|
|
|
2905
2901
|
function idle() {
|
|
2906
2902
|
return _running === 0 && self.length() === 0;
|
|
2907
2903
|
}
|
|
2908
|
-
function push(
|
|
2904
|
+
function push(value, done) {
|
|
2909
2905
|
var current = cache.get();
|
|
2910
2906
|
current.context = context;
|
|
2911
2907
|
current.release = release;
|
|
2912
|
-
current.value =
|
|
2908
|
+
current.value = value;
|
|
2913
2909
|
current.callback = done || noop;
|
|
2914
2910
|
current.errorHandler = errorHandler;
|
|
2915
2911
|
if (_running >= _concurrency || self.paused) {
|
|
@@ -2926,11 +2922,11 @@
|
|
|
2926
2922
|
worker.call(context, current.value, current.worked);
|
|
2927
2923
|
}
|
|
2928
2924
|
}
|
|
2929
|
-
function unshift(
|
|
2925
|
+
function unshift(value, done) {
|
|
2930
2926
|
var current = cache.get();
|
|
2931
2927
|
current.context = context;
|
|
2932
2928
|
current.release = release;
|
|
2933
|
-
current.value =
|
|
2929
|
+
current.value = value;
|
|
2934
2930
|
current.callback = done || noop;
|
|
2935
2931
|
current.errorHandler = errorHandler;
|
|
2936
2932
|
if (_running >= _concurrency || self.paused) {
|
|
@@ -3025,9 +3021,9 @@
|
|
|
3025
3021
|
queue.unshift = unshift;
|
|
3026
3022
|
queue.drained = drained;
|
|
3027
3023
|
return queue;
|
|
3028
|
-
function push(
|
|
3024
|
+
function push(value) {
|
|
3029
3025
|
var p = new Promise(function (resolve, reject) {
|
|
3030
|
-
pushCb(
|
|
3026
|
+
pushCb(value, function (err, result) {
|
|
3031
3027
|
if (err) {
|
|
3032
3028
|
reject(err);
|
|
3033
3029
|
return;
|
|
@@ -3038,9 +3034,9 @@
|
|
|
3038
3034
|
p.catch(noop);
|
|
3039
3035
|
return p;
|
|
3040
3036
|
}
|
|
3041
|
-
function unshift(
|
|
3037
|
+
function unshift(value) {
|
|
3042
3038
|
var p = new Promise(function (resolve, reject) {
|
|
3043
|
-
unshiftCb(
|
|
3039
|
+
unshiftCb(value, function (err, result) {
|
|
3044
3040
|
if (err) {
|
|
3045
3041
|
reject(err);
|
|
3046
3042
|
return;
|
|
@@ -3067,10 +3063,10 @@
|
|
|
3067
3063
|
return p;
|
|
3068
3064
|
}
|
|
3069
3065
|
}
|
|
3070
|
-
|
|
3071
|
-
|
|
3066
|
+
module.exports = fastqueue;
|
|
3067
|
+
module.exports.promise = queueAsPromised;
|
|
3072
3068
|
},
|
|
3073
|
-
4059: (
|
|
3069
|
+
4059: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3074
3070
|
"use strict";
|
|
3075
3071
|
/*!
|
|
3076
3072
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
@@ -3081,23 +3077,18 @@
|
|
|
3081
3077
|
const toRegexRange = __nccwpck_require__(7513);
|
|
3082
3078
|
const isObject = (val) =>
|
|
3083
3079
|
val !== null && typeof val === "object" && !Array.isArray(val);
|
|
3084
|
-
const transform = (toNumber) =>
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
return (
|
|
3090
|
-
typeof value1 === "number" ||
|
|
3091
|
-
(typeof value1 === "string" && value1 !== "")
|
|
3092
|
-
);
|
|
3093
|
-
};
|
|
3080
|
+
const transform = (toNumber) => (value) =>
|
|
3081
|
+
toNumber === true ? Number(value) : String(value);
|
|
3082
|
+
const isValidValue = (value) =>
|
|
3083
|
+
typeof value === "number" ||
|
|
3084
|
+
(typeof value === "string" && value !== "");
|
|
3094
3085
|
const isNumber = (num) => Number.isInteger(+num);
|
|
3095
3086
|
const zeros = (input) => {
|
|
3096
|
-
let
|
|
3087
|
+
let value = `${input}`;
|
|
3097
3088
|
let index = -1;
|
|
3098
|
-
if (
|
|
3099
|
-
if (
|
|
3100
|
-
while (
|
|
3089
|
+
if (value[0] === "-") value = value.slice(1);
|
|
3090
|
+
if (value === "0") return false;
|
|
3091
|
+
while (value[++index] === "0");
|
|
3101
3092
|
return index > 0;
|
|
3102
3093
|
};
|
|
3103
3094
|
const stringify = (start, end, options) => {
|
|
@@ -3166,11 +3157,8 @@
|
|
|
3166
3157
|
}
|
|
3167
3158
|
return toRegexRange(start, end, options);
|
|
3168
3159
|
};
|
|
3169
|
-
const rangeError = (...args) =>
|
|
3170
|
-
|
|
3171
|
-
"Invalid range arguments: " + util.inspect(...args),
|
|
3172
|
-
);
|
|
3173
|
-
};
|
|
3160
|
+
const rangeError = (...args) =>
|
|
3161
|
+
new RangeError("Invalid range arguments: " + util.inspect(...args));
|
|
3174
3162
|
const invalidRange = (start, end, options) => {
|
|
3175
3163
|
if (options.strictRanges === true) throw rangeError([start, end]);
|
|
3176
3164
|
return [];
|
|
@@ -3285,9 +3273,9 @@
|
|
|
3285
3273
|
}
|
|
3286
3274
|
return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);
|
|
3287
3275
|
};
|
|
3288
|
-
|
|
3276
|
+
module.exports = fill;
|
|
3289
3277
|
},
|
|
3290
|
-
862: (
|
|
3278
|
+
862: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3291
3279
|
"use strict";
|
|
3292
3280
|
var isGlob = __nccwpck_require__(7429);
|
|
3293
3281
|
var pathPosixDirname = __nccwpck_require__(1017).posix.dirname;
|
|
@@ -3297,7 +3285,7 @@
|
|
|
3297
3285
|
var enclosure = /[\{\[].*[\}\]]$/;
|
|
3298
3286
|
var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
|
|
3299
3287
|
var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
|
|
3300
|
-
|
|
3288
|
+
module.exports = function globParent(str, opts) {
|
|
3301
3289
|
var options = Object.assign({ flipBackslashes: true }, opts);
|
|
3302
3290
|
if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
|
|
3303
3291
|
str = str.replace(backslash, slash);
|
|
@@ -3312,13 +3300,14 @@
|
|
|
3312
3300
|
return str.replace(escaped, "$1");
|
|
3313
3301
|
};
|
|
3314
3302
|
},
|
|
3315
|
-
5327: (
|
|
3303
|
+
5327: (module) => {
|
|
3316
3304
|
/*!
|
|
3317
3305
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
3318
3306
|
*
|
|
3319
3307
|
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
3320
3308
|
* Licensed under the MIT License.
|
|
3321
|
-
*/
|
|
3309
|
+
*/
|
|
3310
|
+
module.exports = function isExtglob(str) {
|
|
3322
3311
|
if (typeof str !== "string" || str === "") {
|
|
3323
3312
|
return false;
|
|
3324
3313
|
}
|
|
@@ -3330,13 +3319,14 @@
|
|
|
3330
3319
|
return false;
|
|
3331
3320
|
};
|
|
3332
3321
|
},
|
|
3333
|
-
7429: (
|
|
3322
|
+
7429: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3334
3323
|
/*!
|
|
3335
3324
|
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
3336
3325
|
*
|
|
3337
3326
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
3338
3327
|
* Released under the MIT License.
|
|
3339
|
-
*/
|
|
3328
|
+
*/
|
|
3329
|
+
var isExtglob = __nccwpck_require__(5327);
|
|
3340
3330
|
var chars = { "{": "}", "(": ")", "[": "]" };
|
|
3341
3331
|
var strictCheck = function (str) {
|
|
3342
3332
|
if (str[0] === "!") {
|
|
@@ -3466,7 +3456,7 @@
|
|
|
3466
3456
|
}
|
|
3467
3457
|
return false;
|
|
3468
3458
|
};
|
|
3469
|
-
|
|
3459
|
+
module.exports = function isGlob(str, options) {
|
|
3470
3460
|
if (typeof str !== "string" || str === "") {
|
|
3471
3461
|
return false;
|
|
3472
3462
|
}
|
|
@@ -3480,14 +3470,14 @@
|
|
|
3480
3470
|
return check(str);
|
|
3481
3471
|
};
|
|
3482
3472
|
},
|
|
3483
|
-
7378: (
|
|
3473
|
+
7378: (module) => {
|
|
3484
3474
|
"use strict";
|
|
3485
3475
|
/*!
|
|
3486
3476
|
* is-number <https://github.com/jonschlinkert/is-number>
|
|
3487
3477
|
*
|
|
3488
3478
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
3489
3479
|
* Released under the MIT License.
|
|
3490
|
-
*/
|
|
3480
|
+
*/ module.exports = function (num) {
|
|
3491
3481
|
if (typeof num === "number") {
|
|
3492
3482
|
return num - num === 0;
|
|
3493
3483
|
}
|
|
@@ -3497,12 +3487,12 @@
|
|
|
3497
3487
|
return false;
|
|
3498
3488
|
};
|
|
3499
3489
|
},
|
|
3500
|
-
7033: (
|
|
3490
|
+
7033: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3501
3491
|
"use strict";
|
|
3502
3492
|
const Stream = __nccwpck_require__(2781);
|
|
3503
3493
|
const PassThrough = Stream.PassThrough;
|
|
3504
3494
|
const slice = Array.prototype.slice;
|
|
3505
|
-
|
|
3495
|
+
module.exports = merge2;
|
|
3506
3496
|
function merge2() {
|
|
3507
3497
|
const streamsQueue = [];
|
|
3508
3498
|
const args = slice.call(arguments);
|
|
@@ -3612,7 +3602,7 @@
|
|
|
3612
3602
|
return streams;
|
|
3613
3603
|
}
|
|
3614
3604
|
},
|
|
3615
|
-
3886: (
|
|
3605
|
+
3886: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3616
3606
|
"use strict";
|
|
3617
3607
|
const util = __nccwpck_require__(3837);
|
|
3618
3608
|
const braces = __nccwpck_require__(32);
|
|
@@ -3779,13 +3769,13 @@
|
|
|
3779
3769
|
throw new TypeError("Expected a string");
|
|
3780
3770
|
return micromatch.braces(pattern, { ...options, expand: true });
|
|
3781
3771
|
};
|
|
3782
|
-
|
|
3772
|
+
module.exports = micromatch;
|
|
3783
3773
|
},
|
|
3784
|
-
4317: (
|
|
3774
|
+
4317: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3785
3775
|
"use strict";
|
|
3786
|
-
|
|
3776
|
+
module.exports = __nccwpck_require__(4181);
|
|
3787
3777
|
},
|
|
3788
|
-
7682: (
|
|
3778
|
+
7682: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3789
3779
|
"use strict";
|
|
3790
3780
|
const path = __nccwpck_require__(1017);
|
|
3791
3781
|
const WIN_SLASH = "\\\\/";
|
|
@@ -3852,7 +3842,7 @@
|
|
|
3852
3842
|
word: "A-Za-z0-9_",
|
|
3853
3843
|
xdigit: "A-Fa-f0-9",
|
|
3854
3844
|
};
|
|
3855
|
-
|
|
3845
|
+
module.exports = {
|
|
3856
3846
|
MAX_LENGTH: 1024 * 64,
|
|
3857
3847
|
POSIX_REGEX_SOURCE,
|
|
3858
3848
|
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
@@ -3924,7 +3914,7 @@
|
|
|
3924
3914
|
},
|
|
3925
3915
|
};
|
|
3926
3916
|
},
|
|
3927
|
-
5018: (
|
|
3917
|
+
5018: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3928
3918
|
"use strict";
|
|
3929
3919
|
const constants = __nccwpck_require__(7682);
|
|
3930
3920
|
const utils = __nccwpck_require__(6807);
|
|
@@ -3940,17 +3930,16 @@
|
|
|
3940
3930
|
return options.expandRange(...args, options);
|
|
3941
3931
|
}
|
|
3942
3932
|
args.sort();
|
|
3943
|
-
const
|
|
3933
|
+
const value = `[${args.join("-")}]`;
|
|
3944
3934
|
try {
|
|
3945
|
-
new RegExp(
|
|
3935
|
+
new RegExp(value);
|
|
3946
3936
|
} catch (ex) {
|
|
3947
3937
|
return args.map((v) => utils.escapeRegex(v)).join("..");
|
|
3948
3938
|
}
|
|
3949
|
-
return
|
|
3950
|
-
};
|
|
3951
|
-
const syntaxError = (type, char) => {
|
|
3952
|
-
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
3939
|
+
return value;
|
|
3953
3940
|
};
|
|
3941
|
+
const syntaxError = (type, char) =>
|
|
3942
|
+
`Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
3954
3943
|
const parse = (input, options) => {
|
|
3955
3944
|
if (typeof input !== "string") {
|
|
3956
3945
|
throw new TypeError("Expected a string");
|
|
@@ -3987,9 +3976,8 @@
|
|
|
3987
3976
|
STAR,
|
|
3988
3977
|
START_ANCHOR,
|
|
3989
3978
|
} = PLATFORM_CHARS;
|
|
3990
|
-
const globstar = (opts) =>
|
|
3991
|
-
|
|
3992
|
-
};
|
|
3979
|
+
const globstar = (opts) =>
|
|
3980
|
+
`(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
|
|
3993
3981
|
const nodot = opts.dot ? "" : NO_DOT;
|
|
3994
3982
|
const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;
|
|
3995
3983
|
let star = opts.bash === true ? globstar(opts) : STAR;
|
|
@@ -4022,13 +4010,13 @@
|
|
|
4022
4010
|
const braces = [];
|
|
4023
4011
|
const stack = [];
|
|
4024
4012
|
let prev = bos;
|
|
4025
|
-
let
|
|
4013
|
+
let value;
|
|
4026
4014
|
const eos = () => state.index === len - 1;
|
|
4027
4015
|
const peek = (state.peek = (n = 1) => input[state.index + n]);
|
|
4028
4016
|
const advance = (state.advance = () => input[++state.index] || "");
|
|
4029
4017
|
const remaining = () => input.slice(state.index + 1);
|
|
4030
|
-
const consume = (
|
|
4031
|
-
state.consumed +=
|
|
4018
|
+
const consume = (value = "", num = 0) => {
|
|
4019
|
+
state.consumed += value;
|
|
4032
4020
|
state.index += num;
|
|
4033
4021
|
};
|
|
4034
4022
|
const append = (token) => {
|
|
@@ -4092,14 +4080,14 @@
|
|
|
4092
4080
|
tokens.push(tok);
|
|
4093
4081
|
prev = tok;
|
|
4094
4082
|
};
|
|
4095
|
-
const extglobOpen = (type,
|
|
4096
|
-
const token = { ...EXTGLOB_CHARS[
|
|
4083
|
+
const extglobOpen = (type, value) => {
|
|
4084
|
+
const token = { ...EXTGLOB_CHARS[value], conditions: 1, inner: "" };
|
|
4097
4085
|
token.prev = prev;
|
|
4098
4086
|
token.parens = state.parens;
|
|
4099
4087
|
token.output = state.output;
|
|
4100
4088
|
const output = (opts.capture ? "(" : "") + token.open;
|
|
4101
4089
|
increment("parens");
|
|
4102
|
-
push({ type, value
|
|
4090
|
+
push({ type, value, output: state.output ? "" : ONE_CHAR });
|
|
4103
4091
|
push({ type: "paren", extglob: true, value: advance(), output });
|
|
4104
4092
|
extglobs.push(token);
|
|
4105
4093
|
};
|
|
@@ -4133,7 +4121,7 @@
|
|
|
4133
4121
|
state.negatedExtglob = true;
|
|
4134
4122
|
}
|
|
4135
4123
|
}
|
|
4136
|
-
push({ type: "paren", extglob: true, value
|
|
4124
|
+
push({ type: "paren", extglob: true, value, output });
|
|
4137
4125
|
decrement("parens");
|
|
4138
4126
|
};
|
|
4139
4127
|
if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) {
|
|
@@ -4170,9 +4158,9 @@
|
|
|
4170
4158
|
if (opts.unescape === true) {
|
|
4171
4159
|
output = output.replace(/\\/g, "");
|
|
4172
4160
|
} else {
|
|
4173
|
-
output = output.replace(/\\+/g, (m) =>
|
|
4174
|
-
|
|
4175
|
-
|
|
4161
|
+
output = output.replace(/\\+/g, (m) =>
|
|
4162
|
+
m.length % 2 === 0 ? "\\\\" : m ? "\\" : "",
|
|
4163
|
+
);
|
|
4176
4164
|
}
|
|
4177
4165
|
}
|
|
4178
4166
|
if (output === input && opts.contains === true) {
|
|
@@ -4183,11 +4171,11 @@
|
|
|
4183
4171
|
return state;
|
|
4184
4172
|
}
|
|
4185
4173
|
while (!eos()) {
|
|
4186
|
-
|
|
4187
|
-
if (
|
|
4174
|
+
value = advance();
|
|
4175
|
+
if (value === "\0") {
|
|
4188
4176
|
continue;
|
|
4189
4177
|
}
|
|
4190
|
-
if (
|
|
4178
|
+
if (value === "\\") {
|
|
4191
4179
|
const next = peek();
|
|
4192
4180
|
if (next === "/" && opts.bash !== true) {
|
|
4193
4181
|
continue;
|
|
@@ -4196,8 +4184,8 @@
|
|
|
4196
4184
|
continue;
|
|
4197
4185
|
}
|
|
4198
4186
|
if (!next) {
|
|
4199
|
-
|
|
4200
|
-
push({ type: "text", value
|
|
4187
|
+
value += "\\";
|
|
4188
|
+
push({ type: "text", value });
|
|
4201
4189
|
continue;
|
|
4202
4190
|
}
|
|
4203
4191
|
const match = /^\\+/.exec(remaining());
|
|
@@ -4206,24 +4194,24 @@
|
|
|
4206
4194
|
slashes = match[0].length;
|
|
4207
4195
|
state.index += slashes;
|
|
4208
4196
|
if (slashes % 2 !== 0) {
|
|
4209
|
-
|
|
4197
|
+
value += "\\";
|
|
4210
4198
|
}
|
|
4211
4199
|
}
|
|
4212
4200
|
if (opts.unescape === true) {
|
|
4213
|
-
|
|
4201
|
+
value = advance();
|
|
4214
4202
|
} else {
|
|
4215
|
-
|
|
4203
|
+
value += advance();
|
|
4216
4204
|
}
|
|
4217
4205
|
if (state.brackets === 0) {
|
|
4218
|
-
push({ type: "text", value
|
|
4206
|
+
push({ type: "text", value });
|
|
4219
4207
|
continue;
|
|
4220
4208
|
}
|
|
4221
4209
|
}
|
|
4222
4210
|
if (
|
|
4223
4211
|
state.brackets > 0 &&
|
|
4224
|
-
(
|
|
4212
|
+
(value !== "]" || prev.value === "[" || prev.value === "[^")
|
|
4225
4213
|
) {
|
|
4226
|
-
if (opts.posix !== false &&
|
|
4214
|
+
if (opts.posix !== false && value === ":") {
|
|
4227
4215
|
const inner = prev.value.slice(1);
|
|
4228
4216
|
if (inner.includes("[")) {
|
|
4229
4217
|
prev.posix = true;
|
|
@@ -4245,40 +4233,40 @@
|
|
|
4245
4233
|
}
|
|
4246
4234
|
}
|
|
4247
4235
|
if (
|
|
4248
|
-
(
|
|
4249
|
-
(
|
|
4236
|
+
(value === "[" && peek() !== ":") ||
|
|
4237
|
+
(value === "-" && peek() === "]")
|
|
4250
4238
|
) {
|
|
4251
|
-
|
|
4239
|
+
value = `\\${value}`;
|
|
4252
4240
|
}
|
|
4253
|
-
if (
|
|
4254
|
-
|
|
4241
|
+
if (value === "]" && (prev.value === "[" || prev.value === "[^")) {
|
|
4242
|
+
value = `\\${value}`;
|
|
4255
4243
|
}
|
|
4256
|
-
if (opts.posix === true &&
|
|
4257
|
-
|
|
4244
|
+
if (opts.posix === true && value === "!" && prev.value === "[") {
|
|
4245
|
+
value = "^";
|
|
4258
4246
|
}
|
|
4259
|
-
prev.value +=
|
|
4260
|
-
append({ value
|
|
4247
|
+
prev.value += value;
|
|
4248
|
+
append({ value });
|
|
4261
4249
|
continue;
|
|
4262
4250
|
}
|
|
4263
|
-
if (state.quotes === 1 &&
|
|
4264
|
-
|
|
4265
|
-
prev.value +=
|
|
4266
|
-
append({ value
|
|
4251
|
+
if (state.quotes === 1 && value !== '"') {
|
|
4252
|
+
value = utils.escapeRegex(value);
|
|
4253
|
+
prev.value += value;
|
|
4254
|
+
append({ value });
|
|
4267
4255
|
continue;
|
|
4268
4256
|
}
|
|
4269
|
-
if (
|
|
4257
|
+
if (value === '"') {
|
|
4270
4258
|
state.quotes = state.quotes === 1 ? 0 : 1;
|
|
4271
4259
|
if (opts.keepQuotes === true) {
|
|
4272
|
-
push({ type: "text", value
|
|
4260
|
+
push({ type: "text", value });
|
|
4273
4261
|
}
|
|
4274
4262
|
continue;
|
|
4275
4263
|
}
|
|
4276
|
-
if (
|
|
4264
|
+
if (value === "(") {
|
|
4277
4265
|
increment("parens");
|
|
4278
|
-
push({ type: "paren", value
|
|
4266
|
+
push({ type: "paren", value });
|
|
4279
4267
|
continue;
|
|
4280
4268
|
}
|
|
4281
|
-
if (
|
|
4269
|
+
if (value === ")") {
|
|
4282
4270
|
if (state.parens === 0 && opts.strictBrackets === true) {
|
|
4283
4271
|
throw new SyntaxError(syntaxError("opening", "("));
|
|
4284
4272
|
}
|
|
@@ -4287,39 +4275,35 @@
|
|
|
4287
4275
|
extglobClose(extglobs.pop());
|
|
4288
4276
|
continue;
|
|
4289
4277
|
}
|
|
4290
|
-
push({
|
|
4291
|
-
type: "paren",
|
|
4292
|
-
value: value1,
|
|
4293
|
-
output: state.parens ? ")" : "\\)",
|
|
4294
|
-
});
|
|
4278
|
+
push({ type: "paren", value, output: state.parens ? ")" : "\\)" });
|
|
4295
4279
|
decrement("parens");
|
|
4296
4280
|
continue;
|
|
4297
4281
|
}
|
|
4298
|
-
if (
|
|
4282
|
+
if (value === "[") {
|
|
4299
4283
|
if (opts.nobracket === true || !remaining().includes("]")) {
|
|
4300
4284
|
if (opts.nobracket !== true && opts.strictBrackets === true) {
|
|
4301
4285
|
throw new SyntaxError(syntaxError("closing", "]"));
|
|
4302
4286
|
}
|
|
4303
|
-
|
|
4287
|
+
value = `\\${value}`;
|
|
4304
4288
|
} else {
|
|
4305
4289
|
increment("brackets");
|
|
4306
4290
|
}
|
|
4307
|
-
push({ type: "bracket", value
|
|
4291
|
+
push({ type: "bracket", value });
|
|
4308
4292
|
continue;
|
|
4309
4293
|
}
|
|
4310
|
-
if (
|
|
4294
|
+
if (value === "]") {
|
|
4311
4295
|
if (
|
|
4312
4296
|
opts.nobracket === true ||
|
|
4313
4297
|
(prev && prev.type === "bracket" && prev.value.length === 1)
|
|
4314
4298
|
) {
|
|
4315
|
-
push({ type: "text", value
|
|
4299
|
+
push({ type: "text", value, output: `\\${value}` });
|
|
4316
4300
|
continue;
|
|
4317
4301
|
}
|
|
4318
4302
|
if (state.brackets === 0) {
|
|
4319
4303
|
if (opts.strictBrackets === true) {
|
|
4320
4304
|
throw new SyntaxError(syntaxError("opening", "["));
|
|
4321
4305
|
}
|
|
4322
|
-
push({ type: "text", value
|
|
4306
|
+
push({ type: "text", value, output: `\\${value}` });
|
|
4323
4307
|
continue;
|
|
4324
4308
|
}
|
|
4325
4309
|
decrement("brackets");
|
|
@@ -4329,10 +4313,10 @@
|
|
|
4329
4313
|
prevValue[0] === "^" &&
|
|
4330
4314
|
!prevValue.includes("/")
|
|
4331
4315
|
) {
|
|
4332
|
-
|
|
4316
|
+
value = `/${value}`;
|
|
4333
4317
|
}
|
|
4334
|
-
prev.value +=
|
|
4335
|
-
append({ value
|
|
4318
|
+
prev.value += value;
|
|
4319
|
+
append({ value });
|
|
4336
4320
|
if (
|
|
4337
4321
|
opts.literalBrackets === false ||
|
|
4338
4322
|
utils.hasRegexChars(prevValue)
|
|
@@ -4350,11 +4334,11 @@
|
|
|
4350
4334
|
state.output += prev.value;
|
|
4351
4335
|
continue;
|
|
4352
4336
|
}
|
|
4353
|
-
if (
|
|
4337
|
+
if (value === "{" && opts.nobrace !== true) {
|
|
4354
4338
|
increment("braces");
|
|
4355
4339
|
const open = {
|
|
4356
4340
|
type: "brace",
|
|
4357
|
-
value
|
|
4341
|
+
value,
|
|
4358
4342
|
output: "(",
|
|
4359
4343
|
outputIndex: state.output.length,
|
|
4360
4344
|
tokensIndex: state.tokens.length,
|
|
@@ -4363,10 +4347,10 @@
|
|
|
4363
4347
|
push(open);
|
|
4364
4348
|
continue;
|
|
4365
4349
|
}
|
|
4366
|
-
if (
|
|
4350
|
+
if (value === "}") {
|
|
4367
4351
|
const brace = braces[braces.length - 1];
|
|
4368
4352
|
if (opts.nobrace === true || !brace) {
|
|
4369
|
-
push({ type: "text", value
|
|
4353
|
+
push({ type: "text", value, output: value });
|
|
4370
4354
|
continue;
|
|
4371
4355
|
}
|
|
4372
4356
|
let output = ")";
|
|
@@ -4389,35 +4373,35 @@
|
|
|
4389
4373
|
const out = state.output.slice(0, brace.outputIndex);
|
|
4390
4374
|
const toks = state.tokens.slice(brace.tokensIndex);
|
|
4391
4375
|
brace.value = brace.output = "\\{";
|
|
4392
|
-
|
|
4376
|
+
value = output = "\\}";
|
|
4393
4377
|
state.output = out;
|
|
4394
4378
|
for (const t of toks) {
|
|
4395
4379
|
state.output += t.output || t.value;
|
|
4396
4380
|
}
|
|
4397
4381
|
}
|
|
4398
|
-
push({ type: "brace", value
|
|
4382
|
+
push({ type: "brace", value, output });
|
|
4399
4383
|
decrement("braces");
|
|
4400
4384
|
braces.pop();
|
|
4401
4385
|
continue;
|
|
4402
4386
|
}
|
|
4403
|
-
if (
|
|
4387
|
+
if (value === "|") {
|
|
4404
4388
|
if (extglobs.length > 0) {
|
|
4405
4389
|
extglobs[extglobs.length - 1].conditions++;
|
|
4406
4390
|
}
|
|
4407
|
-
push({ type: "text", value
|
|
4391
|
+
push({ type: "text", value });
|
|
4408
4392
|
continue;
|
|
4409
4393
|
}
|
|
4410
|
-
if (
|
|
4411
|
-
let output =
|
|
4394
|
+
if (value === ",") {
|
|
4395
|
+
let output = value;
|
|
4412
4396
|
const brace = braces[braces.length - 1];
|
|
4413
4397
|
if (brace && stack[stack.length - 1] === "braces") {
|
|
4414
4398
|
brace.comma = true;
|
|
4415
4399
|
output = "|";
|
|
4416
4400
|
}
|
|
4417
|
-
push({ type: "comma", value
|
|
4401
|
+
push({ type: "comma", value, output });
|
|
4418
4402
|
continue;
|
|
4419
4403
|
}
|
|
4420
|
-
if (
|
|
4404
|
+
if (value === "/") {
|
|
4421
4405
|
if (prev.type === "dot" && state.index === state.start + 1) {
|
|
4422
4406
|
state.start = state.index + 1;
|
|
4423
4407
|
state.consumed = "";
|
|
@@ -4426,16 +4410,16 @@
|
|
|
4426
4410
|
prev = bos;
|
|
4427
4411
|
continue;
|
|
4428
4412
|
}
|
|
4429
|
-
push({ type: "slash", value
|
|
4413
|
+
push({ type: "slash", value, output: SLASH_LITERAL });
|
|
4430
4414
|
continue;
|
|
4431
4415
|
}
|
|
4432
|
-
if (
|
|
4416
|
+
if (value === ".") {
|
|
4433
4417
|
if (state.braces > 0 && prev.type === "dot") {
|
|
4434
4418
|
if (prev.value === ".") prev.output = DOT_LITERAL;
|
|
4435
4419
|
const brace = braces[braces.length - 1];
|
|
4436
4420
|
prev.type = "dots";
|
|
4437
|
-
prev.output +=
|
|
4438
|
-
prev.value +=
|
|
4421
|
+
prev.output += value;
|
|
4422
|
+
prev.value += value;
|
|
4439
4423
|
brace.dots = true;
|
|
4440
4424
|
continue;
|
|
4441
4425
|
}
|
|
@@ -4444,13 +4428,13 @@
|
|
|
4444
4428
|
prev.type !== "bos" &&
|
|
4445
4429
|
prev.type !== "slash"
|
|
4446
4430
|
) {
|
|
4447
|
-
push({ type: "text", value
|
|
4431
|
+
push({ type: "text", value, output: DOT_LITERAL });
|
|
4448
4432
|
continue;
|
|
4449
4433
|
}
|
|
4450
|
-
push({ type: "dot", value
|
|
4434
|
+
push({ type: "dot", value, output: DOT_LITERAL });
|
|
4451
4435
|
continue;
|
|
4452
4436
|
}
|
|
4453
|
-
if (
|
|
4437
|
+
if (value === "?") {
|
|
4454
4438
|
const isGroup = prev && prev.value === "(";
|
|
4455
4439
|
if (
|
|
4456
4440
|
!isGroup &&
|
|
@@ -4458,12 +4442,12 @@
|
|
|
4458
4442
|
peek() === "(" &&
|
|
4459
4443
|
peek(2) !== "?"
|
|
4460
4444
|
) {
|
|
4461
|
-
extglobOpen("qmark",
|
|
4445
|
+
extglobOpen("qmark", value);
|
|
4462
4446
|
continue;
|
|
4463
4447
|
}
|
|
4464
4448
|
if (prev && prev.type === "paren") {
|
|
4465
4449
|
const next = peek();
|
|
4466
|
-
let output =
|
|
4450
|
+
let output = value;
|
|
4467
4451
|
if (next === "<" && !utils.supportsLookbehinds()) {
|
|
4468
4452
|
throw new Error(
|
|
4469
4453
|
"Node.js v10 or higher is required for regex lookbehinds",
|
|
@@ -4473,25 +4457,25 @@
|
|
|
4473
4457
|
(prev.value === "(" && !/[!=<:]/.test(next)) ||
|
|
4474
4458
|
(next === "<" && !/<([!=]|\w+>)/.test(remaining()))
|
|
4475
4459
|
) {
|
|
4476
|
-
output = `\\${
|
|
4460
|
+
output = `\\${value}`;
|
|
4477
4461
|
}
|
|
4478
|
-
push({ type: "text", value
|
|
4462
|
+
push({ type: "text", value, output });
|
|
4479
4463
|
continue;
|
|
4480
4464
|
}
|
|
4481
4465
|
if (
|
|
4482
4466
|
opts.dot !== true &&
|
|
4483
4467
|
(prev.type === "slash" || prev.type === "bos")
|
|
4484
4468
|
) {
|
|
4485
|
-
push({ type: "qmark", value
|
|
4469
|
+
push({ type: "qmark", value, output: QMARK_NO_DOT });
|
|
4486
4470
|
continue;
|
|
4487
4471
|
}
|
|
4488
|
-
push({ type: "qmark", value
|
|
4472
|
+
push({ type: "qmark", value, output: QMARK });
|
|
4489
4473
|
continue;
|
|
4490
4474
|
}
|
|
4491
|
-
if (
|
|
4475
|
+
if (value === "!") {
|
|
4492
4476
|
if (opts.noextglob !== true && peek() === "(") {
|
|
4493
4477
|
if (peek(2) !== "?" || !/[!=<:]/.test(peek(3))) {
|
|
4494
|
-
extglobOpen("negate",
|
|
4478
|
+
extglobOpen("negate", value);
|
|
4495
4479
|
continue;
|
|
4496
4480
|
}
|
|
4497
4481
|
}
|
|
@@ -4500,13 +4484,13 @@
|
|
|
4500
4484
|
continue;
|
|
4501
4485
|
}
|
|
4502
4486
|
}
|
|
4503
|
-
if (
|
|
4487
|
+
if (value === "+") {
|
|
4504
4488
|
if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
|
|
4505
|
-
extglobOpen("plus",
|
|
4489
|
+
extglobOpen("plus", value);
|
|
4506
4490
|
continue;
|
|
4507
4491
|
}
|
|
4508
4492
|
if ((prev && prev.value === "(") || opts.regex === false) {
|
|
4509
|
-
push({ type: "plus", value
|
|
4493
|
+
push({ type: "plus", value, output: PLUS_LITERAL });
|
|
4510
4494
|
continue;
|
|
4511
4495
|
}
|
|
4512
4496
|
if (
|
|
@@ -4516,50 +4500,50 @@
|
|
|
4516
4500
|
prev.type === "brace")) ||
|
|
4517
4501
|
state.parens > 0
|
|
4518
4502
|
) {
|
|
4519
|
-
push({ type: "plus", value
|
|
4503
|
+
push({ type: "plus", value });
|
|
4520
4504
|
continue;
|
|
4521
4505
|
}
|
|
4522
4506
|
push({ type: "plus", value: PLUS_LITERAL });
|
|
4523
4507
|
continue;
|
|
4524
4508
|
}
|
|
4525
|
-
if (
|
|
4509
|
+
if (value === "@") {
|
|
4526
4510
|
if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
|
|
4527
|
-
push({ type: "at", extglob: true, value
|
|
4511
|
+
push({ type: "at", extglob: true, value, output: "" });
|
|
4528
4512
|
continue;
|
|
4529
4513
|
}
|
|
4530
|
-
push({ type: "text", value
|
|
4514
|
+
push({ type: "text", value });
|
|
4531
4515
|
continue;
|
|
4532
4516
|
}
|
|
4533
|
-
if (
|
|
4534
|
-
if (
|
|
4535
|
-
|
|
4517
|
+
if (value !== "*") {
|
|
4518
|
+
if (value === "$" || value === "^") {
|
|
4519
|
+
value = `\\${value}`;
|
|
4536
4520
|
}
|
|
4537
4521
|
const match = REGEX_NON_SPECIAL_CHARS.exec(remaining());
|
|
4538
4522
|
if (match) {
|
|
4539
|
-
|
|
4523
|
+
value += match[0];
|
|
4540
4524
|
state.index += match[0].length;
|
|
4541
4525
|
}
|
|
4542
|
-
push({ type: "text", value
|
|
4526
|
+
push({ type: "text", value });
|
|
4543
4527
|
continue;
|
|
4544
4528
|
}
|
|
4545
4529
|
if (prev && (prev.type === "globstar" || prev.star === true)) {
|
|
4546
4530
|
prev.type = "star";
|
|
4547
4531
|
prev.star = true;
|
|
4548
|
-
prev.value +=
|
|
4532
|
+
prev.value += value;
|
|
4549
4533
|
prev.output = star;
|
|
4550
4534
|
state.backtrack = true;
|
|
4551
4535
|
state.globstar = true;
|
|
4552
|
-
consume(
|
|
4536
|
+
consume(value);
|
|
4553
4537
|
continue;
|
|
4554
4538
|
}
|
|
4555
4539
|
let rest = remaining();
|
|
4556
4540
|
if (opts.noextglob !== true && /^\([^?]/.test(rest)) {
|
|
4557
|
-
extglobOpen("star",
|
|
4541
|
+
extglobOpen("star", value);
|
|
4558
4542
|
continue;
|
|
4559
4543
|
}
|
|
4560
4544
|
if (prev.type === "star") {
|
|
4561
4545
|
if (opts.noglobstar === true) {
|
|
4562
|
-
consume(
|
|
4546
|
+
consume(value);
|
|
4563
4547
|
continue;
|
|
4564
4548
|
}
|
|
4565
4549
|
const prior = prev.prev;
|
|
@@ -4571,7 +4555,7 @@
|
|
|
4571
4555
|
opts.bash === true &&
|
|
4572
4556
|
(!isStart || (rest[0] && rest[0] !== "/"))
|
|
4573
4557
|
) {
|
|
4574
|
-
push({ type: "star", value
|
|
4558
|
+
push({ type: "star", value, output: "" });
|
|
4575
4559
|
continue;
|
|
4576
4560
|
}
|
|
4577
4561
|
const isBrace =
|
|
@@ -4581,7 +4565,7 @@
|
|
|
4581
4565
|
extglobs.length &&
|
|
4582
4566
|
(prior.type === "pipe" || prior.type === "paren");
|
|
4583
4567
|
if (!isStart && prior.type !== "paren" && !isBrace && !isExtglob) {
|
|
4584
|
-
push({ type: "star", value
|
|
4568
|
+
push({ type: "star", value, output: "" });
|
|
4585
4569
|
continue;
|
|
4586
4570
|
}
|
|
4587
4571
|
while (rest.slice(0, 3) === "/**") {
|
|
@@ -4594,11 +4578,11 @@
|
|
|
4594
4578
|
}
|
|
4595
4579
|
if (prior.type === "bos" && eos()) {
|
|
4596
4580
|
prev.type = "globstar";
|
|
4597
|
-
prev.value +=
|
|
4581
|
+
prev.value += value;
|
|
4598
4582
|
prev.output = globstar(opts);
|
|
4599
4583
|
state.output = prev.output;
|
|
4600
4584
|
state.globstar = true;
|
|
4601
|
-
consume(
|
|
4585
|
+
consume(value);
|
|
4602
4586
|
continue;
|
|
4603
4587
|
}
|
|
4604
4588
|
if (
|
|
@@ -4614,10 +4598,10 @@
|
|
|
4614
4598
|
prior.output = `(?:${prior.output}`;
|
|
4615
4599
|
prev.type = "globstar";
|
|
4616
4600
|
prev.output = globstar(opts) + (opts.strictSlashes ? ")" : "|$)");
|
|
4617
|
-
prev.value +=
|
|
4601
|
+
prev.value += value;
|
|
4618
4602
|
state.globstar = true;
|
|
4619
4603
|
state.output += prior.output + prev.output;
|
|
4620
|
-
consume(
|
|
4604
|
+
consume(value);
|
|
4621
4605
|
continue;
|
|
4622
4606
|
}
|
|
4623
4607
|
if (
|
|
@@ -4633,33 +4617,33 @@
|
|
|
4633
4617
|
prior.output = `(?:${prior.output}`;
|
|
4634
4618
|
prev.type = "globstar";
|
|
4635
4619
|
prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;
|
|
4636
|
-
prev.value +=
|
|
4620
|
+
prev.value += value;
|
|
4637
4621
|
state.output += prior.output + prev.output;
|
|
4638
4622
|
state.globstar = true;
|
|
4639
|
-
consume(
|
|
4623
|
+
consume(value + advance());
|
|
4640
4624
|
push({ type: "slash", value: "/", output: "" });
|
|
4641
4625
|
continue;
|
|
4642
4626
|
}
|
|
4643
4627
|
if (prior.type === "bos" && rest[0] === "/") {
|
|
4644
4628
|
prev.type = "globstar";
|
|
4645
|
-
prev.value +=
|
|
4629
|
+
prev.value += value;
|
|
4646
4630
|
prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;
|
|
4647
4631
|
state.output = prev.output;
|
|
4648
4632
|
state.globstar = true;
|
|
4649
|
-
consume(
|
|
4633
|
+
consume(value + advance());
|
|
4650
4634
|
push({ type: "slash", value: "/", output: "" });
|
|
4651
4635
|
continue;
|
|
4652
4636
|
}
|
|
4653
4637
|
state.output = state.output.slice(0, -prev.output.length);
|
|
4654
4638
|
prev.type = "globstar";
|
|
4655
4639
|
prev.output = globstar(opts);
|
|
4656
|
-
prev.value +=
|
|
4640
|
+
prev.value += value;
|
|
4657
4641
|
state.output += prev.output;
|
|
4658
4642
|
state.globstar = true;
|
|
4659
|
-
consume(
|
|
4643
|
+
consume(value);
|
|
4660
4644
|
continue;
|
|
4661
4645
|
}
|
|
4662
|
-
const token = { type: "star", value
|
|
4646
|
+
const token = { type: "star", value, output: star };
|
|
4663
4647
|
if (opts.bash === true) {
|
|
4664
4648
|
token.output = ".*?";
|
|
4665
4649
|
if (prev.type === "bos" || prev.type === "slash") {
|
|
@@ -4673,7 +4657,7 @@
|
|
|
4673
4657
|
(prev.type === "bracket" || prev.type === "paren") &&
|
|
4674
4658
|
opts.regex === true
|
|
4675
4659
|
) {
|
|
4676
|
-
token.output =
|
|
4660
|
+
token.output = value;
|
|
4677
4661
|
push(token);
|
|
4678
4662
|
continue;
|
|
4679
4663
|
}
|
|
@@ -4805,9 +4789,9 @@
|
|
|
4805
4789
|
}
|
|
4806
4790
|
return source;
|
|
4807
4791
|
};
|
|
4808
|
-
|
|
4792
|
+
module.exports = parse;
|
|
4809
4793
|
},
|
|
4810
|
-
4181: (
|
|
4794
|
+
4181: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4811
4795
|
"use strict";
|
|
4812
4796
|
const path = __nccwpck_require__(1017);
|
|
4813
4797
|
const scan = __nccwpck_require__(369);
|
|
@@ -4987,9 +4971,9 @@
|
|
|
4987
4971
|
}
|
|
4988
4972
|
};
|
|
4989
4973
|
picomatch.constants = constants;
|
|
4990
|
-
|
|
4974
|
+
module.exports = picomatch;
|
|
4991
4975
|
},
|
|
4992
|
-
369: (
|
|
4976
|
+
369: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4993
4977
|
"use strict";
|
|
4994
4978
|
const utils = __nccwpck_require__(6807);
|
|
4995
4979
|
const {
|
|
@@ -5009,9 +4993,8 @@
|
|
|
5009
4993
|
CHAR_RIGHT_PARENTHESES,
|
|
5010
4994
|
CHAR_RIGHT_SQUARE_BRACKET,
|
|
5011
4995
|
} = __nccwpck_require__(7682);
|
|
5012
|
-
const isPathSeparator = (code) =>
|
|
5013
|
-
|
|
5014
|
-
};
|
|
4996
|
+
const isPathSeparator = (code) =>
|
|
4997
|
+
code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
|
|
5015
4998
|
const depth = (token) => {
|
|
5016
4999
|
if (token.isPrefix !== true) {
|
|
5017
5000
|
token.depth = token.isGlobstar ? Infinity : 1;
|
|
@@ -5281,27 +5264,27 @@
|
|
|
5281
5264
|
for (let idx = 0; idx < slashes.length; idx++) {
|
|
5282
5265
|
const n = prevIndex ? prevIndex + 1 : start;
|
|
5283
5266
|
const i = slashes[idx];
|
|
5284
|
-
const
|
|
5267
|
+
const value = input.slice(n, i);
|
|
5285
5268
|
if (opts.tokens) {
|
|
5286
5269
|
if (idx === 0 && start !== 0) {
|
|
5287
5270
|
tokens[idx].isPrefix = true;
|
|
5288
5271
|
tokens[idx].value = prefix;
|
|
5289
5272
|
} else {
|
|
5290
|
-
tokens[idx].value =
|
|
5273
|
+
tokens[idx].value = value;
|
|
5291
5274
|
}
|
|
5292
5275
|
depth(tokens[idx]);
|
|
5293
5276
|
state.maxDepth += tokens[idx].depth;
|
|
5294
5277
|
}
|
|
5295
|
-
if (idx !== 0 ||
|
|
5296
|
-
parts.push(
|
|
5278
|
+
if (idx !== 0 || value !== "") {
|
|
5279
|
+
parts.push(value);
|
|
5297
5280
|
}
|
|
5298
5281
|
prevIndex = i;
|
|
5299
5282
|
}
|
|
5300
5283
|
if (prevIndex && prevIndex + 1 < input.length) {
|
|
5301
|
-
const
|
|
5302
|
-
parts.push(
|
|
5284
|
+
const value = input.slice(prevIndex + 1);
|
|
5285
|
+
parts.push(value);
|
|
5303
5286
|
if (opts.tokens) {
|
|
5304
|
-
tokens[tokens.length - 1].value =
|
|
5287
|
+
tokens[tokens.length - 1].value = value;
|
|
5305
5288
|
depth(tokens[tokens.length - 1]);
|
|
5306
5289
|
state.maxDepth += tokens[tokens.length - 1].depth;
|
|
5307
5290
|
}
|
|
@@ -5311,7 +5294,7 @@
|
|
|
5311
5294
|
}
|
|
5312
5295
|
return state;
|
|
5313
5296
|
};
|
|
5314
|
-
|
|
5297
|
+
module.exports = scan;
|
|
5315
5298
|
},
|
|
5316
5299
|
6807: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5317
5300
|
"use strict";
|
|
@@ -5331,11 +5314,10 @@
|
|
|
5331
5314
|
exports.escapeRegex = (str) =>
|
|
5332
5315
|
str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
|
|
5333
5316
|
exports.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
|
|
5334
|
-
exports.removeBackslashes = (str) =>
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
};
|
|
5317
|
+
exports.removeBackslashes = (str) =>
|
|
5318
|
+
str.replace(REGEX_REMOVE_BACKSLASH, (match) =>
|
|
5319
|
+
match === "\\" ? "" : match,
|
|
5320
|
+
);
|
|
5339
5321
|
exports.supportsLookbehinds = () => {
|
|
5340
5322
|
const segs = process.version.slice(1).split(".").map(Number);
|
|
5341
5323
|
if (
|
|
@@ -5377,9 +5359,10 @@
|
|
|
5377
5359
|
return output;
|
|
5378
5360
|
};
|
|
5379
5361
|
},
|
|
5380
|
-
1504: (
|
|
5381
|
-
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
5382
|
-
|
|
5362
|
+
1504: (module) => {
|
|
5363
|
+
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
5364
|
+
let promise;
|
|
5365
|
+
module.exports =
|
|
5383
5366
|
typeof queueMicrotask === "function"
|
|
5384
5367
|
? queueMicrotask.bind(typeof window !== "undefined" ? window : global)
|
|
5385
5368
|
: (cb) =>
|
|
@@ -5389,7 +5372,7 @@
|
|
|
5389
5372
|
}, 0),
|
|
5390
5373
|
);
|
|
5391
5374
|
},
|
|
5392
|
-
7728: (
|
|
5375
|
+
7728: (module) => {
|
|
5393
5376
|
"use strict";
|
|
5394
5377
|
function reusify(Constructor) {
|
|
5395
5378
|
var head = new Constructor();
|
|
@@ -5409,14 +5392,14 @@
|
|
|
5409
5392
|
tail.next = obj;
|
|
5410
5393
|
tail = obj;
|
|
5411
5394
|
}
|
|
5412
|
-
return { get
|
|
5395
|
+
return { get, release };
|
|
5413
5396
|
}
|
|
5414
|
-
|
|
5397
|
+
module.exports = reusify;
|
|
5415
5398
|
},
|
|
5416
|
-
7492: (
|
|
5417
|
-
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
5418
|
-
|
|
5419
|
-
const
|
|
5399
|
+
7492: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5400
|
+
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
5401
|
+
module.exports = runParallel;
|
|
5402
|
+
const queueMicrotask = __nccwpck_require__(1504);
|
|
5420
5403
|
function runParallel(tasks, cb) {
|
|
5421
5404
|
let results, pending, keys;
|
|
5422
5405
|
let isSync = true;
|
|
@@ -5433,7 +5416,7 @@
|
|
|
5433
5416
|
if (cb) cb(err, results);
|
|
5434
5417
|
cb = null;
|
|
5435
5418
|
}
|
|
5436
|
-
if (isSync)
|
|
5419
|
+
if (isSync) queueMicrotask(end);
|
|
5437
5420
|
else end();
|
|
5438
5421
|
}
|
|
5439
5422
|
function each(i, err, result) {
|
|
@@ -5460,7 +5443,7 @@
|
|
|
5460
5443
|
isSync = false;
|
|
5461
5444
|
}
|
|
5462
5445
|
},
|
|
5463
|
-
7513: (
|
|
5446
|
+
7513: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5464
5447
|
"use strict";
|
|
5465
5448
|
/*!
|
|
5466
5449
|
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
@@ -5658,11 +5641,11 @@
|
|
|
5658
5641
|
function hasPadding(str) {
|
|
5659
5642
|
return /^-?(0+)\d/.test(str);
|
|
5660
5643
|
}
|
|
5661
|
-
function padZeros(
|
|
5644
|
+
function padZeros(value, tok, options) {
|
|
5662
5645
|
if (!tok.isPadded) {
|
|
5663
|
-
return
|
|
5646
|
+
return value;
|
|
5664
5647
|
}
|
|
5665
|
-
let diff = Math.abs(tok.maxLen - String(
|
|
5648
|
+
let diff = Math.abs(tok.maxLen - String(value).length);
|
|
5666
5649
|
let relax = options.relaxZeros !== false;
|
|
5667
5650
|
switch (diff) {
|
|
5668
5651
|
case 0:
|
|
@@ -5678,31 +5661,31 @@
|
|
|
5678
5661
|
}
|
|
5679
5662
|
toRegexRange.cache = {};
|
|
5680
5663
|
toRegexRange.clearCache = () => (toRegexRange.cache = {});
|
|
5681
|
-
|
|
5664
|
+
module.exports = toRegexRange;
|
|
5682
5665
|
},
|
|
5683
|
-
2361: (
|
|
5666
|
+
2361: (module) => {
|
|
5684
5667
|
"use strict";
|
|
5685
|
-
|
|
5668
|
+
module.exports = require("events");
|
|
5686
5669
|
},
|
|
5687
|
-
7147: (
|
|
5670
|
+
7147: (module) => {
|
|
5688
5671
|
"use strict";
|
|
5689
|
-
|
|
5672
|
+
module.exports = require("fs");
|
|
5690
5673
|
},
|
|
5691
|
-
2037: (
|
|
5674
|
+
2037: (module) => {
|
|
5692
5675
|
"use strict";
|
|
5693
|
-
|
|
5676
|
+
module.exports = require("os");
|
|
5694
5677
|
},
|
|
5695
|
-
1017: (
|
|
5678
|
+
1017: (module) => {
|
|
5696
5679
|
"use strict";
|
|
5697
|
-
|
|
5680
|
+
module.exports = require("path");
|
|
5698
5681
|
},
|
|
5699
|
-
2781: (
|
|
5682
|
+
2781: (module) => {
|
|
5700
5683
|
"use strict";
|
|
5701
|
-
|
|
5684
|
+
module.exports = require("stream");
|
|
5702
5685
|
},
|
|
5703
|
-
3837: (
|
|
5686
|
+
3837: (module) => {
|
|
5704
5687
|
"use strict";
|
|
5705
|
-
|
|
5688
|
+
module.exports = require("util");
|
|
5706
5689
|
},
|
|
5707
5690
|
};
|
|
5708
5691
|
var __webpack_module_cache__ = {};
|
|
@@ -5711,19 +5694,19 @@
|
|
|
5711
5694
|
if (cachedModule !== undefined) {
|
|
5712
5695
|
return cachedModule.exports;
|
|
5713
5696
|
}
|
|
5714
|
-
var
|
|
5697
|
+
var module = (__webpack_module_cache__[moduleId] = { exports: {} });
|
|
5715
5698
|
var threw = true;
|
|
5716
5699
|
try {
|
|
5717
5700
|
__webpack_modules__[moduleId](
|
|
5718
|
-
|
|
5719
|
-
|
|
5701
|
+
module,
|
|
5702
|
+
module.exports,
|
|
5720
5703
|
__nccwpck_require__,
|
|
5721
5704
|
);
|
|
5722
5705
|
threw = false;
|
|
5723
5706
|
} finally {
|
|
5724
5707
|
if (threw) delete __webpack_module_cache__[moduleId];
|
|
5725
5708
|
}
|
|
5726
|
-
return
|
|
5709
|
+
return module.exports;
|
|
5727
5710
|
}
|
|
5728
5711
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
5729
5712
|
__nccwpck_require__.ab = __dirname + "/";
|