@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 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: Sat, 02 Oct 2021 21:01:17 GMT
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
@@ -5,6 +5,6 @@
5
5
  // Piotr Błażejewicz <https://github.com/peterblazejewicz>
6
6
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
7
 
8
- import picomatch = require('./lib/picomatch');
8
+ import picomatch = require("./lib/picomatch");
9
9
 
10
10
  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,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/picomatch",
3
- "version": "2.3.0",
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": "b06c8ded395588859504d6784a55e02f9f352d9fff0c41457a59fce11d98ba93",
34
- "typeScriptVersion": "3.7"
33
+ "typesPublisherContentHash": "ac74187ba035621c3c3a3baeeb4ea598beefe48b308db300c86a5fcf8c511df9",
34
+ "typeScriptVersion": "4.5"
35
35
  }