@types/micromatch
Advanced tools
Comparing version 2.3.31 to 2.3.32
@@ -6,8 +6,7 @@ // Type definitions for micromatch 2.3.7 | ||
import parseGlob = require("parse-glob"); | ||
import parseGlob = require('parse-glob'); | ||
declare namespace micromatch { | ||
type MatchFunction<T> = ((value: T) => boolean); | ||
type Pattern = (string | RegExp | MatchFunction<string>); | ||
type MatchFunction<T> = (value: T) => boolean; | ||
type Pattern = string | RegExp | MatchFunction<string>; | ||
@@ -66,3 +65,3 @@ interface Options { | ||
pattern: string; | ||
history: { msg: any, pattern: string }[]; | ||
history: { msg: any; pattern: string }[]; | ||
tokens: parseGlob.Result; | ||
@@ -154,3 +153,6 @@ orig: string; | ||
*/ | ||
filter(patterns: micromatch.Pattern | micromatch.Pattern[], opts?: micromatch.Options): micromatch.MatchFunction<any>; | ||
filter( | ||
patterns: micromatch.Pattern | micromatch.Pattern[], | ||
opts?: micromatch.Options, | ||
): micromatch.MatchFunction<any>; | ||
@@ -157,0 +159,0 @@ /** |
{ | ||
"name": "@types/micromatch", | ||
"version": "2.3.31", | ||
"version": "2.3.32", | ||
"description": "TypeScript definitions for micromatch", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/micromatch", | ||
}, | ||
"typesPublisherContentHash": "84ffaa4f3b19702e8898d424fafff6b1232b75f40038dec469cff5a6aa98c51b", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "1b1d280e5c26ebde3f00dc728801d499fde26bf98b82cbf90f854e3e541e553e", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 22:03:04 GMT | ||
* Last updated: Wed, 27 Sep 2023 09:42:15 GMT | ||
* Dependencies: [@types/parse-glob](https://npmjs.com/package/@types/parse-glob) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7850
150
0