midwayjs / hooks

"Zero" Api / Type Safe / Fullstack Kit / Powerful Backend
MIT License
689 stars 63 forks source link

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

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

chalk/chalk ### [`v5.2.0`](https://togithub.com/chalk/chalk/releases/tag/v5.2.0) [Compare Source](https://togithub.com/chalk/chalk/compare/v5.1.2...v5.2.0) - Improve Deno compatibility ([#​579](https://togithub.com/chalk/chalk/issues/579)) [`7443e9f`](https://togithub.com/chalk/chalk/commit/7443e9f) - Detect true-color support for GitHub Actions ([#​579](https://togithub.com/chalk/chalk/issues/579)) [`7443e9f`](https://togithub.com/chalk/chalk/commit/7443e9f) - Detect true-color support for Kitty terminal ([#​579](https://togithub.com/chalk/chalk/issues/579)) [`7443e9f`](https://togithub.com/chalk/chalk/commit/7443e9f) - Fix test for Azure DevOps environment ([#​579](https://togithub.com/chalk/chalk/issues/579)) [`7443e9f`](https://togithub.com/chalk/chalk/commit/7443e9f) ### [`v5.1.2`](https://togithub.com/chalk/chalk/releases/tag/v5.1.2) [Compare Source](https://togithub.com/chalk/chalk/compare/v5.1.1...v5.1.2) - Fix exported styles names ([#​569](https://togithub.com/chalk/chalk/issues/569)) [`a34bcf6`](https://togithub.com/chalk/chalk/commit/a34bcf6) ### [`v5.1.1`](https://togithub.com/chalk/chalk/releases/tag/v5.1.1) [Compare Source](https://togithub.com/chalk/chalk/compare/v5.1.0...v5.1.1) - Improved the names of exports introduced in 5.1.0 ([#​567](https://togithub.com/chalk/chalk/issues/567)) [`6e0df05`](https://togithub.com/chalk/chalk/commit/6e0df05) - We of course preserved the old names. ### [`v5.1.0`](https://togithub.com/chalk/chalk/releases/tag/v5.1.0) [Compare Source](https://togithub.com/chalk/chalk/compare/v5.0.1...v5.1.0) - Expose style names ([#​566](https://togithub.com/chalk/chalk/issues/566)) [`d7d7571`](https://togithub.com/chalk/chalk/commit/d7d7571) ### [`v5.0.1`](https://togithub.com/chalk/chalk/releases/tag/v5.0.1) [Compare Source](https://togithub.com/chalk/chalk/compare/v5.0.0...v5.0.1) - Add `main` field to package.json for backwards compatibility with some developer tools [`85f7e96`](https://togithub.com/chalk/chalk/commit/85f7e96) ### [`v5.0.0`](https://togithub.com/chalk/chalk/releases/tag/v5.0.0) [Compare Source](https://togithub.com/chalk/chalk/compare/v4.1.2...v5.0.0) ##### Breaking - **This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - If you use TypeScript, you need to use TypeScript 4.7 or later. [Why.](https://togithub.com/microsoft/TypeScript/issues/46452) - 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`](https://togithub.com/chalk/chalk/commit/fa16f4e) - Move some properties off the default export to individual named exports: - `chalk.Instance` → `Chalk` - `chalk.supportsColor` → `supportsColor` - `chalk.stderr` → `chalkStderr` - `chalk.stderr.supportsColor` → `supportsColorStderr` - Remove `.keyword()`, `.hsl()`, `.hsv()`, `.hwb()`, and `.ansi()` coloring methods ([#​433](https://togithub.com/chalk/chalk/issues/433)) [`4cf2e40`](https://togithub.com/chalk/chalk/commit/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](https://togithub.com/Qix-/color-convert). - The tagged template literal support moved into a separate package: [`chalk-template`](https://togithub.com/chalk/chalk-template) ([#​524](https://togithub.com/chalk/chalk/issues/524)) [`c987c61`](https://togithub.com/chalk/chalk/commit/c987c61) ```diff -import chalk from 'chalk'; +import chalkTemplate from 'chalk-template'; -chalk`2 + 3 = {bold ${2 + 3}}`; +chalkTemplate`2 + 3 = {bold ${2 + 3}}`; ``` ##### Improvements - Bundle dependencies [`04fdbd6`](https://togithub.com/chalk/chalk/commit/04fdbd6) - This means Chalk no longer has any dependencies 🎉 - [The install size is less than half of v4.](https://packagephobia.com/result?p=chalk) - Add `overline` style ([#​433](https://togithub.com/chalk/chalk/issues/433)) [`4cf2e40`](https://togithub.com/chalk/chalk/commit/4cf2e40) - Preserve function prototype methods ([#​434](https://togithub.com/chalk/chalk/issues/434)) [`0fba91b`](https://togithub.com/chalk/chalk/commit/0fba91b)

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 becomes conflicted, or you tick the rebase/retry checkbox.

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



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

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 2fc5f43c2acf1a5bcaf45ac60d707b3c87fa9ffc

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.

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

github-actions[bot] commented 1 year ago

GPT summary of 2fc5f43c2acf1a5bcaf45ac60d707b3c87fa9ffc:

PR summary so far:

renovate[bot] commented 1 year ago

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.