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

chore(deps): update dependency chalk to v5 #575

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 26, 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.

Summary by CodeRabbit

  • New Features
    • Upgraded the chalk library to version 5.3.0, which may introduce new features and performance improvements.
  • Bug Fixes
    • The update may resolve potential issues from the previous version, enhancing overall stability.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 26, 2022
@changeset-bot
Copy link

changeset-bot bot commented Sep 26, 2022

⚠️ No Changeset found

Latest commit: 6570674

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from e979af1 to b7fc5bd Compare September 27, 2022 22:15
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from 2831dbf to 4970562 Compare October 12, 2022 12:53
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from 4970562 to dccc937 Compare October 12, 2022 19:40
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from 8c37266 to cf894c9 Compare November 3, 2022 02:08
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from cf894c9 to dde0359 Compare December 8, 2022 19:42
@renovate renovate bot changed the title chore(deps): update dependency chalk to v5 Update dependency chalk to v5 Dec 17, 2022
@renovate renovate bot changed the title Update dependency chalk to v5 chore(deps): update dependency chalk to v5 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from dde0359 to d714a05 Compare May 14, 2023 23:27
@renovate renovate bot force-pushed the renovate/chalk-5.x branch 17 times, most recently from dd238fd to 660a62c Compare July 5, 2023 00:12
@renovate renovate bot force-pushed the renovate/chalk-5.x branch from 23ff0b2 to d0a20b5 Compare April 4, 2024 00:08
Copy link
Contributor Author

renovate bot commented Apr 4, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
Internal Error: Error when performing the request to https://registry.npmjs.org/yarn; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at fetch (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22878:11)
    at async fetchAsJson (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22892:20)
    at async fetchLatestStableVersion (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22942:20)
    at async fetchLatestStableVersion2 (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22975:14)
    at async Engine.getDefaultVersion (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:23537:25)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:23644:30)
    at async BinaryCommand.validateAndExecute (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:21164:22)
    at async _Cli.run (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:22139:18)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.26.0/16.20.1/node_modules/corepack/dist/lib/corepack.cjs:24371:12)

@renovate renovate bot force-pushed the renovate/chalk-5.x branch from d0a20b5 to 98181a2 Compare April 7, 2024 23:51
Copy link
Contributor Author

renovate bot commented Aug 27, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21609
    throw new Error(
          ^

Error: Error when performing the request to https://registry.npmjs.org/yarn/latest; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at fetch (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21609:11)
    at async fetchAsJson (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21623:20)
    ... 4 lines matching cause stack trace ...
    at async Object.runMain (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23096:5) {
  [cause]: TypeError: globalThis.fetch is not a function
      at fetch (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21603:33)
      at async fetchAsJson (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21623:20)
      at async fetchLatestStableVersion (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21550:20)
      at async fetchLatestStableVersion2 (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
      at async Engine.getDefaultVersion (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22292:23)
      at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22390:47)
      at async Object.runMain (/opt/containerbase/tools/corepack/0.29.3/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23096:5)
}

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 3 times, most recently from 3c8cdd3 to aa9d66b Compare August 29, 2024 03:55
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 20dd169 and aa9d66b.

Files selected for processing (1)
  • packages/druxt/package.json (1 hunks)
Additional comments not posted (1)
packages/druxt/package.json (1)

46-46: LGTM! But verify compatibility with Node.js and TypeScript versions.

The update to chalk version 5.3.0 is approved. However, ensure that the project is compatible with Node.js version 12.20 or higher and TypeScript version 4.7 or later due to the transition to a pure ESM format.

The code changes are approved.

Run the following script to verify the Node.js and TypeScript versions used in the project:

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from be3edb3 to 58c136e Compare August 29, 2024 04:47
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between aa9d66b and 58c136e.

Files selected for processing (1)
  • packages/druxt/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/druxt/package.json

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from 421e7ed to 5d0db06 Compare August 29, 2024 05:13
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 58c136e and 5d0db06.

Files selected for processing (1)
  • packages/druxt/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/druxt/package.json

@renovate renovate bot force-pushed the renovate/chalk-5.x branch from 5d0db06 to a2246a3 Compare August 29, 2024 05:36
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 5d0db06 and a2246a3.

Files selected for processing (1)
  • packages/druxt/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/druxt/package.json

@renovate renovate bot force-pushed the renovate/chalk-5.x branch from a2246a3 to 81150bf Compare August 29, 2024 23:14
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between a2246a3 and 81150bf.

Files selected for processing (1)
  • packages/druxt/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/druxt/package.json

@renovate renovate bot force-pushed the renovate/chalk-5.x branch 2 times, most recently from 1f16c7e to 292e47e Compare August 29, 2024 23:46
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 81150bf and 292e47e.

Files selected for processing (1)
  • packages/druxt/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/druxt/package.json

@Decipher Decipher force-pushed the renovate/chalk-5.x branch from 292e47e to 6570674 Compare August 29, 2024 23:49
Copy link
Contributor Author

renovate bot commented Aug 29, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 292e47e and 6570674.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/druxt/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/druxt/package.json

@Decipher
Copy link
Member

Chalk v5 is an ESM module and will require changes to implement. Closing renovate MR.

@Decipher Decipher closed this Aug 29, 2024
Copy link
Contributor Author

renovate bot commented Aug 29, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/chalk-5.x branch August 29, 2024 23:53
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.

1 participant