Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Update dependency chalk to v5 #199

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

Update dependency chalk to v5 #199

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 26, 2021

Mend Renovate

This PR contains the following updates:

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

Release Notes

chalk/chalk

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 - "every weekday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2021

Codecov Report

Base: 43.38% // Head: 43.38% // No change to project coverage 👍

Coverage data is based on head (3e0b9c8) compared to base (fb4b339).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #199   +/-   ##
=======================================
  Coverage   43.38%   43.38%           
=======================================
  Files          53       53           
  Lines        3476     3476           
  Branches      782      782           
=======================================
  Hits         1508     1508           
  Misses       1705     1705           
  Partials      263      263           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 4 times, most recently from 9fb0cb8 to 9d2deb0 Compare December 2, 2021 22:50
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from 9d2deb0 to e07acf5 Compare March 8, 2022 20:42
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from e07acf5 to 8edee99 Compare June 13, 2022 04:56
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from 8edee99 to f873775 Compare August 9, 2022 17:55
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from f873775 to 3e0b9c8 Compare October 5, 2022 04:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant