@types/picomatch 2.3.0 → 2.3.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/LICENSE +0 -0
- picomatch/README.md +1 -1
- picomatch/index.d.ts +1 -1
- picomatch/lib/constants.d.ts +17 -17
- picomatch/lib/parse.d.ts +0 -0
- picomatch/lib/picomatch.d.ts +6 -6
- picomatch/lib/scan.d.ts +0 -0
- picomatch/package.json +3 -3
picomatch/LICENSE
CHANGED
|
File without changes
|
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: Sun, 24 Sep 2023 06:37:28 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
picomatch/index.d.ts
CHANGED
picomatch/lib/constants.d.ts
CHANGED
|
@@ -37,20 +37,20 @@ declare const WINDOWS_CHARS: {
|
|
|
37
37
|
* POSIX Bracket Regex
|
|
38
38
|
*/
|
|
39
39
|
declare const POSIX_REGEX_SOURCE: {
|
|
40
|
-
alnum:
|
|
41
|
-
alpha:
|
|
42
|
-
ascii:
|
|
43
|
-
blank:
|
|
44
|
-
cntrl:
|
|
45
|
-
digit:
|
|
46
|
-
graph:
|
|
47
|
-
lower:
|
|
48
|
-
print:
|
|
49
|
-
punct:
|
|
50
|
-
space:
|
|
51
|
-
upper:
|
|
52
|
-
word:
|
|
53
|
-
xdigit:
|
|
40
|
+
alnum: "a-zA-Z0-9";
|
|
41
|
+
alpha: "a-zA-Z";
|
|
42
|
+
ascii: "\\x00-\\x7F";
|
|
43
|
+
blank: " \\t";
|
|
44
|
+
cntrl: "\\x00-\\x1F\\x7F";
|
|
45
|
+
digit: "0-9";
|
|
46
|
+
graph: "\\x21-\\x7E";
|
|
47
|
+
lower: "a-z";
|
|
48
|
+
print: "\\x20-\\x7E ";
|
|
49
|
+
punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~";
|
|
50
|
+
space: " \\t\\r\\n\\v\\f";
|
|
51
|
+
upper: "A-Z";
|
|
52
|
+
word: "A-Za-z0-9_";
|
|
53
|
+
xdigit: "A-Fa-f0-9";
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
declare const constants: {
|
|
@@ -66,9 +66,9 @@ declare const constants: {
|
|
|
66
66
|
REGEX_REMOVE_BACKSLASH: RegExp;
|
|
67
67
|
|
|
68
68
|
REPLACEMENTS: {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
"***": "*";
|
|
70
|
+
"**/**": "**";
|
|
71
|
+
"**/**/**": "**";
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
// Digits
|
picomatch/lib/parse.d.ts
CHANGED
|
File without changes
|
picomatch/lib/picomatch.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import constantsImport = require(
|
|
2
|
-
import parseImport = require(
|
|
3
|
-
import scanImport = require(
|
|
1
|
+
import constantsImport = require("./constants");
|
|
2
|
+
import parseImport = require("./parse");
|
|
3
|
+
import scanImport = require("./scan");
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a matcher function from one or more glob patterns. The
|
|
@@ -45,8 +45,8 @@ declare namespace picomatch {
|
|
|
45
45
|
posix: boolean;
|
|
46
46
|
input: string;
|
|
47
47
|
output: string;
|
|
48
|
-
match: ReturnType<typeof test>[
|
|
49
|
-
isMatch: ReturnType<typeof test>[
|
|
48
|
+
match: ReturnType<typeof test>["match"];
|
|
49
|
+
isMatch: ReturnType<typeof test>["isMatch"];
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
interface PicomatchOptions {
|
|
@@ -243,7 +243,7 @@ declare namespace picomatch {
|
|
|
243
243
|
returnState?: boolean,
|
|
244
244
|
): ReturnType<typeof compileRe>;
|
|
245
245
|
|
|
246
|
-
type ToRegexOptions = Pick<PicomatchOptions,
|
|
246
|
+
type ToRegexOptions = Pick<PicomatchOptions, "flags" | "nocase" | "debug">;
|
|
247
247
|
|
|
248
248
|
function toRegex(source: string | RegExp, options?: ToRegexOptions): RegExp;
|
|
249
249
|
|
picomatch/lib/scan.d.ts
CHANGED
|
File without changes
|
picomatch/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/picomatch",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.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": "
|
|
34
|
-
"typeScriptVersion": "
|
|
33
|
+
"typesPublisherContentHash": "ac74187ba035621c3c3a3baeeb4ea598beefe48b308db300c86a5fcf8c511df9",
|
|
34
|
+
"typeScriptVersion": "4.5"
|
|
35
35
|
}
|