mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
- Guard findFiles() against null/undefined dir and pattern parameters (previously crashed with TypeError on .replace() or fs.existsSync()) - Wrap countInFile() and grepFile() regex construction in try-catch to handle invalid regex strings like '(unclosed' (previously crashed with SyntaxError: Invalid regular expression) - Add try-catch to replaceInFile() with descriptive error logging - Add 1MB size limit to readStdinJson() matching the PostToolUse hooks (previously had unbounded stdin accumulation) - Improve ensureDir() error message to include the directory path - Add 128-char length limit to setAlias() to prevent oversized alias names from inflating the JSON store - Update utils.d.ts with new maxSize option on ReadStdinJsonOptions |
||
|---|---|---|
| .. | ||
| package-manager.d.ts | ||
| package-manager.js | ||
| session-aliases.d.ts | ||
| session-aliases.js | ||
| session-manager.d.ts | ||
| session-manager.js | ||
| utils.d.ts | ||
| utils.js | ||