diff --git a/package.json b/package.json index fefe9b1e..5fb709ef 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "deepmerge": "^4.2.2", "fs-extra": "^10.0.0", "memfs": "^3.4.1", - "minimatch": "^3.0.4", + "minimatch": "^10.2.2", "node-abort-controller": "^3.0.1", "schema-utils": "^3.1.1", "semver": "^7.3.5", @@ -84,7 +84,6 @@ "@types/fs-extra": "^9.0.13", "@types/jest": "^27.4.0", "@types/json-schema": "^7.0.9", - "@types/minimatch": "^3.0.5", "@types/mock-fs": "^4.13.1", "@types/node": "^16.4.13", "@types/rimraf": "^3.0.2", diff --git a/src/issue/issue-match.ts b/src/issue/issue-match.ts index d90e76c7..3b527b72 100644 --- a/src/issue/issue-match.ts +++ b/src/issue/issue-match.ts @@ -1,6 +1,6 @@ import path from 'path'; -import minimatch from 'minimatch'; +import { minimatch } from 'minimatch'; import { forwardSlash } from '../utils/path/forward-slash'; diff --git a/src/watch/inclusive-node-watch-file-system.ts b/src/watch/inclusive-node-watch-file-system.ts index c8629b13..d5de22ff 100644 --- a/src/watch/inclusive-node-watch-file-system.ts +++ b/src/watch/inclusive-node-watch-file-system.ts @@ -2,7 +2,7 @@ import { extname, relative, isAbsolute } from 'path'; import type { FSWatcher } from 'chokidar'; import chokidar from 'chokidar'; -import minimatch from 'minimatch'; +import { minimatch } from 'minimatch'; import type { Compiler } from 'webpack'; import { clearFilesChange, updateFilesChange } from '../files-change'; diff --git a/yarn.lock b/yarn.lock index 1f868fe3..cf04431a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1737,13 +1737,6 @@ __metadata: languageName: node linkType: hard -"@types/minimatch@npm:^3.0.5": - version: 3.0.5 - resolution: "@types/minimatch@npm:3.0.5" - checksum: 10c0/a1a19ba342d6f39b569510f621ae4bbe972dc9378d15e9a5e47904c440ee60744f5b09225bc73be1c6490e3a9c938eee69eb53debf55ce1f15761201aa965f97 - languageName: node - linkType: hard - "@types/minimatch@npm:^5.1.2": version: 5.1.2 resolution: "@types/minimatch@npm:5.1.2" @@ -2673,6 +2666,13 @@ __metadata: languageName: node linkType: hard +"balanced-match@npm:^4.0.2": + version: 4.0.3 + resolution: "balanced-match@npm:4.0.3" + checksum: 10c0/4d96945d0815849934145b2cdc0ccb80fb869d909060820fde5f95da0a32040f2142560ef931584fbb6a1607d39d399707e7d2364030a720ac1dc6f78ddaf9dc + languageName: node + linkType: hard + "before-after-hook@npm:^2.2.0": version: 2.2.3 resolution: "before-after-hook@npm:2.2.3" @@ -2726,6 +2726,15 @@ __metadata: languageName: node linkType: hard +"brace-expansion@npm:^5.0.2": + version: 5.0.2 + resolution: "brace-expansion@npm:5.0.2" + dependencies: + balanced-match: "npm:^4.0.2" + checksum: 10c0/60c765e5df6fc0ceca3d5703202ae6779db61f28ea3bf93a04dbf0d50c22ef8e4644e09d0459c827077cd2d09ba8f199a04d92c36419fcf874601a5565013174 + languageName: node + linkType: hard + "braces@npm:^3.0.3": version: 3.0.3 resolution: "braces@npm:3.0.3" @@ -4499,7 +4508,6 @@ __metadata: "@types/fs-extra": "npm:^9.0.13" "@types/jest": "npm:^27.4.0" "@types/json-schema": "npm:^7.0.9" - "@types/minimatch": "npm:^3.0.5" "@types/mock-fs": "npm:^4.13.1" "@types/node": "npm:^16.4.13" "@types/rimraf": "npm:^3.0.2" @@ -4526,7 +4534,7 @@ __metadata: karton: "npm:^0.4.1" lint-staged: "npm:^11.1.2" memfs: "npm:^3.4.1" - minimatch: "npm:^3.0.4" + minimatch: "npm:^10.2.2" mock-fs: "npm:^5.1.2" node-abort-controller: "npm:^3.0.1" prettier: "npm:^2.5.1" @@ -7094,6 +7102,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^10.2.2": + version: 10.2.2 + resolution: "minimatch@npm:10.2.2" + dependencies: + brace-expansion: "npm:^5.0.2" + checksum: 10c0/098831f2f542cb802e1f249c809008a016e1fef6b3a9eda9cf9ecb2b3d7979083951bd47c0c82fcf34330bd3b36638a493d4fa8e24cce58caf5b481de0f4e238 + languageName: node + linkType: hard + "minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2"