Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Commit 7b4414e

Browse files
renovate[bot]danezkodiakhq[bot]
authoredJan 16, 2023
fix(deps): update dependency minimatch to v6 (#1316)
* fix(deps): update dependency minimatch to v6 * chore: fix api Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Tschinder <231804+danez@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 60925b7 commit 7b4414e

File tree

3 files changed

+55
-10
lines changed

3 files changed

+55
-10
lines changed
 

‎package-lock.json

+52-7
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
@@ -73,7 +73,7 @@
7373
"junk": "^4.0.0",
7474
"locate-path": "^7.0.0",
7575
"merge-options": "^3.0.4",
76-
"minimatch": "^5.0.0",
76+
"minimatch": "^6.0.0",
7777
"normalize-path": "^3.0.0",
7878
"p-map": "^5.0.0",
7979
"path-exists": "^5.0.0",

‎src/utils/matching.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { promisify } from 'util'
22

33
import globFunction from 'glob'
4-
import minimatchFunction from 'minimatch'
4+
import { minimatch as minimatchFunction, MinimatchOptions } from 'minimatch'
55
import normalizePath from 'normalize-path'
66

77
const pGlob = promisify(globFunction)
@@ -25,6 +25,6 @@ export const glob = function (pattern: string, options: globFunction.IOptions):
2525
return pGlob(normalizePath(pattern), { ...options, ignore: normalizedIgnore })
2626
}
2727

28-
export const minimatch = function (target: string, pattern: string, options?: minimatchFunction.IOptions): boolean {
28+
export const minimatch = function (target: string, pattern: string, options?: MinimatchOptions): boolean {
2929
return minimatchFunction(target, normalizePath(pattern), options)
3030
}

1 commit comments

Comments
 (1)

github-actions[bot] commented on Jan 16, 2023

@github-actions[bot]
Contributor

⏱ Benchmark results

  • largeDepsEsbuild: 2.2s
  • largeDepsNft: 9.1s
  • largeDepsZisi: 16.5s
This repository has been archived.