---
title: "chalk Breaking Changes on npm | Since.dev"
description: "What each chalk release removed, renamed or changed: 7 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/chalk
last_updated: 2026-07-26
---

# chalk breaking changes

Every breaking API change we have recorded in chalk on npm: 7 breaking changes in 1 version. Below are its newest version, removals and renames first, each with its source.

Newest change July 26, 2026

## 6.0.0

7 breaking changes, first published July 26, 2026.

- **Removed**  

Node.js versions below 22 are no longer supported, so upgrade Node.js to 22 or later before using this release. [github.com](https://github.com/chalk/chalk/releases/tag/v6.0.0)
- **Configuration changed**  

A numeric FORCE_COLOR value now sets an exact color level instead of the previous behavior, so check any FORCE_COLOR settings that use numbers. [github.com](https://github.com/chalk/chalk/releases/tag/v6.0.0)
- **Signature changed** `backgroundColors`  

Was const backgroundColors: readonly BackgroundColor\[\]; now const backgroundColors: readonly BackgroundColorName\[\]. [npmjs.com](https://www.npmjs.com/package/chalk/v/6.0.0)
- **Signature changed** `colors`  

Was const colors: readonly Color\[\]; now const colors: readonly ColorName\[\]. [npmjs.com](https://www.npmjs.com/package/chalk/v/6.0.0)
- **Signature changed** `foregroundColors`  

Was const foregroundColors: readonly ForegroundColor\[\]; now const foregroundColors: readonly ForegroundColorName\[\]. [npmjs.com](https://www.npmjs.com/package/chalk/v/6.0.0)
- **Signature changed** `modifiers`  

Was const modifiers: readonly Modifiers\[\]; now const modifiers: readonly ModifierName\[\]. [npmjs.com](https://www.npmjs.com/package/chalk/v/6.0.0)
- **Signature changed** `Options.level`  

Was readonly level?: ColorSupportLevel; now readonly level?: ColorSupportLevel | undefined. [npmjs.com](https://www.npmjs.com/package/chalk/v/6.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version, not only the newest. On Team and up, a fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous management.

Scan a public repository now, or give your agent one line.

### See how out of date your code is.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
