chalk 5.6.2 → 6.0.1: deprecates 8 API(s)
Compared with 5.6.2: `Modifiers`, `ForegroundColor`, `BackgroundColor`, `Color`, `modifiers`, and 3 more.
registry.npmjs.orgquote checked
- 6.0.1from 5.6.2
- Your code8 things to find
Nemotron fixes
In its own wordsread from the page
- Modifiers: Use `ModifierName` instead. Basic modifier names.
- ForegroundColor: Use `ForegroundColorName` instead. Basic foreground color names. [More colors here.](https://github.com/chalk/chalk/blob/main/readme.md#256-and-truecolor-color-support)
- BackgroundColor: Use `BackgroundColorName` instead. Basic background color names. [More colors here.](https://github.com/chalk/chalk/blob/main/readme.md#256-and-truecolor-color-support)
- Color: Use `ColorName` instead. Basic color names. The combination of foreground and background color names. [More colors here.](https://github.com/chalk/chalk/blob/main/readme.md#256-and-truecolor-color-support)
- modifiers: Use `modifierNames` instead. Basic modifier names.
- foregroundColors: Use `foregroundColorNames` instead. Basic foreground color names.
- backgroundColors: Use `backgroundColorNames` instead. Basic background color names.
What Teire looks for in your code
- Modifiers (ts)
- ForegroundColor (ts)
- BackgroundColor (ts)
- Color (ts)
- modifiers (ts)
- foregroundColors (ts)
- backgroundColors (ts)
- colors (ts)
Does it reach your code?