@types/picomatch 3.0.2 → 4.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 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: Fri, 17 Jan 2025 07:32:10 GMT
11
+ * Last updated: Sat, 19 Jul 2025 01:30:15 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -31,7 +31,8 @@ declare namespace picomatch {
31
31
  type Glob = string | string[];
32
32
 
33
33
  interface Matcher {
34
- (test: string): boolean;
34
+ (test: string, returnObject?: false | undefined): boolean;
35
+ (test: string, returnObject: true): Result;
35
36
  }
36
37
 
37
38
  interface MatcherWithState extends Matcher {
@@ -185,7 +186,7 @@ declare namespace picomatch {
185
186
  */
186
187
  posixSlashes?: boolean | undefined;
187
188
  /**
188
- * Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself
189
+ * String to prepend to the generated regex used for matching.
189
190
  */
190
191
  prepend?: boolean | undefined;
191
192
  /**
picomatch/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/picomatch",
3
- "version": "3.0.2",
3
+ "version": "4.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",
@@ -31,6 +31,6 @@
31
31
  "scripts": {},
32
32
  "dependencies": {},
33
33
  "peerDependencies": {},
34
- "typesPublisherContentHash": "8a809a9b793c2420389bd720f73d0262848e3e6d0e15d8c3e73a282f4c4bf3aa",
35
- "typeScriptVersion": "5.0"
34
+ "typesPublisherContentHash": "2afff6e802a010089eebce80a4f93a639a1d5b9225a4eb32c299c4f223d99230",
35
+ "typeScriptVersion": "5.1"
36
36
  }
picomatch/posix.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import picomatch = require("./lib/picomatch");
2
+
3
+ export = picomatch;