@types/picomatch 3.0.2 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- picomatch/README.md +1 -1
- picomatch/lib/picomatch.d.ts +3 -2
- picomatch/package.json +3 -3
- picomatch/posix.d.ts +3 -0
picomatch/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for picomatch (https://github.com/microma
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/picomatch.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 19 Jul 2025 01:30:15 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
picomatch/lib/picomatch.d.ts
CHANGED
|
@@ -31,7 +31,8 @@ declare namespace picomatch {
|
|
|
31
31
|
type Glob = string | string[];
|
|
32
32
|
|
|
33
33
|
interface Matcher {
|
|
34
|
-
(test: string): boolean;
|
|
34
|
+
(test: string, returnObject?: false | undefined): boolean;
|
|
35
|
+
(test: string, returnObject: true): Result;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
interface MatcherWithState extends Matcher {
|
|
@@ -185,7 +186,7 @@ declare namespace picomatch {
|
|
|
185
186
|
*/
|
|
186
187
|
posixSlashes?: boolean | undefined;
|
|
187
188
|
/**
|
|
188
|
-
*
|
|
189
|
+
* String to prepend to the generated regex used for matching.
|
|
189
190
|
*/
|
|
190
191
|
prepend?: boolean | undefined;
|
|
191
192
|
/**
|
picomatch/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/picomatch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "TypeScript definitions for picomatch",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/picomatch",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"scripts": {},
|
|
32
32
|
"dependencies": {},
|
|
33
33
|
"peerDependencies": {},
|
|
34
|
-
"typesPublisherContentHash": "
|
|
35
|
-
"typeScriptVersion": "5.
|
|
34
|
+
"typesPublisherContentHash": "2afff6e802a010089eebce80a4f93a639a1d5b9225a4eb32c299c4f223d99230",
|
|
35
|
+
"typeScriptVersion": "5.1"
|
|
36
36
|
}
|
picomatch/posix.d.ts
ADDED