Releases: chalk/slice-ansi
Releases · chalk/slice-ansi
v9.0.0
Breaking
- Require Node.js 22 0a9ac73
- Make
endSliceexclude partial wide graphemes 0895c86- Previously, when slicing at a position that falls in the middle of a wide character (e.g., fullwidth/CJK), the wide character was included. Now it is excluded, making the behavior consistent with how
startSlicealready excluded partial wide graphemes at the beginning.
- Previously, when slicing at a position that falls in the middle of a wide character (e.g., fullwidth/CJK), the wide character was included. Now it is excluded, making the behavior consistent with how
v8.0.0
v7.1.2
- Fix vulnerability in 7.1.1, see: chalk/chalk#656
v7.1.0
- Add TypeScript types 55ed49f