@types/picomatch 3.0.0 → 3.0.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/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: Tue, 09 Jul 2024 14:36:28 GMT
11
+ * Last updated: Fri, 17 Jan 2025 07:32:10 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -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?: ((a: string, b: string) => string) | undefined;
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
  */
@@ -124,7 +125,7 @@ declare namespace picomatch {
124
125
  /**
125
126
  * Limit the max length of the input string. An error is thrown if the input string is longer than this value.
126
127
  */
127
- maxLength?: boolean | undefined;
128
+ maxLength?: number | undefined;
128
129
  /**
129
130
  * Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters.
130
131
  */
picomatch/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/picomatch",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
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
- "typesPublisherContentHash": "62143d06b851cbc80bfcd0bbfb6b81a34bd24ce97957a91763f2d791eefd7198",
34
- "typeScriptVersion": "4.8"
33
+ "peerDependencies": {},
34
+ "typesPublisherContentHash": "8a809a9b793c2420389bd720f73d0262848e3e6d0e15d8c3e73a282f4c4bf3aa",
35
+ "typeScriptVersion": "5.0"
35
36
  }