ChatBot
ChatBot copied to clipboard
Bump chalk from 2.4.2 to 3.0.0
Bumps chalk from 2.4.2 to 3.0.0.
Release notes
Sourced from chalk's releases.
v3.0.0
This release has been in development for more than a year and massively improves performance and the 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
- Migrate:
-new chalk.constructor({level: 1}); +new chalk.Instance({level: 1})
Minor breaking
- Use CommonJS-compatible export in TypeScript definition (#344) 98628d9
- Why: Faking default export for TypeScript broke IntelliSense for JavaScript.
- Migrate:
-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 (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
... (truncated)
- 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- Fix support for bracketed Unicode escapes in template literals (#350) 9830948
- Export TypeScript types for colors and modifiers (#357) 6b4d206
- Add
ansi256
andbgAnsi256
to TypeScript declaration (#368) fb8e85a- Add
ansi
andbgAnsi
to TypeScript declaration (#369) 18c280d
Commits
-
20002d8
3.0.0 -
b393018
Meta tweaks -
18c280d
Addansi
andbgAnsi
to TypeScript declaration (#369) -
628b595
Tidelift tasks -
4de1841
3.0.0-beta.2 -
fb8e85a
Addansi256
andbgAnsi256
to TypeScript declarations (#368) -
eef8c8c
Replace level list with table in readme.md (#367) -
48905d0
3.0.0-beta.1 -
1953816
Update dependencies -
61aca7c
Improve require speed (#358) - Additional commits viewable in compare view
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 will not automatically merge this PR because it includes a major update to a production dependency.
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:
- 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)