Changeset 33517cc for node_modules/minimatch/dist/commonjs/index.d.ts
- Timestamp:
- 09/19/26 10:30:30 (10 days ago)
- Branches:
- finki-main, main
- Children:
- 06ebe74
- Parents:
- 62b2964
- File:
-
- 1 edited
-
node_modules/minimatch/dist/commonjs/index.d.ts (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
node_modules/minimatch/dist/commonjs/index.d.ts
r62b2964 r33517cc 72 72 */ 73 73 braceExpandMax?: number; 74 /** 75 * Max number of non-adjacent `**` patterns to recursively walk down. 76 * 77 * The default of 200 is almost certainly high enough for most purposes, 78 * and can handle absurdly excessive patterns. 79 */ 80 maxGlobstarRecursion?: number; 81 /** 82 * Max depth to traverse for nested extglobs like `*(a|b|c)` 83 * 84 * Default is 2, which is quite low, but any higher value 85 * swiftly results in punishing performance impacts. Note 86 * that this is *not* relevant when the globstar types can 87 * be safely coalesced into a single set. 88 * 89 * For example, `*(a|@(b|c)|d)` would be flattened into 90 * `*(a|b|c|d)`. Thus, many common extglobs will retain good 91 * performance and never hit this limit, even if they are 92 * excessively deep and complicated. 93 * 94 * If the limit is hit, then the extglob characters are simply 95 * not parsed, and the pattern effectively switches into 96 * `noextglob: true` mode for the contents of that nested 97 * sub-pattern. This will typically _not_ result in a match, 98 * but is considered a valid trade-off for security and 99 * performance. 100 */ 101 maxExtglobRecursion?: number; 74 102 } 75 103 export declare const minimatch: { … … 102 130 export type ParseReturn = ParseReturnFiltered | false; 103 131 export declare class Minimatch { 132 #private; 104 133 options: MinimatchOptions; 105 134 set: ParseReturnFiltered[][]; … … 118 147 platform: Platform; 119 148 windowsNoMagicRoot: boolean; 149 maxGlobstarRecursion: number; 120 150 regexp: false | null | MMRegExp; 121 151 constructor(pattern: string, options?: MinimatchOptions); 122 152 hasMagic(): boolean; 123 debug(..._: any[]): void;153 debug(..._: unknown[]): void; 124 154 make(): void; 125 155 preprocess(globParts: string[][]): string[][];
Note:
See TracChangeset
for help on using the changeset viewer.
