mirror of
https://github.com/actions/labeler.git
synced 2026-01-09 22:23:17 +08:00
Bump minimatch from 9.0.3 to 10.0.1 (#805)
* Bump minimatch from 9.0.3 to 10.0.1 Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.3 to 10.0.1. - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v9.0.3...v10.0.1) --- updated-dependencies: - dependency-name: minimatch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * check failues fix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
This commit is contained in:
51
dist/index.js
vendored
51
dist/index.js
vendored
@@ -564,7 +564,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.checkIfAllGlobsMatchAllFiles = exports.checkIfAnyGlobMatchesAllFiles = exports.checkIfAllGlobsMatchAnyFile = exports.checkIfAnyGlobMatchesAnyFile = exports.checkAllChangedFiles = exports.checkAnyChangedFiles = exports.toChangedFilesMatchConfig = exports.getChangedFiles = void 0;
|
||||
const core = __importStar(__nccwpck_require__(2186));
|
||||
const github = __importStar(__nccwpck_require__(5438));
|
||||
const minimatch_1 = __nccwpck_require__(1953);
|
||||
const minimatch_1 = __nccwpck_require__(4501);
|
||||
const utils_1 = __nccwpck_require__(918);
|
||||
const ALLOWED_FILES_CONFIG_KEYS = [
|
||||
'any-glob-to-any-file',
|
||||
@@ -39810,7 +39810,7 @@ module.exports = require("zlib");
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 903:
|
||||
/***/ 4149:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
"use strict";
|
||||
@@ -39831,7 +39831,7 @@ exports.assertValidPattern = assertValidPattern;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3839:
|
||||
/***/ 5136:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
"use strict";
|
||||
@@ -39839,8 +39839,8 @@ exports.assertValidPattern = assertValidPattern;
|
||||
// parse a single path portion
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.AST = void 0;
|
||||
const brace_expressions_js_1 = __nccwpck_require__(5822);
|
||||
const unescape_js_1 = __nccwpck_require__(7305);
|
||||
const brace_expressions_js_1 = __nccwpck_require__(1812);
|
||||
const unescape_js_1 = __nccwpck_require__(5698);
|
||||
const types = new Set(['!', '?', '+', '*', '@']);
|
||||
const isExtglobType = (c) => types.has(c);
|
||||
// Patterns that get prepended to bind to the start of either the
|
||||
@@ -40175,6 +40175,9 @@ class AST {
|
||||
_glob: glob,
|
||||
});
|
||||
}
|
||||
get options() {
|
||||
return this.#options;
|
||||
}
|
||||
// returns the string match, the regexp source, whether there's magic
|
||||
// in the regexp (so a regular expression is required) and whether or
|
||||
// not the uflag is needed for the regular expression (for posix classes)
|
||||
@@ -40427,7 +40430,7 @@ exports.AST = AST;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5822:
|
||||
/***/ 1812:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
"use strict";
|
||||
@@ -40586,7 +40589,7 @@ exports.parseClass = parseClass;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 9004:
|
||||
/***/ 2804:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
"use strict";
|
||||
@@ -40615,7 +40618,7 @@ exports.escape = escape;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 1953:
|
||||
/***/ 4501:
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
"use strict";
|
||||
@@ -40626,10 +40629,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0;
|
||||
const brace_expansion_1 = __importDefault(__nccwpck_require__(3717));
|
||||
const assert_valid_pattern_js_1 = __nccwpck_require__(903);
|
||||
const ast_js_1 = __nccwpck_require__(3839);
|
||||
const escape_js_1 = __nccwpck_require__(9004);
|
||||
const unescape_js_1 = __nccwpck_require__(7305);
|
||||
const assert_valid_pattern_js_1 = __nccwpck_require__(4149);
|
||||
const ast_js_1 = __nccwpck_require__(5136);
|
||||
const escape_js_1 = __nccwpck_require__(2804);
|
||||
const unescape_js_1 = __nccwpck_require__(5698);
|
||||
const minimatch = (p, pattern, options = {}) => {
|
||||
(0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
|
||||
// shortcut: comments match nothing.
|
||||
@@ -40965,6 +40968,7 @@ class Minimatch {
|
||||
globParts = this.levelOneOptimize(globParts);
|
||||
}
|
||||
else {
|
||||
// just collapse multiple ** portions into one
|
||||
globParts = this.adjascentGlobstarOptimize(globParts);
|
||||
}
|
||||
return globParts;
|
||||
@@ -41151,10 +41155,11 @@ class Minimatch {
|
||||
for (let i = 0; i < globParts.length - 1; i++) {
|
||||
for (let j = i + 1; j < globParts.length; j++) {
|
||||
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
|
||||
if (!matched)
|
||||
continue;
|
||||
globParts[i] = matched;
|
||||
globParts[j] = [];
|
||||
if (matched) {
|
||||
globParts[i] = [];
|
||||
globParts[j] = matched;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return globParts.filter(gs => gs.length);
|
||||
@@ -41454,7 +41459,11 @@ class Minimatch {
|
||||
fastTest = dotStarTest;
|
||||
}
|
||||
const re = ast_js_1.AST.fromGlob(pattern, this.options).toMMPattern();
|
||||
return fastTest ? Object.assign(re, { test: fastTest }) : re;
|
||||
if (fastTest && typeof re === 'object') {
|
||||
// Avoids overriding in frozen environments
|
||||
Reflect.defineProperty(re, 'test', { value: fastTest });
|
||||
}
|
||||
return re;
|
||||
}
|
||||
makeRe() {
|
||||
if (this.regexp || this.regexp === false)
|
||||
@@ -41618,11 +41627,11 @@ class Minimatch {
|
||||
}
|
||||
exports.Minimatch = Minimatch;
|
||||
/* c8 ignore start */
|
||||
var ast_js_2 = __nccwpck_require__(3839);
|
||||
var ast_js_2 = __nccwpck_require__(5136);
|
||||
Object.defineProperty(exports, "AST", ({ enumerable: true, get: function () { return ast_js_2.AST; } }));
|
||||
var escape_js_2 = __nccwpck_require__(9004);
|
||||
var escape_js_2 = __nccwpck_require__(2804);
|
||||
Object.defineProperty(exports, "escape", ({ enumerable: true, get: function () { return escape_js_2.escape; } }));
|
||||
var unescape_js_2 = __nccwpck_require__(7305);
|
||||
var unescape_js_2 = __nccwpck_require__(5698);
|
||||
Object.defineProperty(exports, "unescape", ({ enumerable: true, get: function () { return unescape_js_2.unescape; } }));
|
||||
/* c8 ignore stop */
|
||||
exports.minimatch.AST = ast_js_1.AST;
|
||||
@@ -41633,7 +41642,7 @@ exports.minimatch.unescape = unescape_js_1.unescape;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7305:
|
||||
/***/ 5698:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
"use strict";
|
||||
|
||||
Reference in New Issue
Block a user