Skip to content
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

fix(deps): update dependency chalk to v5 #81

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 20, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chalk 4.1.2 -> 5.3.0 age adoption passing confidence

Release Notes

chalk/chalk (chalk)

v5.3.0

Compare Source

v5.2.0

Compare Source

v5.1.2

Compare Source

v5.1.1

Compare Source

  • Improved the names of exports introduced in 5.1.0 (#​567) 6e0df05
    • We of course preserved the old names.

v5.1.0

Compare Source

v5.0.1

Compare Source

  • Add main field to package.json for backwards compatibility with some developer tools 85f7e96

v5.0.0

Compare Source

Breaking
  • This package is now pure ESM. Please read this.
    • If you use TypeScript, you need to use TypeScript 4.7 or later. 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.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';

-chalk`2 + 3 = {bold ${2 + 3}}`;
+chalkTemplate`2 + 3 = {bold ${2 + 3}}`;
Improvements

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 4 times, most recently from fb1671b to 18ca1bd Compare December 27, 2022 02:30
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from 12f538f to 1cefb99 Compare January 3, 2023 02:57
@yanguoyu
Copy link
Contributor

yanguoyu commented Jan 3, 2023

Because from v5.0.0, this package is pure ESM. It cannot be require()'d from CommonJS.
So it may need to change the config to upgrade it to V5.
It said: It's totally fine to stay on Chalk v4. It's been stable for years.
I think we can stay on V4 now.

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 4 times, most recently from 26601f7 to 9d98e75 Compare January 6, 2023 01:29
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 8 times, most recently from 98ced02 to b0fc32b Compare January 18, 2023 06:29
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 6 times, most recently from 8899603 to 7c6107a Compare January 30, 2023 06:32
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 14 times, most recently from faab843 to 9d12a0e Compare January 13, 2024 23:46
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 3 times, most recently from 0803e67 to 88a2037 Compare January 17, 2024 23:47
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from 10997aa to e4a3f45 Compare January 23, 2024 01:32
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 9 times, most recently from b3de563 to ccbae4d Compare February 4, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Ready
Development

Successfully merging this pull request may close these issues.

2 participants