react
react copied to clipboard
chore(deps-dev): bump chalk from 4.1.1 to 5.0.1
Bumps chalk from 4.1.1 to 5.0.1.
Release notes
Sourced from chalk's releases.
v5.0.1
- Add
mainfield 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→Chalkchalk.supportsColor→supportsColorchalk.stderr→chalkStderrchalk.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-convertpackage.- 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
overlinestyle (#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
Commits
bccde975.0.185f7e96Addmainfield to package.json for backwards compatibiltiy4d5c4795.0.07a68935Fix code coverage04fdbd6Bundle dependenciesd7c4aacUpgrade dependencies09fd5c4Re-export types fromsupports-color(#526)c987c61Remove support for tagged template literals (#524)f478655Update dependents number in readme (#521)3761e45Meta 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 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)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This does not mean that the issue is invalid. Valid issues may be reopened.
Thank you for your contributions!
Superseded by #1160.