Skip to content

Commit 1383289

Browse files
authored
🤖 Merge PR DefinitelyTyped#74790 [picomatch] remove options which do not exist in 4.x by @danez
1 parent 76665f8 commit 1383289

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

‎types/picomatch/lib/picomatch.d.ts‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ declare namespace picomatch {
6868
* Allows glob to match any part of the given string(s).
6969
*/
7070
contains?: boolean | undefined;
71-
/**
72-
* Current working directory. Used by `picomatch.split()`
73-
*/
74-
cwd?: string | undefined;
7571
/**
7672
* Debug regular expressions when an error is thrown.
7773
*/
@@ -87,10 +83,6 @@ declare namespace picomatch {
8783
*/
8884
expandRange?(from: string, to: string, options: PicomatchOptions): string;
8985
expandRange?(from: string, to: string, step: string, options: PicomatchOptions): string;
90-
/**
91-
* Throws an error if no matches are found. Based on the bash option of the same name.
92-
*/
93-
failglob?: boolean | undefined;
9486
/**
9587
* To speed up processing, full parsing is skipped for a handful common glob patterns. Disable this behavior by setting this option to `false`.
9688
*/
@@ -135,12 +127,6 @@ declare namespace picomatch {
135127
* Make matching case-insensitive. Equivalent to the regex `i` flag. Note that this option is overridden by the `flags` option.
136128
*/
137129
nocase?: boolean | undefined;
138-
/**
139-
* @deprecated use `nounique` instead.
140-
* This option will be removed in a future major release. By default duplicates are removed.
141-
* Disable uniquification by setting this option to false.
142-
*/
143-
nodupes?: boolean | undefined;
144130
/**
145131
* Alias for `noextglob`
146132
*/
@@ -157,10 +143,6 @@ declare namespace picomatch {
157143
* Disable support for negating with leading `!`
158144
*/
159145
nonegate?: boolean | undefined;
160-
/**
161-
* Disable support for regex quantifiers (like `a{1,2}`) and treat them as brace patterns to be expanded.
162-
*/
163-
noquantifiers?: boolean | undefined;
164146
/**
165147
* Function to be called on ignored items.
166148
*/
@@ -177,10 +159,6 @@ declare namespace picomatch {
177159
* Support POSIX character classes ("posix brackets").
178160
*/
179161
posix?: boolean | undefined;
180-
/**
181-
* Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself.
182-
*/
183-
posixSlashes?: boolean | undefined;
184162
/**
185163
* String to prepend to the generated regex used for matching.
186164
*/

0 commit comments

Comments
 (0)