Skip to content

Commit 98d12e7

Browse files
Bump minimatch from 9.0.3 to 10.0.1 (actions#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](isaacs/minimatch@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] <[email protected]> * check failues fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aparna Jyothi <[email protected]>
1 parent 857d8ca commit 98d12e7

File tree

4 files changed

+55
-31
lines changed

4 files changed

+55
-31
lines changed

.licenses/npm/minimatch.dep.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

+30-21
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
564564
exports.checkIfAllGlobsMatchAllFiles = exports.checkIfAnyGlobMatchesAllFiles = exports.checkIfAllGlobsMatchAnyFile = exports.checkIfAnyGlobMatchesAnyFile = exports.checkAllChangedFiles = exports.checkAnyChangedFiles = exports.toChangedFilesMatchConfig = exports.getChangedFiles = void 0;
565565
const core = __importStar(__nccwpck_require__(2186));
566566
const github = __importStar(__nccwpck_require__(5438));
567-
const minimatch_1 = __nccwpck_require__(1953);
567+
const minimatch_1 = __nccwpck_require__(4501);
568568
const utils_1 = __nccwpck_require__(918);
569569
const ALLOWED_FILES_CONFIG_KEYS = [
570570
'any-glob-to-any-file',
@@ -39810,7 +39810,7 @@ module.exports = require("zlib");
3981039810

3981139811
/***/ }),
3981239812

39813-
/***/ 903:
39813+
/***/ 4149:
3981439814
/***/ ((__unused_webpack_module, exports) => {
3981539815

3981639816
"use strict";
@@ -39831,16 +39831,16 @@ exports.assertValidPattern = assertValidPattern;
3983139831

3983239832
/***/ }),
3983339833

39834-
/***/ 3839:
39834+
/***/ 5136:
3983539835
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
3983639836

3983739837
"use strict";
3983839838

3983939839
// parse a single path portion
3984039840
Object.defineProperty(exports, "__esModule", ({ value: true }));
3984139841
exports.AST = void 0;
39842-
const brace_expressions_js_1 = __nccwpck_require__(5822);
39843-
const unescape_js_1 = __nccwpck_require__(7305);
39842+
const brace_expressions_js_1 = __nccwpck_require__(1812);
39843+
const unescape_js_1 = __nccwpck_require__(5698);
3984439844
const types = new Set(['!', '?', '+', '*', '@']);
3984539845
const isExtglobType = (c) => types.has(c);
3984639846
// Patterns that get prepended to bind to the start of either the
@@ -40175,6 +40175,9 @@ class AST {
4017540175
_glob: glob,
4017640176
});
4017740177
}
40178+
get options() {
40179+
return this.#options;
40180+
}
4017840181
// returns the string match, the regexp source, whether there's magic
4017940182
// in the regexp (so a regular expression is required) and whether or
4018040183
// not the uflag is needed for the regular expression (for posix classes)
@@ -40427,7 +40430,7 @@ exports.AST = AST;
4042740430

4042840431
/***/ }),
4042940432

40430-
/***/ 5822:
40433+
/***/ 1812:
4043140434
/***/ ((__unused_webpack_module, exports) => {
4043240435

4043340436
"use strict";
@@ -40586,7 +40589,7 @@ exports.parseClass = parseClass;
4058640589

4058740590
/***/ }),
4058840591

40589-
/***/ 9004:
40592+
/***/ 2804:
4059040593
/***/ ((__unused_webpack_module, exports) => {
4059140594

4059240595
"use strict";
@@ -40615,7 +40618,7 @@ exports.escape = escape;
4061540618

4061640619
/***/ }),
4061740620

40618-
/***/ 1953:
40621+
/***/ 4501:
4061940622
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
4062040623

4062140624
"use strict";
@@ -40626,10 +40629,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4062640629
Object.defineProperty(exports, "__esModule", ({ value: true }));
4062740630
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;
4062840631
const brace_expansion_1 = __importDefault(__nccwpck_require__(3717));
40629-
const assert_valid_pattern_js_1 = __nccwpck_require__(903);
40630-
const ast_js_1 = __nccwpck_require__(3839);
40631-
const escape_js_1 = __nccwpck_require__(9004);
40632-
const unescape_js_1 = __nccwpck_require__(7305);
40632+
const assert_valid_pattern_js_1 = __nccwpck_require__(4149);
40633+
const ast_js_1 = __nccwpck_require__(5136);
40634+
const escape_js_1 = __nccwpck_require__(2804);
40635+
const unescape_js_1 = __nccwpck_require__(5698);
4063340636
const minimatch = (p, pattern, options = {}) => {
4063440637
(0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
4063540638
// shortcut: comments match nothing.
@@ -40965,6 +40968,7 @@ class Minimatch {
4096540968
globParts = this.levelOneOptimize(globParts);
4096640969
}
4096740970
else {
40971+
// just collapse multiple ** portions into one
4096840972
globParts = this.adjascentGlobstarOptimize(globParts);
4096940973
}
4097040974
return globParts;
@@ -41151,10 +41155,11 @@ class Minimatch {
4115141155
for (let i = 0; i < globParts.length - 1; i++) {
4115241156
for (let j = i + 1; j < globParts.length; j++) {
4115341157
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
41154-
if (!matched)
41155-
continue;
41156-
globParts[i] = matched;
41157-
globParts[j] = [];
41158+
if (matched) {
41159+
globParts[i] = [];
41160+
globParts[j] = matched;
41161+
break;
41162+
}
4115841163
}
4115941164
}
4116041165
return globParts.filter(gs => gs.length);
@@ -41454,7 +41459,11 @@ class Minimatch {
4145441459
fastTest = dotStarTest;
4145541460
}
4145641461
const re = ast_js_1.AST.fromGlob(pattern, this.options).toMMPattern();
41457-
return fastTest ? Object.assign(re, { test: fastTest }) : re;
41462+
if (fastTest && typeof re === 'object') {
41463+
// Avoids overriding in frozen environments
41464+
Reflect.defineProperty(re, 'test', { value: fastTest });
41465+
}
41466+
return re;
4145841467
}
4145941468
makeRe() {
4146041469
if (this.regexp || this.regexp === false)
@@ -41618,11 +41627,11 @@ class Minimatch {
4161841627
}
4161941628
exports.Minimatch = Minimatch;
4162041629
/* c8 ignore start */
41621-
var ast_js_2 = __nccwpck_require__(3839);
41630+
var ast_js_2 = __nccwpck_require__(5136);
4162241631
Object.defineProperty(exports, "AST", ({ enumerable: true, get: function () { return ast_js_2.AST; } }));
41623-
var escape_js_2 = __nccwpck_require__(9004);
41632+
var escape_js_2 = __nccwpck_require__(2804);
4162441633
Object.defineProperty(exports, "escape", ({ enumerable: true, get: function () { return escape_js_2.escape; } }));
41625-
var unescape_js_2 = __nccwpck_require__(7305);
41634+
var unescape_js_2 = __nccwpck_require__(5698);
4162641635
Object.defineProperty(exports, "unescape", ({ enumerable: true, get: function () { return unescape_js_2.unescape; } }));
4162741636
/* c8 ignore stop */
4162841637
exports.minimatch.AST = ast_js_1.AST;
@@ -41633,7 +41642,7 @@ exports.minimatch.unescape = unescape_js_1.unescape;
4163341642

4163441643
/***/ }),
4163541644

41636-
/***/ 7305:
41645+
/***/ 5698:
4163741646
/***/ ((__unused_webpack_module, exports) => {
4163841647

4163941648
"use strict";

package-lock.json

+23-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@octokit/plugin-retry": "^6.0.0",
3030
"js-yaml": "^4.1.0",
3131
"lodash.isequal": "^4.5.0",
32-
"minimatch": "^9.0.3"
32+
"minimatch": "^10.0.1"
3333
},
3434
"devDependencies": {
3535
"@types/jest": "^29.5.12",

0 commit comments

Comments
 (0)