Release notes
*Sourced from [chalk's releases](https://github.com/chalk/chalk/releases).*
> ## v3.0.0
> **This release has been in development for more than a year and [massively improves performance](https://github-redirect.dependabot.com/chalk/chalk/pull/337) and [the time it takes to import Chalk](https://github-redirect.dependabot.com/chalk/chalk/pull/358).**
>
> Thanks to [@stroncium](https://github.com/stroncium) for his hard work on this. š
>
> ### Breaking
>
> - Require Node.js 8 3ef170b
> - Remove the `.enabled` property in favor of [`.level`](https://github.com/chalk/chalk#chalklevel) ([#356](https://github-redirect.dependabot.com/chalk/chalk/issues/356)) 1f77953
> - Why: It was confusing to users to have two properties for detecting color support.
> - Migrate:
> ```diff
> -if (chalk.enabled) {}
> +if (chalk.level > 0) {}
> ```
> - Remove `chalk.constructor()` in favor of `chalk.Instance()` ([#322](https://github-redirect.dependabot.com/chalk/chalk/issues/322)) de2f4cd
> - Migrate:
> ```diff
> -new chalk.constructor({level: 1});
> +new chalk.Instance({level: 1})
> ```
>
> ### Minor breaking
>
> - Use CommonJS-compatible export in TypeScript definition ([#344](https://github-redirect.dependabot.com/chalk/chalk/issues/344)) 98628d9
> - Why: Faking default export for TypeScript [broke IntelliSense for JavaScript](https://github-redirect.dependabot.com/sindresorhus/mem/issues/31).
> - Migrate:
> ```diff
> -import chalk from 'chalk';
> +import chalk = require('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 at [flow-typed](https://github.com/flow-typed/flow-typed) *(needs to be updated to Chalk v3, open an issue on `flow-typed`)*.
> - Rename the `ChalkOptions` TypeScript type to `Options` cf66156
> - Remove `dim` style workaround for Windows ([#331](https://github-redirect.dependabot.com/chalk/chalk/issues/331)) cd5de7a
> - Why: The issue was fixed in newer Windows 10 builds.
> - Remove the `blue` color workaround for Windows ([#330](https://github-redirect.dependabot.com/chalk/chalk/issues/330)) 2ca015c
> - Why: The issue was fixed in newer Windows 10 builds.
>
> ### Enhancements
>
> - Massively improve performance! ([#337](https://github-redirect.dependabot.com/chalk/chalk/issues/337)) c08417e
> - Improve require speed ([#358](https://github-redirect.dependabot.com/chalk/chalk/issues/358)) 61aca7c
> - Add [`chalk.stderr`](https://github.com/chalk/chalk#chalkstderr-and-chalkstderrsupportscolor) for printing to stderr ([#359](https://github-redirect.dependabot.com/chalk/chalk/issues/359)) 2a53389
> - Add `blackBright` color. It's the same as the `gray` color, but added for consistency. c25c32a
> - Fix support for bracketed Unicode escapes in template literals ([#350](https://github-redirect.dependabot.com/chalk/chalk/issues/350)) 9830948
> - Export TypeScript types for colors and modifiers ([#357](https://github-redirect.dependabot.com/chalk/chalk/issues/357)) 6b4d206
> - Add `ansi256` and `bgAnsi256` to TypeScript declaration ([#368](https://github-redirect.dependabot.com/chalk/chalk/issues/368)) fb8e85a
> - Add `ansi` and `bgAnsi` to TypeScript declaration ([#369](https://github-redirect.dependabot.com/chalk/chalk/issues/369)) 18c280d
>
> ... (truncated)
Commits
- [`20002d8`](https://github.com/chalk/chalk/commit/20002d8bd1dfd6f68bfa8bdacba520ff6027a450) 3.0.0
- [`b393018`](https://github.com/chalk/chalk/commit/b3930189a54aa84434a2f3ea7a18ec83d6a5ee92) Meta tweaks
- [`18c280d`](https://github.com/chalk/chalk/commit/18c280da2ea2d8a29556891f771c0f7bcf5678ab) Add `ansi` and `bgAnsi` to TypeScript declaration ([#369](https://github-redirect.dependabot.com/chalk/chalk/issues/369))
- [`628b595`](https://github.com/chalk/chalk/commit/628b5954cf1ea07a00dfed13d51bbd95f5d42de1) Tidelift tasks
- [`4de1841`](https://github.com/chalk/chalk/commit/4de1841129cf3d0a1db7a5d6638402b7828e1731) 3.0.0-beta.2
- [`fb8e85a`](https://github.com/chalk/chalk/commit/fb8e85ab875eb95b55448fd615daacf8c325cf44) Add `ansi256` and `bgAnsi256` to TypeScript declarations ([#368](https://github-redirect.dependabot.com/chalk/chalk/issues/368))
- [`eef8c8c`](https://github.com/chalk/chalk/commit/eef8c8c191d25deecde8c472e10a37c6f736e2e9) Replace level list with table in readme.md ([#367](https://github-redirect.dependabot.com/chalk/chalk/issues/367))
- [`48905d0`](https://github.com/chalk/chalk/commit/48905d08052aad4c8ba53bbd9fbcd8a9faf4f6e5) 3.0.0-beta.1
- [`1953816`](https://github.com/chalk/chalk/commit/1953816afd7d36e0a6751331a0441822477313b8) Update dependencies
- [`61aca7c`](https://github.com/chalk/chalk/commit/61aca7cb768cc4e3bc5d11abbad32377c72e1ff3) Improve require speed ([#358](https://github-redirect.dependabot.com/chalk/chalk/issues/358))
- Additional commits viewable in [compare view](https://github.com/chalk/chalk/compare/v2.4.2...v3.0.0)
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.
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 Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps chalk from 2.4.2 to 3.0.0.
Release notes
*Sourced from [chalk's releases](https://github.com/chalk/chalk/releases).* > ## v3.0.0 > **This release has been in development for more than a year and [massively improves performance](https://github-redirect.dependabot.com/chalk/chalk/pull/337) and [the time it takes to import Chalk](https://github-redirect.dependabot.com/chalk/chalk/pull/358).** > > Thanks to [@stroncium](https://github.com/stroncium) for his hard work on this. š > > ### Breaking > > - Require Node.js 8 3ef170b > - Remove the `.enabled` property in favor of [`.level`](https://github.com/chalk/chalk#chalklevel) ([#356](https://github-redirect.dependabot.com/chalk/chalk/issues/356)) 1f77953 > - Why: It was confusing to users to have two properties for detecting color support. > - Migrate: > ```diff > -if (chalk.enabled) {} > +if (chalk.level > 0) {} > ``` > - Remove `chalk.constructor()` in favor of `chalk.Instance()` ([#322](https://github-redirect.dependabot.com/chalk/chalk/issues/322)) de2f4cd > - Migrate: > ```diff > -new chalk.constructor({level: 1}); > +new chalk.Instance({level: 1}) > ``` > > ### Minor breaking > > - Use CommonJS-compatible export in TypeScript definition ([#344](https://github-redirect.dependabot.com/chalk/chalk/issues/344)) 98628d9 > - Why: Faking default export for TypeScript [broke IntelliSense for JavaScript](https://github-redirect.dependabot.com/sindresorhus/mem/issues/31). > - Migrate: > ```diff > -import chalk from 'chalk'; > +import chalk = require('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 at [flow-typed](https://github.com/flow-typed/flow-typed) *(needs to be updated to Chalk v3, open an issue on `flow-typed`)*. > - Rename the `ChalkOptions` TypeScript type to `Options` cf66156 > - Remove `dim` style workaround for Windows ([#331](https://github-redirect.dependabot.com/chalk/chalk/issues/331)) cd5de7a > - Why: The issue was fixed in newer Windows 10 builds. > - Remove the `blue` color workaround for Windows ([#330](https://github-redirect.dependabot.com/chalk/chalk/issues/330)) 2ca015c > - Why: The issue was fixed in newer Windows 10 builds. > > ### Enhancements > > - Massively improve performance! ([#337](https://github-redirect.dependabot.com/chalk/chalk/issues/337)) c08417e > - Improve require speed ([#358](https://github-redirect.dependabot.com/chalk/chalk/issues/358)) 61aca7c > - Add [`chalk.stderr`](https://github.com/chalk/chalk#chalkstderr-and-chalkstderrsupportscolor) for printing to stderr ([#359](https://github-redirect.dependabot.com/chalk/chalk/issues/359)) 2a53389 > - Add `blackBright` color. It's the same as the `gray` color, but added for consistency. c25c32a > - Fix support for bracketed Unicode escapes in template literals ([#350](https://github-redirect.dependabot.com/chalk/chalk/issues/350)) 9830948 > - Export TypeScript types for colors and modifiers ([#357](https://github-redirect.dependabot.com/chalk/chalk/issues/357)) 6b4d206 > - Add `ansi256` and `bgAnsi256` to TypeScript declaration ([#368](https://github-redirect.dependabot.com/chalk/chalk/issues/368)) fb8e85a > - Add `ansi` and `bgAnsi` to TypeScript declaration ([#369](https://github-redirect.dependabot.com/chalk/chalk/issues/369)) 18c280d > > ... (truncated)Commits
- [`20002d8`](https://github.com/chalk/chalk/commit/20002d8bd1dfd6f68bfa8bdacba520ff6027a450) 3.0.0 - [`b393018`](https://github.com/chalk/chalk/commit/b3930189a54aa84434a2f3ea7a18ec83d6a5ee92) Meta tweaks - [`18c280d`](https://github.com/chalk/chalk/commit/18c280da2ea2d8a29556891f771c0f7bcf5678ab) Add `ansi` and `bgAnsi` to TypeScript declaration ([#369](https://github-redirect.dependabot.com/chalk/chalk/issues/369)) - [`628b595`](https://github.com/chalk/chalk/commit/628b5954cf1ea07a00dfed13d51bbd95f5d42de1) Tidelift tasks - [`4de1841`](https://github.com/chalk/chalk/commit/4de1841129cf3d0a1db7a5d6638402b7828e1731) 3.0.0-beta.2 - [`fb8e85a`](https://github.com/chalk/chalk/commit/fb8e85ab875eb95b55448fd615daacf8c325cf44) Add `ansi256` and `bgAnsi256` to TypeScript declarations ([#368](https://github-redirect.dependabot.com/chalk/chalk/issues/368)) - [`eef8c8c`](https://github.com/chalk/chalk/commit/eef8c8c191d25deecde8c472e10a37c6f736e2e9) Replace level list with table in readme.md ([#367](https://github-redirect.dependabot.com/chalk/chalk/issues/367)) - [`48905d0`](https://github.com/chalk/chalk/commit/48905d08052aad4c8ba53bbd9fbcd8a9faf4f6e5) 3.0.0-beta.1 - [`1953816`](https://github.com/chalk/chalk/commit/1953816afd7d36e0a6751331a0441822477313b8) Update dependencies - [`61aca7c`](https://github.com/chalk/chalk/commit/61aca7cb768cc4e3bc5d11abbad32377c72e1ff3) Improve require speed ([#358](https://github-redirect.dependabot.com/chalk/chalk/issues/358)) - Additional commits viewable in [compare view](https://github.com/chalk/chalk/compare/v2.4.2...v3.0.0)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
.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 Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)