vercel 41.7.0 → 41.7.3
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/index.js +147 -684
- package/package.json +5 -7
package/dist/index.js
CHANGED
@@ -36663,7 +36663,7 @@ var init_create_prompt = __esm({
|
|
36663
36663
|
}
|
36664
36664
|
});
|
36665
36665
|
|
36666
|
-
// ../../node_modules/.pnpm/@inquirer+figures@1.0.
|
36666
|
+
// ../../node_modules/.pnpm/@inquirer+figures@1.0.11/node_modules/@inquirer/figures/dist/esm/index.js
|
36667
36667
|
function isUnicodeSupported() {
|
36668
36668
|
if (import_node_process.default.platform !== "win32") {
|
36669
36669
|
return import_node_process.default.env["TERM"] !== "linux";
|
@@ -36675,7 +36675,7 @@ function isUnicodeSupported() {
|
|
36675
36675
|
}
|
36676
36676
|
var import_node_process, common, specialMainSymbols, specialFallbackSymbols, mainSymbols, fallbackSymbols, shouldUseMain, figures, esm_default, replacements;
|
36677
36677
|
var init_esm2 = __esm({
|
36678
|
-
"../../node_modules/.pnpm/@inquirer+figures@1.0.
|
36678
|
+
"../../node_modules/.pnpm/@inquirer+figures@1.0.11/node_modules/@inquirer/figures/dist/esm/index.js"() {
|
36679
36679
|
import_node_process = __toESM3(require("process"), 1);
|
36680
36680
|
common = {
|
36681
36681
|
circleQuestionMark: "(?)",
|
@@ -46260,7 +46260,7 @@ var require_package = __commonJS2({
|
|
46260
46260
|
"../client/package.json"(exports2, module2) {
|
46261
46261
|
module2.exports = {
|
46262
46262
|
name: "@vercel/client",
|
46263
|
-
version: "15.3.
|
46263
|
+
version: "15.3.1",
|
46264
46264
|
main: "dist/index.js",
|
46265
46265
|
typings: "dist/index.d.ts",
|
46266
46266
|
homepage: "https://vercel.com",
|
@@ -48874,9 +48874,9 @@ var init_main = __esm({
|
|
48874
48874
|
}
|
48875
48875
|
});
|
48876
48876
|
|
48877
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
48877
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js
|
48878
48878
|
var require_array = __commonJS2({
|
48879
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
48879
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports2) {
|
48880
48880
|
"use strict";
|
48881
48881
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
48882
48882
|
exports2.splitWhen = exports2.flatten = void 0;
|
@@ -48901,9 +48901,9 @@ var require_array = __commonJS2({
|
|
48901
48901
|
}
|
48902
48902
|
});
|
48903
48903
|
|
48904
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
48904
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js
|
48905
48905
|
var require_errno = __commonJS2({
|
48906
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
48906
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports2) {
|
48907
48907
|
"use strict";
|
48908
48908
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
48909
48909
|
exports2.isEnoentCodeError = void 0;
|
@@ -48914,9 +48914,9 @@ var require_errno = __commonJS2({
|
|
48914
48914
|
}
|
48915
48915
|
});
|
48916
48916
|
|
48917
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
48917
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js
|
48918
48918
|
var require_fs3 = __commonJS2({
|
48919
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
48919
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports2) {
|
48920
48920
|
"use strict";
|
48921
48921
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
48922
48922
|
exports2.createDirentFromStats = void 0;
|
@@ -48939,9 +48939,9 @@ var require_fs3 = __commonJS2({
|
|
48939
48939
|
}
|
48940
48940
|
});
|
48941
48941
|
|
48942
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
48942
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js
|
48943
48943
|
var require_path3 = __commonJS2({
|
48944
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
48944
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports2) {
|
48945
48945
|
"use strict";
|
48946
48946
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
48947
48947
|
exports2.convertPosixPathToPattern = exports2.convertWindowsPathToPattern = exports2.convertPathToPattern = exports2.escapePosixPath = exports2.escapeWindowsPath = exports2.escape = exports2.removeLeadingDotSegment = exports2.makeAbsolute = exports2.unixify = void 0;
|
@@ -51973,12 +51973,12 @@ var require_micromatch = __commonJS2({
|
|
51973
51973
|
}
|
51974
51974
|
});
|
51975
51975
|
|
51976
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
51976
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js
|
51977
51977
|
var require_pattern = __commonJS2({
|
51978
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
51978
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports2) {
|
51979
51979
|
"use strict";
|
51980
51980
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
51981
|
-
exports2.removeDuplicateSlashes = exports2.matchAny = exports2.convertPatternsToRe = exports2.makeRe = exports2.getPatternParts = exports2.expandBraceExpansion = exports2.expandPatternsWithBraceExpansion = exports2.isAffectDepthOfReadingPattern = exports2.endsWithSlashGlobStar = exports2.hasGlobStar = exports2.getBaseDirectory = exports2.isPatternRelatedToParentDirectory = exports2.getPatternsOutsideCurrentDirectory = exports2.getPatternsInsideCurrentDirectory = exports2.getPositivePatterns = exports2.getNegativePatterns = exports2.isPositivePattern = exports2.isNegativePattern = exports2.convertToNegativePattern = exports2.convertToPositivePattern = exports2.isDynamicPattern = exports2.isStaticPattern = void 0;
|
51981
|
+
exports2.isAbsolute = exports2.partitionAbsoluteAndRelative = exports2.removeDuplicateSlashes = exports2.matchAny = exports2.convertPatternsToRe = exports2.makeRe = exports2.getPatternParts = exports2.expandBraceExpansion = exports2.expandPatternsWithBraceExpansion = exports2.isAffectDepthOfReadingPattern = exports2.endsWithSlashGlobStar = exports2.hasGlobStar = exports2.getBaseDirectory = exports2.isPatternRelatedToParentDirectory = exports2.getPatternsOutsideCurrentDirectory = exports2.getPatternsInsideCurrentDirectory = exports2.getPositivePatterns = exports2.getNegativePatterns = exports2.isPositivePattern = exports2.isNegativePattern = exports2.convertToNegativePattern = exports2.convertToPositivePattern = exports2.isDynamicPattern = exports2.isStaticPattern = void 0;
|
51982
51982
|
var path11 = require("path");
|
51983
51983
|
var globParent = require_glob_parent();
|
51984
51984
|
var micromatch = require_micromatch();
|
@@ -52118,6 +52118,23 @@ var require_pattern = __commonJS2({
|
|
52118
52118
|
return pattern.replace(DOUBLE_SLASH_RE, "/");
|
52119
52119
|
}
|
52120
52120
|
exports2.removeDuplicateSlashes = removeDuplicateSlashes;
|
52121
|
+
function partitionAbsoluteAndRelative(patterns) {
|
52122
|
+
const absolute = [];
|
52123
|
+
const relative7 = [];
|
52124
|
+
for (const pattern of patterns) {
|
52125
|
+
if (isAbsolute2(pattern)) {
|
52126
|
+
absolute.push(pattern);
|
52127
|
+
} else {
|
52128
|
+
relative7.push(pattern);
|
52129
|
+
}
|
52130
|
+
}
|
52131
|
+
return [absolute, relative7];
|
52132
|
+
}
|
52133
|
+
exports2.partitionAbsoluteAndRelative = partitionAbsoluteAndRelative;
|
52134
|
+
function isAbsolute2(pattern) {
|
52135
|
+
return path11.isAbsolute(pattern);
|
52136
|
+
}
|
52137
|
+
exports2.isAbsolute = isAbsolute2;
|
52121
52138
|
}
|
52122
52139
|
});
|
52123
52140
|
|
@@ -52240,9 +52257,9 @@ var require_merge2 = __commonJS2({
|
|
52240
52257
|
}
|
52241
52258
|
});
|
52242
52259
|
|
52243
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
52260
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js
|
52244
52261
|
var require_stream = __commonJS2({
|
52245
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
52262
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports2) {
|
52246
52263
|
"use strict";
|
52247
52264
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
52248
52265
|
exports2.merge = void 0;
|
@@ -52263,9 +52280,9 @@ var require_stream = __commonJS2({
|
|
52263
52280
|
}
|
52264
52281
|
});
|
52265
52282
|
|
52266
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
52283
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js
|
52267
52284
|
var require_string2 = __commonJS2({
|
52268
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
52285
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports2) {
|
52269
52286
|
"use strict";
|
52270
52287
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
52271
52288
|
exports2.isEmpty = exports2.isString = void 0;
|
@@ -52280,9 +52297,9 @@ var require_string2 = __commonJS2({
|
|
52280
52297
|
}
|
52281
52298
|
});
|
52282
52299
|
|
52283
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
52300
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js
|
52284
52301
|
var require_utils10 = __commonJS2({
|
52285
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
52302
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports2) {
|
52286
52303
|
"use strict";
|
52287
52304
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
52288
52305
|
exports2.string = exports2.stream = exports2.pattern = exports2.path = exports2.fs = exports2.errno = exports2.array = void 0;
|
@@ -52303,9 +52320,9 @@ var require_utils10 = __commonJS2({
|
|
52303
52320
|
}
|
52304
52321
|
});
|
52305
52322
|
|
52306
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
52323
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js
|
52307
52324
|
var require_tasks = __commonJS2({
|
52308
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
52325
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports2) {
|
52309
52326
|
"use strict";
|
52310
52327
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
52311
52328
|
exports2.convertPatternGroupToTask = exports2.convertPatternGroupsToTasks = exports2.groupPatternsByBaseDirectory = exports2.getNegativePatternsAsPositive = exports2.getPositivePatterns = exports2.convertPatternsToTasks = exports2.generate = void 0;
|
@@ -52937,9 +52954,9 @@ var require_out2 = __commonJS2({
|
|
52937
52954
|
}
|
52938
52955
|
});
|
52939
52956
|
|
52940
|
-
// ../../node_modules/.pnpm/reusify@1.0
|
52957
|
+
// ../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js
|
52941
52958
|
var require_reusify = __commonJS2({
|
52942
|
-
"../../node_modules/.pnpm/reusify@1.0
|
52959
|
+
"../../node_modules/.pnpm/reusify@1.1.0/node_modules/reusify/reusify.js"(exports2, module2) {
|
52943
52960
|
"use strict";
|
52944
52961
|
function reusify(Constructor) {
|
52945
52962
|
var head = new Constructor();
|
@@ -52968,9 +52985,9 @@ var require_reusify = __commonJS2({
|
|
52968
52985
|
}
|
52969
52986
|
});
|
52970
52987
|
|
52971
|
-
// ../../node_modules/.pnpm/fastq@1.
|
52988
|
+
// ../../node_modules/.pnpm/fastq@1.19.1/node_modules/fastq/queue.js
|
52972
52989
|
var require_queue = __commonJS2({
|
52973
|
-
"../../node_modules/.pnpm/fastq@1.
|
52990
|
+
"../../node_modules/.pnpm/fastq@1.19.1/node_modules/fastq/queue.js"(exports2, module2) {
|
52974
52991
|
"use strict";
|
52975
52992
|
var reusify = require_reusify();
|
52976
52993
|
function fastqueue(context, worker, _concurrency) {
|
@@ -53209,17 +53226,20 @@ var require_queue = __commonJS2({
|
|
53209
53226
|
return p;
|
53210
53227
|
}
|
53211
53228
|
function drained() {
|
53212
|
-
if (queue.idle()) {
|
53213
|
-
return new Promise(function(resolve12) {
|
53214
|
-
resolve12();
|
53215
|
-
});
|
53216
|
-
}
|
53217
|
-
var previousDrain = queue.drain;
|
53218
53229
|
var p = new Promise(function(resolve12) {
|
53219
|
-
|
53220
|
-
|
53221
|
-
|
53222
|
-
|
53230
|
+
process.nextTick(function() {
|
53231
|
+
if (queue.idle()) {
|
53232
|
+
resolve12();
|
53233
|
+
} else {
|
53234
|
+
var previousDrain = queue.drain;
|
53235
|
+
queue.drain = function() {
|
53236
|
+
if (typeof previousDrain === "function")
|
53237
|
+
previousDrain();
|
53238
|
+
resolve12();
|
53239
|
+
queue.drain = previousDrain;
|
53240
|
+
};
|
53241
|
+
}
|
53242
|
+
});
|
53223
53243
|
});
|
53224
53244
|
return p;
|
53225
53245
|
}
|
@@ -53616,9 +53636,9 @@ var require_out3 = __commonJS2({
|
|
53616
53636
|
}
|
53617
53637
|
});
|
53618
53638
|
|
53619
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
53639
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js
|
53620
53640
|
var require_reader2 = __commonJS2({
|
53621
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
53641
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports2) {
|
53622
53642
|
"use strict";
|
53623
53643
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53624
53644
|
var path11 = require("path");
|
@@ -53655,9 +53675,9 @@ var require_reader2 = __commonJS2({
|
|
53655
53675
|
}
|
53656
53676
|
});
|
53657
53677
|
|
53658
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
53678
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js
|
53659
53679
|
var require_stream3 = __commonJS2({
|
53660
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
53680
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports2) {
|
53661
53681
|
"use strict";
|
53662
53682
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53663
53683
|
var stream_1 = require("stream");
|
@@ -53712,9 +53732,9 @@ var require_stream3 = __commonJS2({
|
|
53712
53732
|
}
|
53713
53733
|
});
|
53714
53734
|
|
53715
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
53735
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js
|
53716
53736
|
var require_async6 = __commonJS2({
|
53717
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
53737
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports2) {
|
53718
53738
|
"use strict";
|
53719
53739
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53720
53740
|
var fsWalk = require_out3();
|
@@ -53751,9 +53771,9 @@ var require_async6 = __commonJS2({
|
|
53751
53771
|
}
|
53752
53772
|
});
|
53753
53773
|
|
53754
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
53774
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js
|
53755
53775
|
var require_matcher = __commonJS2({
|
53756
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
53776
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
|
53757
53777
|
"use strict";
|
53758
53778
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53759
53779
|
var utils = require_utils10();
|
@@ -53802,9 +53822,9 @@ var require_matcher = __commonJS2({
|
|
53802
53822
|
}
|
53803
53823
|
});
|
53804
53824
|
|
53805
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
53825
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js
|
53806
53826
|
var require_partial = __commonJS2({
|
53807
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
53827
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports2) {
|
53808
53828
|
"use strict";
|
53809
53829
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53810
53830
|
var matcher_1 = require_matcher();
|
@@ -53839,9 +53859,9 @@ var require_partial = __commonJS2({
|
|
53839
53859
|
}
|
53840
53860
|
});
|
53841
53861
|
|
53842
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
53862
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js
|
53843
53863
|
var require_deep = __commonJS2({
|
53844
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
53864
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports2) {
|
53845
53865
|
"use strict";
|
53846
53866
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53847
53867
|
var utils = require_utils10();
|
@@ -53904,9 +53924,9 @@ var require_deep = __commonJS2({
|
|
53904
53924
|
}
|
53905
53925
|
});
|
53906
53926
|
|
53907
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
53927
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js
|
53908
53928
|
var require_entry = __commonJS2({
|
53909
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
53929
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports2) {
|
53910
53930
|
"use strict";
|
53911
53931
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53912
53932
|
var utils = require_utils10();
|
@@ -53917,11 +53937,19 @@ var require_entry = __commonJS2({
|
|
53917
53937
|
this.index = /* @__PURE__ */ new Map();
|
53918
53938
|
}
|
53919
53939
|
getFilter(positive, negative) {
|
53920
|
-
const
|
53921
|
-
const
|
53922
|
-
|
53940
|
+
const [absoluteNegative, relativeNegative] = utils.pattern.partitionAbsoluteAndRelative(negative);
|
53941
|
+
const patterns = {
|
53942
|
+
positive: {
|
53943
|
+
all: utils.pattern.convertPatternsToRe(positive, this._micromatchOptions)
|
53944
|
+
},
|
53945
|
+
negative: {
|
53946
|
+
absolute: utils.pattern.convertPatternsToRe(absoluteNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true })),
|
53947
|
+
relative: utils.pattern.convertPatternsToRe(relativeNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }))
|
53948
|
+
}
|
53949
|
+
};
|
53950
|
+
return (entry) => this._filter(entry, patterns);
|
53923
53951
|
}
|
53924
|
-
_filter(entry,
|
53952
|
+
_filter(entry, patterns) {
|
53925
53953
|
const filepath = utils.path.removeLeadingDotSegment(entry.path);
|
53926
53954
|
if (this._settings.unique && this._isDuplicateEntry(filepath)) {
|
53927
53955
|
return false;
|
@@ -53929,11 +53957,7 @@ var require_entry = __commonJS2({
|
|
53929
53957
|
if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
|
53930
53958
|
return false;
|
53931
53959
|
}
|
53932
|
-
|
53933
|
-
return false;
|
53934
|
-
}
|
53935
|
-
const isDirectory2 = entry.dirent.isDirectory();
|
53936
|
-
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory2) && !this._isMatchToPatterns(filepath, negativeRe, isDirectory2);
|
53960
|
+
const isMatched = this._isMatchToPatternsSet(filepath, patterns, entry.dirent.isDirectory());
|
53937
53961
|
if (this._settings.unique && isMatched) {
|
53938
53962
|
this._createIndexRecord(filepath);
|
53939
53963
|
}
|
@@ -53951,14 +53975,32 @@ var require_entry = __commonJS2({
|
|
53951
53975
|
_onlyDirectoryFilter(entry) {
|
53952
53976
|
return this._settings.onlyDirectories && !entry.dirent.isDirectory();
|
53953
53977
|
}
|
53954
|
-
|
53955
|
-
|
53978
|
+
_isMatchToPatternsSet(filepath, patterns, isDirectory2) {
|
53979
|
+
const isMatched = this._isMatchToPatterns(filepath, patterns.positive.all, isDirectory2);
|
53980
|
+
if (!isMatched) {
|
53981
|
+
return false;
|
53982
|
+
}
|
53983
|
+
const isMatchedByRelativeNegative = this._isMatchToPatterns(filepath, patterns.negative.relative, isDirectory2);
|
53984
|
+
if (isMatchedByRelativeNegative) {
|
53985
|
+
return false;
|
53986
|
+
}
|
53987
|
+
const isMatchedByAbsoluteNegative = this._isMatchToAbsoluteNegative(filepath, patterns.negative.absolute, isDirectory2);
|
53988
|
+
if (isMatchedByAbsoluteNegative) {
|
53989
|
+
return false;
|
53990
|
+
}
|
53991
|
+
return true;
|
53992
|
+
}
|
53993
|
+
_isMatchToAbsoluteNegative(filepath, patternsRe, isDirectory2) {
|
53994
|
+
if (patternsRe.length === 0) {
|
53956
53995
|
return false;
|
53957
53996
|
}
|
53958
|
-
const fullpath = utils.path.makeAbsolute(this._settings.cwd,
|
53959
|
-
return
|
53997
|
+
const fullpath = utils.path.makeAbsolute(this._settings.cwd, filepath);
|
53998
|
+
return this._isMatchToPatterns(fullpath, patternsRe, isDirectory2);
|
53960
53999
|
}
|
53961
54000
|
_isMatchToPatterns(filepath, patternsRe, isDirectory2) {
|
54001
|
+
if (patternsRe.length === 0) {
|
54002
|
+
return false;
|
54003
|
+
}
|
53962
54004
|
const isMatched = utils.pattern.matchAny(filepath, patternsRe);
|
53963
54005
|
if (!isMatched && isDirectory2) {
|
53964
54006
|
return utils.pattern.matchAny(filepath + "/", patternsRe);
|
@@ -53970,9 +54012,9 @@ var require_entry = __commonJS2({
|
|
53970
54012
|
}
|
53971
54013
|
});
|
53972
54014
|
|
53973
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54015
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js
|
53974
54016
|
var require_error2 = __commonJS2({
|
53975
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54017
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports2) {
|
53976
54018
|
"use strict";
|
53977
54019
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53978
54020
|
var utils = require_utils10();
|
@@ -53991,9 +54033,9 @@ var require_error2 = __commonJS2({
|
|
53991
54033
|
}
|
53992
54034
|
});
|
53993
54035
|
|
53994
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54036
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js
|
53995
54037
|
var require_entry2 = __commonJS2({
|
53996
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54038
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports2) {
|
53997
54039
|
"use strict";
|
53998
54040
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
53999
54041
|
var utils = require_utils10();
|
@@ -54023,9 +54065,9 @@ var require_entry2 = __commonJS2({
|
|
54023
54065
|
}
|
54024
54066
|
});
|
54025
54067
|
|
54026
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54068
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js
|
54027
54069
|
var require_provider = __commonJS2({
|
54028
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54070
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports2) {
|
54029
54071
|
"use strict";
|
54030
54072
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
54031
54073
|
var path11 = require("path");
|
@@ -54077,9 +54119,9 @@ var require_provider = __commonJS2({
|
|
54077
54119
|
}
|
54078
54120
|
});
|
54079
54121
|
|
54080
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54122
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js
|
54081
54123
|
var require_async7 = __commonJS2({
|
54082
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54124
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports2) {
|
54083
54125
|
"use strict";
|
54084
54126
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
54085
54127
|
var async_1 = require_async6();
|
@@ -54106,9 +54148,9 @@ var require_async7 = __commonJS2({
|
|
54106
54148
|
}
|
54107
54149
|
});
|
54108
54150
|
|
54109
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54151
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js
|
54110
54152
|
var require_stream4 = __commonJS2({
|
54111
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54153
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports2) {
|
54112
54154
|
"use strict";
|
54113
54155
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
54114
54156
|
var stream_1 = require("stream");
|
@@ -54140,9 +54182,9 @@ var require_stream4 = __commonJS2({
|
|
54140
54182
|
}
|
54141
54183
|
});
|
54142
54184
|
|
54143
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54185
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js
|
54144
54186
|
var require_sync5 = __commonJS2({
|
54145
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54187
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports2) {
|
54146
54188
|
"use strict";
|
54147
54189
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
54148
54190
|
var fsStat = require_out();
|
@@ -54188,9 +54230,9 @@ var require_sync5 = __commonJS2({
|
|
54188
54230
|
}
|
54189
54231
|
});
|
54190
54232
|
|
54191
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54233
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js
|
54192
54234
|
var require_sync6 = __commonJS2({
|
54193
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54235
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports2) {
|
54194
54236
|
"use strict";
|
54195
54237
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
54196
54238
|
var sync_1 = require_sync5();
|
@@ -54217,9 +54259,9 @@ var require_sync6 = __commonJS2({
|
|
54217
54259
|
}
|
54218
54260
|
});
|
54219
54261
|
|
54220
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54262
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js
|
54221
54263
|
var require_settings4 = __commonJS2({
|
54222
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54264
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports2) {
|
54223
54265
|
"use strict";
|
54224
54266
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
54225
54267
|
exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
@@ -54277,9 +54319,9 @@ var require_settings4 = __commonJS2({
|
|
54277
54319
|
}
|
54278
54320
|
});
|
54279
54321
|
|
54280
|
-
// ../../node_modules/.pnpm/fast-glob@3.3.
|
54322
|
+
// ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js
|
54281
54323
|
var require_out4 = __commonJS2({
|
54282
|
-
"../../node_modules/.pnpm/fast-glob@3.3.
|
54324
|
+
"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports2, module2) {
|
54283
54325
|
"use strict";
|
54284
54326
|
var taskManager = require_tasks();
|
54285
54327
|
var async_1 = require_async7();
|
@@ -85004,9 +85046,9 @@ var require_smartbuffer = __commonJS2({
|
|
85004
85046
|
}
|
85005
85047
|
});
|
85006
85048
|
|
85007
|
-
// ../../node_modules/.pnpm/socks@2.8.
|
85049
|
+
// ../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/constants.js
|
85008
85050
|
var require_constants6 = __commonJS2({
|
85009
|
-
"../../node_modules/.pnpm/socks@2.8.
|
85051
|
+
"../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/constants.js"(exports2) {
|
85010
85052
|
"use strict";
|
85011
85053
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
85012
85054
|
exports2.SOCKS5_NO_ACCEPTABLE_AUTH = exports2.SOCKS5_CUSTOM_AUTH_END = exports2.SOCKS5_CUSTOM_AUTH_START = exports2.SOCKS_INCOMING_PACKET_SIZES = exports2.SocksClientState = exports2.Socks5Response = exports2.Socks5HostType = exports2.Socks5Auth = exports2.Socks4Response = exports2.SocksCommand = exports2.ERRORS = exports2.DEFAULT_TIMEOUT = void 0;
|
@@ -85121,9 +85163,9 @@ var require_constants6 = __commonJS2({
|
|
85121
85163
|
}
|
85122
85164
|
});
|
85123
85165
|
|
85124
|
-
// ../../node_modules/.pnpm/socks@2.8.
|
85166
|
+
// ../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/util.js
|
85125
85167
|
var require_util6 = __commonJS2({
|
85126
|
-
"../../node_modules/.pnpm/socks@2.8.
|
85168
|
+
"../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/util.js"(exports2) {
|
85127
85169
|
"use strict";
|
85128
85170
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
85129
85171
|
exports2.shuffleArray = exports2.SocksClientError = void 0;
|
@@ -88314,9 +88356,9 @@ var require_ip_address = __commonJS2({
|
|
88314
88356
|
}
|
88315
88357
|
});
|
88316
88358
|
|
88317
|
-
// ../../node_modules/.pnpm/socks@2.8.
|
88359
|
+
// ../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/helpers.js
|
88318
88360
|
var require_helpers3 = __commonJS2({
|
88319
|
-
"../../node_modules/.pnpm/socks@2.8.
|
88361
|
+
"../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/helpers.js"(exports2) {
|
88320
88362
|
"use strict";
|
88321
88363
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
88322
88364
|
exports2.ipToBuffer = exports2.int32ToIpv4 = exports2.ipv4ToInt32 = exports2.validateSocksClientChainOptions = exports2.validateSocksClientOptions = void 0;
|
@@ -88421,9 +88463,9 @@ var require_helpers3 = __commonJS2({
|
|
88421
88463
|
}
|
88422
88464
|
});
|
88423
88465
|
|
88424
|
-
// ../../node_modules/.pnpm/socks@2.8.
|
88466
|
+
// ../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/receivebuffer.js
|
88425
88467
|
var require_receivebuffer = __commonJS2({
|
88426
|
-
"../../node_modules/.pnpm/socks@2.8.
|
88468
|
+
"../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/common/receivebuffer.js"(exports2) {
|
88427
88469
|
"use strict";
|
88428
88470
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
88429
88471
|
exports2.ReceiveBuffer = void 0;
|
@@ -88469,9 +88511,9 @@ var require_receivebuffer = __commonJS2({
|
|
88469
88511
|
}
|
88470
88512
|
});
|
88471
88513
|
|
88472
|
-
// ../../node_modules/.pnpm/socks@2.8.
|
88514
|
+
// ../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/client/socksclient.js
|
88473
88515
|
var require_socksclient = __commonJS2({
|
88474
|
-
"../../node_modules/.pnpm/socks@2.8.
|
88516
|
+
"../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/client/socksclient.js"(exports2) {
|
88475
88517
|
"use strict";
|
88476
88518
|
var __awaiter2 = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
88477
88519
|
function adopt(value) {
|
@@ -89148,9 +89190,9 @@ var require_socksclient = __commonJS2({
|
|
89148
89190
|
}
|
89149
89191
|
});
|
89150
89192
|
|
89151
|
-
// ../../node_modules/.pnpm/socks@2.8.
|
89193
|
+
// ../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/index.js
|
89152
89194
|
var require_build = __commonJS2({
|
89153
|
-
"../../node_modules/.pnpm/socks@2.8.
|
89195
|
+
"../../node_modules/.pnpm/socks@2.8.4/node_modules/socks/build/index.js"(exports2) {
|
89154
89196
|
"use strict";
|
89155
89197
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
89156
89198
|
if (k2 === void 0)
|
@@ -89759,9 +89801,9 @@ var require_dist16 = __commonJS2({
|
|
89759
89801
|
}
|
89760
89802
|
});
|
89761
89803
|
|
89762
|
-
// ../../node_modules/.pnpm/pac-proxy-agent@7.
|
89804
|
+
// ../../node_modules/.pnpm/pac-proxy-agent@7.2.0/node_modules/pac-proxy-agent/dist/index.js
|
89763
89805
|
var require_dist17 = __commonJS2({
|
89764
|
-
"../../node_modules/.pnpm/pac-proxy-agent@7.
|
89806
|
+
"../../node_modules/.pnpm/pac-proxy-agent@7.2.0/node_modules/pac-proxy-agent/dist/index.js"(exports2) {
|
89765
89807
|
"use strict";
|
89766
89808
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
89767
89809
|
if (k2 === void 0)
|
@@ -89841,8 +89883,6 @@ var require_dist17 = __commonJS2({
|
|
89841
89883
|
/**
|
89842
89884
|
* Loads the PAC proxy file from the source if necessary, and returns
|
89843
89885
|
* a generated `FindProxyForURL()` resolver function to use.
|
89844
|
-
*
|
89845
|
-
* @api private
|
89846
89886
|
*/
|
89847
89887
|
getResolver() {
|
89848
89888
|
if (!this.resolverPromise) {
|
@@ -113549,585 +113589,6 @@ var require_fs7 = __commonJS2({
|
|
113549
113589
|
}
|
113550
113590
|
});
|
113551
113591
|
|
113552
|
-
// ../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/lib/path.js
|
113553
|
-
var require_path5 = __commonJS2({
|
113554
|
-
"../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/lib/path.js"(exports2, module2) {
|
113555
|
-
var isWindows = typeof process === "object" && process && process.platform === "win32";
|
113556
|
-
module2.exports = isWindows ? { sep: "\\" } : { sep: "/" };
|
113557
|
-
}
|
113558
|
-
});
|
113559
|
-
|
113560
|
-
// ../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js
|
113561
|
-
var require_minimatch3 = __commonJS2({
|
113562
|
-
"../../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js"(exports2, module2) {
|
113563
|
-
var minimatch5 = module2.exports = (p, pattern, options = {}) => {
|
113564
|
-
assertValidPattern(pattern);
|
113565
|
-
if (!options.nocomment && pattern.charAt(0) === "#") {
|
113566
|
-
return false;
|
113567
|
-
}
|
113568
|
-
return new Minimatch(pattern, options).match(p);
|
113569
|
-
};
|
113570
|
-
module2.exports = minimatch5;
|
113571
|
-
var path11 = require_path5();
|
113572
|
-
minimatch5.sep = path11.sep;
|
113573
|
-
var GLOBSTAR = Symbol("globstar **");
|
113574
|
-
minimatch5.GLOBSTAR = GLOBSTAR;
|
113575
|
-
var expand = require_brace_expansion();
|
113576
|
-
var plTypes = {
|
113577
|
-
"!": { open: "(?:(?!(?:", close: "))[^/]*?)" },
|
113578
|
-
"?": { open: "(?:", close: ")?" },
|
113579
|
-
"+": { open: "(?:", close: ")+" },
|
113580
|
-
"*": { open: "(?:", close: ")*" },
|
113581
|
-
"@": { open: "(?:", close: ")" }
|
113582
|
-
};
|
113583
|
-
var qmark = "[^/]";
|
113584
|
-
var star = qmark + "*?";
|
113585
|
-
var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
|
113586
|
-
var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
|
113587
|
-
var charSet = (s) => s.split("").reduce((set2, c) => {
|
113588
|
-
set2[c] = true;
|
113589
|
-
return set2;
|
113590
|
-
}, {});
|
113591
|
-
var reSpecials = charSet("().*{}+?[]^$\\!");
|
113592
|
-
var addPatternStartSet = charSet("[.(");
|
113593
|
-
var slashSplit = /\/+/;
|
113594
|
-
minimatch5.filter = (pattern, options = {}) => (p, i, list7) => minimatch5(p, pattern, options);
|
113595
|
-
var ext = (a, b = {}) => {
|
113596
|
-
const t = {};
|
113597
|
-
Object.keys(a).forEach((k) => t[k] = a[k]);
|
113598
|
-
Object.keys(b).forEach((k) => t[k] = b[k]);
|
113599
|
-
return t;
|
113600
|
-
};
|
113601
|
-
minimatch5.defaults = (def) => {
|
113602
|
-
if (!def || typeof def !== "object" || !Object.keys(def).length) {
|
113603
|
-
return minimatch5;
|
113604
|
-
}
|
113605
|
-
const orig = minimatch5;
|
113606
|
-
const m = (p, pattern, options) => orig(p, pattern, ext(def, options));
|
113607
|
-
m.Minimatch = class Minimatch extends orig.Minimatch {
|
113608
|
-
constructor(pattern, options) {
|
113609
|
-
super(pattern, ext(def, options));
|
113610
|
-
}
|
113611
|
-
};
|
113612
|
-
m.Minimatch.defaults = (options) => orig.defaults(ext(def, options)).Minimatch;
|
113613
|
-
m.filter = (pattern, options) => orig.filter(pattern, ext(def, options));
|
113614
|
-
m.defaults = (options) => orig.defaults(ext(def, options));
|
113615
|
-
m.makeRe = (pattern, options) => orig.makeRe(pattern, ext(def, options));
|
113616
|
-
m.braceExpand = (pattern, options) => orig.braceExpand(pattern, ext(def, options));
|
113617
|
-
m.match = (list7, pattern, options) => orig.match(list7, pattern, ext(def, options));
|
113618
|
-
return m;
|
113619
|
-
};
|
113620
|
-
minimatch5.braceExpand = (pattern, options) => braceExpand(pattern, options);
|
113621
|
-
var braceExpand = (pattern, options = {}) => {
|
113622
|
-
assertValidPattern(pattern);
|
113623
|
-
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
113624
|
-
return [pattern];
|
113625
|
-
}
|
113626
|
-
return expand(pattern);
|
113627
|
-
};
|
113628
|
-
var MAX_PATTERN_LENGTH = 1024 * 64;
|
113629
|
-
var assertValidPattern = (pattern) => {
|
113630
|
-
if (typeof pattern !== "string") {
|
113631
|
-
throw new TypeError("invalid pattern");
|
113632
|
-
}
|
113633
|
-
if (pattern.length > MAX_PATTERN_LENGTH) {
|
113634
|
-
throw new TypeError("pattern is too long");
|
113635
|
-
}
|
113636
|
-
};
|
113637
|
-
var SUBPARSE = Symbol("subparse");
|
113638
|
-
minimatch5.makeRe = (pattern, options) => new Minimatch(pattern, options || {}).makeRe();
|
113639
|
-
minimatch5.match = (list7, pattern, options = {}) => {
|
113640
|
-
const mm = new Minimatch(pattern, options);
|
113641
|
-
list7 = list7.filter((f) => mm.match(f));
|
113642
|
-
if (mm.options.nonull && !list7.length) {
|
113643
|
-
list7.push(pattern);
|
113644
|
-
}
|
113645
|
-
return list7;
|
113646
|
-
};
|
113647
|
-
var globUnescape = (s) => s.replace(/\\(.)/g, "$1");
|
113648
|
-
var charUnescape = (s) => s.replace(/\\([^-\]])/g, "$1");
|
113649
|
-
var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
113650
|
-
var braExpEscape = (s) => s.replace(/[[\]\\]/g, "\\$&");
|
113651
|
-
var Minimatch = class {
|
113652
|
-
constructor(pattern, options) {
|
113653
|
-
assertValidPattern(pattern);
|
113654
|
-
if (!options)
|
113655
|
-
options = {};
|
113656
|
-
this.options = options;
|
113657
|
-
this.set = [];
|
113658
|
-
this.pattern = pattern;
|
113659
|
-
this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
|
113660
|
-
if (this.windowsPathsNoEscape) {
|
113661
|
-
this.pattern = this.pattern.replace(/\\/g, "/");
|
113662
|
-
}
|
113663
|
-
this.regexp = null;
|
113664
|
-
this.negate = false;
|
113665
|
-
this.comment = false;
|
113666
|
-
this.empty = false;
|
113667
|
-
this.partial = !!options.partial;
|
113668
|
-
this.make();
|
113669
|
-
}
|
113670
|
-
debug() {
|
113671
|
-
}
|
113672
|
-
make() {
|
113673
|
-
const pattern = this.pattern;
|
113674
|
-
const options = this.options;
|
113675
|
-
if (!options.nocomment && pattern.charAt(0) === "#") {
|
113676
|
-
this.comment = true;
|
113677
|
-
return;
|
113678
|
-
}
|
113679
|
-
if (!pattern) {
|
113680
|
-
this.empty = true;
|
113681
|
-
return;
|
113682
|
-
}
|
113683
|
-
this.parseNegate();
|
113684
|
-
let set2 = this.globSet = this.braceExpand();
|
113685
|
-
if (options.debug)
|
113686
|
-
this.debug = (...args2) => console.error(...args2);
|
113687
|
-
this.debug(this.pattern, set2);
|
113688
|
-
set2 = this.globParts = set2.map((s) => s.split(slashSplit));
|
113689
|
-
this.debug(this.pattern, set2);
|
113690
|
-
set2 = set2.map((s, si, set3) => s.map(this.parse, this));
|
113691
|
-
this.debug(this.pattern, set2);
|
113692
|
-
set2 = set2.filter((s) => s.indexOf(false) === -1);
|
113693
|
-
this.debug(this.pattern, set2);
|
113694
|
-
this.set = set2;
|
113695
|
-
}
|
113696
|
-
parseNegate() {
|
113697
|
-
if (this.options.nonegate)
|
113698
|
-
return;
|
113699
|
-
const pattern = this.pattern;
|
113700
|
-
let negate = false;
|
113701
|
-
let negateOffset = 0;
|
113702
|
-
for (let i = 0; i < pattern.length && pattern.charAt(i) === "!"; i++) {
|
113703
|
-
negate = !negate;
|
113704
|
-
negateOffset++;
|
113705
|
-
}
|
113706
|
-
if (negateOffset)
|
113707
|
-
this.pattern = pattern.slice(negateOffset);
|
113708
|
-
this.negate = negate;
|
113709
|
-
}
|
113710
|
-
// set partial to true to test if, for example,
|
113711
|
-
// "/a/b" matches the start of "/*/b/*/d"
|
113712
|
-
// Partial means, if you run out of file before you run
|
113713
|
-
// out of pattern, then that's fine, as long as all
|
113714
|
-
// the parts match.
|
113715
|
-
matchOne(file, pattern, partial) {
|
113716
|
-
var options = this.options;
|
113717
|
-
this.debug(
|
113718
|
-
"matchOne",
|
113719
|
-
{ "this": this, file, pattern }
|
113720
|
-
);
|
113721
|
-
this.debug("matchOne", file.length, pattern.length);
|
113722
|
-
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
113723
|
-
this.debug("matchOne loop");
|
113724
|
-
var p = pattern[pi];
|
113725
|
-
var f = file[fi];
|
113726
|
-
this.debug(pattern, p, f);
|
113727
|
-
if (p === false)
|
113728
|
-
return false;
|
113729
|
-
if (p === GLOBSTAR) {
|
113730
|
-
this.debug("GLOBSTAR", [pattern, p, f]);
|
113731
|
-
var fr = fi;
|
113732
|
-
var pr = pi + 1;
|
113733
|
-
if (pr === pl) {
|
113734
|
-
this.debug("** at the end");
|
113735
|
-
for (; fi < fl; fi++) {
|
113736
|
-
if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
|
113737
|
-
return false;
|
113738
|
-
}
|
113739
|
-
return true;
|
113740
|
-
}
|
113741
|
-
while (fr < fl) {
|
113742
|
-
var swallowee = file[fr];
|
113743
|
-
this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
|
113744
|
-
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
113745
|
-
this.debug("globstar found match!", fr, fl, swallowee);
|
113746
|
-
return true;
|
113747
|
-
} else {
|
113748
|
-
if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
|
113749
|
-
this.debug("dot detected!", file, fr, pattern, pr);
|
113750
|
-
break;
|
113751
|
-
}
|
113752
|
-
this.debug("globstar swallow a segment, and continue");
|
113753
|
-
fr++;
|
113754
|
-
}
|
113755
|
-
}
|
113756
|
-
if (partial) {
|
113757
|
-
this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
|
113758
|
-
if (fr === fl)
|
113759
|
-
return true;
|
113760
|
-
}
|
113761
|
-
return false;
|
113762
|
-
}
|
113763
|
-
var hit;
|
113764
|
-
if (typeof p === "string") {
|
113765
|
-
hit = f === p;
|
113766
|
-
this.debug("string match", p, f, hit);
|
113767
|
-
} else {
|
113768
|
-
hit = f.match(p);
|
113769
|
-
this.debug("pattern match", p, f, hit);
|
113770
|
-
}
|
113771
|
-
if (!hit)
|
113772
|
-
return false;
|
113773
|
-
}
|
113774
|
-
if (fi === fl && pi === pl) {
|
113775
|
-
return true;
|
113776
|
-
} else if (fi === fl) {
|
113777
|
-
return partial;
|
113778
|
-
} else if (pi === pl) {
|
113779
|
-
return fi === fl - 1 && file[fi] === "";
|
113780
|
-
}
|
113781
|
-
throw new Error("wtf?");
|
113782
|
-
}
|
113783
|
-
braceExpand() {
|
113784
|
-
return braceExpand(this.pattern, this.options);
|
113785
|
-
}
|
113786
|
-
parse(pattern, isSub) {
|
113787
|
-
assertValidPattern(pattern);
|
113788
|
-
const options = this.options;
|
113789
|
-
if (pattern === "**") {
|
113790
|
-
if (!options.noglobstar)
|
113791
|
-
return GLOBSTAR;
|
113792
|
-
else
|
113793
|
-
pattern = "*";
|
113794
|
-
}
|
113795
|
-
if (pattern === "")
|
113796
|
-
return "";
|
113797
|
-
let re = "";
|
113798
|
-
let hasMagic = false;
|
113799
|
-
let escaping = false;
|
113800
|
-
const patternListStack = [];
|
113801
|
-
const negativeLists = [];
|
113802
|
-
let stateChar;
|
113803
|
-
let inClass = false;
|
113804
|
-
let reClassStart = -1;
|
113805
|
-
let classStart = -1;
|
113806
|
-
let cs;
|
113807
|
-
let pl;
|
113808
|
-
let sp;
|
113809
|
-
let dotTravAllowed = pattern.charAt(0) === ".";
|
113810
|
-
let dotFileAllowed = options.dot || dotTravAllowed;
|
113811
|
-
const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
113812
|
-
const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
|
113813
|
-
const clearStateChar = () => {
|
113814
|
-
if (stateChar) {
|
113815
|
-
switch (stateChar) {
|
113816
|
-
case "*":
|
113817
|
-
re += star;
|
113818
|
-
hasMagic = true;
|
113819
|
-
break;
|
113820
|
-
case "?":
|
113821
|
-
re += qmark;
|
113822
|
-
hasMagic = true;
|
113823
|
-
break;
|
113824
|
-
default:
|
113825
|
-
re += "\\" + stateChar;
|
113826
|
-
break;
|
113827
|
-
}
|
113828
|
-
this.debug("clearStateChar %j %j", stateChar, re);
|
113829
|
-
stateChar = false;
|
113830
|
-
}
|
113831
|
-
};
|
113832
|
-
for (let i = 0, c; i < pattern.length && (c = pattern.charAt(i)); i++) {
|
113833
|
-
this.debug("%s %s %s %j", pattern, i, re, c);
|
113834
|
-
if (escaping) {
|
113835
|
-
if (c === "/") {
|
113836
|
-
return false;
|
113837
|
-
}
|
113838
|
-
if (reSpecials[c]) {
|
113839
|
-
re += "\\";
|
113840
|
-
}
|
113841
|
-
re += c;
|
113842
|
-
escaping = false;
|
113843
|
-
continue;
|
113844
|
-
}
|
113845
|
-
switch (c) {
|
113846
|
-
case "/": {
|
113847
|
-
return false;
|
113848
|
-
}
|
113849
|
-
case "\\":
|
113850
|
-
if (inClass && pattern.charAt(i + 1) === "-") {
|
113851
|
-
re += c;
|
113852
|
-
continue;
|
113853
|
-
}
|
113854
|
-
clearStateChar();
|
113855
|
-
escaping = true;
|
113856
|
-
continue;
|
113857
|
-
case "?":
|
113858
|
-
case "*":
|
113859
|
-
case "+":
|
113860
|
-
case "@":
|
113861
|
-
case "!":
|
113862
|
-
this.debug("%s %s %s %j <-- stateChar", pattern, i, re, c);
|
113863
|
-
if (inClass) {
|
113864
|
-
this.debug(" in class");
|
113865
|
-
if (c === "!" && i === classStart + 1)
|
113866
|
-
c = "^";
|
113867
|
-
re += c;
|
113868
|
-
continue;
|
113869
|
-
}
|
113870
|
-
this.debug("call clearStateChar %j", stateChar);
|
113871
|
-
clearStateChar();
|
113872
|
-
stateChar = c;
|
113873
|
-
if (options.noext)
|
113874
|
-
clearStateChar();
|
113875
|
-
continue;
|
113876
|
-
case "(": {
|
113877
|
-
if (inClass) {
|
113878
|
-
re += "(";
|
113879
|
-
continue;
|
113880
|
-
}
|
113881
|
-
if (!stateChar) {
|
113882
|
-
re += "\\(";
|
113883
|
-
continue;
|
113884
|
-
}
|
113885
|
-
const plEntry = {
|
113886
|
-
type: stateChar,
|
113887
|
-
start: i - 1,
|
113888
|
-
reStart: re.length,
|
113889
|
-
open: plTypes[stateChar].open,
|
113890
|
-
close: plTypes[stateChar].close
|
113891
|
-
};
|
113892
|
-
this.debug(this.pattern, " ", plEntry);
|
113893
|
-
patternListStack.push(plEntry);
|
113894
|
-
re += plEntry.open;
|
113895
|
-
if (plEntry.start === 0 && plEntry.type !== "!") {
|
113896
|
-
dotTravAllowed = true;
|
113897
|
-
re += subPatternStart(pattern.slice(i + 1));
|
113898
|
-
}
|
113899
|
-
this.debug("plType %j %j", stateChar, re);
|
113900
|
-
stateChar = false;
|
113901
|
-
continue;
|
113902
|
-
}
|
113903
|
-
case ")": {
|
113904
|
-
const plEntry = patternListStack[patternListStack.length - 1];
|
113905
|
-
if (inClass || !plEntry) {
|
113906
|
-
re += "\\)";
|
113907
|
-
continue;
|
113908
|
-
}
|
113909
|
-
patternListStack.pop();
|
113910
|
-
clearStateChar();
|
113911
|
-
hasMagic = true;
|
113912
|
-
pl = plEntry;
|
113913
|
-
re += pl.close;
|
113914
|
-
if (pl.type === "!") {
|
113915
|
-
negativeLists.push(Object.assign(pl, { reEnd: re.length }));
|
113916
|
-
}
|
113917
|
-
continue;
|
113918
|
-
}
|
113919
|
-
case "|": {
|
113920
|
-
const plEntry = patternListStack[patternListStack.length - 1];
|
113921
|
-
if (inClass || !plEntry) {
|
113922
|
-
re += "\\|";
|
113923
|
-
continue;
|
113924
|
-
}
|
113925
|
-
clearStateChar();
|
113926
|
-
re += "|";
|
113927
|
-
if (plEntry.start === 0 && plEntry.type !== "!") {
|
113928
|
-
dotTravAllowed = true;
|
113929
|
-
re += subPatternStart(pattern.slice(i + 1));
|
113930
|
-
}
|
113931
|
-
continue;
|
113932
|
-
}
|
113933
|
-
case "[":
|
113934
|
-
clearStateChar();
|
113935
|
-
if (inClass) {
|
113936
|
-
re += "\\" + c;
|
113937
|
-
continue;
|
113938
|
-
}
|
113939
|
-
inClass = true;
|
113940
|
-
classStart = i;
|
113941
|
-
reClassStart = re.length;
|
113942
|
-
re += c;
|
113943
|
-
continue;
|
113944
|
-
case "]":
|
113945
|
-
if (i === classStart + 1 || !inClass) {
|
113946
|
-
re += "\\" + c;
|
113947
|
-
continue;
|
113948
|
-
}
|
113949
|
-
cs = pattern.substring(classStart + 1, i);
|
113950
|
-
try {
|
113951
|
-
RegExp("[" + braExpEscape(charUnescape(cs)) + "]");
|
113952
|
-
re += c;
|
113953
|
-
} catch (er) {
|
113954
|
-
re = re.substring(0, reClassStart) + "(?:$.)";
|
113955
|
-
}
|
113956
|
-
hasMagic = true;
|
113957
|
-
inClass = false;
|
113958
|
-
continue;
|
113959
|
-
default:
|
113960
|
-
clearStateChar();
|
113961
|
-
if (reSpecials[c] && !(c === "^" && inClass)) {
|
113962
|
-
re += "\\";
|
113963
|
-
}
|
113964
|
-
re += c;
|
113965
|
-
break;
|
113966
|
-
}
|
113967
|
-
}
|
113968
|
-
if (inClass) {
|
113969
|
-
cs = pattern.slice(classStart + 1);
|
113970
|
-
sp = this.parse(cs, SUBPARSE);
|
113971
|
-
re = re.substring(0, reClassStart) + "\\[" + sp[0];
|
113972
|
-
hasMagic = hasMagic || sp[1];
|
113973
|
-
}
|
113974
|
-
for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
|
113975
|
-
let tail;
|
113976
|
-
tail = re.slice(pl.reStart + pl.open.length);
|
113977
|
-
this.debug("setting tail", re, pl);
|
113978
|
-
tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, (_, $1, $2) => {
|
113979
|
-
if (!$2) {
|
113980
|
-
$2 = "\\";
|
113981
|
-
}
|
113982
|
-
return $1 + $1 + $2 + "|";
|
113983
|
-
});
|
113984
|
-
this.debug("tail=%j\n %s", tail, tail, pl, re);
|
113985
|
-
const t = pl.type === "*" ? star : pl.type === "?" ? qmark : "\\" + pl.type;
|
113986
|
-
hasMagic = true;
|
113987
|
-
re = re.slice(0, pl.reStart) + t + "\\(" + tail;
|
113988
|
-
}
|
113989
|
-
clearStateChar();
|
113990
|
-
if (escaping) {
|
113991
|
-
re += "\\\\";
|
113992
|
-
}
|
113993
|
-
const addPatternStart = addPatternStartSet[re.charAt(0)];
|
113994
|
-
for (let n = negativeLists.length - 1; n > -1; n--) {
|
113995
|
-
const nl = negativeLists[n];
|
113996
|
-
const nlBefore = re.slice(0, nl.reStart);
|
113997
|
-
const nlFirst = re.slice(nl.reStart, nl.reEnd - 8);
|
113998
|
-
let nlAfter = re.slice(nl.reEnd);
|
113999
|
-
const nlLast = re.slice(nl.reEnd - 8, nl.reEnd) + nlAfter;
|
114000
|
-
const closeParensBefore = nlBefore.split(")").length;
|
114001
|
-
const openParensBefore = nlBefore.split("(").length - closeParensBefore;
|
114002
|
-
let cleanAfter = nlAfter;
|
114003
|
-
for (let i = 0; i < openParensBefore; i++) {
|
114004
|
-
cleanAfter = cleanAfter.replace(/\)[+*?]?/, "");
|
114005
|
-
}
|
114006
|
-
nlAfter = cleanAfter;
|
114007
|
-
const dollar = nlAfter === "" && isSub !== SUBPARSE ? "(?:$|\\/)" : "";
|
114008
|
-
re = nlBefore + nlFirst + nlAfter + dollar + nlLast;
|
114009
|
-
}
|
114010
|
-
if (re !== "" && hasMagic) {
|
114011
|
-
re = "(?=.)" + re;
|
114012
|
-
}
|
114013
|
-
if (addPatternStart) {
|
114014
|
-
re = patternStart() + re;
|
114015
|
-
}
|
114016
|
-
if (isSub === SUBPARSE) {
|
114017
|
-
return [re, hasMagic];
|
114018
|
-
}
|
114019
|
-
if (options.nocase && !hasMagic) {
|
114020
|
-
hasMagic = pattern.toUpperCase() !== pattern.toLowerCase();
|
114021
|
-
}
|
114022
|
-
if (!hasMagic) {
|
114023
|
-
return globUnescape(pattern);
|
114024
|
-
}
|
114025
|
-
const flags = options.nocase ? "i" : "";
|
114026
|
-
try {
|
114027
|
-
return Object.assign(new RegExp("^" + re + "$", flags), {
|
114028
|
-
_glob: pattern,
|
114029
|
-
_src: re
|
114030
|
-
});
|
114031
|
-
} catch (er) {
|
114032
|
-
return new RegExp("$.");
|
114033
|
-
}
|
114034
|
-
}
|
114035
|
-
makeRe() {
|
114036
|
-
if (this.regexp || this.regexp === false)
|
114037
|
-
return this.regexp;
|
114038
|
-
const set2 = this.set;
|
114039
|
-
if (!set2.length) {
|
114040
|
-
this.regexp = false;
|
114041
|
-
return this.regexp;
|
114042
|
-
}
|
114043
|
-
const options = this.options;
|
114044
|
-
const twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot;
|
114045
|
-
const flags = options.nocase ? "i" : "";
|
114046
|
-
let re = set2.map((pattern) => {
|
114047
|
-
pattern = pattern.map(
|
114048
|
-
(p) => typeof p === "string" ? regExpEscape(p) : p === GLOBSTAR ? GLOBSTAR : p._src
|
114049
|
-
).reduce((set3, p) => {
|
114050
|
-
if (!(set3[set3.length - 1] === GLOBSTAR && p === GLOBSTAR)) {
|
114051
|
-
set3.push(p);
|
114052
|
-
}
|
114053
|
-
return set3;
|
114054
|
-
}, []);
|
114055
|
-
pattern.forEach((p, i) => {
|
114056
|
-
if (p !== GLOBSTAR || pattern[i - 1] === GLOBSTAR) {
|
114057
|
-
return;
|
114058
|
-
}
|
114059
|
-
if (i === 0) {
|
114060
|
-
if (pattern.length > 1) {
|
114061
|
-
pattern[i + 1] = "(?:\\/|" + twoStar + "\\/)?" + pattern[i + 1];
|
114062
|
-
} else {
|
114063
|
-
pattern[i] = twoStar;
|
114064
|
-
}
|
114065
|
-
} else if (i === pattern.length - 1) {
|
114066
|
-
pattern[i - 1] += "(?:\\/|" + twoStar + ")?";
|
114067
|
-
} else {
|
114068
|
-
pattern[i - 1] += "(?:\\/|\\/" + twoStar + "\\/)" + pattern[i + 1];
|
114069
|
-
pattern[i + 1] = GLOBSTAR;
|
114070
|
-
}
|
114071
|
-
});
|
114072
|
-
return pattern.filter((p) => p !== GLOBSTAR).join("/");
|
114073
|
-
}).join("|");
|
114074
|
-
re = "^(?:" + re + ")$";
|
114075
|
-
if (this.negate)
|
114076
|
-
re = "^(?!" + re + ").*$";
|
114077
|
-
try {
|
114078
|
-
this.regexp = new RegExp(re, flags);
|
114079
|
-
} catch (ex) {
|
114080
|
-
this.regexp = false;
|
114081
|
-
}
|
114082
|
-
return this.regexp;
|
114083
|
-
}
|
114084
|
-
match(f, partial = this.partial) {
|
114085
|
-
this.debug("match", f, this.pattern);
|
114086
|
-
if (this.comment)
|
114087
|
-
return false;
|
114088
|
-
if (this.empty)
|
114089
|
-
return f === "";
|
114090
|
-
if (f === "/" && partial)
|
114091
|
-
return true;
|
114092
|
-
const options = this.options;
|
114093
|
-
if (path11.sep !== "/") {
|
114094
|
-
f = f.split(path11.sep).join("/");
|
114095
|
-
}
|
114096
|
-
f = f.split(slashSplit);
|
114097
|
-
this.debug(this.pattern, "split", f);
|
114098
|
-
const set2 = this.set;
|
114099
|
-
this.debug(this.pattern, "set", set2);
|
114100
|
-
let filename;
|
114101
|
-
for (let i = f.length - 1; i >= 0; i--) {
|
114102
|
-
filename = f[i];
|
114103
|
-
if (filename)
|
114104
|
-
break;
|
114105
|
-
}
|
114106
|
-
for (let i = 0; i < set2.length; i++) {
|
114107
|
-
const pattern = set2[i];
|
114108
|
-
let file = f;
|
114109
|
-
if (options.matchBase && pattern.length === 1) {
|
114110
|
-
file = [filename];
|
114111
|
-
}
|
114112
|
-
const hit = this.matchOne(file, pattern, partial);
|
114113
|
-
if (hit) {
|
114114
|
-
if (options.flipNegate)
|
114115
|
-
return true;
|
114116
|
-
return !this.negate;
|
114117
|
-
}
|
114118
|
-
}
|
114119
|
-
if (options.flipNegate)
|
114120
|
-
return false;
|
114121
|
-
return this.negate;
|
114122
|
-
}
|
114123
|
-
static defaults(def) {
|
114124
|
-
return minimatch5.defaults(def).Minimatch;
|
114125
|
-
}
|
114126
|
-
};
|
114127
|
-
minimatch5.Minimatch = Minimatch;
|
114128
|
-
}
|
114129
|
-
});
|
114130
|
-
|
114131
113592
|
// ../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/common.js
|
114132
113593
|
var require_common10 = __commonJS2({
|
114133
113594
|
"../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/common.js"(exports2) {
|
@@ -114143,7 +113604,7 @@ var require_common10 = __commonJS2({
|
|
114143
113604
|
}
|
114144
113605
|
var fs15 = require("fs");
|
114145
113606
|
var path11 = require("path");
|
114146
|
-
var minimatch5 =
|
113607
|
+
var minimatch5 = require_minimatch();
|
114147
113608
|
var isAbsolute2 = require("path").isAbsolute;
|
114148
113609
|
var Minimatch = minimatch5.Minimatch;
|
114149
113610
|
function alphasort(a, b) {
|
@@ -114329,7 +113790,7 @@ var require_sync7 = __commonJS2({
|
|
114329
113790
|
module2.exports = globSync;
|
114330
113791
|
globSync.GlobSync = GlobSync;
|
114331
113792
|
var rp = require_fs7();
|
114332
|
-
var minimatch5 =
|
113793
|
+
var minimatch5 = require_minimatch();
|
114333
113794
|
var Minimatch = minimatch5.Minimatch;
|
114334
113795
|
var Glob = require_glob().Glob;
|
114335
113796
|
var util = require("util");
|
@@ -114727,7 +114188,7 @@ var require_glob = __commonJS2({
|
|
114727
114188
|
"../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/glob.js"(exports2, module2) {
|
114728
114189
|
module2.exports = glob;
|
114729
114190
|
var rp = require_fs7();
|
114730
|
-
var minimatch5 =
|
114191
|
+
var minimatch5 = require_minimatch();
|
114731
114192
|
var Minimatch = minimatch5.Minimatch;
|
114732
114193
|
var inherits = require_inherits();
|
114733
114194
|
var EE = require("events").EventEmitter;
|
@@ -127365,10 +126826,12 @@ function parseRepoUrl(originUrl) {
|
|
127365
126826
|
return null;
|
127366
126827
|
const provider = hostParts[hostParts.length - 2];
|
127367
126828
|
const pathParts = url3.pathname.split("/").filter(Boolean);
|
127368
|
-
if (pathParts.length
|
126829
|
+
if (pathParts.length < 2)
|
126830
|
+
return null;
|
126831
|
+
const repo = pathParts.pop()?.replace(/\.git$/, "");
|
126832
|
+
if (!repo)
|
127369
126833
|
return null;
|
127370
|
-
const org = pathParts
|
127371
|
-
const repo = pathParts[1].replace(/\.git$/, "");
|
126834
|
+
const org = pathParts.join("/");
|
127372
126835
|
return { url: originUrl, provider, org, repo };
|
127373
126836
|
}
|
127374
126837
|
function printRemoteUrls(remoteUrls) {
|
@@ -154608,7 +154071,7 @@ var require_glob_slash = __commonJS2({
|
|
154608
154071
|
});
|
154609
154072
|
|
154610
154073
|
// ../../node_modules/.pnpm/minimatch@3.0.4/node_modules/minimatch/minimatch.js
|
154611
|
-
var
|
154074
|
+
var require_minimatch3 = __commonJS2({
|
154612
154075
|
"../../node_modules/.pnpm/minimatch@3.0.4/node_modules/minimatch/minimatch.js"(exports2, module2) {
|
154613
154076
|
module2.exports = minimatch5;
|
154614
154077
|
minimatch5.Minimatch = Minimatch;
|
@@ -162967,7 +162430,7 @@ var require_src3 = __commonJS2({
|
|
162967
162430
|
var { realpath: realpath3, lstat: lstat3, createReadStream, readdir: readdir2 } = require("fs");
|
162968
162431
|
var url3 = require_urlparser();
|
162969
162432
|
var slasher = require_glob_slash();
|
162970
|
-
var minimatch5 =
|
162433
|
+
var minimatch5 = require_minimatch3();
|
162971
162434
|
var pathToRegExp = require_path_to_regexp();
|
162972
162435
|
var mime = require_mime_types2();
|
162973
162436
|
var bytes8 = require_bytes();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "41.7.
|
3
|
+
"version": "41.7.3",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"@vercel/fun": "1.1.5",
|
26
26
|
"@vercel/go": "3.2.1",
|
27
27
|
"@vercel/hydrogen": "1.2.0",
|
28
|
-
"@vercel/next": "4.7.
|
28
|
+
"@vercel/next": "4.7.10",
|
29
29
|
"@vercel/node": "5.1.15",
|
30
30
|
"@vercel/python": "4.7.2",
|
31
31
|
"@vercel/redwood": "2.3.0",
|
@@ -55,7 +55,6 @@
|
|
55
55
|
"@types/dotenv": "6.1.1",
|
56
56
|
"@types/escape-html": "0.0.20",
|
57
57
|
"@types/fs-extra": "9.0.13",
|
58
|
-
"@types/glob": "7.1.1",
|
59
58
|
"@types/http-proxy": "1.16.2",
|
60
59
|
"@types/ini": "1.3.31",
|
61
60
|
"@types/jest": "27.4.1",
|
@@ -78,7 +77,7 @@
|
|
78
77
|
"@types/which": "3.0.0",
|
79
78
|
"@types/write-json-file": "2.2.1",
|
80
79
|
"@types/yauzl-promise": "2.1.0",
|
81
|
-
"@vercel/client": "15.3.
|
80
|
+
"@vercel/client": "15.3.1",
|
82
81
|
"@vercel/error-utils": "2.0.3",
|
83
82
|
"@vercel/frameworks": "3.6.3",
|
84
83
|
"@vercel/fs-detectors": "5.4.0",
|
@@ -114,7 +113,6 @@
|
|
114
113
|
"fs-extra": "10.0.0",
|
115
114
|
"get-port": "5.1.1",
|
116
115
|
"git-last-commit": "1.0.1",
|
117
|
-
"glob": "7.1.2",
|
118
116
|
"http-proxy": "1.18.1",
|
119
117
|
"ini": "3.0.0",
|
120
118
|
"is-docker": "2.2.1",
|
@@ -161,9 +159,9 @@
|
|
161
159
|
"write-json-file": "2.2.0",
|
162
160
|
"xdg-app-paths": "5.1.0",
|
163
161
|
"yauzl-promise": "2.1.3",
|
164
|
-
"@vercel-internals/constants": "1.0.4",
|
165
162
|
"@vercel-internals/types": "3.0.6",
|
166
|
-
"@vercel-internals/get-package-json": "1.0.0"
|
163
|
+
"@vercel-internals/get-package-json": "1.0.0",
|
164
|
+
"@vercel-internals/constants": "1.0.4"
|
167
165
|
},
|
168
166
|
"scripts": {
|
169
167
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|