Skip to content

Commit 80dca76

Browse files
Update dependency minimatch to v6 (#110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano <[email protected]>
1 parent 868e63e commit 80dca76

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

package-lock.json

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"ajv": "^8.0.0",
4141
"compare-versions": "^5.0.0",
4242
"lodash": "^4.17.20",
43-
"minimatch": "^5.0.0",
43+
"minimatch": "^6.0.0",
4444
"minimist": "^1.2.5",
4545
"solidity-ast": "^0.4.13"
4646
},

src/utils/matcher.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { Minimatch, IMinimatch } from 'minimatch';
1+
import { Minimatch } from 'minimatch';
22

33
export function matcher(patterns: string[]): (path: string) => boolean | undefined {
4-
const positivePatterns: IMinimatch[] = [];
5-
const negativePatterns: IMinimatch[] = [];
4+
const positivePatterns: Minimatch[] = [];
5+
const negativePatterns: Minimatch[] = [];
66

77
for (const pat of patterns) {
88
const m = new Minimatch(pat);

0 commit comments

Comments
 (0)