fix(deps): update dependency chalk to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| chalk | 3.0.0 -> 5.0.1 |
Release Notes
chalk/chalk
v5.0.1
- Add
mainfield 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→Chalkchalk.supportsColor→supportsColorchalk.stderr→chalkStderrchalk.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-convertpackage.
- 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
- Bundle dependencies
04fdbd6- This means Chalk no longer has any dependencies 🎉
- The install size is less than half of v4.
- Add
overlinestyle (#433)4cf2e40 - Preserve function prototype methods (#434)
0fba91b
v4.1.2
- Readme updates
v4.1.1
- Readme updates https://github.com/chalk/chalk/commit/89e9e3a5b0601f4eda4c3a92acd887ec836d0175
v4.1.0
v4.0.0
Breaking
-if (chalk.level > Level.None) {}
+if (chalk.level > 0) {}
Improvements
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Chalk v5 is ESM-only, so it would also mean making nestjs ESM-only. However, 4.1.2 can be used without any change. Probably it could also be replaced by @colors/colors (the successor of colors) without any change.
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.