@types/picomatch 3.0.1 → 4.0.0
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 +4 -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: Tue, 01 Apr 2025 19:02:14 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 {
|
|
@@ -125,7 +126,7 @@ declare namespace picomatch {
|
|
|
125
126
|
/**
|
|
126
127
|
* Limit the max length of the input string. An error is thrown if the input string is longer than this value.
|
|
127
128
|
*/
|
|
128
|
-
maxLength?:
|
|
129
|
+
maxLength?: number | undefined;
|
|
129
130
|
/**
|
|
130
131
|
* Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters.
|
|
131
132
|
*/
|
picomatch/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/picomatch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "TypeScript definitions for picomatch",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/picomatch",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"scripts": {},
|
|
32
32
|
"dependencies": {},
|
|
33
|
-
"
|
|
34
|
-
"
|
|
33
|
+
"peerDependencies": {},
|
|
34
|
+
"typesPublisherContentHash": "fab84657a710a2244a5ce6e07573fcedcefa811e8635da527edb5d1210ee8037",
|
|
35
|
+
"typeScriptVersion": "5.1"
|
|
35
36
|
}
|
picomatch/posix.d.ts
ADDED