Changeset 33517cc for node_modules/brace-expansion/README.md
- Timestamp:
- 09/19/26 10:30:30 (10 days ago)
- Branches:
- finki-main, main
- Children:
- 06ebe74
- Parents:
- 62b2964
- File:
-
- 1 edited
-
node_modules/brace-expansion/README.md (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
node_modules/brace-expansion/README.md
r62b2964 r33517cc 46 46 47 47 ```js 48 import { expand } from ' @isaacs/brace-expansion'48 import { expand } from 'brace-expansion' 49 49 ``` 50 50 … … 63 63 }) 64 64 // expansions.length will be 100, not 100^5 65 ``` 66 67 The `options` object can also provide a `maxLength` value to cap the 68 total number of characters across all expansions. This is limited to 69 `4_000_000` by default, to prevent memory exhaustion from inputs whose 70 result count stays under `max` while each result grows very long. 71 72 ```js 73 const expansions = expand('{a,b}'.repeat(1500), { 74 maxLength: 10_000, 75 }) 65 76 ``` 66 77
Note:
See TracChangeset
for help on using the changeset viewer.
