@prisma/fetch-engine 6.5.0-integration-feat-get-rid-of-patches.1 → 6.5.0-integration-engines-6-5-0-72-refactor-remove-set-params-and-connection-str-1b408865593607dfa57207e636054d68fbe0ddeb.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BinaryType.js +1 -1
- package/dist/chmodPlusX.js +1 -1
- package/dist/{chunk-FAWNAZS6.js → chunk-7YMNUIBH.js} +82 -82
- package/dist/{chunk-TIRVZJHP.js → chunk-EQBIW23N.js} +44 -44
- package/dist/{chunk-4LX3XBNY.js → chunk-FXSJF4XA.js} +7 -7
- package/dist/chunk-MSGI7ABO.js +7483 -0
- package/dist/{chunk-AH6QHEOA.js → chunk-OSFPEEC6.js} +17 -3
- package/dist/{chunk-ORVVLJ4G.js → chunk-QWMYWBXN.js} +2728 -182
- package/dist/{chunk-ZSBPBV34.js → chunk-S3LWA4WZ.js} +40 -40
- package/dist/{chunk-I3P4GT6A.js → chunk-SXLYQ75W.js} +9 -12
- package/dist/{chunk-HACCWU3B.js → chunk-TEEFYD2G.js} +60 -60
- package/dist/{chunk-XSNM3AMV.js → chunk-TKHIKYYP.js} +81 -81
- package/dist/cleanupCache.js +5 -5
- package/dist/download.js +15 -15
- package/dist/downloadZip.js +7 -7
- package/dist/env.js +1 -1
- package/dist/getHash.js +1 -1
- package/dist/getProxyAgent.js +3 -3
- package/dist/index.js +18 -18
- package/dist/log.js +3 -3
- package/dist/{multipart-parser-ITART6UP.js → multipart-parser-54WEFGGN.js} +7 -7
- package/dist/utils.js +6 -6
- package/package.json +5 -5
- package/dist/chunk-ZAFWMCVK.js +0 -2796
@@ -26,18 +26,18 @@ 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_QWMYWBXN_exports = {};
|
30
|
+
__export(chunk_QWMYWBXN_exports, {
|
31
31
|
downloadZip: () => downloadZip,
|
32
32
|
require_is_stream: () => require_is_stream,
|
33
33
|
require_temp_dir: () => require_temp_dir
|
34
34
|
});
|
35
|
-
module.exports = __toCommonJS(
|
36
|
-
var
|
37
|
-
var
|
38
|
-
var
|
39
|
-
var
|
40
|
-
var
|
35
|
+
module.exports = __toCommonJS(chunk_QWMYWBXN_exports);
|
36
|
+
var import_chunk_EQBIW23N = require("./chunk-EQBIW23N.js");
|
37
|
+
var import_chunk_MSGI7ABO = require("./chunk-MSGI7ABO.js");
|
38
|
+
var import_chunk_TEEFYD2G = require("./chunk-TEEFYD2G.js");
|
39
|
+
var import_chunk_S3LWA4WZ = require("./chunk-S3LWA4WZ.js");
|
40
|
+
var import_chunk_OSFPEEC6 = require("./chunk-OSFPEEC6.js");
|
41
41
|
var import_debug = __toESM(require("@prisma/debug"));
|
42
42
|
var import_fs = __toESM(require("fs"));
|
43
43
|
var import_node_http = __toESM(require("node:http"));
|
@@ -54,9 +54,8 @@ var import_node_url = require("node:url");
|
|
54
54
|
var import_node_util3 = require("node:util");
|
55
55
|
var import_node_net = require("node:net");
|
56
56
|
var import_path = __toESM(require("path"));
|
57
|
-
var import_util = require("util");
|
58
57
|
var import_zlib = __toESM(require("zlib"));
|
59
|
-
var require_is_stream = (0,
|
58
|
+
var require_is_stream = (0, import_chunk_OSFPEEC6.__commonJS)({
|
60
59
|
"../../node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js"(exports, module2) {
|
61
60
|
"use strict";
|
62
61
|
var isStream = (stream) => stream !== null && typeof stream === "object" && typeof stream.pipe === "function";
|
@@ -67,16 +66,16 @@ var require_is_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
67
66
|
module2.exports = isStream;
|
68
67
|
}
|
69
68
|
});
|
70
|
-
var require_hasha = (0,
|
69
|
+
var require_hasha = (0, import_chunk_OSFPEEC6.__commonJS)({
|
71
70
|
"../../node_modules/.pnpm/hasha@5.2.2/node_modules/hasha/index.js"(exports, module2) {
|
72
71
|
"use strict";
|
73
|
-
var fs2 = (0,
|
74
|
-
var path2 = (0,
|
75
|
-
var crypto = (0,
|
72
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
73
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
74
|
+
var crypto = (0, import_chunk_OSFPEEC6.__require)("crypto");
|
76
75
|
var isStream = require_is_stream();
|
77
76
|
var { Worker } = (() => {
|
78
77
|
try {
|
79
|
-
return (0,
|
78
|
+
return (0, import_chunk_OSFPEEC6.__require)("worker_threads");
|
80
79
|
} catch (_) {
|
81
80
|
return {};
|
82
81
|
}
|
@@ -182,7 +181,7 @@ var require_hasha = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
182
181
|
module2.exports = hasha2;
|
183
182
|
}
|
184
183
|
});
|
185
|
-
var require_retry_operation = (0,
|
184
|
+
var require_retry_operation = (0, import_chunk_OSFPEEC6.__commonJS)({
|
186
185
|
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js"(exports, module2) {
|
187
186
|
"use strict";
|
188
187
|
function RetryOperation(timeouts, options) {
|
@@ -316,7 +315,7 @@ var require_retry_operation = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
316
315
|
};
|
317
316
|
}
|
318
317
|
});
|
319
|
-
var require_retry = (0,
|
318
|
+
var require_retry = (0, import_chunk_OSFPEEC6.__commonJS)({
|
320
319
|
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js"(exports) {
|
321
320
|
"use strict";
|
322
321
|
var RetryOperation = require_retry_operation();
|
@@ -401,13 +400,13 @@ var require_retry = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
401
400
|
};
|
402
401
|
}
|
403
402
|
});
|
404
|
-
var require_retry2 = (0,
|
403
|
+
var require_retry2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
405
404
|
"../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js"(exports, module2) {
|
406
405
|
"use strict";
|
407
406
|
module2.exports = require_retry();
|
408
407
|
}
|
409
408
|
});
|
410
|
-
var require_p_retry = (0,
|
409
|
+
var require_p_retry = (0, import_chunk_OSFPEEC6.__commonJS)({
|
411
410
|
"../../node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js"(exports, module2) {
|
412
411
|
"use strict";
|
413
412
|
var retry2 = require_retry2();
|
@@ -484,10 +483,10 @@ var require_p_retry = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
484
483
|
module2.exports.AbortError = AbortError2;
|
485
484
|
}
|
486
485
|
});
|
487
|
-
var require_crypto_random_string = (0,
|
486
|
+
var require_crypto_random_string = (0, import_chunk_OSFPEEC6.__commonJS)({
|
488
487
|
"../../node_modules/.pnpm/crypto-random-string@2.0.0/node_modules/crypto-random-string/index.js"(exports, module2) {
|
489
488
|
"use strict";
|
490
|
-
var crypto = (0,
|
489
|
+
var crypto = (0, import_chunk_OSFPEEC6.__require)("crypto");
|
491
490
|
module2.exports = (length) => {
|
492
491
|
if (!Number.isFinite(length)) {
|
493
492
|
throw new TypeError("Expected a finite number");
|
@@ -496,18 +495,18 @@ var require_crypto_random_string = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
496
495
|
};
|
497
496
|
}
|
498
497
|
});
|
499
|
-
var require_unique_string = (0,
|
498
|
+
var require_unique_string = (0, import_chunk_OSFPEEC6.__commonJS)({
|
500
499
|
"../../node_modules/.pnpm/unique-string@2.0.0/node_modules/unique-string/index.js"(exports, module2) {
|
501
500
|
"use strict";
|
502
501
|
var cryptoRandomString = require_crypto_random_string();
|
503
502
|
module2.exports = () => cryptoRandomString(32);
|
504
503
|
}
|
505
504
|
});
|
506
|
-
var require_temp_dir = (0,
|
505
|
+
var require_temp_dir = (0, import_chunk_OSFPEEC6.__commonJS)({
|
507
506
|
"../../node_modules/.pnpm/temp-dir@2.0.0/node_modules/temp-dir/index.js"(exports, module2) {
|
508
507
|
"use strict";
|
509
|
-
var fs2 = (0,
|
510
|
-
var os = (0,
|
508
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
509
|
+
var os = (0, import_chunk_OSFPEEC6.__require)("os");
|
511
510
|
var tempDirectorySymbol = Symbol.for("__RESOLVED_TEMP_DIRECTORY__");
|
512
511
|
if (!global[tempDirectorySymbol]) {
|
513
512
|
Object.defineProperty(global, tempDirectorySymbol, {
|
@@ -517,7 +516,7 @@ var require_temp_dir = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
517
516
|
module2.exports = global[tempDirectorySymbol];
|
518
517
|
}
|
519
518
|
});
|
520
|
-
var require_array_union = (0,
|
519
|
+
var require_array_union = (0, import_chunk_OSFPEEC6.__commonJS)({
|
521
520
|
"../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(exports, module2) {
|
522
521
|
"use strict";
|
523
522
|
module2.exports = (...arguments_) => {
|
@@ -525,10 +524,10 @@ var require_array_union = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
525
524
|
};
|
526
525
|
}
|
527
526
|
});
|
528
|
-
var require_merge2 = (0,
|
527
|
+
var require_merge2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
529
528
|
"../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js"(exports, module2) {
|
530
529
|
"use strict";
|
531
|
-
var Stream3 = (0,
|
530
|
+
var Stream3 = (0, import_chunk_OSFPEEC6.__require)("stream");
|
532
531
|
var PassThrough3 = Stream3.PassThrough;
|
533
532
|
var slice = Array.prototype.slice;
|
534
533
|
module2.exports = merge2;
|
@@ -642,7 +641,7 @@ var require_merge2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
642
641
|
}
|
643
642
|
}
|
644
643
|
});
|
645
|
-
var require_array = (0,
|
644
|
+
var require_array = (0, import_chunk_OSFPEEC6.__commonJS)({
|
646
645
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
|
647
646
|
"use strict";
|
648
647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -667,7 +666,7 @@ var require_array = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
667
666
|
exports.splitWhen = splitWhen;
|
668
667
|
}
|
669
668
|
});
|
670
|
-
var require_errno = (0,
|
669
|
+
var require_errno = (0, import_chunk_OSFPEEC6.__commonJS)({
|
671
670
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports) {
|
672
671
|
"use strict";
|
673
672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -678,7 +677,7 @@ var require_errno = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
678
677
|
exports.isEnoentCodeError = isEnoentCodeError;
|
679
678
|
}
|
680
679
|
});
|
681
|
-
var require_fs = (0,
|
680
|
+
var require_fs = (0, import_chunk_OSFPEEC6.__commonJS)({
|
682
681
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports) {
|
683
682
|
"use strict";
|
684
683
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -701,13 +700,13 @@ var require_fs = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
701
700
|
exports.createDirentFromStats = createDirentFromStats;
|
702
701
|
}
|
703
702
|
});
|
704
|
-
var require_path = (0,
|
703
|
+
var require_path = (0, import_chunk_OSFPEEC6.__commonJS)({
|
705
704
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports) {
|
706
705
|
"use strict";
|
707
706
|
Object.defineProperty(exports, "__esModule", { value: true });
|
708
707
|
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
709
|
-
var os = (0,
|
710
|
-
var path2 = (0,
|
708
|
+
var os = (0, import_chunk_OSFPEEC6.__require)("os");
|
709
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
711
710
|
var IS_WINDOWS_PLATFORM = os.platform() === "win32";
|
712
711
|
var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
|
713
712
|
var POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;
|
@@ -752,7 +751,7 @@ var require_path = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
752
751
|
exports.convertPosixPathToPattern = convertPosixPathToPattern;
|
753
752
|
}
|
754
753
|
});
|
755
|
-
var require_is_extglob = (0,
|
754
|
+
var require_is_extglob = (0, import_chunk_OSFPEEC6.__commonJS)({
|
756
755
|
"../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports, module2) {
|
757
756
|
"use strict";
|
758
757
|
module2.exports = function isExtglob(str) {
|
@@ -768,7 +767,7 @@ var require_is_extglob = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
768
767
|
};
|
769
768
|
}
|
770
769
|
});
|
771
|
-
var require_is_glob = (0,
|
770
|
+
var require_is_glob = (0, import_chunk_OSFPEEC6.__commonJS)({
|
772
771
|
"../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js"(exports, module2) {
|
773
772
|
"use strict";
|
774
773
|
var isExtglob = require_is_extglob();
|
@@ -898,12 +897,12 @@ var require_is_glob = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
898
897
|
};
|
899
898
|
}
|
900
899
|
});
|
901
|
-
var require_glob_parent = (0,
|
900
|
+
var require_glob_parent = (0, import_chunk_OSFPEEC6.__commonJS)({
|
902
901
|
"../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports, module2) {
|
903
902
|
"use strict";
|
904
903
|
var isGlob = require_is_glob();
|
905
|
-
var pathPosixDirname = (0,
|
906
|
-
var isWin32 = (0,
|
904
|
+
var pathPosixDirname = (0, import_chunk_OSFPEEC6.__require)("path").posix.dirname;
|
905
|
+
var isWin32 = (0, import_chunk_OSFPEEC6.__require)("os").platform() === "win32";
|
907
906
|
var slash = "/";
|
908
907
|
var backslash = /\\/g;
|
909
908
|
var enclosure = /[\{\[].*[\}\]]$/;
|
@@ -925,7 +924,7 @@ var require_glob_parent = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
925
924
|
};
|
926
925
|
}
|
927
926
|
});
|
928
|
-
var require_utils = (0,
|
927
|
+
var require_utils = (0, import_chunk_OSFPEEC6.__commonJS)({
|
929
928
|
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
|
930
929
|
"use strict";
|
931
930
|
exports.isInteger = (num) => {
|
@@ -1005,7 +1004,7 @@ var require_utils = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1005
1004
|
};
|
1006
1005
|
}
|
1007
1006
|
});
|
1008
|
-
var require_stringify = (0,
|
1007
|
+
var require_stringify = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1009
1008
|
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module2) {
|
1010
1009
|
"use strict";
|
1011
1010
|
var utils = require_utils();
|
@@ -1034,7 +1033,7 @@ var require_stringify = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1034
1033
|
};
|
1035
1034
|
}
|
1036
1035
|
});
|
1037
|
-
var require_is_number = (0,
|
1036
|
+
var require_is_number = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1038
1037
|
"../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js"(exports, module2) {
|
1039
1038
|
"use strict";
|
1040
1039
|
module2.exports = function(num) {
|
@@ -1048,7 +1047,7 @@ var require_is_number = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1048
1047
|
};
|
1049
1048
|
}
|
1050
1049
|
});
|
1051
|
-
var require_to_regex_range = (0,
|
1050
|
+
var require_to_regex_range = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1052
1051
|
"../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports, module2) {
|
1053
1052
|
"use strict";
|
1054
1053
|
var isNumber = require_is_number();
|
@@ -1257,10 +1256,10 @@ var require_to_regex_range = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1257
1256
|
module2.exports = toRegexRange;
|
1258
1257
|
}
|
1259
1258
|
});
|
1260
|
-
var require_fill_range = (0,
|
1259
|
+
var require_fill_range = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1261
1260
|
"../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module2) {
|
1262
1261
|
"use strict";
|
1263
|
-
var util = (0,
|
1262
|
+
var util = (0, import_chunk_OSFPEEC6.__require)("util");
|
1264
1263
|
var toRegexRange = require_to_regex_range();
|
1265
1264
|
var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
1266
1265
|
var transform = (toNumber) => {
|
@@ -1449,7 +1448,7 @@ var require_fill_range = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1449
1448
|
module2.exports = fill;
|
1450
1449
|
}
|
1451
1450
|
});
|
1452
|
-
var require_compile = (0,
|
1451
|
+
var require_compile = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1453
1452
|
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module2) {
|
1454
1453
|
"use strict";
|
1455
1454
|
var fill = require_fill_range();
|
@@ -1499,7 +1498,7 @@ var require_compile = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1499
1498
|
module2.exports = compile;
|
1500
1499
|
}
|
1501
1500
|
});
|
1502
|
-
var require_expand = (0,
|
1501
|
+
var require_expand = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1503
1502
|
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module2) {
|
1504
1503
|
"use strict";
|
1505
1504
|
var fill = require_fill_range();
|
@@ -1591,7 +1590,7 @@ var require_expand = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1591
1590
|
module2.exports = expand;
|
1592
1591
|
}
|
1593
1592
|
});
|
1594
|
-
var require_constants = (0,
|
1593
|
+
var require_constants = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1595
1594
|
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module2) {
|
1596
1595
|
"use strict";
|
1597
1596
|
module2.exports = {
|
@@ -1690,7 +1689,7 @@ var require_constants = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1690
1689
|
};
|
1691
1690
|
}
|
1692
1691
|
});
|
1693
|
-
var require_parse = (0,
|
1692
|
+
var require_parse = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1694
1693
|
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module2) {
|
1695
1694
|
"use strict";
|
1696
1695
|
var stringify = require_stringify();
|
@@ -1926,7 +1925,7 @@ var require_parse = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1926
1925
|
module2.exports = parse;
|
1927
1926
|
}
|
1928
1927
|
});
|
1929
|
-
var require_braces = (0,
|
1928
|
+
var require_braces = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1930
1929
|
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js"(exports, module2) {
|
1931
1930
|
"use strict";
|
1932
1931
|
var stringify = require_stringify();
|
@@ -1987,10 +1986,10 @@ var require_braces = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1987
1986
|
module2.exports = braces;
|
1988
1987
|
}
|
1989
1988
|
});
|
1990
|
-
var require_constants2 = (0,
|
1989
|
+
var require_constants2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
1991
1990
|
"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module2) {
|
1992
1991
|
"use strict";
|
1993
|
-
var path2 = (0,
|
1992
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
1994
1993
|
var WIN_SLASH = "\\\\/";
|
1995
1994
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
1996
1995
|
var DOT_LITERAL = "\\.";
|
@@ -2182,10 +2181,10 @@ var require_constants2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
2182
2181
|
};
|
2183
2182
|
}
|
2184
2183
|
});
|
2185
|
-
var require_utils2 = (0,
|
2184
|
+
var require_utils2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
2186
2185
|
"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
|
2187
2186
|
"use strict";
|
2188
|
-
var path2 = (0,
|
2187
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
2189
2188
|
var win32 = process.platform === "win32";
|
2190
2189
|
var {
|
2191
2190
|
REGEX_BACKSLASH,
|
@@ -2241,7 +2240,7 @@ var require_utils2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
2241
2240
|
};
|
2242
2241
|
}
|
2243
2242
|
});
|
2244
|
-
var require_scan = (0,
|
2243
|
+
var require_scan = (0, import_chunk_OSFPEEC6.__commonJS)({
|
2245
2244
|
"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports, module2) {
|
2246
2245
|
"use strict";
|
2247
2246
|
var utils = require_utils2();
|
@@ -2569,7 +2568,7 @@ var require_scan = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
2569
2568
|
module2.exports = scan;
|
2570
2569
|
}
|
2571
2570
|
});
|
2572
|
-
var require_parse2 = (0,
|
2571
|
+
var require_parse2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
2573
2572
|
"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports, module2) {
|
2574
2573
|
"use strict";
|
2575
2574
|
var constants = require_constants2();
|
@@ -3340,10 +3339,10 @@ var require_parse2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3340
3339
|
module2.exports = parse;
|
3341
3340
|
}
|
3342
3341
|
});
|
3343
|
-
var require_picomatch = (0,
|
3342
|
+
var require_picomatch = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3344
3343
|
"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module2) {
|
3345
3344
|
"use strict";
|
3346
|
-
var path2 = (0,
|
3345
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
3347
3346
|
var scan = require_scan();
|
3348
3347
|
var parse = require_parse2();
|
3349
3348
|
var utils = require_utils2();
|
@@ -3479,16 +3478,16 @@ var require_picomatch = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3479
3478
|
module2.exports = picomatch;
|
3480
3479
|
}
|
3481
3480
|
});
|
3482
|
-
var require_picomatch2 = (0,
|
3481
|
+
var require_picomatch2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3483
3482
|
"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js"(exports, module2) {
|
3484
3483
|
"use strict";
|
3485
3484
|
module2.exports = require_picomatch();
|
3486
3485
|
}
|
3487
3486
|
});
|
3488
|
-
var require_micromatch = (0,
|
3487
|
+
var require_micromatch = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3489
3488
|
"../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module2) {
|
3490
3489
|
"use strict";
|
3491
|
-
var util = (0,
|
3490
|
+
var util = (0, import_chunk_OSFPEEC6.__require)("util");
|
3492
3491
|
var braces = require_braces();
|
3493
3492
|
var picomatch = require_picomatch2();
|
3494
3493
|
var utils = require_utils2();
|
@@ -3644,12 +3643,12 @@ var require_micromatch = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3644
3643
|
module2.exports = micromatch;
|
3645
3644
|
}
|
3646
3645
|
});
|
3647
|
-
var require_pattern = (0,
|
3646
|
+
var require_pattern = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3648
3647
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports) {
|
3649
3648
|
"use strict";
|
3650
3649
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3651
3650
|
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
3652
|
-
var path2 = (0,
|
3651
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
3653
3652
|
var globParent = require_glob_parent();
|
3654
3653
|
var micromatch = require_micromatch();
|
3655
3654
|
var GLOBSTAR = "**";
|
@@ -3807,7 +3806,7 @@ var require_pattern = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3807
3806
|
exports.isAbsolute = isAbsolute;
|
3808
3807
|
}
|
3809
3808
|
});
|
3810
|
-
var require_stream = (0,
|
3809
|
+
var require_stream = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3811
3810
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
|
3812
3811
|
"use strict";
|
3813
3812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -3828,7 +3827,7 @@ var require_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3828
3827
|
}
|
3829
3828
|
}
|
3830
3829
|
});
|
3831
|
-
var require_string = (0,
|
3830
|
+
var require_string = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3832
3831
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports) {
|
3833
3832
|
"use strict";
|
3834
3833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -3843,7 +3842,7 @@ var require_string = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3843
3842
|
exports.isEmpty = isEmpty;
|
3844
3843
|
}
|
3845
3844
|
});
|
3846
|
-
var require_utils3 = (0,
|
3845
|
+
var require_utils3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3847
3846
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports) {
|
3848
3847
|
"use strict";
|
3849
3848
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -3864,7 +3863,7 @@ var require_utils3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3864
3863
|
exports.string = string;
|
3865
3864
|
}
|
3866
3865
|
});
|
3867
|
-
var require_tasks = (0,
|
3866
|
+
var require_tasks = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3868
3867
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
3869
3868
|
"use strict";
|
3870
3869
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -3958,7 +3957,7 @@ var require_tasks = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3958
3957
|
exports.convertPatternGroupToTask = convertPatternGroupToTask;
|
3959
3958
|
}
|
3960
3959
|
});
|
3961
|
-
var require_async = (0,
|
3960
|
+
var require_async = (0, import_chunk_OSFPEEC6.__commonJS)({
|
3962
3961
|
"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
|
3963
3962
|
"use strict";
|
3964
3963
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -3998,7 +3997,7 @@ var require_async = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3998
3997
|
}
|
3999
3998
|
}
|
4000
3999
|
});
|
4001
|
-
var require_sync = (0,
|
4000
|
+
var require_sync = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4002
4001
|
"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
|
4003
4002
|
"use strict";
|
4004
4003
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4024,12 +4023,12 @@ var require_sync = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4024
4023
|
exports.read = read;
|
4025
4024
|
}
|
4026
4025
|
});
|
4027
|
-
var require_fs2 = (0,
|
4026
|
+
var require_fs2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4028
4027
|
"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
|
4029
4028
|
"use strict";
|
4030
4029
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4031
4030
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
4032
|
-
var fs2 = (0,
|
4031
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
4033
4032
|
exports.FILE_SYSTEM_ADAPTER = {
|
4034
4033
|
lstat: fs2.lstat,
|
4035
4034
|
stat: fs2.stat,
|
@@ -4045,7 +4044,7 @@ var require_fs2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4045
4044
|
exports.createFileSystemAdapter = createFileSystemAdapter;
|
4046
4045
|
}
|
4047
4046
|
});
|
4048
|
-
var require_settings = (0,
|
4047
|
+
var require_settings = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4049
4048
|
"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports) {
|
4050
4049
|
"use strict";
|
4051
4050
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4065,7 +4064,7 @@ var require_settings = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4065
4064
|
exports.default = Settings;
|
4066
4065
|
}
|
4067
4066
|
});
|
4068
|
-
var require_out = (0,
|
4067
|
+
var require_out = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4069
4068
|
"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js"(exports) {
|
4070
4069
|
"use strict";
|
4071
4070
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4095,7 +4094,7 @@ var require_out = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4095
4094
|
}
|
4096
4095
|
}
|
4097
4096
|
});
|
4098
|
-
var require_queue_microtask = (0,
|
4097
|
+
var require_queue_microtask = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4099
4098
|
"../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports, module2) {
|
4100
4099
|
"use strict";
|
4101
4100
|
var promise;
|
@@ -4104,7 +4103,7 @@ var require_queue_microtask = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4104
4103
|
}, 0));
|
4105
4104
|
}
|
4106
4105
|
});
|
4107
|
-
var require_run_parallel = (0,
|
4106
|
+
var require_run_parallel = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4108
4107
|
"../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js"(exports, module2) {
|
4109
4108
|
"use strict";
|
4110
4109
|
module2.exports = runParallel;
|
@@ -4153,7 +4152,7 @@ var require_run_parallel = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4153
4152
|
}
|
4154
4153
|
}
|
4155
4154
|
});
|
4156
|
-
var require_constants3 = (0,
|
4155
|
+
var require_constants3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4157
4156
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
|
4158
4157
|
"use strict";
|
4159
4158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4171,7 +4170,7 @@ var require_constants3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4171
4170
|
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR;
|
4172
4171
|
}
|
4173
4172
|
});
|
4174
|
-
var require_fs3 = (0,
|
4173
|
+
var require_fs3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4175
4174
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
|
4176
4175
|
"use strict";
|
4177
4176
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4194,7 +4193,7 @@ var require_fs3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4194
4193
|
exports.createDirentFromStats = createDirentFromStats;
|
4195
4194
|
}
|
4196
4195
|
});
|
4197
|
-
var require_utils4 = (0,
|
4196
|
+
var require_utils4 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4198
4197
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
|
4199
4198
|
"use strict";
|
4200
4199
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4203,7 +4202,7 @@ var require_utils4 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4203
4202
|
exports.fs = fs2;
|
4204
4203
|
}
|
4205
4204
|
});
|
4206
|
-
var require_common = (0,
|
4205
|
+
var require_common = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4207
4206
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
|
4208
4207
|
"use strict";
|
4209
4208
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4217,7 +4216,7 @@ var require_common = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4217
4216
|
exports.joinPathSegments = joinPathSegments;
|
4218
4217
|
}
|
4219
4218
|
});
|
4220
|
-
var require_async2 = (0,
|
4219
|
+
var require_async2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4221
4220
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
|
4222
4221
|
"use strict";
|
4223
4222
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4325,7 +4324,7 @@ var require_async2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4325
4324
|
}
|
4326
4325
|
}
|
4327
4326
|
});
|
4328
|
-
var require_sync2 = (0,
|
4327
|
+
var require_sync2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4329
4328
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
|
4330
4329
|
"use strict";
|
4331
4330
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4382,12 +4381,12 @@ var require_sync2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4382
4381
|
exports.readdir = readdir;
|
4383
4382
|
}
|
4384
4383
|
});
|
4385
|
-
var require_fs4 = (0,
|
4384
|
+
var require_fs4 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4386
4385
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
|
4387
4386
|
"use strict";
|
4388
4387
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4389
4388
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
4390
|
-
var fs2 = (0,
|
4389
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
4391
4390
|
exports.FILE_SYSTEM_ADAPTER = {
|
4392
4391
|
lstat: fs2.lstat,
|
4393
4392
|
stat: fs2.stat,
|
@@ -4405,11 +4404,11 @@ var require_fs4 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4405
4404
|
exports.createFileSystemAdapter = createFileSystemAdapter;
|
4406
4405
|
}
|
4407
4406
|
});
|
4408
|
-
var require_settings2 = (0,
|
4407
|
+
var require_settings2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4409
4408
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
|
4410
4409
|
"use strict";
|
4411
4410
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4412
|
-
var path2 = (0,
|
4411
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
4413
4412
|
var fsStat = require_out();
|
4414
4413
|
var fs2 = require_fs4();
|
4415
4414
|
var Settings = class {
|
@@ -4433,7 +4432,7 @@ var require_settings2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4433
4432
|
exports.default = Settings;
|
4434
4433
|
}
|
4435
4434
|
});
|
4436
|
-
var require_out2 = (0,
|
4435
|
+
var require_out2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4437
4436
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
|
4438
4437
|
"use strict";
|
4439
4438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4463,7 +4462,7 @@ var require_out2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4463
4462
|
}
|
4464
4463
|
}
|
4465
4464
|
});
|
4466
|
-
var require_reusify = (0,
|
4465
|
+
var require_reusify = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4467
4466
|
"../../node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.js"(exports, module2) {
|
4468
4467
|
"use strict";
|
4469
4468
|
function reusify(Constructor) {
|
@@ -4492,7 +4491,7 @@ var require_reusify = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4492
4491
|
module2.exports = reusify;
|
4493
4492
|
}
|
4494
4493
|
});
|
4495
|
-
var require_queue = (0,
|
4494
|
+
var require_queue = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4496
4495
|
"../../node_modules/.pnpm/fastq@1.15.0/node_modules/fastq/queue.js"(exports, module2) {
|
4497
4496
|
"use strict";
|
4498
4497
|
var reusify = require_reusify();
|
@@ -4730,7 +4729,7 @@ var require_queue = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4730
4729
|
module2.exports.promise = queueAsPromised;
|
4731
4730
|
}
|
4732
4731
|
});
|
4733
|
-
var require_common2 = (0,
|
4732
|
+
var require_common2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4734
4733
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
|
4735
4734
|
"use strict";
|
4736
4735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4762,7 +4761,7 @@ var require_common2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4762
4761
|
exports.joinPathSegments = joinPathSegments;
|
4763
4762
|
}
|
4764
4763
|
});
|
4765
|
-
var require_reader = (0,
|
4764
|
+
var require_reader = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4766
4765
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports) {
|
4767
4766
|
"use strict";
|
4768
4767
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4777,11 +4776,11 @@ var require_reader = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4777
4776
|
exports.default = Reader;
|
4778
4777
|
}
|
4779
4778
|
});
|
4780
|
-
var require_async3 = (0,
|
4779
|
+
var require_async3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4781
4780
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(exports) {
|
4782
4781
|
"use strict";
|
4783
4782
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4784
|
-
var events_1 = (0,
|
4783
|
+
var events_1 = (0, import_chunk_OSFPEEC6.__require)("events");
|
4785
4784
|
var fsScandir = require_out2();
|
4786
4785
|
var fastq = require_queue();
|
4787
4786
|
var common = require_common2();
|
@@ -4878,7 +4877,7 @@ var require_async3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4878
4877
|
exports.default = AsyncReader;
|
4879
4878
|
}
|
4880
4879
|
});
|
4881
|
-
var require_async4 = (0,
|
4880
|
+
var require_async4 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4882
4881
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js"(exports) {
|
4883
4882
|
"use strict";
|
4884
4883
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -4912,11 +4911,11 @@ var require_async4 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4912
4911
|
}
|
4913
4912
|
}
|
4914
4913
|
});
|
4915
|
-
var require_stream2 = (0,
|
4914
|
+
var require_stream2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4916
4915
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports) {
|
4917
4916
|
"use strict";
|
4918
4917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4919
|
-
var stream_1 = (0,
|
4918
|
+
var stream_1 = (0, import_chunk_OSFPEEC6.__require)("stream");
|
4920
4919
|
var async_1 = require_async3();
|
4921
4920
|
var StreamProvider = class {
|
4922
4921
|
constructor(_root, _settings) {
|
@@ -4951,7 +4950,7 @@ var require_stream2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
4951
4950
|
exports.default = StreamProvider;
|
4952
4951
|
}
|
4953
4952
|
});
|
4954
|
-
var require_sync3 = (0,
|
4953
|
+
var require_sync3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
4955
4954
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports) {
|
4956
4955
|
"use strict";
|
4957
4956
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5013,7 +5012,7 @@ var require_sync3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5013
5012
|
exports.default = SyncReader;
|
5014
5013
|
}
|
5015
5014
|
});
|
5016
|
-
var require_sync4 = (0,
|
5015
|
+
var require_sync4 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5017
5016
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports) {
|
5018
5017
|
"use strict";
|
5019
5018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5031,11 +5030,11 @@ var require_sync4 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5031
5030
|
exports.default = SyncProvider;
|
5032
5031
|
}
|
5033
5032
|
});
|
5034
|
-
var require_settings3 = (0,
|
5033
|
+
var require_settings3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5035
5034
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
|
5036
5035
|
"use strict";
|
5037
5036
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5038
|
-
var path2 = (0,
|
5037
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
5039
5038
|
var fsScandir = require_out2();
|
5040
5039
|
var Settings = class {
|
5041
5040
|
constructor(_options = {}) {
|
@@ -5061,7 +5060,7 @@ var require_settings3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5061
5060
|
exports.default = Settings;
|
5062
5061
|
}
|
5063
5062
|
});
|
5064
|
-
var require_out3 = (0,
|
5063
|
+
var require_out3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5065
5064
|
"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js"(exports) {
|
5066
5065
|
"use strict";
|
5067
5066
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5099,11 +5098,11 @@ var require_out3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5099
5098
|
}
|
5100
5099
|
}
|
5101
5100
|
});
|
5102
|
-
var require_reader2 = (0,
|
5101
|
+
var require_reader2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5103
5102
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports) {
|
5104
5103
|
"use strict";
|
5105
5104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5106
|
-
var path2 = (0,
|
5105
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
5107
5106
|
var fsStat = require_out();
|
5108
5107
|
var utils = require_utils3();
|
5109
5108
|
var Reader = class {
|
@@ -5136,11 +5135,11 @@ var require_reader2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5136
5135
|
exports.default = Reader;
|
5137
5136
|
}
|
5138
5137
|
});
|
5139
|
-
var require_stream3 = (0,
|
5138
|
+
var require_stream3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5140
5139
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports) {
|
5141
5140
|
"use strict";
|
5142
5141
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5143
|
-
var stream_1 = (0,
|
5142
|
+
var stream_1 = (0, import_chunk_OSFPEEC6.__require)("stream");
|
5144
5143
|
var fsStat = require_out();
|
5145
5144
|
var fsWalk = require_out3();
|
5146
5145
|
var reader_1 = require_reader2();
|
@@ -5191,7 +5190,7 @@ var require_stream3 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5191
5190
|
exports.default = ReaderStream;
|
5192
5191
|
}
|
5193
5192
|
});
|
5194
|
-
var require_async5 = (0,
|
5193
|
+
var require_async5 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5195
5194
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports) {
|
5196
5195
|
"use strict";
|
5197
5196
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5228,7 +5227,7 @@ var require_async5 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5228
5227
|
exports.default = ReaderAsync;
|
5229
5228
|
}
|
5230
5229
|
});
|
5231
|
-
var require_matcher = (0,
|
5230
|
+
var require_matcher = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5232
5231
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
|
5233
5232
|
"use strict";
|
5234
5233
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5277,7 +5276,7 @@ var require_matcher = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5277
5276
|
exports.default = Matcher;
|
5278
5277
|
}
|
5279
5278
|
});
|
5280
|
-
var require_partial = (0,
|
5279
|
+
var require_partial = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5281
5280
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
|
5282
5281
|
"use strict";
|
5283
5282
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5312,7 +5311,7 @@ var require_partial = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5312
5311
|
exports.default = PartialMatcher;
|
5313
5312
|
}
|
5314
5313
|
});
|
5315
|
-
var require_deep = (0,
|
5314
|
+
var require_deep = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5316
5315
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
|
5317
5316
|
"use strict";
|
5318
5317
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5375,7 +5374,7 @@ var require_deep = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5375
5374
|
exports.default = DeepFilter;
|
5376
5375
|
}
|
5377
5376
|
});
|
5378
|
-
var require_entry = (0,
|
5377
|
+
var require_entry = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5379
5378
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
|
5380
5379
|
"use strict";
|
5381
5380
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5461,7 +5460,7 @@ var require_entry = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5461
5460
|
exports.default = EntryFilter;
|
5462
5461
|
}
|
5463
5462
|
});
|
5464
|
-
var require_error = (0,
|
5463
|
+
var require_error = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5465
5464
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
|
5466
5465
|
"use strict";
|
5467
5466
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5480,7 +5479,7 @@ var require_error = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5480
5479
|
exports.default = ErrorFilter;
|
5481
5480
|
}
|
5482
5481
|
});
|
5483
|
-
var require_entry2 = (0,
|
5482
|
+
var require_entry2 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5484
5483
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
|
5485
5484
|
"use strict";
|
5486
5485
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5510,11 +5509,11 @@ var require_entry2 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5510
5509
|
exports.default = EntryTransformer;
|
5511
5510
|
}
|
5512
5511
|
});
|
5513
|
-
var require_provider = (0,
|
5512
|
+
var require_provider = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5514
5513
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports) {
|
5515
5514
|
"use strict";
|
5516
5515
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5517
|
-
var path2 = (0,
|
5516
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
5518
5517
|
var deep_1 = require_deep();
|
5519
5518
|
var entry_1 = require_entry();
|
5520
5519
|
var error_1 = require_error();
|
@@ -5562,7 +5561,7 @@ var require_provider = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5562
5561
|
exports.default = Provider;
|
5563
5562
|
}
|
5564
5563
|
});
|
5565
|
-
var require_async6 = (0,
|
5564
|
+
var require_async6 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5566
5565
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports) {
|
5567
5566
|
"use strict";
|
5568
5567
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5589,11 +5588,11 @@ var require_async6 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5589
5588
|
exports.default = ProviderAsync;
|
5590
5589
|
}
|
5591
5590
|
});
|
5592
|
-
var require_stream4 = (0,
|
5591
|
+
var require_stream4 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5593
5592
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports) {
|
5594
5593
|
"use strict";
|
5595
5594
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5596
|
-
var stream_1 = (0,
|
5595
|
+
var stream_1 = (0, import_chunk_OSFPEEC6.__require)("stream");
|
5597
5596
|
var stream_2 = require_stream3();
|
5598
5597
|
var provider_1 = require_provider();
|
5599
5598
|
var ProviderStream = class extends provider_1.default {
|
@@ -5621,7 +5620,7 @@ var require_stream4 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5621
5620
|
exports.default = ProviderStream;
|
5622
5621
|
}
|
5623
5622
|
});
|
5624
|
-
var require_sync5 = (0,
|
5623
|
+
var require_sync5 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5625
5624
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports) {
|
5626
5625
|
"use strict";
|
5627
5626
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5667,7 +5666,7 @@ var require_sync5 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5667
5666
|
exports.default = ReaderSync;
|
5668
5667
|
}
|
5669
5668
|
});
|
5670
|
-
var require_sync6 = (0,
|
5669
|
+
var require_sync6 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5671
5670
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports) {
|
5672
5671
|
"use strict";
|
5673
5672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -5694,13 +5693,13 @@ var require_sync6 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5694
5693
|
exports.default = ProviderSync;
|
5695
5694
|
}
|
5696
5695
|
});
|
5697
|
-
var require_settings4 = (0,
|
5696
|
+
var require_settings4 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5698
5697
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports) {
|
5699
5698
|
"use strict";
|
5700
5699
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5701
5700
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
5702
|
-
var fs2 = (0,
|
5703
|
-
var os = (0,
|
5701
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
5702
|
+
var os = (0, import_chunk_OSFPEEC6.__require)("os");
|
5704
5703
|
var CPU_COUNT = Math.max(os.cpus().length, 1);
|
5705
5704
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
|
5706
5705
|
lstat: fs2.lstat,
|
@@ -5752,7 +5751,7 @@ var require_settings4 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5752
5751
|
exports.default = Settings;
|
5753
5752
|
}
|
5754
5753
|
});
|
5755
|
-
var require_out4 = (0,
|
5754
|
+
var require_out4 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5756
5755
|
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports, module2) {
|
5757
5756
|
"use strict";
|
5758
5757
|
var taskManager = require_tasks();
|
@@ -5851,17 +5850,17 @@ var require_out4 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5851
5850
|
module2.exports = FastGlob;
|
5852
5851
|
}
|
5853
5852
|
});
|
5854
|
-
var require_path_type = (0,
|
5853
|
+
var require_path_type = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5855
5854
|
"../../node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.js"(exports) {
|
5856
5855
|
"use strict";
|
5857
|
-
var { promisify:
|
5858
|
-
var fs2 = (0,
|
5856
|
+
var { promisify: promisify2 } = (0, import_chunk_OSFPEEC6.__require)("util");
|
5857
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
5859
5858
|
async function isType(fsStatType, statsMethodName, filePath) {
|
5860
5859
|
if (typeof filePath !== "string") {
|
5861
5860
|
throw new TypeError(`Expected a string, got ${typeof filePath}`);
|
5862
5861
|
}
|
5863
5862
|
try {
|
5864
|
-
const stats = await
|
5863
|
+
const stats = await promisify2(fs2[fsStatType])(filePath);
|
5865
5864
|
return stats[statsMethodName]();
|
5866
5865
|
} catch (error) {
|
5867
5866
|
if (error.code === "ENOENT") {
|
@@ -5891,10 +5890,10 @@ var require_path_type = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5891
5890
|
exports.isSymlinkSync = isTypeSync.bind(null, "lstatSync", "isSymbolicLink");
|
5892
5891
|
}
|
5893
5892
|
});
|
5894
|
-
var require_dir_glob = (0,
|
5893
|
+
var require_dir_glob = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5895
5894
|
"../../node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.js"(exports, module2) {
|
5896
5895
|
"use strict";
|
5897
|
-
var path2 = (0,
|
5896
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
5898
5897
|
var pathType = require_path_type();
|
5899
5898
|
var getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];
|
5900
5899
|
var getPath = (filepath, cwd) => {
|
@@ -5952,7 +5951,7 @@ var require_dir_glob = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
5952
5951
|
};
|
5953
5952
|
}
|
5954
5953
|
});
|
5955
|
-
var require_ignore = (0,
|
5954
|
+
var require_ignore = (0, import_chunk_OSFPEEC6.__commonJS)({
|
5956
5955
|
"../../node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.js"(exports, module2) {
|
5957
5956
|
"use strict";
|
5958
5957
|
function makeArray(subject) {
|
@@ -6324,7 +6323,7 @@ var require_ignore = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6324
6323
|
}
|
6325
6324
|
}
|
6326
6325
|
});
|
6327
|
-
var require_slash = (0,
|
6326
|
+
var require_slash = (0, import_chunk_OSFPEEC6.__commonJS)({
|
6328
6327
|
"../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(exports, module2) {
|
6329
6328
|
"use strict";
|
6330
6329
|
module2.exports = (path2) => {
|
@@ -6337,12 +6336,12 @@ var require_slash = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6337
6336
|
};
|
6338
6337
|
}
|
6339
6338
|
});
|
6340
|
-
var require_gitignore = (0,
|
6339
|
+
var require_gitignore = (0, import_chunk_OSFPEEC6.__commonJS)({
|
6341
6340
|
"../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js"(exports, module2) {
|
6342
6341
|
"use strict";
|
6343
|
-
var { promisify:
|
6344
|
-
var fs2 = (0,
|
6345
|
-
var path2 = (0,
|
6342
|
+
var { promisify: promisify2 } = (0, import_chunk_OSFPEEC6.__require)("util");
|
6343
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
6344
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
6346
6345
|
var fastGlob = require_out4();
|
6347
6346
|
var gitIgnore = require_ignore();
|
6348
6347
|
var slash = require_slash();
|
@@ -6352,7 +6351,7 @@ var require_gitignore = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6352
6351
|
"**/coverage/**",
|
6353
6352
|
"**/.git"
|
6354
6353
|
];
|
6355
|
-
var readFileP =
|
6354
|
+
var readFileP = promisify2(fs2.readFile);
|
6356
6355
|
var mapGitIgnorePatternTo = (base) => (ignore) => {
|
6357
6356
|
if (ignore.startsWith("!")) {
|
6358
6357
|
return "!" + path2.posix.join(base, ignore.slice(1));
|
@@ -6432,10 +6431,10 @@ var require_gitignore = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6432
6431
|
};
|
6433
6432
|
}
|
6434
6433
|
});
|
6435
|
-
var require_stream_utils = (0,
|
6434
|
+
var require_stream_utils = (0, import_chunk_OSFPEEC6.__commonJS)({
|
6436
6435
|
"../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/stream-utils.js"(exports, module2) {
|
6437
6436
|
"use strict";
|
6438
|
-
var { Transform } = (0,
|
6437
|
+
var { Transform } = (0, import_chunk_OSFPEEC6.__require)("stream");
|
6439
6438
|
var ObjectTransform = class extends Transform {
|
6440
6439
|
constructor() {
|
6441
6440
|
super({
|
@@ -6474,10 +6473,10 @@ var require_stream_utils = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6474
6473
|
};
|
6475
6474
|
}
|
6476
6475
|
});
|
6477
|
-
var require_globby = (0,
|
6476
|
+
var require_globby = (0, import_chunk_OSFPEEC6.__commonJS)({
|
6478
6477
|
"../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/index.js"(exports, module2) {
|
6479
6478
|
"use strict";
|
6480
|
-
var fs2 = (0,
|
6479
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
6481
6480
|
var arrayUnion = require_array_union();
|
6482
6481
|
var merge2 = require_merge2();
|
6483
6482
|
var fastGlob = require_out4();
|
@@ -6608,10 +6607,10 @@ var require_globby = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6608
6607
|
module2.exports.gitignore = gitignore;
|
6609
6608
|
}
|
6610
6609
|
});
|
6611
|
-
var require_polyfills = (0,
|
6610
|
+
var require_polyfills = (0, import_chunk_OSFPEEC6.__commonJS)({
|
6612
6611
|
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js"(exports, module2) {
|
6613
6612
|
"use strict";
|
6614
|
-
var constants = (0,
|
6613
|
+
var constants = (0, import_chunk_OSFPEEC6.__require)("constants");
|
6615
6614
|
var origCwd = process.cwd;
|
6616
6615
|
var cwd = null;
|
6617
6616
|
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
@@ -6895,10 +6894,10 @@ var require_polyfills = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6895
6894
|
}
|
6896
6895
|
}
|
6897
6896
|
});
|
6898
|
-
var require_legacy_streams = (0,
|
6897
|
+
var require_legacy_streams = (0, import_chunk_OSFPEEC6.__commonJS)({
|
6899
6898
|
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
|
6900
6899
|
"use strict";
|
6901
|
-
var Stream3 = (0,
|
6900
|
+
var Stream3 = (0, import_chunk_OSFPEEC6.__require)("stream").Stream;
|
6902
6901
|
module2.exports = legacy;
|
6903
6902
|
function legacy(fs2) {
|
6904
6903
|
return {
|
@@ -6990,7 +6989,7 @@ var require_legacy_streams = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
6990
6989
|
}
|
6991
6990
|
}
|
6992
6991
|
});
|
6993
|
-
var require_clone = (0,
|
6992
|
+
var require_clone = (0, import_chunk_OSFPEEC6.__commonJS)({
|
6994
6993
|
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js"(exports, module2) {
|
6995
6994
|
"use strict";
|
6996
6995
|
module2.exports = clone2;
|
@@ -7011,14 +7010,14 @@ var require_clone = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7011
7010
|
}
|
7012
7011
|
}
|
7013
7012
|
});
|
7014
|
-
var require_graceful_fs = (0,
|
7013
|
+
var require_graceful_fs = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7015
7014
|
"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
|
7016
7015
|
"use strict";
|
7017
|
-
var fs2 = (0,
|
7016
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
7018
7017
|
var polyfills = require_polyfills();
|
7019
7018
|
var legacy = require_legacy_streams();
|
7020
7019
|
var clone2 = require_clone();
|
7021
|
-
var util = (0,
|
7020
|
+
var util = (0, import_chunk_OSFPEEC6.__require)("util");
|
7022
7021
|
var gracefulQueue;
|
7023
7022
|
var previousSymbol;
|
7024
7023
|
if (typeof Symbol === "function" && typeof Symbol.for === "function") {
|
@@ -7077,7 +7076,7 @@ var require_graceful_fs = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7077
7076
|
if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
|
7078
7077
|
process.on("exit", function() {
|
7079
7078
|
debug2(fs2[gracefulQueue]);
|
7080
|
-
(0,
|
7079
|
+
(0, import_chunk_OSFPEEC6.__require)("assert").equal(fs2[gracefulQueue].length, 0);
|
7081
7080
|
});
|
7082
7081
|
}
|
7083
7082
|
}
|
@@ -7380,10 +7379,10 @@ var require_graceful_fs = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7380
7379
|
}
|
7381
7380
|
}
|
7382
7381
|
});
|
7383
|
-
var require_is_path_cwd = (0,
|
7382
|
+
var require_is_path_cwd = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7384
7383
|
"../../node_modules/.pnpm/is-path-cwd@2.2.0/node_modules/is-path-cwd/index.js"(exports, module2) {
|
7385
7384
|
"use strict";
|
7386
|
-
var path2 = (0,
|
7385
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
7387
7386
|
module2.exports = (path_) => {
|
7388
7387
|
let cwd = process.cwd();
|
7389
7388
|
path_ = path2.resolve(path_);
|
@@ -7395,10 +7394,10 @@ var require_is_path_cwd = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7395
7394
|
};
|
7396
7395
|
}
|
7397
7396
|
});
|
7398
|
-
var require_is_path_inside = (0,
|
7397
|
+
var require_is_path_inside = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7399
7398
|
"../../node_modules/.pnpm/is-path-inside@3.0.3/node_modules/is-path-inside/index.js"(exports, module2) {
|
7400
7399
|
"use strict";
|
7401
|
-
var path2 = (0,
|
7400
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
7402
7401
|
module2.exports = (childPath, parentPath) => {
|
7403
7402
|
const relation = path2.relative(parentPath, childPath);
|
7404
7403
|
return Boolean(
|
@@ -7407,20 +7406,2569 @@ var require_is_path_inside = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7407
7406
|
};
|
7408
7407
|
}
|
7409
7408
|
});
|
7410
|
-
var
|
7409
|
+
var require_old = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7410
|
+
"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js"(exports) {
|
7411
|
+
"use strict";
|
7412
|
+
var pathModule = (0, import_chunk_OSFPEEC6.__require)("path");
|
7413
|
+
var isWindows = process.platform === "win32";
|
7414
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
7415
|
+
var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
|
7416
|
+
function rethrow() {
|
7417
|
+
var callback;
|
7418
|
+
if (DEBUG) {
|
7419
|
+
var backtrace = new Error();
|
7420
|
+
callback = debugCallback;
|
7421
|
+
} else
|
7422
|
+
callback = missingCallback;
|
7423
|
+
return callback;
|
7424
|
+
function debugCallback(err) {
|
7425
|
+
if (err) {
|
7426
|
+
backtrace.message = err.message;
|
7427
|
+
err = backtrace;
|
7428
|
+
missingCallback(err);
|
7429
|
+
}
|
7430
|
+
}
|
7431
|
+
function missingCallback(err) {
|
7432
|
+
if (err) {
|
7433
|
+
if (process.throwDeprecation)
|
7434
|
+
throw err;
|
7435
|
+
else if (!process.noDeprecation) {
|
7436
|
+
var msg = "fs: missing callback " + (err.stack || err.message);
|
7437
|
+
if (process.traceDeprecation)
|
7438
|
+
console.trace(msg);
|
7439
|
+
else
|
7440
|
+
console.error(msg);
|
7441
|
+
}
|
7442
|
+
}
|
7443
|
+
}
|
7444
|
+
}
|
7445
|
+
function maybeCallback(cb) {
|
7446
|
+
return typeof cb === "function" ? cb : rethrow();
|
7447
|
+
}
|
7448
|
+
var normalize = pathModule.normalize;
|
7449
|
+
if (isWindows) {
|
7450
|
+
nextPartRe = /(.*?)(?:[\/\\]+|$)/g;
|
7451
|
+
} else {
|
7452
|
+
nextPartRe = /(.*?)(?:[\/]+|$)/g;
|
7453
|
+
}
|
7454
|
+
var nextPartRe;
|
7455
|
+
if (isWindows) {
|
7456
|
+
splitRootRe = /^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;
|
7457
|
+
} else {
|
7458
|
+
splitRootRe = /^[\/]*/;
|
7459
|
+
}
|
7460
|
+
var splitRootRe;
|
7461
|
+
exports.realpathSync = function realpathSync(p, cache) {
|
7462
|
+
p = pathModule.resolve(p);
|
7463
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, p)) {
|
7464
|
+
return cache[p];
|
7465
|
+
}
|
7466
|
+
var original = p, seenLinks = {}, knownHard = {};
|
7467
|
+
var pos;
|
7468
|
+
var current;
|
7469
|
+
var base;
|
7470
|
+
var previous;
|
7471
|
+
start();
|
7472
|
+
function start() {
|
7473
|
+
var m = splitRootRe.exec(p);
|
7474
|
+
pos = m[0].length;
|
7475
|
+
current = m[0];
|
7476
|
+
base = m[0];
|
7477
|
+
previous = "";
|
7478
|
+
if (isWindows && !knownHard[base]) {
|
7479
|
+
fs2.lstatSync(base);
|
7480
|
+
knownHard[base] = true;
|
7481
|
+
}
|
7482
|
+
}
|
7483
|
+
while (pos < p.length) {
|
7484
|
+
nextPartRe.lastIndex = pos;
|
7485
|
+
var result = nextPartRe.exec(p);
|
7486
|
+
previous = current;
|
7487
|
+
current += result[0];
|
7488
|
+
base = previous + result[1];
|
7489
|
+
pos = nextPartRe.lastIndex;
|
7490
|
+
if (knownHard[base] || cache && cache[base] === base) {
|
7491
|
+
continue;
|
7492
|
+
}
|
7493
|
+
var resolvedLink;
|
7494
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
|
7495
|
+
resolvedLink = cache[base];
|
7496
|
+
} else {
|
7497
|
+
var stat = fs2.lstatSync(base);
|
7498
|
+
if (!stat.isSymbolicLink()) {
|
7499
|
+
knownHard[base] = true;
|
7500
|
+
if (cache) cache[base] = base;
|
7501
|
+
continue;
|
7502
|
+
}
|
7503
|
+
var linkTarget = null;
|
7504
|
+
if (!isWindows) {
|
7505
|
+
var id = stat.dev.toString(32) + ":" + stat.ino.toString(32);
|
7506
|
+
if (seenLinks.hasOwnProperty(id)) {
|
7507
|
+
linkTarget = seenLinks[id];
|
7508
|
+
}
|
7509
|
+
}
|
7510
|
+
if (linkTarget === null) {
|
7511
|
+
fs2.statSync(base);
|
7512
|
+
linkTarget = fs2.readlinkSync(base);
|
7513
|
+
}
|
7514
|
+
resolvedLink = pathModule.resolve(previous, linkTarget);
|
7515
|
+
if (cache) cache[base] = resolvedLink;
|
7516
|
+
if (!isWindows) seenLinks[id] = linkTarget;
|
7517
|
+
}
|
7518
|
+
p = pathModule.resolve(resolvedLink, p.slice(pos));
|
7519
|
+
start();
|
7520
|
+
}
|
7521
|
+
if (cache) cache[original] = p;
|
7522
|
+
return p;
|
7523
|
+
};
|
7524
|
+
exports.realpath = function realpath(p, cache, cb) {
|
7525
|
+
if (typeof cb !== "function") {
|
7526
|
+
cb = maybeCallback(cache);
|
7527
|
+
cache = null;
|
7528
|
+
}
|
7529
|
+
p = pathModule.resolve(p);
|
7530
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, p)) {
|
7531
|
+
return process.nextTick(cb.bind(null, null, cache[p]));
|
7532
|
+
}
|
7533
|
+
var original = p, seenLinks = {}, knownHard = {};
|
7534
|
+
var pos;
|
7535
|
+
var current;
|
7536
|
+
var base;
|
7537
|
+
var previous;
|
7538
|
+
start();
|
7539
|
+
function start() {
|
7540
|
+
var m = splitRootRe.exec(p);
|
7541
|
+
pos = m[0].length;
|
7542
|
+
current = m[0];
|
7543
|
+
base = m[0];
|
7544
|
+
previous = "";
|
7545
|
+
if (isWindows && !knownHard[base]) {
|
7546
|
+
fs2.lstat(base, function(err) {
|
7547
|
+
if (err) return cb(err);
|
7548
|
+
knownHard[base] = true;
|
7549
|
+
LOOP();
|
7550
|
+
});
|
7551
|
+
} else {
|
7552
|
+
process.nextTick(LOOP);
|
7553
|
+
}
|
7554
|
+
}
|
7555
|
+
function LOOP() {
|
7556
|
+
if (pos >= p.length) {
|
7557
|
+
if (cache) cache[original] = p;
|
7558
|
+
return cb(null, p);
|
7559
|
+
}
|
7560
|
+
nextPartRe.lastIndex = pos;
|
7561
|
+
var result = nextPartRe.exec(p);
|
7562
|
+
previous = current;
|
7563
|
+
current += result[0];
|
7564
|
+
base = previous + result[1];
|
7565
|
+
pos = nextPartRe.lastIndex;
|
7566
|
+
if (knownHard[base] || cache && cache[base] === base) {
|
7567
|
+
return process.nextTick(LOOP);
|
7568
|
+
}
|
7569
|
+
if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
|
7570
|
+
return gotResolvedLink(cache[base]);
|
7571
|
+
}
|
7572
|
+
return fs2.lstat(base, gotStat);
|
7573
|
+
}
|
7574
|
+
function gotStat(err, stat) {
|
7575
|
+
if (err) return cb(err);
|
7576
|
+
if (!stat.isSymbolicLink()) {
|
7577
|
+
knownHard[base] = true;
|
7578
|
+
if (cache) cache[base] = base;
|
7579
|
+
return process.nextTick(LOOP);
|
7580
|
+
}
|
7581
|
+
if (!isWindows) {
|
7582
|
+
var id = stat.dev.toString(32) + ":" + stat.ino.toString(32);
|
7583
|
+
if (seenLinks.hasOwnProperty(id)) {
|
7584
|
+
return gotTarget(null, seenLinks[id], base);
|
7585
|
+
}
|
7586
|
+
}
|
7587
|
+
fs2.stat(base, function(err2) {
|
7588
|
+
if (err2) return cb(err2);
|
7589
|
+
fs2.readlink(base, function(err3, target) {
|
7590
|
+
if (!isWindows) seenLinks[id] = target;
|
7591
|
+
gotTarget(err3, target);
|
7592
|
+
});
|
7593
|
+
});
|
7594
|
+
}
|
7595
|
+
function gotTarget(err, target, base2) {
|
7596
|
+
if (err) return cb(err);
|
7597
|
+
var resolvedLink = pathModule.resolve(previous, target);
|
7598
|
+
if (cache) cache[base2] = resolvedLink;
|
7599
|
+
gotResolvedLink(resolvedLink);
|
7600
|
+
}
|
7601
|
+
function gotResolvedLink(resolvedLink) {
|
7602
|
+
p = pathModule.resolve(resolvedLink, p.slice(pos));
|
7603
|
+
start();
|
7604
|
+
}
|
7605
|
+
};
|
7606
|
+
}
|
7607
|
+
});
|
7608
|
+
var require_fs5 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7609
|
+
"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js"(exports, module2) {
|
7610
|
+
"use strict";
|
7611
|
+
module2.exports = realpath;
|
7612
|
+
realpath.realpath = realpath;
|
7613
|
+
realpath.sync = realpathSync;
|
7614
|
+
realpath.realpathSync = realpathSync;
|
7615
|
+
realpath.monkeypatch = monkeypatch;
|
7616
|
+
realpath.unmonkeypatch = unmonkeypatch;
|
7617
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
7618
|
+
var origRealpath = fs2.realpath;
|
7619
|
+
var origRealpathSync = fs2.realpathSync;
|
7620
|
+
var version = process.version;
|
7621
|
+
var ok = /^v[0-5]\./.test(version);
|
7622
|
+
var old = require_old();
|
7623
|
+
function newError(er) {
|
7624
|
+
return er && er.syscall === "realpath" && (er.code === "ELOOP" || er.code === "ENOMEM" || er.code === "ENAMETOOLONG");
|
7625
|
+
}
|
7626
|
+
function realpath(p, cache, cb) {
|
7627
|
+
if (ok) {
|
7628
|
+
return origRealpath(p, cache, cb);
|
7629
|
+
}
|
7630
|
+
if (typeof cache === "function") {
|
7631
|
+
cb = cache;
|
7632
|
+
cache = null;
|
7633
|
+
}
|
7634
|
+
origRealpath(p, cache, function(er, result) {
|
7635
|
+
if (newError(er)) {
|
7636
|
+
old.realpath(p, cache, cb);
|
7637
|
+
} else {
|
7638
|
+
cb(er, result);
|
7639
|
+
}
|
7640
|
+
});
|
7641
|
+
}
|
7642
|
+
function realpathSync(p, cache) {
|
7643
|
+
if (ok) {
|
7644
|
+
return origRealpathSync(p, cache);
|
7645
|
+
}
|
7646
|
+
try {
|
7647
|
+
return origRealpathSync(p, cache);
|
7648
|
+
} catch (er) {
|
7649
|
+
if (newError(er)) {
|
7650
|
+
return old.realpathSync(p, cache);
|
7651
|
+
} else {
|
7652
|
+
throw er;
|
7653
|
+
}
|
7654
|
+
}
|
7655
|
+
}
|
7656
|
+
function monkeypatch() {
|
7657
|
+
fs2.realpath = realpath;
|
7658
|
+
fs2.realpathSync = realpathSync;
|
7659
|
+
}
|
7660
|
+
function unmonkeypatch() {
|
7661
|
+
fs2.realpath = origRealpath;
|
7662
|
+
fs2.realpathSync = origRealpathSync;
|
7663
|
+
}
|
7664
|
+
}
|
7665
|
+
});
|
7666
|
+
var require_concat_map = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7667
|
+
"../../node_modules/.pnpm/concat-map@0.0.1/node_modules/concat-map/index.js"(exports, module2) {
|
7668
|
+
"use strict";
|
7669
|
+
module2.exports = function(xs, fn) {
|
7670
|
+
var res = [];
|
7671
|
+
for (var i = 0; i < xs.length; i++) {
|
7672
|
+
var x = fn(xs[i], i);
|
7673
|
+
if (isArray(x)) res.push.apply(res, x);
|
7674
|
+
else res.push(x);
|
7675
|
+
}
|
7676
|
+
return res;
|
7677
|
+
};
|
7678
|
+
var isArray = Array.isArray || function(xs) {
|
7679
|
+
return Object.prototype.toString.call(xs) === "[object Array]";
|
7680
|
+
};
|
7681
|
+
}
|
7682
|
+
});
|
7683
|
+
var require_brace_expansion = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7684
|
+
"../../node_modules/.pnpm/brace-expansion@1.1.11/node_modules/brace-expansion/index.js"(exports, module2) {
|
7685
|
+
"use strict";
|
7686
|
+
var concatMap = require_concat_map();
|
7687
|
+
var balanced = (0, import_chunk_MSGI7ABO.require_balanced_match)();
|
7688
|
+
module2.exports = expandTop;
|
7689
|
+
var escSlash = "\0SLASH" + Math.random() + "\0";
|
7690
|
+
var escOpen = "\0OPEN" + Math.random() + "\0";
|
7691
|
+
var escClose = "\0CLOSE" + Math.random() + "\0";
|
7692
|
+
var escComma = "\0COMMA" + Math.random() + "\0";
|
7693
|
+
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
7694
|
+
function numeric(str) {
|
7695
|
+
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
7696
|
+
}
|
7697
|
+
function escapeBraces(str) {
|
7698
|
+
return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
7699
|
+
}
|
7700
|
+
function unescapeBraces(str) {
|
7701
|
+
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
7702
|
+
}
|
7703
|
+
function parseCommaParts(str) {
|
7704
|
+
if (!str)
|
7705
|
+
return [""];
|
7706
|
+
var parts = [];
|
7707
|
+
var m = balanced("{", "}", str);
|
7708
|
+
if (!m)
|
7709
|
+
return str.split(",");
|
7710
|
+
var pre = m.pre;
|
7711
|
+
var body = m.body;
|
7712
|
+
var post = m.post;
|
7713
|
+
var p = pre.split(",");
|
7714
|
+
p[p.length - 1] += "{" + body + "}";
|
7715
|
+
var postParts = parseCommaParts(post);
|
7716
|
+
if (post.length) {
|
7717
|
+
p[p.length - 1] += postParts.shift();
|
7718
|
+
p.push.apply(p, postParts);
|
7719
|
+
}
|
7720
|
+
parts.push.apply(parts, p);
|
7721
|
+
return parts;
|
7722
|
+
}
|
7723
|
+
function expandTop(str) {
|
7724
|
+
if (!str)
|
7725
|
+
return [];
|
7726
|
+
if (str.substr(0, 2) === "{}") {
|
7727
|
+
str = "\\{\\}" + str.substr(2);
|
7728
|
+
}
|
7729
|
+
return expand(escapeBraces(str), true).map(unescapeBraces);
|
7730
|
+
}
|
7731
|
+
function embrace(str) {
|
7732
|
+
return "{" + str + "}";
|
7733
|
+
}
|
7734
|
+
function isPadded(el) {
|
7735
|
+
return /^-?0\d/.test(el);
|
7736
|
+
}
|
7737
|
+
function lte(i, y) {
|
7738
|
+
return i <= y;
|
7739
|
+
}
|
7740
|
+
function gte(i, y) {
|
7741
|
+
return i >= y;
|
7742
|
+
}
|
7743
|
+
function expand(str, isTop) {
|
7744
|
+
var expansions = [];
|
7745
|
+
var m = balanced("{", "}", str);
|
7746
|
+
if (!m || /\$$/.test(m.pre)) return [str];
|
7747
|
+
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
7748
|
+
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
7749
|
+
var isSequence = isNumericSequence || isAlphaSequence;
|
7750
|
+
var isOptions = m.body.indexOf(",") >= 0;
|
7751
|
+
if (!isSequence && !isOptions) {
|
7752
|
+
if (m.post.match(/,.*\}/)) {
|
7753
|
+
str = m.pre + "{" + m.body + escClose + m.post;
|
7754
|
+
return expand(str);
|
7755
|
+
}
|
7756
|
+
return [str];
|
7757
|
+
}
|
7758
|
+
var n;
|
7759
|
+
if (isSequence) {
|
7760
|
+
n = m.body.split(/\.\./);
|
7761
|
+
} else {
|
7762
|
+
n = parseCommaParts(m.body);
|
7763
|
+
if (n.length === 1) {
|
7764
|
+
n = expand(n[0], false).map(embrace);
|
7765
|
+
if (n.length === 1) {
|
7766
|
+
var post = m.post.length ? expand(m.post, false) : [""];
|
7767
|
+
return post.map(function(p) {
|
7768
|
+
return m.pre + n[0] + p;
|
7769
|
+
});
|
7770
|
+
}
|
7771
|
+
}
|
7772
|
+
}
|
7773
|
+
var pre = m.pre;
|
7774
|
+
var post = m.post.length ? expand(m.post, false) : [""];
|
7775
|
+
var N;
|
7776
|
+
if (isSequence) {
|
7777
|
+
var x = numeric(n[0]);
|
7778
|
+
var y = numeric(n[1]);
|
7779
|
+
var width = Math.max(n[0].length, n[1].length);
|
7780
|
+
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
7781
|
+
var test = lte;
|
7782
|
+
var reverse = y < x;
|
7783
|
+
if (reverse) {
|
7784
|
+
incr *= -1;
|
7785
|
+
test = gte;
|
7786
|
+
}
|
7787
|
+
var pad = n.some(isPadded);
|
7788
|
+
N = [];
|
7789
|
+
for (var i = x; test(i, y); i += incr) {
|
7790
|
+
var c;
|
7791
|
+
if (isAlphaSequence) {
|
7792
|
+
c = String.fromCharCode(i);
|
7793
|
+
if (c === "\\")
|
7794
|
+
c = "";
|
7795
|
+
} else {
|
7796
|
+
c = String(i);
|
7797
|
+
if (pad) {
|
7798
|
+
var need = width - c.length;
|
7799
|
+
if (need > 0) {
|
7800
|
+
var z = new Array(need + 1).join("0");
|
7801
|
+
if (i < 0)
|
7802
|
+
c = "-" + z + c.slice(1);
|
7803
|
+
else
|
7804
|
+
c = z + c;
|
7805
|
+
}
|
7806
|
+
}
|
7807
|
+
}
|
7808
|
+
N.push(c);
|
7809
|
+
}
|
7810
|
+
} else {
|
7811
|
+
N = concatMap(n, function(el) {
|
7812
|
+
return expand(el, false);
|
7813
|
+
});
|
7814
|
+
}
|
7815
|
+
for (var j = 0; j < N.length; j++) {
|
7816
|
+
for (var k = 0; k < post.length; k++) {
|
7817
|
+
var expansion = pre + N[j] + post[k];
|
7818
|
+
if (!isTop || isSequence || expansion)
|
7819
|
+
expansions.push(expansion);
|
7820
|
+
}
|
7821
|
+
}
|
7822
|
+
return expansions;
|
7823
|
+
}
|
7824
|
+
}
|
7825
|
+
});
|
7826
|
+
var require_minimatch = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7827
|
+
"../../node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js"(exports, module2) {
|
7828
|
+
"use strict";
|
7829
|
+
module2.exports = minimatch;
|
7830
|
+
minimatch.Minimatch = Minimatch;
|
7831
|
+
var path2 = function() {
|
7832
|
+
try {
|
7833
|
+
return (0, import_chunk_OSFPEEC6.__require)("path");
|
7834
|
+
} catch (e) {
|
7835
|
+
}
|
7836
|
+
}() || {
|
7837
|
+
sep: "/"
|
7838
|
+
};
|
7839
|
+
minimatch.sep = path2.sep;
|
7840
|
+
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
|
7841
|
+
var expand = require_brace_expansion();
|
7842
|
+
var plTypes = {
|
7843
|
+
"!": { open: "(?:(?!(?:", close: "))[^/]*?)" },
|
7844
|
+
"?": { open: "(?:", close: ")?" },
|
7845
|
+
"+": { open: "(?:", close: ")+" },
|
7846
|
+
"*": { open: "(?:", close: ")*" },
|
7847
|
+
"@": { open: "(?:", close: ")" }
|
7848
|
+
};
|
7849
|
+
var qmark = "[^/]";
|
7850
|
+
var star = qmark + "*?";
|
7851
|
+
var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
|
7852
|
+
var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
|
7853
|
+
var reSpecials = charSet("().*{}+?[]^$\\!");
|
7854
|
+
function charSet(s) {
|
7855
|
+
return s.split("").reduce(function(set, c) {
|
7856
|
+
set[c] = true;
|
7857
|
+
return set;
|
7858
|
+
}, {});
|
7859
|
+
}
|
7860
|
+
var slashSplit = /\/+/;
|
7861
|
+
minimatch.filter = filter;
|
7862
|
+
function filter(pattern, options) {
|
7863
|
+
options = options || {};
|
7864
|
+
return function(p, i, list) {
|
7865
|
+
return minimatch(p, pattern, options);
|
7866
|
+
};
|
7867
|
+
}
|
7868
|
+
function ext(a, b) {
|
7869
|
+
b = b || {};
|
7870
|
+
var t = {};
|
7871
|
+
Object.keys(a).forEach(function(k) {
|
7872
|
+
t[k] = a[k];
|
7873
|
+
});
|
7874
|
+
Object.keys(b).forEach(function(k) {
|
7875
|
+
t[k] = b[k];
|
7876
|
+
});
|
7877
|
+
return t;
|
7878
|
+
}
|
7879
|
+
minimatch.defaults = function(def) {
|
7880
|
+
if (!def || typeof def !== "object" || !Object.keys(def).length) {
|
7881
|
+
return minimatch;
|
7882
|
+
}
|
7883
|
+
var orig = minimatch;
|
7884
|
+
var m = function minimatch2(p, pattern, options) {
|
7885
|
+
return orig(p, pattern, ext(def, options));
|
7886
|
+
};
|
7887
|
+
m.Minimatch = function Minimatch2(pattern, options) {
|
7888
|
+
return new orig.Minimatch(pattern, ext(def, options));
|
7889
|
+
};
|
7890
|
+
m.Minimatch.defaults = function defaults(options) {
|
7891
|
+
return orig.defaults(ext(def, options)).Minimatch;
|
7892
|
+
};
|
7893
|
+
m.filter = function filter2(pattern, options) {
|
7894
|
+
return orig.filter(pattern, ext(def, options));
|
7895
|
+
};
|
7896
|
+
m.defaults = function defaults(options) {
|
7897
|
+
return orig.defaults(ext(def, options));
|
7898
|
+
};
|
7899
|
+
m.makeRe = function makeRe2(pattern, options) {
|
7900
|
+
return orig.makeRe(pattern, ext(def, options));
|
7901
|
+
};
|
7902
|
+
m.braceExpand = function braceExpand2(pattern, options) {
|
7903
|
+
return orig.braceExpand(pattern, ext(def, options));
|
7904
|
+
};
|
7905
|
+
m.match = function(list, pattern, options) {
|
7906
|
+
return orig.match(list, pattern, ext(def, options));
|
7907
|
+
};
|
7908
|
+
return m;
|
7909
|
+
};
|
7910
|
+
Minimatch.defaults = function(def) {
|
7911
|
+
return minimatch.defaults(def).Minimatch;
|
7912
|
+
};
|
7913
|
+
function minimatch(p, pattern, options) {
|
7914
|
+
assertValidPattern(pattern);
|
7915
|
+
if (!options) options = {};
|
7916
|
+
if (!options.nocomment && pattern.charAt(0) === "#") {
|
7917
|
+
return false;
|
7918
|
+
}
|
7919
|
+
return new Minimatch(pattern, options).match(p);
|
7920
|
+
}
|
7921
|
+
function Minimatch(pattern, options) {
|
7922
|
+
if (!(this instanceof Minimatch)) {
|
7923
|
+
return new Minimatch(pattern, options);
|
7924
|
+
}
|
7925
|
+
assertValidPattern(pattern);
|
7926
|
+
if (!options) options = {};
|
7927
|
+
pattern = pattern.trim();
|
7928
|
+
if (!options.allowWindowsEscape && path2.sep !== "/") {
|
7929
|
+
pattern = pattern.split(path2.sep).join("/");
|
7930
|
+
}
|
7931
|
+
this.options = options;
|
7932
|
+
this.set = [];
|
7933
|
+
this.pattern = pattern;
|
7934
|
+
this.regexp = null;
|
7935
|
+
this.negate = false;
|
7936
|
+
this.comment = false;
|
7937
|
+
this.empty = false;
|
7938
|
+
this.partial = !!options.partial;
|
7939
|
+
this.make();
|
7940
|
+
}
|
7941
|
+
Minimatch.prototype.debug = function() {
|
7942
|
+
};
|
7943
|
+
Minimatch.prototype.make = make;
|
7944
|
+
function make() {
|
7945
|
+
var pattern = this.pattern;
|
7946
|
+
var options = this.options;
|
7947
|
+
if (!options.nocomment && pattern.charAt(0) === "#") {
|
7948
|
+
this.comment = true;
|
7949
|
+
return;
|
7950
|
+
}
|
7951
|
+
if (!pattern) {
|
7952
|
+
this.empty = true;
|
7953
|
+
return;
|
7954
|
+
}
|
7955
|
+
this.parseNegate();
|
7956
|
+
var set = this.globSet = this.braceExpand();
|
7957
|
+
if (options.debug) this.debug = function debug2() {
|
7958
|
+
console.error.apply(console, arguments);
|
7959
|
+
};
|
7960
|
+
this.debug(this.pattern, set);
|
7961
|
+
set = this.globParts = set.map(function(s) {
|
7962
|
+
return s.split(slashSplit);
|
7963
|
+
});
|
7964
|
+
this.debug(this.pattern, set);
|
7965
|
+
set = set.map(function(s, si, set2) {
|
7966
|
+
return s.map(this.parse, this);
|
7967
|
+
}, this);
|
7968
|
+
this.debug(this.pattern, set);
|
7969
|
+
set = set.filter(function(s) {
|
7970
|
+
return s.indexOf(false) === -1;
|
7971
|
+
});
|
7972
|
+
this.debug(this.pattern, set);
|
7973
|
+
this.set = set;
|
7974
|
+
}
|
7975
|
+
Minimatch.prototype.parseNegate = parseNegate;
|
7976
|
+
function parseNegate() {
|
7977
|
+
var pattern = this.pattern;
|
7978
|
+
var negate = false;
|
7979
|
+
var options = this.options;
|
7980
|
+
var negateOffset = 0;
|
7981
|
+
if (options.nonegate) return;
|
7982
|
+
for (var i = 0, l = pattern.length; i < l && pattern.charAt(i) === "!"; i++) {
|
7983
|
+
negate = !negate;
|
7984
|
+
negateOffset++;
|
7985
|
+
}
|
7986
|
+
if (negateOffset) this.pattern = pattern.substr(negateOffset);
|
7987
|
+
this.negate = negate;
|
7988
|
+
}
|
7989
|
+
minimatch.braceExpand = function(pattern, options) {
|
7990
|
+
return braceExpand(pattern, options);
|
7991
|
+
};
|
7992
|
+
Minimatch.prototype.braceExpand = braceExpand;
|
7993
|
+
function braceExpand(pattern, options) {
|
7994
|
+
if (!options) {
|
7995
|
+
if (this instanceof Minimatch) {
|
7996
|
+
options = this.options;
|
7997
|
+
} else {
|
7998
|
+
options = {};
|
7999
|
+
}
|
8000
|
+
}
|
8001
|
+
pattern = typeof pattern === "undefined" ? this.pattern : pattern;
|
8002
|
+
assertValidPattern(pattern);
|
8003
|
+
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
8004
|
+
return [pattern];
|
8005
|
+
}
|
8006
|
+
return expand(pattern);
|
8007
|
+
}
|
8008
|
+
var MAX_PATTERN_LENGTH = 1024 * 64;
|
8009
|
+
var assertValidPattern = function(pattern) {
|
8010
|
+
if (typeof pattern !== "string") {
|
8011
|
+
throw new TypeError("invalid pattern");
|
8012
|
+
}
|
8013
|
+
if (pattern.length > MAX_PATTERN_LENGTH) {
|
8014
|
+
throw new TypeError("pattern is too long");
|
8015
|
+
}
|
8016
|
+
};
|
8017
|
+
Minimatch.prototype.parse = parse;
|
8018
|
+
var SUBPARSE = {};
|
8019
|
+
function parse(pattern, isSub) {
|
8020
|
+
assertValidPattern(pattern);
|
8021
|
+
var options = this.options;
|
8022
|
+
if (pattern === "**") {
|
8023
|
+
if (!options.noglobstar)
|
8024
|
+
return GLOBSTAR;
|
8025
|
+
else
|
8026
|
+
pattern = "*";
|
8027
|
+
}
|
8028
|
+
if (pattern === "") return "";
|
8029
|
+
var re = "";
|
8030
|
+
var hasMagic = !!options.nocase;
|
8031
|
+
var escaping = false;
|
8032
|
+
var patternListStack = [];
|
8033
|
+
var negativeLists = [];
|
8034
|
+
var stateChar;
|
8035
|
+
var inClass = false;
|
8036
|
+
var reClassStart = -1;
|
8037
|
+
var classStart = -1;
|
8038
|
+
var patternStart = pattern.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
8039
|
+
var self = this;
|
8040
|
+
function clearStateChar() {
|
8041
|
+
if (stateChar) {
|
8042
|
+
switch (stateChar) {
|
8043
|
+
case "*":
|
8044
|
+
re += star;
|
8045
|
+
hasMagic = true;
|
8046
|
+
break;
|
8047
|
+
case "?":
|
8048
|
+
re += qmark;
|
8049
|
+
hasMagic = true;
|
8050
|
+
break;
|
8051
|
+
default:
|
8052
|
+
re += "\\" + stateChar;
|
8053
|
+
break;
|
8054
|
+
}
|
8055
|
+
self.debug("clearStateChar %j %j", stateChar, re);
|
8056
|
+
stateChar = false;
|
8057
|
+
}
|
8058
|
+
}
|
8059
|
+
for (var i = 0, len = pattern.length, c; i < len && (c = pattern.charAt(i)); i++) {
|
8060
|
+
this.debug("%s %s %s %j", pattern, i, re, c);
|
8061
|
+
if (escaping && reSpecials[c]) {
|
8062
|
+
re += "\\" + c;
|
8063
|
+
escaping = false;
|
8064
|
+
continue;
|
8065
|
+
}
|
8066
|
+
switch (c) {
|
8067
|
+
/* istanbul ignore next */
|
8068
|
+
case "/": {
|
8069
|
+
return false;
|
8070
|
+
}
|
8071
|
+
case "\\":
|
8072
|
+
clearStateChar();
|
8073
|
+
escaping = true;
|
8074
|
+
continue;
|
8075
|
+
// the various stateChar values
|
8076
|
+
// for the "extglob" stuff.
|
8077
|
+
case "?":
|
8078
|
+
case "*":
|
8079
|
+
case "+":
|
8080
|
+
case "@":
|
8081
|
+
case "!":
|
8082
|
+
this.debug("%s %s %s %j <-- stateChar", pattern, i, re, c);
|
8083
|
+
if (inClass) {
|
8084
|
+
this.debug(" in class");
|
8085
|
+
if (c === "!" && i === classStart + 1) c = "^";
|
8086
|
+
re += c;
|
8087
|
+
continue;
|
8088
|
+
}
|
8089
|
+
self.debug("call clearStateChar %j", stateChar);
|
8090
|
+
clearStateChar();
|
8091
|
+
stateChar = c;
|
8092
|
+
if (options.noext) clearStateChar();
|
8093
|
+
continue;
|
8094
|
+
case "(":
|
8095
|
+
if (inClass) {
|
8096
|
+
re += "(";
|
8097
|
+
continue;
|
8098
|
+
}
|
8099
|
+
if (!stateChar) {
|
8100
|
+
re += "\\(";
|
8101
|
+
continue;
|
8102
|
+
}
|
8103
|
+
patternListStack.push({
|
8104
|
+
type: stateChar,
|
8105
|
+
start: i - 1,
|
8106
|
+
reStart: re.length,
|
8107
|
+
open: plTypes[stateChar].open,
|
8108
|
+
close: plTypes[stateChar].close
|
8109
|
+
});
|
8110
|
+
re += stateChar === "!" ? "(?:(?!(?:" : "(?:";
|
8111
|
+
this.debug("plType %j %j", stateChar, re);
|
8112
|
+
stateChar = false;
|
8113
|
+
continue;
|
8114
|
+
case ")":
|
8115
|
+
if (inClass || !patternListStack.length) {
|
8116
|
+
re += "\\)";
|
8117
|
+
continue;
|
8118
|
+
}
|
8119
|
+
clearStateChar();
|
8120
|
+
hasMagic = true;
|
8121
|
+
var pl = patternListStack.pop();
|
8122
|
+
re += pl.close;
|
8123
|
+
if (pl.type === "!") {
|
8124
|
+
negativeLists.push(pl);
|
8125
|
+
}
|
8126
|
+
pl.reEnd = re.length;
|
8127
|
+
continue;
|
8128
|
+
case "|":
|
8129
|
+
if (inClass || !patternListStack.length || escaping) {
|
8130
|
+
re += "\\|";
|
8131
|
+
escaping = false;
|
8132
|
+
continue;
|
8133
|
+
}
|
8134
|
+
clearStateChar();
|
8135
|
+
re += "|";
|
8136
|
+
continue;
|
8137
|
+
// these are mostly the same in regexp and glob
|
8138
|
+
case "[":
|
8139
|
+
clearStateChar();
|
8140
|
+
if (inClass) {
|
8141
|
+
re += "\\" + c;
|
8142
|
+
continue;
|
8143
|
+
}
|
8144
|
+
inClass = true;
|
8145
|
+
classStart = i;
|
8146
|
+
reClassStart = re.length;
|
8147
|
+
re += c;
|
8148
|
+
continue;
|
8149
|
+
case "]":
|
8150
|
+
if (i === classStart + 1 || !inClass) {
|
8151
|
+
re += "\\" + c;
|
8152
|
+
escaping = false;
|
8153
|
+
continue;
|
8154
|
+
}
|
8155
|
+
var cs = pattern.substring(classStart + 1, i);
|
8156
|
+
try {
|
8157
|
+
RegExp("[" + cs + "]");
|
8158
|
+
} catch (er) {
|
8159
|
+
var sp = this.parse(cs, SUBPARSE);
|
8160
|
+
re = re.substr(0, reClassStart) + "\\[" + sp[0] + "\\]";
|
8161
|
+
hasMagic = hasMagic || sp[1];
|
8162
|
+
inClass = false;
|
8163
|
+
continue;
|
8164
|
+
}
|
8165
|
+
hasMagic = true;
|
8166
|
+
inClass = false;
|
8167
|
+
re += c;
|
8168
|
+
continue;
|
8169
|
+
default:
|
8170
|
+
clearStateChar();
|
8171
|
+
if (escaping) {
|
8172
|
+
escaping = false;
|
8173
|
+
} else if (reSpecials[c] && !(c === "^" && inClass)) {
|
8174
|
+
re += "\\";
|
8175
|
+
}
|
8176
|
+
re += c;
|
8177
|
+
}
|
8178
|
+
}
|
8179
|
+
if (inClass) {
|
8180
|
+
cs = pattern.substr(classStart + 1);
|
8181
|
+
sp = this.parse(cs, SUBPARSE);
|
8182
|
+
re = re.substr(0, reClassStart) + "\\[" + sp[0];
|
8183
|
+
hasMagic = hasMagic || sp[1];
|
8184
|
+
}
|
8185
|
+
for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
|
8186
|
+
var tail = re.slice(pl.reStart + pl.open.length);
|
8187
|
+
this.debug("setting tail", re, pl);
|
8188
|
+
tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, function(_, $1, $2) {
|
8189
|
+
if (!$2) {
|
8190
|
+
$2 = "\\";
|
8191
|
+
}
|
8192
|
+
return $1 + $1 + $2 + "|";
|
8193
|
+
});
|
8194
|
+
this.debug("tail=%j\n %s", tail, tail, pl, re);
|
8195
|
+
var t = pl.type === "*" ? star : pl.type === "?" ? qmark : "\\" + pl.type;
|
8196
|
+
hasMagic = true;
|
8197
|
+
re = re.slice(0, pl.reStart) + t + "\\(" + tail;
|
8198
|
+
}
|
8199
|
+
clearStateChar();
|
8200
|
+
if (escaping) {
|
8201
|
+
re += "\\\\";
|
8202
|
+
}
|
8203
|
+
var addPatternStart = false;
|
8204
|
+
switch (re.charAt(0)) {
|
8205
|
+
case "[":
|
8206
|
+
case ".":
|
8207
|
+
case "(":
|
8208
|
+
addPatternStart = true;
|
8209
|
+
}
|
8210
|
+
for (var n = negativeLists.length - 1; n > -1; n--) {
|
8211
|
+
var nl = negativeLists[n];
|
8212
|
+
var nlBefore = re.slice(0, nl.reStart);
|
8213
|
+
var nlFirst = re.slice(nl.reStart, nl.reEnd - 8);
|
8214
|
+
var nlLast = re.slice(nl.reEnd - 8, nl.reEnd);
|
8215
|
+
var nlAfter = re.slice(nl.reEnd);
|
8216
|
+
nlLast += nlAfter;
|
8217
|
+
var openParensBefore = nlBefore.split("(").length - 1;
|
8218
|
+
var cleanAfter = nlAfter;
|
8219
|
+
for (i = 0; i < openParensBefore; i++) {
|
8220
|
+
cleanAfter = cleanAfter.replace(/\)[+*?]?/, "");
|
8221
|
+
}
|
8222
|
+
nlAfter = cleanAfter;
|
8223
|
+
var dollar = "";
|
8224
|
+
if (nlAfter === "" && isSub !== SUBPARSE) {
|
8225
|
+
dollar = "$";
|
8226
|
+
}
|
8227
|
+
var newRe = nlBefore + nlFirst + nlAfter + dollar + nlLast;
|
8228
|
+
re = newRe;
|
8229
|
+
}
|
8230
|
+
if (re !== "" && hasMagic) {
|
8231
|
+
re = "(?=.)" + re;
|
8232
|
+
}
|
8233
|
+
if (addPatternStart) {
|
8234
|
+
re = patternStart + re;
|
8235
|
+
}
|
8236
|
+
if (isSub === SUBPARSE) {
|
8237
|
+
return [re, hasMagic];
|
8238
|
+
}
|
8239
|
+
if (!hasMagic) {
|
8240
|
+
return globUnescape(pattern);
|
8241
|
+
}
|
8242
|
+
var flags = options.nocase ? "i" : "";
|
8243
|
+
try {
|
8244
|
+
var regExp = new RegExp("^" + re + "$", flags);
|
8245
|
+
} catch (er) {
|
8246
|
+
return new RegExp("$.");
|
8247
|
+
}
|
8248
|
+
regExp._glob = pattern;
|
8249
|
+
regExp._src = re;
|
8250
|
+
return regExp;
|
8251
|
+
}
|
8252
|
+
minimatch.makeRe = function(pattern, options) {
|
8253
|
+
return new Minimatch(pattern, options || {}).makeRe();
|
8254
|
+
};
|
8255
|
+
Minimatch.prototype.makeRe = makeRe;
|
8256
|
+
function makeRe() {
|
8257
|
+
if (this.regexp || this.regexp === false) return this.regexp;
|
8258
|
+
var set = this.set;
|
8259
|
+
if (!set.length) {
|
8260
|
+
this.regexp = false;
|
8261
|
+
return this.regexp;
|
8262
|
+
}
|
8263
|
+
var options = this.options;
|
8264
|
+
var twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot;
|
8265
|
+
var flags = options.nocase ? "i" : "";
|
8266
|
+
var re = set.map(function(pattern) {
|
8267
|
+
return pattern.map(function(p) {
|
8268
|
+
return p === GLOBSTAR ? twoStar : typeof p === "string" ? regExpEscape(p) : p._src;
|
8269
|
+
}).join("\\/");
|
8270
|
+
}).join("|");
|
8271
|
+
re = "^(?:" + re + ")$";
|
8272
|
+
if (this.negate) re = "^(?!" + re + ").*$";
|
8273
|
+
try {
|
8274
|
+
this.regexp = new RegExp(re, flags);
|
8275
|
+
} catch (ex) {
|
8276
|
+
this.regexp = false;
|
8277
|
+
}
|
8278
|
+
return this.regexp;
|
8279
|
+
}
|
8280
|
+
minimatch.match = function(list, pattern, options) {
|
8281
|
+
options = options || {};
|
8282
|
+
var mm = new Minimatch(pattern, options);
|
8283
|
+
list = list.filter(function(f) {
|
8284
|
+
return mm.match(f);
|
8285
|
+
});
|
8286
|
+
if (mm.options.nonull && !list.length) {
|
8287
|
+
list.push(pattern);
|
8288
|
+
}
|
8289
|
+
return list;
|
8290
|
+
};
|
8291
|
+
Minimatch.prototype.match = function match(f, partial) {
|
8292
|
+
if (typeof partial === "undefined") partial = this.partial;
|
8293
|
+
this.debug("match", f, this.pattern);
|
8294
|
+
if (this.comment) return false;
|
8295
|
+
if (this.empty) return f === "";
|
8296
|
+
if (f === "/" && partial) return true;
|
8297
|
+
var options = this.options;
|
8298
|
+
if (path2.sep !== "/") {
|
8299
|
+
f = f.split(path2.sep).join("/");
|
8300
|
+
}
|
8301
|
+
f = f.split(slashSplit);
|
8302
|
+
this.debug(this.pattern, "split", f);
|
8303
|
+
var set = this.set;
|
8304
|
+
this.debug(this.pattern, "set", set);
|
8305
|
+
var filename;
|
8306
|
+
var i;
|
8307
|
+
for (i = f.length - 1; i >= 0; i--) {
|
8308
|
+
filename = f[i];
|
8309
|
+
if (filename) break;
|
8310
|
+
}
|
8311
|
+
for (i = 0; i < set.length; i++) {
|
8312
|
+
var pattern = set[i];
|
8313
|
+
var file = f;
|
8314
|
+
if (options.matchBase && pattern.length === 1) {
|
8315
|
+
file = [filename];
|
8316
|
+
}
|
8317
|
+
var hit = this.matchOne(file, pattern, partial);
|
8318
|
+
if (hit) {
|
8319
|
+
if (options.flipNegate) return true;
|
8320
|
+
return !this.negate;
|
8321
|
+
}
|
8322
|
+
}
|
8323
|
+
if (options.flipNegate) return false;
|
8324
|
+
return this.negate;
|
8325
|
+
};
|
8326
|
+
Minimatch.prototype.matchOne = function(file, pattern, partial) {
|
8327
|
+
var options = this.options;
|
8328
|
+
this.debug(
|
8329
|
+
"matchOne",
|
8330
|
+
{ "this": this, file, pattern }
|
8331
|
+
);
|
8332
|
+
this.debug("matchOne", file.length, pattern.length);
|
8333
|
+
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
8334
|
+
this.debug("matchOne loop");
|
8335
|
+
var p = pattern[pi];
|
8336
|
+
var f = file[fi];
|
8337
|
+
this.debug(pattern, p, f);
|
8338
|
+
if (p === false) return false;
|
8339
|
+
if (p === GLOBSTAR) {
|
8340
|
+
this.debug("GLOBSTAR", [pattern, p, f]);
|
8341
|
+
var fr = fi;
|
8342
|
+
var pr = pi + 1;
|
8343
|
+
if (pr === pl) {
|
8344
|
+
this.debug("** at the end");
|
8345
|
+
for (; fi < fl; fi++) {
|
8346
|
+
if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".") return false;
|
8347
|
+
}
|
8348
|
+
return true;
|
8349
|
+
}
|
8350
|
+
while (fr < fl) {
|
8351
|
+
var swallowee = file[fr];
|
8352
|
+
this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
|
8353
|
+
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
8354
|
+
this.debug("globstar found match!", fr, fl, swallowee);
|
8355
|
+
return true;
|
8356
|
+
} else {
|
8357
|
+
if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
|
8358
|
+
this.debug("dot detected!", file, fr, pattern, pr);
|
8359
|
+
break;
|
8360
|
+
}
|
8361
|
+
this.debug("globstar swallow a segment, and continue");
|
8362
|
+
fr++;
|
8363
|
+
}
|
8364
|
+
}
|
8365
|
+
if (partial) {
|
8366
|
+
this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
|
8367
|
+
if (fr === fl) return true;
|
8368
|
+
}
|
8369
|
+
return false;
|
8370
|
+
}
|
8371
|
+
var hit;
|
8372
|
+
if (typeof p === "string") {
|
8373
|
+
hit = f === p;
|
8374
|
+
this.debug("string match", p, f, hit);
|
8375
|
+
} else {
|
8376
|
+
hit = f.match(p);
|
8377
|
+
this.debug("pattern match", p, f, hit);
|
8378
|
+
}
|
8379
|
+
if (!hit) return false;
|
8380
|
+
}
|
8381
|
+
if (fi === fl && pi === pl) {
|
8382
|
+
return true;
|
8383
|
+
} else if (fi === fl) {
|
8384
|
+
return partial;
|
8385
|
+
} else if (pi === pl) {
|
8386
|
+
return fi === fl - 1 && file[fi] === "";
|
8387
|
+
}
|
8388
|
+
throw new Error("wtf?");
|
8389
|
+
};
|
8390
|
+
function globUnescape(s) {
|
8391
|
+
return s.replace(/\\(.)/g, "$1");
|
8392
|
+
}
|
8393
|
+
function regExpEscape(s) {
|
8394
|
+
return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
8395
|
+
}
|
8396
|
+
}
|
8397
|
+
});
|
8398
|
+
var require_inherits_browser = (0, import_chunk_OSFPEEC6.__commonJS)({
|
8399
|
+
"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports, module2) {
|
8400
|
+
"use strict";
|
8401
|
+
if (typeof Object.create === "function") {
|
8402
|
+
module2.exports = function inherits(ctor, superCtor) {
|
8403
|
+
if (superCtor) {
|
8404
|
+
ctor.super_ = superCtor;
|
8405
|
+
ctor.prototype = Object.create(superCtor.prototype, {
|
8406
|
+
constructor: {
|
8407
|
+
value: ctor,
|
8408
|
+
enumerable: false,
|
8409
|
+
writable: true,
|
8410
|
+
configurable: true
|
8411
|
+
}
|
8412
|
+
});
|
8413
|
+
}
|
8414
|
+
};
|
8415
|
+
} else {
|
8416
|
+
module2.exports = function inherits(ctor, superCtor) {
|
8417
|
+
if (superCtor) {
|
8418
|
+
ctor.super_ = superCtor;
|
8419
|
+
var TempCtor = function() {
|
8420
|
+
};
|
8421
|
+
TempCtor.prototype = superCtor.prototype;
|
8422
|
+
ctor.prototype = new TempCtor();
|
8423
|
+
ctor.prototype.constructor = ctor;
|
8424
|
+
}
|
8425
|
+
};
|
8426
|
+
}
|
8427
|
+
}
|
8428
|
+
});
|
8429
|
+
var require_inherits = (0, import_chunk_OSFPEEC6.__commonJS)({
|
8430
|
+
"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports, module2) {
|
8431
|
+
"use strict";
|
8432
|
+
try {
|
8433
|
+
util = (0, import_chunk_OSFPEEC6.__require)("util");
|
8434
|
+
if (typeof util.inherits !== "function") throw "";
|
8435
|
+
module2.exports = util.inherits;
|
8436
|
+
} catch (e) {
|
8437
|
+
module2.exports = require_inherits_browser();
|
8438
|
+
}
|
8439
|
+
var util;
|
8440
|
+
}
|
8441
|
+
});
|
8442
|
+
var require_path_is_absolute = (0, import_chunk_OSFPEEC6.__commonJS)({
|
8443
|
+
"../../node_modules/.pnpm/path-is-absolute@1.0.1/node_modules/path-is-absolute/index.js"(exports, module2) {
|
8444
|
+
"use strict";
|
8445
|
+
function posix(path2) {
|
8446
|
+
return path2.charAt(0) === "/";
|
8447
|
+
}
|
8448
|
+
function win32(path2) {
|
8449
|
+
var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
|
8450
|
+
var result = splitDeviceRe.exec(path2);
|
8451
|
+
var device = result[1] || "";
|
8452
|
+
var isUnc = Boolean(device && device.charAt(1) !== ":");
|
8453
|
+
return Boolean(result[2] || isUnc);
|
8454
|
+
}
|
8455
|
+
module2.exports = process.platform === "win32" ? win32 : posix;
|
8456
|
+
module2.exports.posix = posix;
|
8457
|
+
module2.exports.win32 = win32;
|
8458
|
+
}
|
8459
|
+
});
|
8460
|
+
var require_common3 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
8461
|
+
"../../node_modules/.pnpm/glob@7.2.3/node_modules/glob/common.js"(exports) {
|
8462
|
+
"use strict";
|
8463
|
+
exports.setopts = setopts;
|
8464
|
+
exports.ownProp = ownProp;
|
8465
|
+
exports.makeAbs = makeAbs;
|
8466
|
+
exports.finish = finish;
|
8467
|
+
exports.mark = mark;
|
8468
|
+
exports.isIgnored = isIgnored;
|
8469
|
+
exports.childrenIgnored = childrenIgnored;
|
8470
|
+
function ownProp(obj, field) {
|
8471
|
+
return Object.prototype.hasOwnProperty.call(obj, field);
|
8472
|
+
}
|
8473
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
8474
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
8475
|
+
var minimatch = require_minimatch();
|
8476
|
+
var isAbsolute = require_path_is_absolute();
|
8477
|
+
var Minimatch = minimatch.Minimatch;
|
8478
|
+
function alphasort(a, b) {
|
8479
|
+
return a.localeCompare(b, "en");
|
8480
|
+
}
|
8481
|
+
function setupIgnores(self, options) {
|
8482
|
+
self.ignore = options.ignore || [];
|
8483
|
+
if (!Array.isArray(self.ignore))
|
8484
|
+
self.ignore = [self.ignore];
|
8485
|
+
if (self.ignore.length) {
|
8486
|
+
self.ignore = self.ignore.map(ignoreMap);
|
8487
|
+
}
|
8488
|
+
}
|
8489
|
+
function ignoreMap(pattern) {
|
8490
|
+
var gmatcher = null;
|
8491
|
+
if (pattern.slice(-3) === "/**") {
|
8492
|
+
var gpattern = pattern.replace(/(\/\*\*)+$/, "");
|
8493
|
+
gmatcher = new Minimatch(gpattern, { dot: true });
|
8494
|
+
}
|
8495
|
+
return {
|
8496
|
+
matcher: new Minimatch(pattern, { dot: true }),
|
8497
|
+
gmatcher
|
8498
|
+
};
|
8499
|
+
}
|
8500
|
+
function setopts(self, pattern, options) {
|
8501
|
+
if (!options)
|
8502
|
+
options = {};
|
8503
|
+
if (options.matchBase && -1 === pattern.indexOf("/")) {
|
8504
|
+
if (options.noglobstar) {
|
8505
|
+
throw new Error("base matching requires globstar");
|
8506
|
+
}
|
8507
|
+
pattern = "**/" + pattern;
|
8508
|
+
}
|
8509
|
+
self.silent = !!options.silent;
|
8510
|
+
self.pattern = pattern;
|
8511
|
+
self.strict = options.strict !== false;
|
8512
|
+
self.realpath = !!options.realpath;
|
8513
|
+
self.realpathCache = options.realpathCache || /* @__PURE__ */ Object.create(null);
|
8514
|
+
self.follow = !!options.follow;
|
8515
|
+
self.dot = !!options.dot;
|
8516
|
+
self.mark = !!options.mark;
|
8517
|
+
self.nodir = !!options.nodir;
|
8518
|
+
if (self.nodir)
|
8519
|
+
self.mark = true;
|
8520
|
+
self.sync = !!options.sync;
|
8521
|
+
self.nounique = !!options.nounique;
|
8522
|
+
self.nonull = !!options.nonull;
|
8523
|
+
self.nosort = !!options.nosort;
|
8524
|
+
self.nocase = !!options.nocase;
|
8525
|
+
self.stat = !!options.stat;
|
8526
|
+
self.noprocess = !!options.noprocess;
|
8527
|
+
self.absolute = !!options.absolute;
|
8528
|
+
self.fs = options.fs || fs2;
|
8529
|
+
self.maxLength = options.maxLength || Infinity;
|
8530
|
+
self.cache = options.cache || /* @__PURE__ */ Object.create(null);
|
8531
|
+
self.statCache = options.statCache || /* @__PURE__ */ Object.create(null);
|
8532
|
+
self.symlinks = options.symlinks || /* @__PURE__ */ Object.create(null);
|
8533
|
+
setupIgnores(self, options);
|
8534
|
+
self.changedCwd = false;
|
8535
|
+
var cwd = process.cwd();
|
8536
|
+
if (!ownProp(options, "cwd"))
|
8537
|
+
self.cwd = cwd;
|
8538
|
+
else {
|
8539
|
+
self.cwd = path2.resolve(options.cwd);
|
8540
|
+
self.changedCwd = self.cwd !== cwd;
|
8541
|
+
}
|
8542
|
+
self.root = options.root || path2.resolve(self.cwd, "/");
|
8543
|
+
self.root = path2.resolve(self.root);
|
8544
|
+
if (process.platform === "win32")
|
8545
|
+
self.root = self.root.replace(/\\/g, "/");
|
8546
|
+
self.cwdAbs = isAbsolute(self.cwd) ? self.cwd : makeAbs(self, self.cwd);
|
8547
|
+
if (process.platform === "win32")
|
8548
|
+
self.cwdAbs = self.cwdAbs.replace(/\\/g, "/");
|
8549
|
+
self.nomount = !!options.nomount;
|
8550
|
+
options.nonegate = true;
|
8551
|
+
options.nocomment = true;
|
8552
|
+
options.allowWindowsEscape = false;
|
8553
|
+
self.minimatch = new Minimatch(pattern, options);
|
8554
|
+
self.options = self.minimatch.options;
|
8555
|
+
}
|
8556
|
+
function finish(self) {
|
8557
|
+
var nou = self.nounique;
|
8558
|
+
var all = nou ? [] : /* @__PURE__ */ Object.create(null);
|
8559
|
+
for (var i = 0, l = self.matches.length; i < l; i++) {
|
8560
|
+
var matches = self.matches[i];
|
8561
|
+
if (!matches || Object.keys(matches).length === 0) {
|
8562
|
+
if (self.nonull) {
|
8563
|
+
var literal = self.minimatch.globSet[i];
|
8564
|
+
if (nou)
|
8565
|
+
all.push(literal);
|
8566
|
+
else
|
8567
|
+
all[literal] = true;
|
8568
|
+
}
|
8569
|
+
} else {
|
8570
|
+
var m = Object.keys(matches);
|
8571
|
+
if (nou)
|
8572
|
+
all.push.apply(all, m);
|
8573
|
+
else
|
8574
|
+
m.forEach(function(m2) {
|
8575
|
+
all[m2] = true;
|
8576
|
+
});
|
8577
|
+
}
|
8578
|
+
}
|
8579
|
+
if (!nou)
|
8580
|
+
all = Object.keys(all);
|
8581
|
+
if (!self.nosort)
|
8582
|
+
all = all.sort(alphasort);
|
8583
|
+
if (self.mark) {
|
8584
|
+
for (var i = 0; i < all.length; i++) {
|
8585
|
+
all[i] = self._mark(all[i]);
|
8586
|
+
}
|
8587
|
+
if (self.nodir) {
|
8588
|
+
all = all.filter(function(e) {
|
8589
|
+
var notDir = !/\/$/.test(e);
|
8590
|
+
var c = self.cache[e] || self.cache[makeAbs(self, e)];
|
8591
|
+
if (notDir && c)
|
8592
|
+
notDir = c !== "DIR" && !Array.isArray(c);
|
8593
|
+
return notDir;
|
8594
|
+
});
|
8595
|
+
}
|
8596
|
+
}
|
8597
|
+
if (self.ignore.length)
|
8598
|
+
all = all.filter(function(m2) {
|
8599
|
+
return !isIgnored(self, m2);
|
8600
|
+
});
|
8601
|
+
self.found = all;
|
8602
|
+
}
|
8603
|
+
function mark(self, p) {
|
8604
|
+
var abs = makeAbs(self, p);
|
8605
|
+
var c = self.cache[abs];
|
8606
|
+
var m = p;
|
8607
|
+
if (c) {
|
8608
|
+
var isDir = c === "DIR" || Array.isArray(c);
|
8609
|
+
var slash = p.slice(-1) === "/";
|
8610
|
+
if (isDir && !slash)
|
8611
|
+
m += "/";
|
8612
|
+
else if (!isDir && slash)
|
8613
|
+
m = m.slice(0, -1);
|
8614
|
+
if (m !== p) {
|
8615
|
+
var mabs = makeAbs(self, m);
|
8616
|
+
self.statCache[mabs] = self.statCache[abs];
|
8617
|
+
self.cache[mabs] = self.cache[abs];
|
8618
|
+
}
|
8619
|
+
}
|
8620
|
+
return m;
|
8621
|
+
}
|
8622
|
+
function makeAbs(self, f) {
|
8623
|
+
var abs = f;
|
8624
|
+
if (f.charAt(0) === "/") {
|
8625
|
+
abs = path2.join(self.root, f);
|
8626
|
+
} else if (isAbsolute(f) || f === "") {
|
8627
|
+
abs = f;
|
8628
|
+
} else if (self.changedCwd) {
|
8629
|
+
abs = path2.resolve(self.cwd, f);
|
8630
|
+
} else {
|
8631
|
+
abs = path2.resolve(f);
|
8632
|
+
}
|
8633
|
+
if (process.platform === "win32")
|
8634
|
+
abs = abs.replace(/\\/g, "/");
|
8635
|
+
return abs;
|
8636
|
+
}
|
8637
|
+
function isIgnored(self, path3) {
|
8638
|
+
if (!self.ignore.length)
|
8639
|
+
return false;
|
8640
|
+
return self.ignore.some(function(item) {
|
8641
|
+
return item.matcher.match(path3) || !!(item.gmatcher && item.gmatcher.match(path3));
|
8642
|
+
});
|
8643
|
+
}
|
8644
|
+
function childrenIgnored(self, path3) {
|
8645
|
+
if (!self.ignore.length)
|
8646
|
+
return false;
|
8647
|
+
return self.ignore.some(function(item) {
|
8648
|
+
return !!(item.gmatcher && item.gmatcher.match(path3));
|
8649
|
+
});
|
8650
|
+
}
|
8651
|
+
}
|
8652
|
+
});
|
8653
|
+
var require_sync7 = (0, import_chunk_OSFPEEC6.__commonJS)({
|
8654
|
+
"../../node_modules/.pnpm/glob@7.2.3/node_modules/glob/sync.js"(exports, module2) {
|
8655
|
+
"use strict";
|
8656
|
+
module2.exports = globSync;
|
8657
|
+
globSync.GlobSync = GlobSync;
|
8658
|
+
var rp = require_fs5();
|
8659
|
+
var minimatch = require_minimatch();
|
8660
|
+
var Minimatch = minimatch.Minimatch;
|
8661
|
+
var Glob = require_glob().Glob;
|
8662
|
+
var util = (0, import_chunk_OSFPEEC6.__require)("util");
|
8663
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
8664
|
+
var assert = (0, import_chunk_OSFPEEC6.__require)("assert");
|
8665
|
+
var isAbsolute = require_path_is_absolute();
|
8666
|
+
var common = require_common3();
|
8667
|
+
var setopts = common.setopts;
|
8668
|
+
var ownProp = common.ownProp;
|
8669
|
+
var childrenIgnored = common.childrenIgnored;
|
8670
|
+
var isIgnored = common.isIgnored;
|
8671
|
+
function globSync(pattern, options) {
|
8672
|
+
if (typeof options === "function" || arguments.length === 3)
|
8673
|
+
throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");
|
8674
|
+
return new GlobSync(pattern, options).found;
|
8675
|
+
}
|
8676
|
+
function GlobSync(pattern, options) {
|
8677
|
+
if (!pattern)
|
8678
|
+
throw new Error("must provide pattern");
|
8679
|
+
if (typeof options === "function" || arguments.length === 3)
|
8680
|
+
throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");
|
8681
|
+
if (!(this instanceof GlobSync))
|
8682
|
+
return new GlobSync(pattern, options);
|
8683
|
+
setopts(this, pattern, options);
|
8684
|
+
if (this.noprocess)
|
8685
|
+
return this;
|
8686
|
+
var n = this.minimatch.set.length;
|
8687
|
+
this.matches = new Array(n);
|
8688
|
+
for (var i = 0; i < n; i++) {
|
8689
|
+
this._process(this.minimatch.set[i], i, false);
|
8690
|
+
}
|
8691
|
+
this._finish();
|
8692
|
+
}
|
8693
|
+
GlobSync.prototype._finish = function() {
|
8694
|
+
assert.ok(this instanceof GlobSync);
|
8695
|
+
if (this.realpath) {
|
8696
|
+
var self = this;
|
8697
|
+
this.matches.forEach(function(matchset, index) {
|
8698
|
+
var set = self.matches[index] = /* @__PURE__ */ Object.create(null);
|
8699
|
+
for (var p in matchset) {
|
8700
|
+
try {
|
8701
|
+
p = self._makeAbs(p);
|
8702
|
+
var real = rp.realpathSync(p, self.realpathCache);
|
8703
|
+
set[real] = true;
|
8704
|
+
} catch (er) {
|
8705
|
+
if (er.syscall === "stat")
|
8706
|
+
set[self._makeAbs(p)] = true;
|
8707
|
+
else
|
8708
|
+
throw er;
|
8709
|
+
}
|
8710
|
+
}
|
8711
|
+
});
|
8712
|
+
}
|
8713
|
+
common.finish(this);
|
8714
|
+
};
|
8715
|
+
GlobSync.prototype._process = function(pattern, index, inGlobStar) {
|
8716
|
+
assert.ok(this instanceof GlobSync);
|
8717
|
+
var n = 0;
|
8718
|
+
while (typeof pattern[n] === "string") {
|
8719
|
+
n++;
|
8720
|
+
}
|
8721
|
+
var prefix;
|
8722
|
+
switch (n) {
|
8723
|
+
// if not, then this is rather simple
|
8724
|
+
case pattern.length:
|
8725
|
+
this._processSimple(pattern.join("/"), index);
|
8726
|
+
return;
|
8727
|
+
case 0:
|
8728
|
+
prefix = null;
|
8729
|
+
break;
|
8730
|
+
default:
|
8731
|
+
prefix = pattern.slice(0, n).join("/");
|
8732
|
+
break;
|
8733
|
+
}
|
8734
|
+
var remain = pattern.slice(n);
|
8735
|
+
var read;
|
8736
|
+
if (prefix === null)
|
8737
|
+
read = ".";
|
8738
|
+
else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
|
8739
|
+
return typeof p === "string" ? p : "[*]";
|
8740
|
+
}).join("/"))) {
|
8741
|
+
if (!prefix || !isAbsolute(prefix))
|
8742
|
+
prefix = "/" + prefix;
|
8743
|
+
read = prefix;
|
8744
|
+
} else
|
8745
|
+
read = prefix;
|
8746
|
+
var abs = this._makeAbs(read);
|
8747
|
+
if (childrenIgnored(this, read))
|
8748
|
+
return;
|
8749
|
+
var isGlobStar = remain[0] === minimatch.GLOBSTAR;
|
8750
|
+
if (isGlobStar)
|
8751
|
+
this._processGlobStar(prefix, read, abs, remain, index, inGlobStar);
|
8752
|
+
else
|
8753
|
+
this._processReaddir(prefix, read, abs, remain, index, inGlobStar);
|
8754
|
+
};
|
8755
|
+
GlobSync.prototype._processReaddir = function(prefix, read, abs, remain, index, inGlobStar) {
|
8756
|
+
var entries = this._readdir(abs, inGlobStar);
|
8757
|
+
if (!entries)
|
8758
|
+
return;
|
8759
|
+
var pn = remain[0];
|
8760
|
+
var negate = !!this.minimatch.negate;
|
8761
|
+
var rawGlob = pn._glob;
|
8762
|
+
var dotOk = this.dot || rawGlob.charAt(0) === ".";
|
8763
|
+
var matchedEntries = [];
|
8764
|
+
for (var i = 0; i < entries.length; i++) {
|
8765
|
+
var e = entries[i];
|
8766
|
+
if (e.charAt(0) !== "." || dotOk) {
|
8767
|
+
var m;
|
8768
|
+
if (negate && !prefix) {
|
8769
|
+
m = !e.match(pn);
|
8770
|
+
} else {
|
8771
|
+
m = e.match(pn);
|
8772
|
+
}
|
8773
|
+
if (m)
|
8774
|
+
matchedEntries.push(e);
|
8775
|
+
}
|
8776
|
+
}
|
8777
|
+
var len = matchedEntries.length;
|
8778
|
+
if (len === 0)
|
8779
|
+
return;
|
8780
|
+
if (remain.length === 1 && !this.mark && !this.stat) {
|
8781
|
+
if (!this.matches[index])
|
8782
|
+
this.matches[index] = /* @__PURE__ */ Object.create(null);
|
8783
|
+
for (var i = 0; i < len; i++) {
|
8784
|
+
var e = matchedEntries[i];
|
8785
|
+
if (prefix) {
|
8786
|
+
if (prefix.slice(-1) !== "/")
|
8787
|
+
e = prefix + "/" + e;
|
8788
|
+
else
|
8789
|
+
e = prefix + e;
|
8790
|
+
}
|
8791
|
+
if (e.charAt(0) === "/" && !this.nomount) {
|
8792
|
+
e = path2.join(this.root, e);
|
8793
|
+
}
|
8794
|
+
this._emitMatch(index, e);
|
8795
|
+
}
|
8796
|
+
return;
|
8797
|
+
}
|
8798
|
+
remain.shift();
|
8799
|
+
for (var i = 0; i < len; i++) {
|
8800
|
+
var e = matchedEntries[i];
|
8801
|
+
var newPattern;
|
8802
|
+
if (prefix)
|
8803
|
+
newPattern = [prefix, e];
|
8804
|
+
else
|
8805
|
+
newPattern = [e];
|
8806
|
+
this._process(newPattern.concat(remain), index, inGlobStar);
|
8807
|
+
}
|
8808
|
+
};
|
8809
|
+
GlobSync.prototype._emitMatch = function(index, e) {
|
8810
|
+
if (isIgnored(this, e))
|
8811
|
+
return;
|
8812
|
+
var abs = this._makeAbs(e);
|
8813
|
+
if (this.mark)
|
8814
|
+
e = this._mark(e);
|
8815
|
+
if (this.absolute) {
|
8816
|
+
e = abs;
|
8817
|
+
}
|
8818
|
+
if (this.matches[index][e])
|
8819
|
+
return;
|
8820
|
+
if (this.nodir) {
|
8821
|
+
var c = this.cache[abs];
|
8822
|
+
if (c === "DIR" || Array.isArray(c))
|
8823
|
+
return;
|
8824
|
+
}
|
8825
|
+
this.matches[index][e] = true;
|
8826
|
+
if (this.stat)
|
8827
|
+
this._stat(e);
|
8828
|
+
};
|
8829
|
+
GlobSync.prototype._readdirInGlobStar = function(abs) {
|
8830
|
+
if (this.follow)
|
8831
|
+
return this._readdir(abs, false);
|
8832
|
+
var entries;
|
8833
|
+
var lstat;
|
8834
|
+
var stat;
|
8835
|
+
try {
|
8836
|
+
lstat = this.fs.lstatSync(abs);
|
8837
|
+
} catch (er) {
|
8838
|
+
if (er.code === "ENOENT") {
|
8839
|
+
return null;
|
8840
|
+
}
|
8841
|
+
}
|
8842
|
+
var isSym = lstat && lstat.isSymbolicLink();
|
8843
|
+
this.symlinks[abs] = isSym;
|
8844
|
+
if (!isSym && lstat && !lstat.isDirectory())
|
8845
|
+
this.cache[abs] = "FILE";
|
8846
|
+
else
|
8847
|
+
entries = this._readdir(abs, false);
|
8848
|
+
return entries;
|
8849
|
+
};
|
8850
|
+
GlobSync.prototype._readdir = function(abs, inGlobStar) {
|
8851
|
+
var entries;
|
8852
|
+
if (inGlobStar && !ownProp(this.symlinks, abs))
|
8853
|
+
return this._readdirInGlobStar(abs);
|
8854
|
+
if (ownProp(this.cache, abs)) {
|
8855
|
+
var c = this.cache[abs];
|
8856
|
+
if (!c || c === "FILE")
|
8857
|
+
return null;
|
8858
|
+
if (Array.isArray(c))
|
8859
|
+
return c;
|
8860
|
+
}
|
8861
|
+
try {
|
8862
|
+
return this._readdirEntries(abs, this.fs.readdirSync(abs));
|
8863
|
+
} catch (er) {
|
8864
|
+
this._readdirError(abs, er);
|
8865
|
+
return null;
|
8866
|
+
}
|
8867
|
+
};
|
8868
|
+
GlobSync.prototype._readdirEntries = function(abs, entries) {
|
8869
|
+
if (!this.mark && !this.stat) {
|
8870
|
+
for (var i = 0; i < entries.length; i++) {
|
8871
|
+
var e = entries[i];
|
8872
|
+
if (abs === "/")
|
8873
|
+
e = abs + e;
|
8874
|
+
else
|
8875
|
+
e = abs + "/" + e;
|
8876
|
+
this.cache[e] = true;
|
8877
|
+
}
|
8878
|
+
}
|
8879
|
+
this.cache[abs] = entries;
|
8880
|
+
return entries;
|
8881
|
+
};
|
8882
|
+
GlobSync.prototype._readdirError = function(f, er) {
|
8883
|
+
switch (er.code) {
|
8884
|
+
case "ENOTSUP":
|
8885
|
+
// https://github.com/isaacs/node-glob/issues/205
|
8886
|
+
case "ENOTDIR":
|
8887
|
+
var abs = this._makeAbs(f);
|
8888
|
+
this.cache[abs] = "FILE";
|
8889
|
+
if (abs === this.cwdAbs) {
|
8890
|
+
var error = new Error(er.code + " invalid cwd " + this.cwd);
|
8891
|
+
error.path = this.cwd;
|
8892
|
+
error.code = er.code;
|
8893
|
+
throw error;
|
8894
|
+
}
|
8895
|
+
break;
|
8896
|
+
case "ENOENT":
|
8897
|
+
// not terribly unusual
|
8898
|
+
case "ELOOP":
|
8899
|
+
case "ENAMETOOLONG":
|
8900
|
+
case "UNKNOWN":
|
8901
|
+
this.cache[this._makeAbs(f)] = false;
|
8902
|
+
break;
|
8903
|
+
default:
|
8904
|
+
this.cache[this._makeAbs(f)] = false;
|
8905
|
+
if (this.strict)
|
8906
|
+
throw er;
|
8907
|
+
if (!this.silent)
|
8908
|
+
console.error("glob error", er);
|
8909
|
+
break;
|
8910
|
+
}
|
8911
|
+
};
|
8912
|
+
GlobSync.prototype._processGlobStar = function(prefix, read, abs, remain, index, inGlobStar) {
|
8913
|
+
var entries = this._readdir(abs, inGlobStar);
|
8914
|
+
if (!entries)
|
8915
|
+
return;
|
8916
|
+
var remainWithoutGlobStar = remain.slice(1);
|
8917
|
+
var gspref = prefix ? [prefix] : [];
|
8918
|
+
var noGlobStar = gspref.concat(remainWithoutGlobStar);
|
8919
|
+
this._process(noGlobStar, index, false);
|
8920
|
+
var len = entries.length;
|
8921
|
+
var isSym = this.symlinks[abs];
|
8922
|
+
if (isSym && inGlobStar)
|
8923
|
+
return;
|
8924
|
+
for (var i = 0; i < len; i++) {
|
8925
|
+
var e = entries[i];
|
8926
|
+
if (e.charAt(0) === "." && !this.dot)
|
8927
|
+
continue;
|
8928
|
+
var instead = gspref.concat(entries[i], remainWithoutGlobStar);
|
8929
|
+
this._process(instead, index, true);
|
8930
|
+
var below = gspref.concat(entries[i], remain);
|
8931
|
+
this._process(below, index, true);
|
8932
|
+
}
|
8933
|
+
};
|
8934
|
+
GlobSync.prototype._processSimple = function(prefix, index) {
|
8935
|
+
var exists = this._stat(prefix);
|
8936
|
+
if (!this.matches[index])
|
8937
|
+
this.matches[index] = /* @__PURE__ */ Object.create(null);
|
8938
|
+
if (!exists)
|
8939
|
+
return;
|
8940
|
+
if (prefix && isAbsolute(prefix) && !this.nomount) {
|
8941
|
+
var trail = /[\/\\]$/.test(prefix);
|
8942
|
+
if (prefix.charAt(0) === "/") {
|
8943
|
+
prefix = path2.join(this.root, prefix);
|
8944
|
+
} else {
|
8945
|
+
prefix = path2.resolve(this.root, prefix);
|
8946
|
+
if (trail)
|
8947
|
+
prefix += "/";
|
8948
|
+
}
|
8949
|
+
}
|
8950
|
+
if (process.platform === "win32")
|
8951
|
+
prefix = prefix.replace(/\\/g, "/");
|
8952
|
+
this._emitMatch(index, prefix);
|
8953
|
+
};
|
8954
|
+
GlobSync.prototype._stat = function(f) {
|
8955
|
+
var abs = this._makeAbs(f);
|
8956
|
+
var needDir = f.slice(-1) === "/";
|
8957
|
+
if (f.length > this.maxLength)
|
8958
|
+
return false;
|
8959
|
+
if (!this.stat && ownProp(this.cache, abs)) {
|
8960
|
+
var c = this.cache[abs];
|
8961
|
+
if (Array.isArray(c))
|
8962
|
+
c = "DIR";
|
8963
|
+
if (!needDir || c === "DIR")
|
8964
|
+
return c;
|
8965
|
+
if (needDir && c === "FILE")
|
8966
|
+
return false;
|
8967
|
+
}
|
8968
|
+
var exists;
|
8969
|
+
var stat = this.statCache[abs];
|
8970
|
+
if (!stat) {
|
8971
|
+
var lstat;
|
8972
|
+
try {
|
8973
|
+
lstat = this.fs.lstatSync(abs);
|
8974
|
+
} catch (er) {
|
8975
|
+
if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
|
8976
|
+
this.statCache[abs] = false;
|
8977
|
+
return false;
|
8978
|
+
}
|
8979
|
+
}
|
8980
|
+
if (lstat && lstat.isSymbolicLink()) {
|
8981
|
+
try {
|
8982
|
+
stat = this.fs.statSync(abs);
|
8983
|
+
} catch (er) {
|
8984
|
+
stat = lstat;
|
8985
|
+
}
|
8986
|
+
} else {
|
8987
|
+
stat = lstat;
|
8988
|
+
}
|
8989
|
+
}
|
8990
|
+
this.statCache[abs] = stat;
|
8991
|
+
var c = true;
|
8992
|
+
if (stat)
|
8993
|
+
c = stat.isDirectory() ? "DIR" : "FILE";
|
8994
|
+
this.cache[abs] = this.cache[abs] || c;
|
8995
|
+
if (needDir && c === "FILE")
|
8996
|
+
return false;
|
8997
|
+
return c;
|
8998
|
+
};
|
8999
|
+
GlobSync.prototype._mark = function(p) {
|
9000
|
+
return common.mark(this, p);
|
9001
|
+
};
|
9002
|
+
GlobSync.prototype._makeAbs = function(f) {
|
9003
|
+
return common.makeAbs(this, f);
|
9004
|
+
};
|
9005
|
+
}
|
9006
|
+
});
|
9007
|
+
var require_wrappy = (0, import_chunk_OSFPEEC6.__commonJS)({
|
9008
|
+
"../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js"(exports, module2) {
|
9009
|
+
"use strict";
|
9010
|
+
module2.exports = wrappy;
|
9011
|
+
function wrappy(fn, cb) {
|
9012
|
+
if (fn && cb) return wrappy(fn)(cb);
|
9013
|
+
if (typeof fn !== "function")
|
9014
|
+
throw new TypeError("need wrapper function");
|
9015
|
+
Object.keys(fn).forEach(function(k) {
|
9016
|
+
wrapper[k] = fn[k];
|
9017
|
+
});
|
9018
|
+
return wrapper;
|
9019
|
+
function wrapper() {
|
9020
|
+
var args = new Array(arguments.length);
|
9021
|
+
for (var i = 0; i < args.length; i++) {
|
9022
|
+
args[i] = arguments[i];
|
9023
|
+
}
|
9024
|
+
var ret = fn.apply(this, args);
|
9025
|
+
var cb2 = args[args.length - 1];
|
9026
|
+
if (typeof ret === "function" && ret !== cb2) {
|
9027
|
+
Object.keys(cb2).forEach(function(k) {
|
9028
|
+
ret[k] = cb2[k];
|
9029
|
+
});
|
9030
|
+
}
|
9031
|
+
return ret;
|
9032
|
+
}
|
9033
|
+
}
|
9034
|
+
}
|
9035
|
+
});
|
9036
|
+
var require_once = (0, import_chunk_OSFPEEC6.__commonJS)({
|
9037
|
+
"../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js"(exports, module2) {
|
9038
|
+
"use strict";
|
9039
|
+
var wrappy = require_wrappy();
|
9040
|
+
module2.exports = wrappy(once);
|
9041
|
+
module2.exports.strict = wrappy(onceStrict);
|
9042
|
+
once.proto = once(function() {
|
9043
|
+
Object.defineProperty(Function.prototype, "once", {
|
9044
|
+
value: function() {
|
9045
|
+
return once(this);
|
9046
|
+
},
|
9047
|
+
configurable: true
|
9048
|
+
});
|
9049
|
+
Object.defineProperty(Function.prototype, "onceStrict", {
|
9050
|
+
value: function() {
|
9051
|
+
return onceStrict(this);
|
9052
|
+
},
|
9053
|
+
configurable: true
|
9054
|
+
});
|
9055
|
+
});
|
9056
|
+
function once(fn) {
|
9057
|
+
var f = function() {
|
9058
|
+
if (f.called) return f.value;
|
9059
|
+
f.called = true;
|
9060
|
+
return f.value = fn.apply(this, arguments);
|
9061
|
+
};
|
9062
|
+
f.called = false;
|
9063
|
+
return f;
|
9064
|
+
}
|
9065
|
+
function onceStrict(fn) {
|
9066
|
+
var f = function() {
|
9067
|
+
if (f.called)
|
9068
|
+
throw new Error(f.onceError);
|
9069
|
+
f.called = true;
|
9070
|
+
return f.value = fn.apply(this, arguments);
|
9071
|
+
};
|
9072
|
+
var name = fn.name || "Function wrapped with `once`";
|
9073
|
+
f.onceError = name + " shouldn't be called more than once";
|
9074
|
+
f.called = false;
|
9075
|
+
return f;
|
9076
|
+
}
|
9077
|
+
}
|
9078
|
+
});
|
9079
|
+
var require_inflight = (0, import_chunk_OSFPEEC6.__commonJS)({
|
9080
|
+
"../../node_modules/.pnpm/inflight@1.0.6/node_modules/inflight/inflight.js"(exports, module2) {
|
9081
|
+
"use strict";
|
9082
|
+
var wrappy = require_wrappy();
|
9083
|
+
var reqs = /* @__PURE__ */ Object.create(null);
|
9084
|
+
var once = require_once();
|
9085
|
+
module2.exports = wrappy(inflight);
|
9086
|
+
function inflight(key, cb) {
|
9087
|
+
if (reqs[key]) {
|
9088
|
+
reqs[key].push(cb);
|
9089
|
+
return null;
|
9090
|
+
} else {
|
9091
|
+
reqs[key] = [cb];
|
9092
|
+
return makeres(key);
|
9093
|
+
}
|
9094
|
+
}
|
9095
|
+
function makeres(key) {
|
9096
|
+
return once(function RES() {
|
9097
|
+
var cbs = reqs[key];
|
9098
|
+
var len = cbs.length;
|
9099
|
+
var args = slice(arguments);
|
9100
|
+
try {
|
9101
|
+
for (var i = 0; i < len; i++) {
|
9102
|
+
cbs[i].apply(null, args);
|
9103
|
+
}
|
9104
|
+
} finally {
|
9105
|
+
if (cbs.length > len) {
|
9106
|
+
cbs.splice(0, len);
|
9107
|
+
process.nextTick(function() {
|
9108
|
+
RES.apply(null, args);
|
9109
|
+
});
|
9110
|
+
} else {
|
9111
|
+
delete reqs[key];
|
9112
|
+
}
|
9113
|
+
}
|
9114
|
+
});
|
9115
|
+
}
|
9116
|
+
function slice(args) {
|
9117
|
+
var length = args.length;
|
9118
|
+
var array = [];
|
9119
|
+
for (var i = 0; i < length; i++) array[i] = args[i];
|
9120
|
+
return array;
|
9121
|
+
}
|
9122
|
+
}
|
9123
|
+
});
|
9124
|
+
var require_glob = (0, import_chunk_OSFPEEC6.__commonJS)({
|
9125
|
+
"../../node_modules/.pnpm/glob@7.2.3/node_modules/glob/glob.js"(exports, module2) {
|
9126
|
+
"use strict";
|
9127
|
+
module2.exports = glob;
|
9128
|
+
var rp = require_fs5();
|
9129
|
+
var minimatch = require_minimatch();
|
9130
|
+
var Minimatch = minimatch.Minimatch;
|
9131
|
+
var inherits = require_inherits();
|
9132
|
+
var EE = (0, import_chunk_OSFPEEC6.__require)("events").EventEmitter;
|
9133
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
9134
|
+
var assert = (0, import_chunk_OSFPEEC6.__require)("assert");
|
9135
|
+
var isAbsolute = require_path_is_absolute();
|
9136
|
+
var globSync = require_sync7();
|
9137
|
+
var common = require_common3();
|
9138
|
+
var setopts = common.setopts;
|
9139
|
+
var ownProp = common.ownProp;
|
9140
|
+
var inflight = require_inflight();
|
9141
|
+
var util = (0, import_chunk_OSFPEEC6.__require)("util");
|
9142
|
+
var childrenIgnored = common.childrenIgnored;
|
9143
|
+
var isIgnored = common.isIgnored;
|
9144
|
+
var once = require_once();
|
9145
|
+
function glob(pattern, options, cb) {
|
9146
|
+
if (typeof options === "function") cb = options, options = {};
|
9147
|
+
if (!options) options = {};
|
9148
|
+
if (options.sync) {
|
9149
|
+
if (cb)
|
9150
|
+
throw new TypeError("callback provided to sync glob");
|
9151
|
+
return globSync(pattern, options);
|
9152
|
+
}
|
9153
|
+
return new Glob(pattern, options, cb);
|
9154
|
+
}
|
9155
|
+
glob.sync = globSync;
|
9156
|
+
var GlobSync = glob.GlobSync = globSync.GlobSync;
|
9157
|
+
glob.glob = glob;
|
9158
|
+
function extend(origin, add) {
|
9159
|
+
if (add === null || typeof add !== "object") {
|
9160
|
+
return origin;
|
9161
|
+
}
|
9162
|
+
var keys = Object.keys(add);
|
9163
|
+
var i = keys.length;
|
9164
|
+
while (i--) {
|
9165
|
+
origin[keys[i]] = add[keys[i]];
|
9166
|
+
}
|
9167
|
+
return origin;
|
9168
|
+
}
|
9169
|
+
glob.hasMagic = function(pattern, options_) {
|
9170
|
+
var options = extend({}, options_);
|
9171
|
+
options.noprocess = true;
|
9172
|
+
var g = new Glob(pattern, options);
|
9173
|
+
var set = g.minimatch.set;
|
9174
|
+
if (!pattern)
|
9175
|
+
return false;
|
9176
|
+
if (set.length > 1)
|
9177
|
+
return true;
|
9178
|
+
for (var j = 0; j < set[0].length; j++) {
|
9179
|
+
if (typeof set[0][j] !== "string")
|
9180
|
+
return true;
|
9181
|
+
}
|
9182
|
+
return false;
|
9183
|
+
};
|
9184
|
+
glob.Glob = Glob;
|
9185
|
+
inherits(Glob, EE);
|
9186
|
+
function Glob(pattern, options, cb) {
|
9187
|
+
if (typeof options === "function") {
|
9188
|
+
cb = options;
|
9189
|
+
options = null;
|
9190
|
+
}
|
9191
|
+
if (options && options.sync) {
|
9192
|
+
if (cb)
|
9193
|
+
throw new TypeError("callback provided to sync glob");
|
9194
|
+
return new GlobSync(pattern, options);
|
9195
|
+
}
|
9196
|
+
if (!(this instanceof Glob))
|
9197
|
+
return new Glob(pattern, options, cb);
|
9198
|
+
setopts(this, pattern, options);
|
9199
|
+
this._didRealPath = false;
|
9200
|
+
var n = this.minimatch.set.length;
|
9201
|
+
this.matches = new Array(n);
|
9202
|
+
if (typeof cb === "function") {
|
9203
|
+
cb = once(cb);
|
9204
|
+
this.on("error", cb);
|
9205
|
+
this.on("end", function(matches) {
|
9206
|
+
cb(null, matches);
|
9207
|
+
});
|
9208
|
+
}
|
9209
|
+
var self = this;
|
9210
|
+
this._processing = 0;
|
9211
|
+
this._emitQueue = [];
|
9212
|
+
this._processQueue = [];
|
9213
|
+
this.paused = false;
|
9214
|
+
if (this.noprocess)
|
9215
|
+
return this;
|
9216
|
+
if (n === 0)
|
9217
|
+
return done();
|
9218
|
+
var sync = true;
|
9219
|
+
for (var i = 0; i < n; i++) {
|
9220
|
+
this._process(this.minimatch.set[i], i, false, done);
|
9221
|
+
}
|
9222
|
+
sync = false;
|
9223
|
+
function done() {
|
9224
|
+
--self._processing;
|
9225
|
+
if (self._processing <= 0) {
|
9226
|
+
if (sync) {
|
9227
|
+
process.nextTick(function() {
|
9228
|
+
self._finish();
|
9229
|
+
});
|
9230
|
+
} else {
|
9231
|
+
self._finish();
|
9232
|
+
}
|
9233
|
+
}
|
9234
|
+
}
|
9235
|
+
}
|
9236
|
+
Glob.prototype._finish = function() {
|
9237
|
+
assert(this instanceof Glob);
|
9238
|
+
if (this.aborted)
|
9239
|
+
return;
|
9240
|
+
if (this.realpath && !this._didRealpath)
|
9241
|
+
return this._realpath();
|
9242
|
+
common.finish(this);
|
9243
|
+
this.emit("end", this.found);
|
9244
|
+
};
|
9245
|
+
Glob.prototype._realpath = function() {
|
9246
|
+
if (this._didRealpath)
|
9247
|
+
return;
|
9248
|
+
this._didRealpath = true;
|
9249
|
+
var n = this.matches.length;
|
9250
|
+
if (n === 0)
|
9251
|
+
return this._finish();
|
9252
|
+
var self = this;
|
9253
|
+
for (var i = 0; i < this.matches.length; i++)
|
9254
|
+
this._realpathSet(i, next);
|
9255
|
+
function next() {
|
9256
|
+
if (--n === 0)
|
9257
|
+
self._finish();
|
9258
|
+
}
|
9259
|
+
};
|
9260
|
+
Glob.prototype._realpathSet = function(index, cb) {
|
9261
|
+
var matchset = this.matches[index];
|
9262
|
+
if (!matchset)
|
9263
|
+
return cb();
|
9264
|
+
var found = Object.keys(matchset);
|
9265
|
+
var self = this;
|
9266
|
+
var n = found.length;
|
9267
|
+
if (n === 0)
|
9268
|
+
return cb();
|
9269
|
+
var set = this.matches[index] = /* @__PURE__ */ Object.create(null);
|
9270
|
+
found.forEach(function(p, i) {
|
9271
|
+
p = self._makeAbs(p);
|
9272
|
+
rp.realpath(p, self.realpathCache, function(er, real) {
|
9273
|
+
if (!er)
|
9274
|
+
set[real] = true;
|
9275
|
+
else if (er.syscall === "stat")
|
9276
|
+
set[p] = true;
|
9277
|
+
else
|
9278
|
+
self.emit("error", er);
|
9279
|
+
if (--n === 0) {
|
9280
|
+
self.matches[index] = set;
|
9281
|
+
cb();
|
9282
|
+
}
|
9283
|
+
});
|
9284
|
+
});
|
9285
|
+
};
|
9286
|
+
Glob.prototype._mark = function(p) {
|
9287
|
+
return common.mark(this, p);
|
9288
|
+
};
|
9289
|
+
Glob.prototype._makeAbs = function(f) {
|
9290
|
+
return common.makeAbs(this, f);
|
9291
|
+
};
|
9292
|
+
Glob.prototype.abort = function() {
|
9293
|
+
this.aborted = true;
|
9294
|
+
this.emit("abort");
|
9295
|
+
};
|
9296
|
+
Glob.prototype.pause = function() {
|
9297
|
+
if (!this.paused) {
|
9298
|
+
this.paused = true;
|
9299
|
+
this.emit("pause");
|
9300
|
+
}
|
9301
|
+
};
|
9302
|
+
Glob.prototype.resume = function() {
|
9303
|
+
if (this.paused) {
|
9304
|
+
this.emit("resume");
|
9305
|
+
this.paused = false;
|
9306
|
+
if (this._emitQueue.length) {
|
9307
|
+
var eq = this._emitQueue.slice(0);
|
9308
|
+
this._emitQueue.length = 0;
|
9309
|
+
for (var i = 0; i < eq.length; i++) {
|
9310
|
+
var e = eq[i];
|
9311
|
+
this._emitMatch(e[0], e[1]);
|
9312
|
+
}
|
9313
|
+
}
|
9314
|
+
if (this._processQueue.length) {
|
9315
|
+
var pq = this._processQueue.slice(0);
|
9316
|
+
this._processQueue.length = 0;
|
9317
|
+
for (var i = 0; i < pq.length; i++) {
|
9318
|
+
var p = pq[i];
|
9319
|
+
this._processing--;
|
9320
|
+
this._process(p[0], p[1], p[2], p[3]);
|
9321
|
+
}
|
9322
|
+
}
|
9323
|
+
}
|
9324
|
+
};
|
9325
|
+
Glob.prototype._process = function(pattern, index, inGlobStar, cb) {
|
9326
|
+
assert(this instanceof Glob);
|
9327
|
+
assert(typeof cb === "function");
|
9328
|
+
if (this.aborted)
|
9329
|
+
return;
|
9330
|
+
this._processing++;
|
9331
|
+
if (this.paused) {
|
9332
|
+
this._processQueue.push([pattern, index, inGlobStar, cb]);
|
9333
|
+
return;
|
9334
|
+
}
|
9335
|
+
var n = 0;
|
9336
|
+
while (typeof pattern[n] === "string") {
|
9337
|
+
n++;
|
9338
|
+
}
|
9339
|
+
var prefix;
|
9340
|
+
switch (n) {
|
9341
|
+
// if not, then this is rather simple
|
9342
|
+
case pattern.length:
|
9343
|
+
this._processSimple(pattern.join("/"), index, cb);
|
9344
|
+
return;
|
9345
|
+
case 0:
|
9346
|
+
prefix = null;
|
9347
|
+
break;
|
9348
|
+
default:
|
9349
|
+
prefix = pattern.slice(0, n).join("/");
|
9350
|
+
break;
|
9351
|
+
}
|
9352
|
+
var remain = pattern.slice(n);
|
9353
|
+
var read;
|
9354
|
+
if (prefix === null)
|
9355
|
+
read = ".";
|
9356
|
+
else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
|
9357
|
+
return typeof p === "string" ? p : "[*]";
|
9358
|
+
}).join("/"))) {
|
9359
|
+
if (!prefix || !isAbsolute(prefix))
|
9360
|
+
prefix = "/" + prefix;
|
9361
|
+
read = prefix;
|
9362
|
+
} else
|
9363
|
+
read = prefix;
|
9364
|
+
var abs = this._makeAbs(read);
|
9365
|
+
if (childrenIgnored(this, read))
|
9366
|
+
return cb();
|
9367
|
+
var isGlobStar = remain[0] === minimatch.GLOBSTAR;
|
9368
|
+
if (isGlobStar)
|
9369
|
+
this._processGlobStar(prefix, read, abs, remain, index, inGlobStar, cb);
|
9370
|
+
else
|
9371
|
+
this._processReaddir(prefix, read, abs, remain, index, inGlobStar, cb);
|
9372
|
+
};
|
9373
|
+
Glob.prototype._processReaddir = function(prefix, read, abs, remain, index, inGlobStar, cb) {
|
9374
|
+
var self = this;
|
9375
|
+
this._readdir(abs, inGlobStar, function(er, entries) {
|
9376
|
+
return self._processReaddir2(prefix, read, abs, remain, index, inGlobStar, entries, cb);
|
9377
|
+
});
|
9378
|
+
};
|
9379
|
+
Glob.prototype._processReaddir2 = function(prefix, read, abs, remain, index, inGlobStar, entries, cb) {
|
9380
|
+
if (!entries)
|
9381
|
+
return cb();
|
9382
|
+
var pn = remain[0];
|
9383
|
+
var negate = !!this.minimatch.negate;
|
9384
|
+
var rawGlob = pn._glob;
|
9385
|
+
var dotOk = this.dot || rawGlob.charAt(0) === ".";
|
9386
|
+
var matchedEntries = [];
|
9387
|
+
for (var i = 0; i < entries.length; i++) {
|
9388
|
+
var e = entries[i];
|
9389
|
+
if (e.charAt(0) !== "." || dotOk) {
|
9390
|
+
var m;
|
9391
|
+
if (negate && !prefix) {
|
9392
|
+
m = !e.match(pn);
|
9393
|
+
} else {
|
9394
|
+
m = e.match(pn);
|
9395
|
+
}
|
9396
|
+
if (m)
|
9397
|
+
matchedEntries.push(e);
|
9398
|
+
}
|
9399
|
+
}
|
9400
|
+
var len = matchedEntries.length;
|
9401
|
+
if (len === 0)
|
9402
|
+
return cb();
|
9403
|
+
if (remain.length === 1 && !this.mark && !this.stat) {
|
9404
|
+
if (!this.matches[index])
|
9405
|
+
this.matches[index] = /* @__PURE__ */ Object.create(null);
|
9406
|
+
for (var i = 0; i < len; i++) {
|
9407
|
+
var e = matchedEntries[i];
|
9408
|
+
if (prefix) {
|
9409
|
+
if (prefix !== "/")
|
9410
|
+
e = prefix + "/" + e;
|
9411
|
+
else
|
9412
|
+
e = prefix + e;
|
9413
|
+
}
|
9414
|
+
if (e.charAt(0) === "/" && !this.nomount) {
|
9415
|
+
e = path2.join(this.root, e);
|
9416
|
+
}
|
9417
|
+
this._emitMatch(index, e);
|
9418
|
+
}
|
9419
|
+
return cb();
|
9420
|
+
}
|
9421
|
+
remain.shift();
|
9422
|
+
for (var i = 0; i < len; i++) {
|
9423
|
+
var e = matchedEntries[i];
|
9424
|
+
var newPattern;
|
9425
|
+
if (prefix) {
|
9426
|
+
if (prefix !== "/")
|
9427
|
+
e = prefix + "/" + e;
|
9428
|
+
else
|
9429
|
+
e = prefix + e;
|
9430
|
+
}
|
9431
|
+
this._process([e].concat(remain), index, inGlobStar, cb);
|
9432
|
+
}
|
9433
|
+
cb();
|
9434
|
+
};
|
9435
|
+
Glob.prototype._emitMatch = function(index, e) {
|
9436
|
+
if (this.aborted)
|
9437
|
+
return;
|
9438
|
+
if (isIgnored(this, e))
|
9439
|
+
return;
|
9440
|
+
if (this.paused) {
|
9441
|
+
this._emitQueue.push([index, e]);
|
9442
|
+
return;
|
9443
|
+
}
|
9444
|
+
var abs = isAbsolute(e) ? e : this._makeAbs(e);
|
9445
|
+
if (this.mark)
|
9446
|
+
e = this._mark(e);
|
9447
|
+
if (this.absolute)
|
9448
|
+
e = abs;
|
9449
|
+
if (this.matches[index][e])
|
9450
|
+
return;
|
9451
|
+
if (this.nodir) {
|
9452
|
+
var c = this.cache[abs];
|
9453
|
+
if (c === "DIR" || Array.isArray(c))
|
9454
|
+
return;
|
9455
|
+
}
|
9456
|
+
this.matches[index][e] = true;
|
9457
|
+
var st = this.statCache[abs];
|
9458
|
+
if (st)
|
9459
|
+
this.emit("stat", e, st);
|
9460
|
+
this.emit("match", e);
|
9461
|
+
};
|
9462
|
+
Glob.prototype._readdirInGlobStar = function(abs, cb) {
|
9463
|
+
if (this.aborted)
|
9464
|
+
return;
|
9465
|
+
if (this.follow)
|
9466
|
+
return this._readdir(abs, false, cb);
|
9467
|
+
var lstatkey = "lstat\0" + abs;
|
9468
|
+
var self = this;
|
9469
|
+
var lstatcb = inflight(lstatkey, lstatcb_);
|
9470
|
+
if (lstatcb)
|
9471
|
+
self.fs.lstat(abs, lstatcb);
|
9472
|
+
function lstatcb_(er, lstat) {
|
9473
|
+
if (er && er.code === "ENOENT")
|
9474
|
+
return cb();
|
9475
|
+
var isSym = lstat && lstat.isSymbolicLink();
|
9476
|
+
self.symlinks[abs] = isSym;
|
9477
|
+
if (!isSym && lstat && !lstat.isDirectory()) {
|
9478
|
+
self.cache[abs] = "FILE";
|
9479
|
+
cb();
|
9480
|
+
} else
|
9481
|
+
self._readdir(abs, false, cb);
|
9482
|
+
}
|
9483
|
+
};
|
9484
|
+
Glob.prototype._readdir = function(abs, inGlobStar, cb) {
|
9485
|
+
if (this.aborted)
|
9486
|
+
return;
|
9487
|
+
cb = inflight("readdir\0" + abs + "\0" + inGlobStar, cb);
|
9488
|
+
if (!cb)
|
9489
|
+
return;
|
9490
|
+
if (inGlobStar && !ownProp(this.symlinks, abs))
|
9491
|
+
return this._readdirInGlobStar(abs, cb);
|
9492
|
+
if (ownProp(this.cache, abs)) {
|
9493
|
+
var c = this.cache[abs];
|
9494
|
+
if (!c || c === "FILE")
|
9495
|
+
return cb();
|
9496
|
+
if (Array.isArray(c))
|
9497
|
+
return cb(null, c);
|
9498
|
+
}
|
9499
|
+
var self = this;
|
9500
|
+
self.fs.readdir(abs, readdirCb(this, abs, cb));
|
9501
|
+
};
|
9502
|
+
function readdirCb(self, abs, cb) {
|
9503
|
+
return function(er, entries) {
|
9504
|
+
if (er)
|
9505
|
+
self._readdirError(abs, er, cb);
|
9506
|
+
else
|
9507
|
+
self._readdirEntries(abs, entries, cb);
|
9508
|
+
};
|
9509
|
+
}
|
9510
|
+
Glob.prototype._readdirEntries = function(abs, entries, cb) {
|
9511
|
+
if (this.aborted)
|
9512
|
+
return;
|
9513
|
+
if (!this.mark && !this.stat) {
|
9514
|
+
for (var i = 0; i < entries.length; i++) {
|
9515
|
+
var e = entries[i];
|
9516
|
+
if (abs === "/")
|
9517
|
+
e = abs + e;
|
9518
|
+
else
|
9519
|
+
e = abs + "/" + e;
|
9520
|
+
this.cache[e] = true;
|
9521
|
+
}
|
9522
|
+
}
|
9523
|
+
this.cache[abs] = entries;
|
9524
|
+
return cb(null, entries);
|
9525
|
+
};
|
9526
|
+
Glob.prototype._readdirError = function(f, er, cb) {
|
9527
|
+
if (this.aborted)
|
9528
|
+
return;
|
9529
|
+
switch (er.code) {
|
9530
|
+
case "ENOTSUP":
|
9531
|
+
// https://github.com/isaacs/node-glob/issues/205
|
9532
|
+
case "ENOTDIR":
|
9533
|
+
var abs = this._makeAbs(f);
|
9534
|
+
this.cache[abs] = "FILE";
|
9535
|
+
if (abs === this.cwdAbs) {
|
9536
|
+
var error = new Error(er.code + " invalid cwd " + this.cwd);
|
9537
|
+
error.path = this.cwd;
|
9538
|
+
error.code = er.code;
|
9539
|
+
this.emit("error", error);
|
9540
|
+
this.abort();
|
9541
|
+
}
|
9542
|
+
break;
|
9543
|
+
case "ENOENT":
|
9544
|
+
// not terribly unusual
|
9545
|
+
case "ELOOP":
|
9546
|
+
case "ENAMETOOLONG":
|
9547
|
+
case "UNKNOWN":
|
9548
|
+
this.cache[this._makeAbs(f)] = false;
|
9549
|
+
break;
|
9550
|
+
default:
|
9551
|
+
this.cache[this._makeAbs(f)] = false;
|
9552
|
+
if (this.strict) {
|
9553
|
+
this.emit("error", er);
|
9554
|
+
this.abort();
|
9555
|
+
}
|
9556
|
+
if (!this.silent)
|
9557
|
+
console.error("glob error", er);
|
9558
|
+
break;
|
9559
|
+
}
|
9560
|
+
return cb();
|
9561
|
+
};
|
9562
|
+
Glob.prototype._processGlobStar = function(prefix, read, abs, remain, index, inGlobStar, cb) {
|
9563
|
+
var self = this;
|
9564
|
+
this._readdir(abs, inGlobStar, function(er, entries) {
|
9565
|
+
self._processGlobStar2(prefix, read, abs, remain, index, inGlobStar, entries, cb);
|
9566
|
+
});
|
9567
|
+
};
|
9568
|
+
Glob.prototype._processGlobStar2 = function(prefix, read, abs, remain, index, inGlobStar, entries, cb) {
|
9569
|
+
if (!entries)
|
9570
|
+
return cb();
|
9571
|
+
var remainWithoutGlobStar = remain.slice(1);
|
9572
|
+
var gspref = prefix ? [prefix] : [];
|
9573
|
+
var noGlobStar = gspref.concat(remainWithoutGlobStar);
|
9574
|
+
this._process(noGlobStar, index, false, cb);
|
9575
|
+
var isSym = this.symlinks[abs];
|
9576
|
+
var len = entries.length;
|
9577
|
+
if (isSym && inGlobStar)
|
9578
|
+
return cb();
|
9579
|
+
for (var i = 0; i < len; i++) {
|
9580
|
+
var e = entries[i];
|
9581
|
+
if (e.charAt(0) === "." && !this.dot)
|
9582
|
+
continue;
|
9583
|
+
var instead = gspref.concat(entries[i], remainWithoutGlobStar);
|
9584
|
+
this._process(instead, index, true, cb);
|
9585
|
+
var below = gspref.concat(entries[i], remain);
|
9586
|
+
this._process(below, index, true, cb);
|
9587
|
+
}
|
9588
|
+
cb();
|
9589
|
+
};
|
9590
|
+
Glob.prototype._processSimple = function(prefix, index, cb) {
|
9591
|
+
var self = this;
|
9592
|
+
this._stat(prefix, function(er, exists) {
|
9593
|
+
self._processSimple2(prefix, index, er, exists, cb);
|
9594
|
+
});
|
9595
|
+
};
|
9596
|
+
Glob.prototype._processSimple2 = function(prefix, index, er, exists, cb) {
|
9597
|
+
if (!this.matches[index])
|
9598
|
+
this.matches[index] = /* @__PURE__ */ Object.create(null);
|
9599
|
+
if (!exists)
|
9600
|
+
return cb();
|
9601
|
+
if (prefix && isAbsolute(prefix) && !this.nomount) {
|
9602
|
+
var trail = /[\/\\]$/.test(prefix);
|
9603
|
+
if (prefix.charAt(0) === "/") {
|
9604
|
+
prefix = path2.join(this.root, prefix);
|
9605
|
+
} else {
|
9606
|
+
prefix = path2.resolve(this.root, prefix);
|
9607
|
+
if (trail)
|
9608
|
+
prefix += "/";
|
9609
|
+
}
|
9610
|
+
}
|
9611
|
+
if (process.platform === "win32")
|
9612
|
+
prefix = prefix.replace(/\\/g, "/");
|
9613
|
+
this._emitMatch(index, prefix);
|
9614
|
+
cb();
|
9615
|
+
};
|
9616
|
+
Glob.prototype._stat = function(f, cb) {
|
9617
|
+
var abs = this._makeAbs(f);
|
9618
|
+
var needDir = f.slice(-1) === "/";
|
9619
|
+
if (f.length > this.maxLength)
|
9620
|
+
return cb();
|
9621
|
+
if (!this.stat && ownProp(this.cache, abs)) {
|
9622
|
+
var c = this.cache[abs];
|
9623
|
+
if (Array.isArray(c))
|
9624
|
+
c = "DIR";
|
9625
|
+
if (!needDir || c === "DIR")
|
9626
|
+
return cb(null, c);
|
9627
|
+
if (needDir && c === "FILE")
|
9628
|
+
return cb();
|
9629
|
+
}
|
9630
|
+
var exists;
|
9631
|
+
var stat = this.statCache[abs];
|
9632
|
+
if (stat !== void 0) {
|
9633
|
+
if (stat === false)
|
9634
|
+
return cb(null, stat);
|
9635
|
+
else {
|
9636
|
+
var type = stat.isDirectory() ? "DIR" : "FILE";
|
9637
|
+
if (needDir && type === "FILE")
|
9638
|
+
return cb();
|
9639
|
+
else
|
9640
|
+
return cb(null, type, stat);
|
9641
|
+
}
|
9642
|
+
}
|
9643
|
+
var self = this;
|
9644
|
+
var statcb = inflight("stat\0" + abs, lstatcb_);
|
9645
|
+
if (statcb)
|
9646
|
+
self.fs.lstat(abs, statcb);
|
9647
|
+
function lstatcb_(er, lstat) {
|
9648
|
+
if (lstat && lstat.isSymbolicLink()) {
|
9649
|
+
return self.fs.stat(abs, function(er2, stat2) {
|
9650
|
+
if (er2)
|
9651
|
+
self._stat2(f, abs, null, lstat, cb);
|
9652
|
+
else
|
9653
|
+
self._stat2(f, abs, er2, stat2, cb);
|
9654
|
+
});
|
9655
|
+
} else {
|
9656
|
+
self._stat2(f, abs, er, lstat, cb);
|
9657
|
+
}
|
9658
|
+
}
|
9659
|
+
};
|
9660
|
+
Glob.prototype._stat2 = function(f, abs, er, stat, cb) {
|
9661
|
+
if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
|
9662
|
+
this.statCache[abs] = false;
|
9663
|
+
return cb();
|
9664
|
+
}
|
9665
|
+
var needDir = f.slice(-1) === "/";
|
9666
|
+
this.statCache[abs] = stat;
|
9667
|
+
if (abs.slice(-1) === "/" && stat && !stat.isDirectory())
|
9668
|
+
return cb(null, false, stat);
|
9669
|
+
var c = true;
|
9670
|
+
if (stat)
|
9671
|
+
c = stat.isDirectory() ? "DIR" : "FILE";
|
9672
|
+
this.cache[abs] = this.cache[abs] || c;
|
9673
|
+
if (needDir && c === "FILE")
|
9674
|
+
return cb();
|
9675
|
+
return cb(null, c, stat);
|
9676
|
+
};
|
9677
|
+
}
|
9678
|
+
});
|
9679
|
+
var require_rimraf = (0, import_chunk_OSFPEEC6.__commonJS)({
|
9680
|
+
"../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js"(exports, module2) {
|
9681
|
+
"use strict";
|
9682
|
+
var assert = (0, import_chunk_OSFPEEC6.__require)("assert");
|
9683
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
9684
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
9685
|
+
var glob = void 0;
|
9686
|
+
try {
|
9687
|
+
glob = require_glob();
|
9688
|
+
} catch (_err) {
|
9689
|
+
}
|
9690
|
+
var defaultGlobOpts = {
|
9691
|
+
nosort: true,
|
9692
|
+
silent: true
|
9693
|
+
};
|
9694
|
+
var timeout = 0;
|
9695
|
+
var isWindows = process.platform === "win32";
|
9696
|
+
var defaults = (options) => {
|
9697
|
+
const methods = [
|
9698
|
+
"unlink",
|
9699
|
+
"chmod",
|
9700
|
+
"stat",
|
9701
|
+
"lstat",
|
9702
|
+
"rmdir",
|
9703
|
+
"readdir"
|
9704
|
+
];
|
9705
|
+
methods.forEach((m) => {
|
9706
|
+
options[m] = options[m] || fs2[m];
|
9707
|
+
m = m + "Sync";
|
9708
|
+
options[m] = options[m] || fs2[m];
|
9709
|
+
});
|
9710
|
+
options.maxBusyTries = options.maxBusyTries || 3;
|
9711
|
+
options.emfileWait = options.emfileWait || 1e3;
|
9712
|
+
if (options.glob === false) {
|
9713
|
+
options.disableGlob = true;
|
9714
|
+
}
|
9715
|
+
if (options.disableGlob !== true && glob === void 0) {
|
9716
|
+
throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");
|
9717
|
+
}
|
9718
|
+
options.disableGlob = options.disableGlob || false;
|
9719
|
+
options.glob = options.glob || defaultGlobOpts;
|
9720
|
+
};
|
9721
|
+
var rimraf2 = (p, options, cb) => {
|
9722
|
+
if (typeof options === "function") {
|
9723
|
+
cb = options;
|
9724
|
+
options = {};
|
9725
|
+
}
|
9726
|
+
assert(p, "rimraf: missing path");
|
9727
|
+
assert.equal(typeof p, "string", "rimraf: path should be a string");
|
9728
|
+
assert.equal(typeof cb, "function", "rimraf: callback function required");
|
9729
|
+
assert(options, "rimraf: invalid options argument provided");
|
9730
|
+
assert.equal(typeof options, "object", "rimraf: options should be object");
|
9731
|
+
defaults(options);
|
9732
|
+
let busyTries = 0;
|
9733
|
+
let errState = null;
|
9734
|
+
let n = 0;
|
9735
|
+
const next = (er) => {
|
9736
|
+
errState = errState || er;
|
9737
|
+
if (--n === 0)
|
9738
|
+
cb(errState);
|
9739
|
+
};
|
9740
|
+
const afterGlob = (er, results) => {
|
9741
|
+
if (er)
|
9742
|
+
return cb(er);
|
9743
|
+
n = results.length;
|
9744
|
+
if (n === 0)
|
9745
|
+
return cb();
|
9746
|
+
results.forEach((p2) => {
|
9747
|
+
const CB = (er2) => {
|
9748
|
+
if (er2) {
|
9749
|
+
if ((er2.code === "EBUSY" || er2.code === "ENOTEMPTY" || er2.code === "EPERM") && busyTries < options.maxBusyTries) {
|
9750
|
+
busyTries++;
|
9751
|
+
return setTimeout(() => rimraf_(p2, options, CB), busyTries * 100);
|
9752
|
+
}
|
9753
|
+
if (er2.code === "EMFILE" && timeout < options.emfileWait) {
|
9754
|
+
return setTimeout(() => rimraf_(p2, options, CB), timeout++);
|
9755
|
+
}
|
9756
|
+
if (er2.code === "ENOENT") er2 = null;
|
9757
|
+
}
|
9758
|
+
timeout = 0;
|
9759
|
+
next(er2);
|
9760
|
+
};
|
9761
|
+
rimraf_(p2, options, CB);
|
9762
|
+
});
|
9763
|
+
};
|
9764
|
+
if (options.disableGlob || !glob.hasMagic(p))
|
9765
|
+
return afterGlob(null, [p]);
|
9766
|
+
options.lstat(p, (er, stat) => {
|
9767
|
+
if (!er)
|
9768
|
+
return afterGlob(null, [p]);
|
9769
|
+
glob(p, options.glob, afterGlob);
|
9770
|
+
});
|
9771
|
+
};
|
9772
|
+
var rimraf_ = (p, options, cb) => {
|
9773
|
+
assert(p);
|
9774
|
+
assert(options);
|
9775
|
+
assert(typeof cb === "function");
|
9776
|
+
options.lstat(p, (er, st) => {
|
9777
|
+
if (er && er.code === "ENOENT")
|
9778
|
+
return cb(null);
|
9779
|
+
if (er && er.code === "EPERM" && isWindows)
|
9780
|
+
fixWinEPERM(p, options, er, cb);
|
9781
|
+
if (st && st.isDirectory())
|
9782
|
+
return rmdir(p, options, er, cb);
|
9783
|
+
options.unlink(p, (er2) => {
|
9784
|
+
if (er2) {
|
9785
|
+
if (er2.code === "ENOENT")
|
9786
|
+
return cb(null);
|
9787
|
+
if (er2.code === "EPERM")
|
9788
|
+
return isWindows ? fixWinEPERM(p, options, er2, cb) : rmdir(p, options, er2, cb);
|
9789
|
+
if (er2.code === "EISDIR")
|
9790
|
+
return rmdir(p, options, er2, cb);
|
9791
|
+
}
|
9792
|
+
return cb(er2);
|
9793
|
+
});
|
9794
|
+
});
|
9795
|
+
};
|
9796
|
+
var fixWinEPERM = (p, options, er, cb) => {
|
9797
|
+
assert(p);
|
9798
|
+
assert(options);
|
9799
|
+
assert(typeof cb === "function");
|
9800
|
+
options.chmod(p, 438, (er2) => {
|
9801
|
+
if (er2)
|
9802
|
+
cb(er2.code === "ENOENT" ? null : er);
|
9803
|
+
else
|
9804
|
+
options.stat(p, (er3, stats) => {
|
9805
|
+
if (er3)
|
9806
|
+
cb(er3.code === "ENOENT" ? null : er);
|
9807
|
+
else if (stats.isDirectory())
|
9808
|
+
rmdir(p, options, er, cb);
|
9809
|
+
else
|
9810
|
+
options.unlink(p, cb);
|
9811
|
+
});
|
9812
|
+
});
|
9813
|
+
};
|
9814
|
+
var fixWinEPERMSync = (p, options, er) => {
|
9815
|
+
assert(p);
|
9816
|
+
assert(options);
|
9817
|
+
try {
|
9818
|
+
options.chmodSync(p, 438);
|
9819
|
+
} catch (er2) {
|
9820
|
+
if (er2.code === "ENOENT")
|
9821
|
+
return;
|
9822
|
+
else
|
9823
|
+
throw er;
|
9824
|
+
}
|
9825
|
+
let stats;
|
9826
|
+
try {
|
9827
|
+
stats = options.statSync(p);
|
9828
|
+
} catch (er3) {
|
9829
|
+
if (er3.code === "ENOENT")
|
9830
|
+
return;
|
9831
|
+
else
|
9832
|
+
throw er;
|
9833
|
+
}
|
9834
|
+
if (stats.isDirectory())
|
9835
|
+
rmdirSync(p, options, er);
|
9836
|
+
else
|
9837
|
+
options.unlinkSync(p);
|
9838
|
+
};
|
9839
|
+
var rmdir = (p, options, originalEr, cb) => {
|
9840
|
+
assert(p);
|
9841
|
+
assert(options);
|
9842
|
+
assert(typeof cb === "function");
|
9843
|
+
options.rmdir(p, (er) => {
|
9844
|
+
if (er && (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM"))
|
9845
|
+
rmkids(p, options, cb);
|
9846
|
+
else if (er && er.code === "ENOTDIR")
|
9847
|
+
cb(originalEr);
|
9848
|
+
else
|
9849
|
+
cb(er);
|
9850
|
+
});
|
9851
|
+
};
|
9852
|
+
var rmkids = (p, options, cb) => {
|
9853
|
+
assert(p);
|
9854
|
+
assert(options);
|
9855
|
+
assert(typeof cb === "function");
|
9856
|
+
options.readdir(p, (er, files) => {
|
9857
|
+
if (er)
|
9858
|
+
return cb(er);
|
9859
|
+
let n = files.length;
|
9860
|
+
if (n === 0)
|
9861
|
+
return options.rmdir(p, cb);
|
9862
|
+
let errState;
|
9863
|
+
files.forEach((f) => {
|
9864
|
+
rimraf2(path2.join(p, f), options, (er2) => {
|
9865
|
+
if (errState)
|
9866
|
+
return;
|
9867
|
+
if (er2)
|
9868
|
+
return cb(errState = er2);
|
9869
|
+
if (--n === 0)
|
9870
|
+
options.rmdir(p, cb);
|
9871
|
+
});
|
9872
|
+
});
|
9873
|
+
});
|
9874
|
+
};
|
9875
|
+
var rimrafSync = (p, options) => {
|
9876
|
+
options = options || {};
|
9877
|
+
defaults(options);
|
9878
|
+
assert(p, "rimraf: missing path");
|
9879
|
+
assert.equal(typeof p, "string", "rimraf: path should be a string");
|
9880
|
+
assert(options, "rimraf: missing options");
|
9881
|
+
assert.equal(typeof options, "object", "rimraf: options should be object");
|
9882
|
+
let results;
|
9883
|
+
if (options.disableGlob || !glob.hasMagic(p)) {
|
9884
|
+
results = [p];
|
9885
|
+
} else {
|
9886
|
+
try {
|
9887
|
+
options.lstatSync(p);
|
9888
|
+
results = [p];
|
9889
|
+
} catch (er) {
|
9890
|
+
results = glob.sync(p, options.glob);
|
9891
|
+
}
|
9892
|
+
}
|
9893
|
+
if (!results.length)
|
9894
|
+
return;
|
9895
|
+
for (let i = 0; i < results.length; i++) {
|
9896
|
+
const p2 = results[i];
|
9897
|
+
let st;
|
9898
|
+
try {
|
9899
|
+
st = options.lstatSync(p2);
|
9900
|
+
} catch (er) {
|
9901
|
+
if (er.code === "ENOENT")
|
9902
|
+
return;
|
9903
|
+
if (er.code === "EPERM" && isWindows)
|
9904
|
+
fixWinEPERMSync(p2, options, er);
|
9905
|
+
}
|
9906
|
+
try {
|
9907
|
+
if (st && st.isDirectory())
|
9908
|
+
rmdirSync(p2, options, null);
|
9909
|
+
else
|
9910
|
+
options.unlinkSync(p2);
|
9911
|
+
} catch (er) {
|
9912
|
+
if (er.code === "ENOENT")
|
9913
|
+
return;
|
9914
|
+
if (er.code === "EPERM")
|
9915
|
+
return isWindows ? fixWinEPERMSync(p2, options, er) : rmdirSync(p2, options, er);
|
9916
|
+
if (er.code !== "EISDIR")
|
9917
|
+
throw er;
|
9918
|
+
rmdirSync(p2, options, er);
|
9919
|
+
}
|
9920
|
+
}
|
9921
|
+
};
|
9922
|
+
var rmdirSync = (p, options, originalEr) => {
|
9923
|
+
assert(p);
|
9924
|
+
assert(options);
|
9925
|
+
try {
|
9926
|
+
options.rmdirSync(p);
|
9927
|
+
} catch (er) {
|
9928
|
+
if (er.code === "ENOENT")
|
9929
|
+
return;
|
9930
|
+
if (er.code === "ENOTDIR")
|
9931
|
+
throw originalEr;
|
9932
|
+
if (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM")
|
9933
|
+
rmkidsSync(p, options);
|
9934
|
+
}
|
9935
|
+
};
|
9936
|
+
var rmkidsSync = (p, options) => {
|
9937
|
+
assert(p);
|
9938
|
+
assert(options);
|
9939
|
+
options.readdirSync(p).forEach((f) => rimrafSync(path2.join(p, f), options));
|
9940
|
+
const retries = isWindows ? 100 : 1;
|
9941
|
+
let i = 0;
|
9942
|
+
do {
|
9943
|
+
let threw = true;
|
9944
|
+
try {
|
9945
|
+
const ret = options.rmdirSync(p, options);
|
9946
|
+
threw = false;
|
9947
|
+
return ret;
|
9948
|
+
} finally {
|
9949
|
+
if (++i < retries && threw)
|
9950
|
+
continue;
|
9951
|
+
}
|
9952
|
+
} while (true);
|
9953
|
+
};
|
9954
|
+
module2.exports = rimraf2;
|
9955
|
+
rimraf2.sync = rimrafSync;
|
9956
|
+
}
|
9957
|
+
});
|
9958
|
+
var require_del = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7411
9959
|
"../../node_modules/.pnpm/del@6.1.1/node_modules/del/index.js"(exports, module2) {
|
7412
9960
|
"use strict";
|
7413
|
-
var { promisify:
|
7414
|
-
var path2 = (0,
|
9961
|
+
var { promisify: promisify2 } = (0, import_chunk_OSFPEEC6.__require)("util");
|
9962
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
7415
9963
|
var globby = require_globby();
|
7416
9964
|
var isGlob = require_is_glob();
|
7417
9965
|
var slash = require_slash();
|
7418
9966
|
var gracefulFs = require_graceful_fs();
|
7419
9967
|
var isPathCwd = require_is_path_cwd();
|
7420
9968
|
var isPathInside = require_is_path_inside();
|
7421
|
-
var rimraf2 =
|
7422
|
-
var pMap = (0,
|
7423
|
-
var rimrafP =
|
9969
|
+
var rimraf2 = require_rimraf();
|
9970
|
+
var pMap = (0, import_chunk_MSGI7ABO.require_p_map)();
|
9971
|
+
var rimrafP = promisify2(rimraf2);
|
7424
9972
|
var rimrafOptions = {
|
7425
9973
|
glob: false,
|
7426
9974
|
unlink: gracefulFs.unlink,
|
@@ -7518,18 +10066,18 @@ var require_del = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7518
10066
|
};
|
7519
10067
|
}
|
7520
10068
|
});
|
7521
|
-
var require_tempy = (0,
|
10069
|
+
var require_tempy = (0, import_chunk_OSFPEEC6.__commonJS)({
|
7522
10070
|
"../../node_modules/.pnpm/tempy@1.0.1/node_modules/tempy/index.js"(exports, module2) {
|
7523
10071
|
"use strict";
|
7524
|
-
var fs2 = (0,
|
7525
|
-
var path2 = (0,
|
10072
|
+
var fs2 = (0, import_chunk_OSFPEEC6.__require)("fs");
|
10073
|
+
var path2 = (0, import_chunk_OSFPEEC6.__require)("path");
|
7526
10074
|
var uniqueString = require_unique_string();
|
7527
10075
|
var tempDir = require_temp_dir();
|
7528
10076
|
var isStream = require_is_stream();
|
7529
|
-
var
|
7530
|
-
var stream = (0,
|
7531
|
-
var { promisify:
|
7532
|
-
var pipeline2 =
|
10077
|
+
var del = require_del();
|
10078
|
+
var stream = (0, import_chunk_OSFPEEC6.__require)("stream");
|
10079
|
+
var { promisify: promisify2 } = (0, import_chunk_OSFPEEC6.__require)("util");
|
10080
|
+
var pipeline2 = promisify2(stream.pipeline);
|
7533
10081
|
var { writeFile } = fs2.promises;
|
7534
10082
|
var getPath = (prefix = "") => path2.join(tempDir, prefix + uniqueString());
|
7535
10083
|
var writeStream = async (filePath, data) => pipeline2(data, fs2.createWriteStream(filePath));
|
@@ -7539,7 +10087,7 @@ var require_tempy = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7539
10087
|
try {
|
7540
10088
|
return await callback(result);
|
7541
10089
|
} finally {
|
7542
|
-
await
|
10090
|
+
await del(result, { force: true });
|
7543
10091
|
}
|
7544
10092
|
};
|
7545
10093
|
module2.exports.file = (options) => {
|
@@ -7580,7 +10128,7 @@ var require_tempy = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
7580
10128
|
});
|
7581
10129
|
}
|
7582
10130
|
});
|
7583
|
-
var import_hasha = (0,
|
10131
|
+
var import_hasha = (0, import_chunk_OSFPEEC6.__toESM)(require_hasha());
|
7584
10132
|
function dataUriToBuffer(uri) {
|
7585
10133
|
if (!/^data:/i.test(uri)) {
|
7586
10134
|
throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');
|
@@ -7683,8 +10231,8 @@ var Body = class {
|
|
7683
10231
|
} else if (ArrayBuffer.isView(body)) {
|
7684
10232
|
body = import_node_buffer2.Buffer.from(body.buffer, body.byteOffset, body.byteLength);
|
7685
10233
|
} else if (body instanceof import_node_stream2.default) {
|
7686
|
-
} else if (body instanceof
|
7687
|
-
body = (0,
|
10234
|
+
} else if (body instanceof import_chunk_EQBIW23N.FormData) {
|
10235
|
+
body = (0, import_chunk_EQBIW23N.formDataToBlob)(body);
|
7688
10236
|
boundary = body.type.split("=")[1];
|
7689
10237
|
} else {
|
7690
10238
|
body = import_node_buffer2.Buffer.from(String(body));
|
@@ -7728,14 +10276,14 @@ var Body = class {
|
|
7728
10276
|
async formData() {
|
7729
10277
|
const ct = this.headers.get("content-type");
|
7730
10278
|
if (ct.startsWith("application/x-www-form-urlencoded")) {
|
7731
|
-
const formData = new
|
10279
|
+
const formData = new import_chunk_EQBIW23N.FormData();
|
7732
10280
|
const parameters = new URLSearchParams(await this.text());
|
7733
10281
|
for (const [name, value] of parameters) {
|
7734
10282
|
formData.append(name, value);
|
7735
10283
|
}
|
7736
10284
|
return formData;
|
7737
10285
|
}
|
7738
|
-
const { toFormData } = await import("./multipart-parser-
|
10286
|
+
const { toFormData } = await import("./multipart-parser-54WEFGGN.js");
|
7739
10287
|
return toFormData(this.body, ct);
|
7740
10288
|
}
|
7741
10289
|
/**
|
@@ -7746,7 +10294,7 @@ var Body = class {
|
|
7746
10294
|
async blob() {
|
7747
10295
|
const ct = this.headers && this.headers.get("content-type") || this[INTERNALS].body && this[INTERNALS].body.type || "";
|
7748
10296
|
const buf = await this.arrayBuffer();
|
7749
|
-
return new
|
10297
|
+
return new import_chunk_EQBIW23N.fetch_blob_default([buf], {
|
7750
10298
|
type: ct
|
7751
10299
|
});
|
7752
10300
|
}
|
@@ -7874,7 +10422,7 @@ var extractContentType = (body, request) => {
|
|
7874
10422
|
if (import_node_buffer2.Buffer.isBuffer(body) || import_node_util.types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) {
|
7875
10423
|
return null;
|
7876
10424
|
}
|
7877
|
-
if (body instanceof
|
10425
|
+
if (body instanceof import_chunk_EQBIW23N.FormData) {
|
7878
10426
|
return `multipart/form-data; boundary=${request[INTERNALS].boundary}`;
|
7879
10427
|
}
|
7880
10428
|
if (body && typeof body.getBoundary === "function") {
|
@@ -8813,16 +11361,14 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
|
|
8813
11361
|
});
|
8814
11362
|
});
|
8815
11363
|
}
|
8816
|
-
var import_p_retry = (0,
|
8817
|
-
var
|
8818
|
-
var import_tempy = (0, import_chunk_AH6QHEOA.__toESM)(require_tempy());
|
11364
|
+
var import_p_retry = (0, import_chunk_OSFPEEC6.__toESM)(require_p_retry());
|
11365
|
+
var import_tempy = (0, import_chunk_OSFPEEC6.__toESM)(require_tempy());
|
8819
11366
|
var debug = (0, import_debug.default)("prisma:fetch-engine:downloadZip");
|
8820
|
-
var del = (0, import_util.promisify)(import_rimraf.default);
|
8821
11367
|
async function fetchChecksum(url) {
|
8822
11368
|
try {
|
8823
11369
|
const checksumUrl = `${url}.sha256`;
|
8824
11370
|
const response = await fetch(checksumUrl, {
|
8825
|
-
agent: (0,
|
11371
|
+
agent: (0, import_chunk_S3LWA4WZ.getProxyAgent)(url)
|
8826
11372
|
});
|
8827
11373
|
if (!response.ok) {
|
8828
11374
|
let errorMessage = `Failed to fetch sha256 checksum at ${checksumUrl} - ${response.status} ${response.statusText}`;
|
@@ -8868,7 +11414,7 @@ async function downloadZip(url, target, progressCb) {
|
|
8868
11414
|
async () => {
|
8869
11415
|
const response = await fetch(url, {
|
8870
11416
|
compress: false,
|
8871
|
-
agent: (0,
|
11417
|
+
agent: (0, import_chunk_S3LWA4WZ.getProxyAgent)(url)
|
8872
11418
|
});
|
8873
11419
|
if (!response.ok) {
|
8874
11420
|
throw new Error(`Failed to fetch the engine file at ${url} - ${response.status} ${response.statusText}`);
|
@@ -8915,10 +11461,10 @@ async function downloadZip(url, target, progressCb) {
|
|
8915
11461
|
onFailedAttempt: (err) => debug("An error occurred while downloading the engine file", err)
|
8916
11462
|
}
|
8917
11463
|
);
|
8918
|
-
await (0,
|
11464
|
+
await (0, import_chunk_TEEFYD2G.overwriteFile)(partial, target);
|
8919
11465
|
try {
|
8920
|
-
await
|
8921
|
-
await
|
11466
|
+
await (0, import_chunk_MSGI7ABO.rimraf)(partial);
|
11467
|
+
await (0, import_chunk_MSGI7ABO.rimraf)(tmpDir);
|
8922
11468
|
} catch (e) {
|
8923
11469
|
debug(e);
|
8924
11470
|
}
|