chalk/source
Stephen Grider 2667daccda Optimize chalk performance with template literal and style caching improvements
- Cache style.open and style.close to reduce property access overhead
- Add configurable flag to Object.defineProperty for proper property redefinition
- Optimize createStyler with fast path for no parent scenario
- Improve template literal handling with dedicated fast path
- Add early returns for strings without escape codes or newlines
- Use indexOf checks instead of includes for better performance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 17:03:40 -06:00
..
vendor Fix navigator not defined ReferenceError (#642) 2024-12-21 18:01:49 +01:00
index.d.ts Meta tweaks 2024-08-08 00:00:20 +02:00
index.js Optimize chalk performance with template literal and style caching improvements 2025-06-20 17:03:40 -06:00
index.test-d.ts Meta tweaks 2024-08-08 00:00:20 +02:00
utilities.js Refactor: Replace deprecated String#substr() (#541) 2022-03-28 01:11:02 +07:00