Bumpschalk from 2.4.1 to 3.0.0.
Release notes
Sourced fromchalk's releases.
v3.0.0
This release has been in development for more than a year andmassively improves performance andthe time it takes to import Chalk.
Thanks to@stroncium for his hard work on this. 🙌
Breaking
- Require Node.js 8 3ef170b
- Remove the
.enabled property in favor of.level (#356) 1f77953- Why: It was confusing to users to have two properties for detecting color support.
- Migrate:
-if (chalk.enabled) {}+if (chalk.level > 0) {}- Remove
chalk.constructor() in favor ofchalk.Instance() (#322) de2f4cd
-new chalk.constructor({level: 1});+new chalk.Instance({level: 1})Minor breaking
- Use CommonJS-compatible export in TypeScript definition (#344) 98628d9
-import chalk from 'chalk';+import chalk = require('chalk');Or if you haveesModuleInterop enabled:
-import chalk from 'chalk';+import * as chalk from 'chalk';
- Drop built-in Flow type definition d3be9c6
- Why: None of us use Flow and we were not good at maintaining the type definition. You can get the types atflow-typed(needs to be updated to Chalk v3, open an issue on
flow-typed).
- Rename the
ChalkOptions TypeScript type toOptions cf66156 - Remove
dim style workaround for Windows (#331) cd5de7a- Why: The issue was fixed in newer Windows 10 builds.
- Remove the
blue color workaround for Windows (#330) 2ca015c- Why: The issue was fixed in newer Windows 10 builds.
Enhancements
- Massively improve performance! (#337) c08417e
- Improve require speed (#358) 61aca7c
- Add
chalk.stderr for printing to stderr (#359) 2a53389 - Add
blackBright color. It's the same as thegray color, but added for consistency. c25c32a
... (truncated)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clickingBump now in yourDependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language@dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabotdashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumpschalk from 2.4.1 to 3.0.0.
Release notes
Sourced fromchalk's releases.
Commits
20002d83.0.0b393018Meta tweaks18c280dAddansiandbgAnsito TypeScript declaration (#369)628b595Tidelift tasks4de18413.0.0-beta.2fb8e85aAddansi256andbgAnsi256to TypeScript declarations (#368)eef8c8cReplace level list with table in readme.md (#367)48905d03.0.0-beta.11953816Update dependencies61aca7cImprove require speed (#358)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump nowin yourDependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readmeAdditionally, you can set the following in your Dependabotdashboard: