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
Stephen Grider
3b1fc6e205
Merge pull request #1 from StephenGrider/add-claude-github-actions-1750460527907
...
Add Claude Code GitHub Workflow
2025-06-20 17:02:24 -06:00
Stephen Grider
5b883f7a20
Claude Code Review workflow
2025-06-20 17:02:10 -06:00
Stephen Grider
ac5dcadd81
Claude PR Assistant workflow
2025-06-20 17:02:09 -06:00
Stephen Grider
d881ed7eec
cmd
2025-06-20 16:48:47 -06:00
Stephen Grider
3ba3249f00
claudemd
2025-06-20 16:43:45 -06:00
Stephen Grider
92451c32bc
benchmark formatting
2025-06-20 16:37:27 -06:00
Stephen Grider
0643d25ca3
claude.md
2025-06-20 16:29:13 -06:00
Sindre Sorhus
5dbc1e2633
5.4.1
2024-12-21 18:04:25 +01:00
Edwin Kofler
4ebb62d1ca
Fix navigator not defined ReferenceError ( #642 )
2024-12-21 18:01:49 +01:00
Sindre Sorhus
fc809b686d
Readme tweak
2024-12-18 19:10:23 +01:00
Sindre Sorhus
83acfcf8cb
5.4.0
2024-12-18 18:59:38 +01:00
Sindre Sorhus
f8381204fb
Update CIRCLECI environments to return level 3 color support
...
89a52f4a8e
2024-12-18 18:58:03 +01:00
Sindre Sorhus
4a10354857
Add FAQ to readme
2024-08-13 17:43:03 +02:00
Sindre Sorhus
77126fba13
Meta tweaks
2024-08-08 00:00:20 +02:00
Lightner
795273f17a
Update dependents number in readme ( #629 )
2024-07-05 12:41:35 +02:00
Richie Bendall
386909ee0b
Tweak example ( #623 )
2024-01-19 21:36:11 +07:00
Edwin Kofler
2db3c7701e
Remove .replit file ( #622 )
2024-01-06 02:08:07 +01:00
Sindre Sorhus
f7b29ae8ef
Remove repl.it badge
...
Fixes #587
2023-08-16 12:14:40 +02:00
Sindre Sorhus
f399cd0ff6
Meta tweaks
2023-06-29 14:45:41 +02:00
Sindre Sorhus
72c742d471
5.3.0
2023-06-29 12:56:55 +02:00
Sindre Sorhus
5aafc0af74
Add sideEffects field to package.json
...
Fixes #585
2023-06-29 12:52:59 +02:00
Sindre Sorhus
df0e69df51
Fix CI
2023-06-29 12:50:22 +02:00
silverwind
29b856959f
Update supports-color to 9.4.0 ( #603 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2023-06-29 12:47:28 +02:00
Sindre Sorhus
a370f468a4
5.2.0
2022-12-08 19:46:06 +01:00
idanran
7443e9faa0
Update supports-color dependency ( #579 )
2022-12-08 19:43:43 +01:00
Sindre Sorhus
a027e3c1e0
Minor tweaks
2022-11-28 14:15:46 +07:00
LitoMore
79c56dfc1e
Update Replit badge ( #576 )
2022-10-30 23:54:53 +07:00
Daniel Li
c3d14f9ea8
Update link to Truecolor in the readme ( #573 )
2022-10-20 17:29:51 +07:00
Sindre Sorhus
158bf4429e
5.1.2
2022-10-12 23:31:43 +07:00
LitoMore
a34bcf6327
Fix exported styles names ( #569 )
2022-10-12 23:30:36 +07:00
Sindre Sorhus
1b4cd21fb1
5.1.1
2022-10-12 16:36:43 +07:00
LitoMore
6e0df055f4
Export styles from ansi-styles ( #567 )
2022-10-12 16:35:02 +07:00
Sindre Sorhus
92c55db46f
5.1.0
2022-10-05 21:45:55 +07:00
LitoMore
d7d75717b3
Expose style names ( #566 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-10-05 21:44:40 +07:00
Sindre Sorhus
96f44c976b
Meta tweaks
2022-10-05 21:43:01 +07:00
Matt Schlenker
c2311622c3
Use template literal types for simple color name transformations in the TypeScript types ( #564 )
2022-09-25 12:24:19 +07:00
Sindre Sorhus
ba5c385ecf
Update screenshot
...
Fixes #554
2022-07-03 00:36:34 +02:00
LitoMore
503b9d35cd
Update Replit badge ( #551 )
2022-06-26 14:58:46 +02:00
Richie Bendall
b17d862944
Improve browser detection ( #542 )
2022-03-30 12:41:57 +07:00
CommanderRoot
d28690e66b
Refactor: Replace deprecated String#substr() ( #541 )
2022-03-28 01:11:02 +07:00
Sindre Sorhus
bccde97f8a
5.0.1
2022-03-09 01:43:33 +07:00
Sindre Sorhus
85f7e96f75
Add main field to package.json for backwards compatibiltiy
...
Fixes #536
2022-03-09 01:42:04 +07:00
Sindre Sorhus
4d5c4795ad
5.0.0
2021-11-26 16:57:26 +07:00
Sindre Sorhus
7a6893551d
Fix code coverage
2021-11-26 16:55:15 +07:00
Sindre Sorhus
04fdbd6d8d
Bundle dependencies
2021-11-26 16:34:27 +07:00
Sindre Sorhus
d7c4aac07e
Upgrade dependencies
2021-11-26 16:00:01 +07:00
Richie Bendall
09fd5c4ba8
Re-export types from supports-color ( #526 )
2021-11-21 13:51:24 +07:00
Richie Bendall
c987c61486
Remove support for tagged template literals ( #524 )
2021-11-10 16:12:33 +07:00
LightnerDev
f478655c3c
Update dependents number in readme ( #521 )
2021-10-27 01:22:37 +07:00