fix(deps): update dependency chalk to v5
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
chalk | dependencies | major | 4.1.2 -> 5.2.0 |
Release Notes
chalk/chalk
v5.2.0
- Improve Deno compatibility (#579)
7443e9f
- Detect true-color support for GitHub Actions (#579)
7443e9f
- Detect true-color support for Kitty terminal (#579)
7443e9f
- Fix test for Azure DevOps environment (#579)
7443e9f
v5.1.2
v5.1.1
- Improved the names of exports introduced in 5.1.0 (#567)
6e0df05
- We of course preserved the old names.
v5.1.0
v5.0.1
- Add
main
field to package.json for backwards compatibility with some developer tools85f7e96
v5.0.0
Breaking
-
This package is now pure ESM. Please read this.
- If you use TypeScript, you need to use TypeScript 4.7 or later. Why.
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Chalk issue tracker is not a support channel for your favorite build/bundler tool.
- It's totally fine to stay on Chalk v4. It's been stable for years.
- Require Node.js 12.20
fa16f4e
- Move some properties off the default export to individual named exports:
-
chalk.Instance
→Chalk
-
chalk.supportsColor
→supportsColor
-
chalk.stderr
→chalkStderr
-
chalk.stderr.supportsColor
→supportsColorStderr
-
- Remove
.keyword()
,.hsl()
,.hsv()
,.hwb()
, and.ansi()
coloring methods (#433)4cf2e40
- These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the
color-convert
package.
- These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the
- The tagged template literal support moved into a separate package:
chalk-template
(#524)c987c61
-import chalk from 'chalk';
+import chalkTemplate from 'chalk-template';
-chalk`2 + 3 = {bold ${2 + 3}}`;
+chalkTemplate`2 + 3 = {bold ${2 + 3}}`;
Improvements
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.
Edited by Botaniker (Bot)
Merge request reports
Activity
Please register or sign in to reply