Merge pull request #3509 from github/dependabot/npm_and_yarn/multi-871638c4a1

Bump minimatch
This commit is contained in:
Henry Mercer
2026-02-25 13:43:36 +00:00
committed by GitHub
13 changed files with 175 additions and 92 deletions
+28 -13
View File
@@ -49518,6 +49518,7 @@ var require_minimatch = __commonJS({
re += c;
continue;
}
if (c === "*" && stateChar === "*") continue;
self2.debug("call clearStateChar %j", stateChar);
clearStateChar();
stateChar = c;
@@ -103582,6 +103583,7 @@ var require_minimatch2 = __commonJS({
re += c;
continue;
}
if (c === "*" && stateChar === "*") continue;
this.debug("call clearStateChar %j", stateChar);
clearStateChar();
stateChar = c;
@@ -116408,9 +116410,9 @@ var require_isPlainObject = __commonJS({
}
});
// node_modules/@isaacs/balanced-match/dist/commonjs/index.js
// node_modules/glob/node_modules/balanced-match/dist/commonjs/index.js
var require_commonjs18 = __commonJS({
"node_modules/@isaacs/balanced-match/dist/commonjs/index.js"(exports2) {
"node_modules/glob/node_modules/balanced-match/dist/commonjs/index.js"(exports2) {
"use strict";
Object.defineProperty(exports2, "__esModule", { value: true });
exports2.range = exports2.balanced = void 0;
@@ -116470,9 +116472,9 @@ var require_commonjs18 = __commonJS({
}
});
// node_modules/@isaacs/brace-expansion/dist/commonjs/index.js
// node_modules/glob/node_modules/brace-expansion/dist/commonjs/index.js
var require_commonjs19 = __commonJS({
"node_modules/@isaacs/brace-expansion/dist/commonjs/index.js"(exports2) {
"node_modules/glob/node_modules/brace-expansion/dist/commonjs/index.js"(exports2) {
"use strict";
Object.defineProperty(exports2, "__esModule", { value: true });
exports2.EXPANSION_MAX = void 0;
@@ -117233,6 +117235,7 @@ var require_ast = __commonJS({
let escaping = false;
let re = "";
let uflag = false;
let inStar = false;
for (let i = 0; i < glob2.length; i++) {
const c = glob2.charAt(i);
if (escaping) {
@@ -117240,6 +117243,16 @@ var require_ast = __commonJS({
re += (reSpecials.has(c) ? "\\" : "") + c;
continue;
}
if (c === "*") {
if (inStar)
continue;
inStar = true;
re += noEmpty && /^[*]+$/.test(glob2) ? starNoEmpty : star;
hasMagic = true;
continue;
} else {
inStar = false;
}
if (c === "\\") {
if (i === glob2.length - 1) {
re += "\\\\";
@@ -117258,11 +117271,6 @@ var require_ast = __commonJS({
continue;
}
}
if (c === "*") {
re += noEmpty && glob2 === "*" ? starNoEmpty : star;
hasMagic = true;
continue;
}
if (c === "?") {
re += qmark;
hasMagic = true;
@@ -117422,7 +117430,7 @@ var require_commonjs20 = __commonJS({
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
return [pattern];
}
return (0, brace_expansion_1.expand)(pattern);
return (0, brace_expansion_1.expand)(pattern, { max: options.braceExpandMax });
};
exports2.braceExpand = braceExpand;
exports2.minimatch.braceExpand = exports2.braceExpand;
@@ -117466,7 +117474,8 @@ var require_commonjs20 = __commonJS({
this.pattern = pattern;
this.platform = options.platform || defaultPlatform;
this.isWindows = this.platform === "win32";
this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
const awe = "allowWindowsEscape";
this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options[awe] === false;
if (this.windowsPathsNoEscape) {
this.pattern = this.pattern.replace(/\\/g, "/");
}
@@ -117523,7 +117532,10 @@ var require_commonjs20 = __commonJS({
const isUNC = s[0] === "" && s[1] === "" && (s[2] === "?" || !globMagic.test(s[2])) && !globMagic.test(s[3]);
const isDrive = /^[a-z]:/i.test(s[0]);
if (isUNC) {
return [...s.slice(0, 4), ...s.slice(4).map((ss) => this.parse(ss))];
return [
...s.slice(0, 4),
...s.slice(4).map((ss) => this.parse(ss))
];
} else if (isDrive) {
return [s[0], ...s.slice(1).map((ss) => this.parse(ss))];
}
@@ -117804,7 +117816,10 @@ var require_commonjs20 = __commonJS({
const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
if (typeof fdi === "number" && typeof pdi === "number") {
const [fd, pd] = [file[fdi], pattern[pdi]];
const [fd, pd] = [
file[fdi],
pattern[pdi]
];
if (fd.toLowerCase() === pd.toLowerCase()) {
pattern[pdi] = fd;
if (pdi > fdi) {