Dataproofer
Dataproofer copied to clipboard
Bump chalk from 4.1.0 to 5.0.1
Bumps chalk from 4.1.0 to 5.0.1.
Release notes
Sourced from chalk's releases.
v5.0.1
- Add
main
field to package.json for backwards compatibility with some developer tools 85f7e96https://github.com/chalk/chalk/compare/v5.0.0...v5.0.1
v5.0.0
Breaking
- This package is now pure ESM. Please read this.
- If you use TypeScript, you will want to stay on Chalk 4 until TypeScript 4.6 is out. 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
- These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the
color-convert
package.- 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}}
; +chalkTemplate2 + 3 = {bold ${2 + 3}}
;Improvements
- Bundle dependencies 04fdbd6
- This means Chalk no longer has any dependencies 🎉
- The install size is less than half of v4.
- Add
overline
style (#433) 4cf2e40- Preserve function prototype methods (#434) 0fba91b
https://github.com/chalk/chalk/compare/v4.1.0...v5.0.0
v4.1.2
- Readme updates
v4.1.1
Commits
bccde97
5.0.185f7e96
Addmain
field to package.json for backwards compatibiltiy4d5c479
5.0.07a68935
Fix code coverage04fdbd6
Bundle dependenciesd7c4aac
Upgrade dependencies09fd5c4
Re-export types fromsupports-color
(#526)c987c61
Remove support for tagged template literals (#524)f478655
Update dependents number in readme (#521)3761e45
Meta tweak (#520)- 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 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)