@types/picomatch 2.3.4 → 3.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 +4 -3
- picomatch/package.json +2 -2
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: Thu, 08 Aug 2024 19:07:15 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
picomatch/lib/picomatch.d.ts
CHANGED
|
@@ -84,7 +84,8 @@ declare namespace picomatch {
|
|
|
84
84
|
* The function receives the range values as two arguments, and it must return a string to be used in the generated regex.
|
|
85
85
|
* It's recommended that returned strings be wrapped in parentheses.
|
|
86
86
|
*/
|
|
87
|
-
expandRange
|
|
87
|
+
expandRange?(from: string, to: string, options: PicomatchOptions): string;
|
|
88
|
+
expandRange?(from: string, to: string, step: string, options: PicomatchOptions): string;
|
|
88
89
|
/**
|
|
89
90
|
* Throws an error if no matches are found. Based on the bash option of the same name.
|
|
90
91
|
*/
|
|
@@ -204,9 +205,9 @@ declare namespace picomatch {
|
|
|
204
205
|
*/
|
|
205
206
|
unescape?: boolean | undefined;
|
|
206
207
|
/**
|
|
207
|
-
*
|
|
208
|
+
* Also accept backslashes as the path separator.
|
|
208
209
|
*/
|
|
209
|
-
|
|
210
|
+
windows?: boolean | undefined;
|
|
210
211
|
}
|
|
211
212
|
|
|
212
213
|
function test(
|
picomatch/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/picomatch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.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",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
},
|
|
31
31
|
"scripts": {},
|
|
32
32
|
"dependencies": {},
|
|
33
|
-
"typesPublisherContentHash": "
|
|
33
|
+
"typesPublisherContentHash": "a9e6a94793e0b925c16b5f2f817a6f990e709ca6471bdadf690d8df24b13cf6b",
|
|
34
34
|
"typeScriptVersion": "4.8"
|
|
35
35
|
}
|