Update dependency chalk to v6 #7

Merged
loadi merged 1 commit from renovate/chalk-6.x into main 2026-08-28 07:31:38 +02:00
Member

This PR contains the following updates:

Package Type Update Change
chalk dependencies major ^4.1.2 → ^6.0.0

Release Notes

chalk/chalk (chalk)

v6.0.0

Compare Source

Breaking
Improvements
Fixes
  • Treat a numeric FORCE_COLOR as an exact level (#​688) e912931
  • Downsample ansi256() and bgAnsi256() to 16 colors at level 1 (#​687) ff549c5

v5.6.2

Compare Source

  • Fix vulnerability in 5.6.1, see: #​656

v5.6.0

Compare Source

  • Make WezTerm terminal use true color a8f5bf7

v5.5.0

Compare Source


v5.4.1

Compare Source

v5.4.0

Compare Source

  • Update CIRCLECI environments to return level 3 color support f838120

v5.3.0

Compare Source

v5.2.0

Compare Source

v5.1.2

Compare Source

v5.1.1

Compare Source

  • Improved the names of exports introduced in 5.1.0 (#​567) 6e0df05
    • We of course preserved the old names.

v5.1.0

Compare Source

v5.0.1

Compare Source

  • Add main field to package.json for backwards compatibility with some developer tools 85f7e96

v5.0.0

Compare Source

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
  • 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

📅 Schedule: (UTC)

  • 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 is behind base branch, 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, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [chalk](https://github.com/chalk/chalk) | dependencies | major | [`^4.1.2` → `^6.0.0`](https://renovatebot.com/diffs/npm/chalk/4.1.2/6.0.0) | --- ### Release Notes <details> <summary>chalk/chalk (chalk)</summary> ### [`v6.0.0`](https://github.com/chalk/chalk/releases/tag/v6.0.0) [Compare Source](https://github.com/chalk/chalk/compare/v5.6.2...v6.0.0) ##### Breaking - Require Node.js 22 [`8a94e0e`](https://github.com/chalk/chalk/commit/8a94e0e) ##### Improvements - Add underline styles and underline colors ([#&#8203;689](https://github.com/chalk/chalk/issues/689)) [`4c304dd`](https://github.com/chalk/chalk/commit/4c304dd) - Improve performance [`5729845`](https://github.com/chalk/chalk/commit/5729845) [`fa5cff2`](https://github.com/chalk/chalk/commit/fa5cff2) ##### Fixes - Treat a numeric `FORCE_COLOR` as an exact level ([#&#8203;688](https://github.com/chalk/chalk/issues/688)) [`e912931`](https://github.com/chalk/chalk/commit/e912931) - Downsample `ansi256()` and `bgAnsi256()` to 16 colors at level 1 ([#&#8203;687](https://github.com/chalk/chalk/issues/687)) [`ff549c5`](https://github.com/chalk/chalk/commit/ff549c5) *** ### [`v5.6.2`](https://github.com/chalk/chalk/releases/tag/v5.6.2) [Compare Source](https://github.com/chalk/chalk/compare/v5.6.0...v5.6.2) - Fix vulnerability in 5.6.1, see: [#&#8203;656](https://github.com/chalk/chalk/issues/656) ### [`v5.6.0`](https://github.com/chalk/chalk/releases/tag/v5.6.0) [Compare Source](https://github.com/chalk/chalk/compare/v5.5.0...v5.6.0) - Make WezTerm terminal use true color [`a8f5bf7`](https://github.com/chalk/chalk/commit/a8f5bf7) *** ### [`v5.5.0`](https://github.com/chalk/chalk/releases/tag/v5.5.0) [Compare Source](https://github.com/chalk/chalk/compare/v5.4.1...v5.5.0) - Make Ghostty terminal use true color ([#&#8203;653](https://github.com/chalk/chalk/issues/653)) [`79ee2d3`](https://github.com/chalk/chalk/commit/79ee2d3) *** ### [`v5.4.1`](https://github.com/chalk/chalk/releases/tag/v5.4.1) [Compare Source](https://github.com/chalk/chalk/compare/v5.4.0...v5.4.1) - Fix `navigator` not defined `ReferenceError` ([#&#8203;642](https://github.com/chalk/chalk/issues/642)) [`4ebb62d`](https://github.com/chalk/chalk/commit/4ebb62d) ### [`v5.4.0`](https://github.com/chalk/chalk/releases/tag/v5.4.0) [Compare Source](https://github.com/chalk/chalk/compare/v5.3.0...v5.4.0) - Update `CIRCLECI` environments to return level 3 color support [`f838120`](https://github.com/chalk/chalk/commit/f838120) ### [`v5.3.0`](https://github.com/chalk/chalk/releases/tag/v5.3.0) [Compare Source](https://github.com/chalk/chalk/compare/v5.2.0...v5.3.0) - Add `sideEffects` field to package.json [`5aafc0a`](https://github.com/chalk/chalk/commit/5aafc0a) - Add support for Gitea Actions ([#&#8203;603](https://github.com/chalk/chalk/issues/603)) [`29b8569`](https://github.com/chalk/chalk/commit/29b8569) ### [`v5.2.0`](https://github.com/chalk/chalk/releases/tag/v5.2.0) [Compare Source](https://github.com/chalk/chalk/compare/v5.1.2...v5.2.0) - Improve Deno compatibility ([#&#8203;579](https://github.com/chalk/chalk/issues/579)) [`7443e9f`](https://github.com/chalk/chalk/commit/7443e9f) - Detect true-color support for GitHub Actions ([#&#8203;579](https://github.com/chalk/chalk/issues/579)) [`7443e9f`](https://github.com/chalk/chalk/commit/7443e9f) - Detect true-color support for Kitty terminal ([#&#8203;579](https://github.com/chalk/chalk/issues/579)) [`7443e9f`](https://github.com/chalk/chalk/commit/7443e9f) - Fix test for Azure DevOps environment ([#&#8203;579](https://github.com/chalk/chalk/issues/579)) [`7443e9f`](https://github.com/chalk/chalk/commit/7443e9f) ### [`v5.1.2`](https://github.com/chalk/chalk/releases/tag/v5.1.2) [Compare Source](https://github.com/chalk/chalk/compare/v5.1.1...v5.1.2) - Fix exported styles names ([#&#8203;569](https://github.com/chalk/chalk/issues/569)) [`a34bcf6`](https://github.com/chalk/chalk/commit/a34bcf6) ### [`v5.1.1`](https://github.com/chalk/chalk/releases/tag/v5.1.1) [Compare Source](https://github.com/chalk/chalk/compare/v5.1.0...v5.1.1) - Improved the names of exports introduced in 5.1.0 ([#&#8203;567](https://github.com/chalk/chalk/issues/567)) [`6e0df05`](https://github.com/chalk/chalk/commit/6e0df05) - We of course preserved the old names. ### [`v5.1.0`](https://github.com/chalk/chalk/releases/tag/v5.1.0) [Compare Source](https://github.com/chalk/chalk/compare/v5.0.1...v5.1.0) - Expose style names ([#&#8203;566](https://github.com/chalk/chalk/issues/566)) [`d7d7571`](https://github.com/chalk/chalk/commit/d7d7571) ### [`v5.0.1`](https://github.com/chalk/chalk/releases/tag/v5.0.1) [Compare Source](https://github.com/chalk/chalk/compare/v5.0.0...v5.0.1) - Add `main` field to package.json for backwards compatibility with some developer tools [`85f7e96`](https://github.com/chalk/chalk/commit/85f7e96) ### [`v5.0.0`](https://github.com/chalk/chalk/releases/tag/v5.0.0) [Compare Source](https://github.com/chalk/chalk/compare/v4.1.2...v5.0.0) ##### Breaking - **This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - If you use TypeScript, you need to use TypeScript 4.7 or later. [Why.](https://github.com/microsoft/TypeScript/issues/46452) - 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`](https://github.com/chalk/chalk/commit/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 ([#&#8203;433](https://github.com/chalk/chalk/issues/433)) [`4cf2e40`](https://github.com/chalk/chalk/commit/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](https://github.com/Qix-/color-convert). - [How to migrate from `.keyword()`](https://github.com/chalk/chalk/issues/659) - The tagged template literal support moved into a separate package: [`chalk-template`](https://github.com/chalk/chalk-template) ([#&#8203;524](https://github.com/chalk/chalk/issues/524)) [`c987c61`](https://github.com/chalk/chalk/commit/c987c61) ```diff -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`](https://github.com/chalk/chalk/commit/04fdbd6) - This means Chalk no longer has any dependencies 🎉 - [The install size is less than half of v4.](https://packagephobia.com/result?p=chalk) - Add `overline` style ([#&#8203;433](https://github.com/chalk/chalk/issues/433)) [`4cf2e40`](https://github.com/chalk/chalk/commit/4cf2e40) - Preserve function prototype methods ([#&#8203;434](https://github.com/chalk/chalk/issues/434)) [`0fba91b`](https://github.com/chalk/chalk/commit/0fba91b) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
loadi merged commit 7e9bc40a53 into main 2026-08-28 07:31:38 +02:00
loadi deleted branch renovate/chalk-6.x 2026-08-28 07:31:47 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
golatar-oss/opencode-costs!7
No description provided.