Skip to content

build: update dependency chalk to v5#44288

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/chalk-5.x
Closed

build: update dependency chalk to v5#44288
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/chalk-5.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Nov 26, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chalk ^4.1.0 -> ^5.0.0 age adoption passing confidence

Release Notes

chalk/chalk

v5.0.0

Compare Source

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 ↄ1�7 Chalk
    • chalk.supportsColor ↄ1�7 supportsColor
    • chalk.stderr ↄ1�7 chalkStderr
    • chalk.stderr.supportsColor ↄ1�7 supportsColorStderr
  • Remove .keyword(), .hsl(), .hsv(), .hwb(), and .ansi() coloring methods (# 1�7433) 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 (# 1�7524) 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: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone America/Tijuana.

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

♄1�7 Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate renovate Bot added action: review The PR is still awaiting reviews from at least one requested reviewer area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release labels Nov 26, 2021
@google-cla google-cla Bot added the cla: yes label Nov 26, 2021
@ngbot ngbot Bot modified the milestone: Backlog Nov 26, 2021
@devversion
Copy link
Copy Markdown
Member

This will require a little more work because chalk v5 is full ESM. We can change most of the build scripts to ESM but there is some tooling using @bazel/typescript which does not deal nicely with ESM yet.

I'm working on a proposal for dev-infra to use ESM in the full repo w/ Bazel. Then we can revisit this/or need anyway!

@devversion devversion added state: blocked and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 29, 2021
@devversion devversion removed their request for review November 29, 2021 14:18
@devversion devversion self-assigned this Nov 29, 2021
@pullapprove pullapprove Bot requested a review from devversion November 29, 2021 14:18
@devversion devversion marked this pull request as draft November 29, 2021 14:27
@renovate renovate Bot force-pushed the renovate/chalk-5.x branch from 12e2cd3 to 574f8c9 Compare December 14, 2021 00:14
@AndrewKushnir
Copy link
Copy Markdown
Contributor

Closing this PR for now as it's not actionable. Please reopen if needed.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Feb 3, 2022

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 5.x releases. However, if you upgrade to 5.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate Bot deleted the renovate/chalk-5.x branch February 3, 2022 19:55
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Mar 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: build & ci Related the build and CI infrastructure of the project cla: yes state: blocked target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants