@types/picomatch 2.3.0 → 2.3.2

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 CHANGED
File without changes
picomatch/README.md CHANGED
@@ -8,9 +8,8 @@ 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: Sat, 02 Oct 2021 21:01:17 GMT
11
+ * Last updated: Wed, 18 Oct 2023 05:47:08 GMT
12
12
  * Dependencies: none
13
- * Global values: none
14
13
 
15
14
  # Credits
16
15
  These definitions were written by [Patrick](https://github.com/p-kuen), [Daniel Tschinder](https://github.com/danez), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).
picomatch/index.d.ts CHANGED
@@ -1,10 +1,3 @@
1
- // Type definitions for picomatch 2.3
2
- // Project: https://github.com/micromatch/picomatch
3
- // Definitions by: Patrick <https://github.com/p-kuen>
4
- // Daniel Tschinder <https://github.com/danez>
5
- // Piotr Błażejewicz <https://github.com/peterblazejewicz>
6
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
-
8
- import picomatch = require('./lib/picomatch');
1
+ import picomatch = require("./lib/picomatch");
9
2
 
10
3
  export = picomatch;
@@ -37,20 +37,20 @@ declare const WINDOWS_CHARS: {
37
37
  * POSIX Bracket Regex
38
38
  */
39
39
  declare const POSIX_REGEX_SOURCE: {
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';
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
@@ -1,6 +1,6 @@
1
- import constantsImport = require('./constants');
2
- import parseImport = require('./parse');
3
- import scanImport = require('./scan');
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>['match'];
49
- isMatch: ReturnType<typeof test>['isMatch'];
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, 'flags' | 'nocase' | 'debug'>;
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,24 +1,24 @@
1
1
  {
2
2
  "name": "@types/picomatch",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "TypeScript definitions for picomatch",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/picomatch",
6
6
  "license": "MIT",
7
7
  "contributors": [
8
8
  {
9
9
  "name": "Patrick",
10
- "url": "https://github.com/p-kuen",
11
- "githubUsername": "p-kuen"
10
+ "githubUsername": "p-kuen",
11
+ "url": "https://github.com/p-kuen"
12
12
  },
13
13
  {
14
14
  "name": "Daniel Tschinder",
15
- "url": "https://github.com/danez",
16
- "githubUsername": "danez"
15
+ "githubUsername": "danez",
16
+ "url": "https://github.com/danez"
17
17
  },
18
18
  {
19
19
  "name": "Piotr Błażejewicz",
20
- "url": "https://github.com/peterblazejewicz",
21
- "githubUsername": "peterblazejewicz"
20
+ "githubUsername": "peterblazejewicz",
21
+ "url": "https://github.com/peterblazejewicz"
22
22
  }
23
23
  ],
24
24
  "main": "",
@@ -30,6 +30,6 @@
30
30
  },
31
31
  "scripts": {},
32
32
  "dependencies": {},
33
- "typesPublisherContentHash": "b06c8ded395588859504d6784a55e02f9f352d9fff0c41457a59fce11d98ba93",
34
- "typeScriptVersion": "3.7"
33
+ "typesPublisherContentHash": "80c15efec7dacb3138fe85c2528bcbb65cb96557cc4dd9591bbcdcd67747d14f",
34
+ "typeScriptVersion": "4.5"
35
35
  }