Skip to content

build: bump chalk from 2.4.2 to 4.1.0 #21248

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 2 commits into from
Dec 15, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2020

Bumps chalk from 2.4.2 to 4.1.0.

Release notes

Sourced from chalk's releases.

v4.1.0

  • Support template literals for nested calls (#392) 09ddbad

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

v4.0.0

Breaking

  • Require Node.js 10 61999a4
  • Change the Level TypeScript type to be a union instead of enum f0f4638
-if (chalk.level > Level.None) {}
+if (chalk.level > 0) {}

Improvements

  • Use Object.setPrototypeOf as __proto__ could potentially be disabled (#387) 63469d3

chalk/chalk@v3.0.0...v4.0.0

v3.0.0

This release has been in development for more than a year and massively improves performance and the time it takes to import Chalk.

Thanks to @stroncium for his hard work on this. 🙌

Breaking

  • Require Node.js 8 3ef170b
  • Remove the .enabled property in favor of .level (#356) 1f77953
    • Why: It was confusing to users to have two properties for detecting color support.
    • Migrate:
-if (chalk.enabled) {}
+if (chalk.level > 0) {}
  • Remove chalk.constructor() in favor of chalk.Instance() (#322) de2f4cd
    • Migrate:
-new chalk.constructor({level: 1});
+new chalk.Instance({level: 1})

Minor breaking

-import chalk from 'chalk';
</tr></table> 

... (truncated)

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)

@dependabot dependabot bot requested a review from a team as a code owner December 8, 2020 05:08
@dependabot dependabot bot added area: build & ci Related the build and CI infrastructure of the project action: merge The PR is ready for merge by the caretaker merge safe target: patch This PR is targeted for the next patch release labels Dec 8, 2020
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 8, 2020
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/chalk-4.1.0 branch from 471f9f7 to fe2edfa Compare December 9, 2020 03:39
@wagnermaciel wagnermaciel force-pushed the dependabot/npm_and_yarn/chalk-4.1.0 branch from cc3875a to b12abe2 Compare December 11, 2020 16:44
Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmalerba mmalerba added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Dec 14, 2020
@mmalerba mmalerba force-pushed the dependabot/npm_and_yarn/chalk-4.1.0 branch from b12abe2 to c4d8b46 Compare December 15, 2020 01:40
@mmalerba mmalerba merged commit 75d9ac0 into master Dec 15, 2020
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/chalk-4.1.0 branch December 15, 2020 05:41
wagnermaciel added a commit to wagnermaciel/components that referenced this pull request Jan 14, 2021
* build: bump chalk from 2.4.2 to 4.1.0

Bumps [chalk](https://github.com/chalk/chalk) from 2.4.2 to 4.1.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](chalk/chalk@v2.4.2...v4.1.0)

Signed-off-by: dependabot[bot] <[email protected]>

* build: update import statements for chalk

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: wagnermaciel <[email protected]>
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project cla: yes PR author has agreed to Google's Contributor License Agreement target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants