Skip to content

Bump chalk from 4.1.2 to 5.0.0 #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 26, 2021

Bumps chalk from 4.1.2 to 5.0.0.

Release notes

Sourced from chalk's releases.

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.
  • Require Node.js 12.20 fa16f4e
  • Move some properties off the default export to individual named exports:
    • chalk.InstanceChalk
    • chalk.supportsColorsupportsColor
    • chalk.stderrchalkStderr
    • chalk.stderr.supportsColorsupportsColorStderr
  • 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';
-chalk2 + 3 = {bold ${2 + 3}};
+chalkTemplate2 + 3 = {bold ${2 + 3}};

Improvements

  • Bundle dependencies 04fdbd6
    • This means Chalk no longer has any dependencies 🎉
  • Add overline style (#433) 4cf2e40
  • Preserve function prototype methods (#434) 0fba91b

chalk/chalk@v4.1.0...v5.0.0

Commits

Dependabot compatibility score

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)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](chalk/chalk@v4.1.2...v5.0.0)

---
updated-dependencies:
- dependency-name: chalk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 26, 2021
@coveralls
Copy link

coveralls commented Nov 26, 2021

Coverage Status

Coverage remained the same at 91.606% when pulling ce7d43f on dependabot/npm_and_yarn/chalk-5.0.0 into cb9847e on main.

@mrcgrtz mrcgrtz merged commit 4d418f6 into main Dec 14, 2021
@mrcgrtz mrcgrtz deleted the dependabot/npm_and_yarn/chalk-5.0.0 branch December 14, 2021 23:32
mrcgrtz added a commit to ElyDotDev/stylelint-formatter-pretty that referenced this pull request Dec 28, 2021

Verified

This commit was signed with the committer’s verified signature. The key has expired.
mrcgrtz Marc Görtz
* origin/main:
  Bump plur from 5.0.0 to 5.1.0 (mrcgrtz#47)
  Update FUNDING.yml
  Bump log-symbols from 5.0.0 to 5.1.0 (mrcgrtz#46)
  Bump chalk from 4.1.2 to 5.0.0 (mrcgrtz#43)
  Update funding
  Update FUNDING.yml
  Bump xo from 0.46.4 to 0.47.0 (mrcgrtz#44)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants