skovhus / jest-codemods

Codemods for migrating to Jest https://github.com/facebook/jest 👾
MIT License
881 stars 82 forks source link

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

Open renovate[bot] opened 2 months ago

renovate[bot] commented 2 months ago

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`](https://redirect.github.com/chalk/chalk/releases/tag/v5.3.0) [Compare Source](https://redirect.github.com/chalk/chalk/compare/v5.2.0...v5.3.0) - Add `sideEffects` field to package.json [`5aafc0a`](https://redirect.github.com/chalk/chalk/commit/5aafc0a) - Add support for Gitea Actions ([#​603](https://redirect.github.com/chalk/chalk/issues/603)) [`29b8569`](https://redirect.github.com/chalk/chalk/commit/29b8569) ### [`v5.2.0`](https://redirect.github.com/chalk/chalk/releases/tag/v5.2.0) [Compare Source](https://redirect.github.com/chalk/chalk/compare/v5.1.2...v5.2.0) - Improve Deno compatibility ([#​579](https://redirect.github.com/chalk/chalk/issues/579)) [`7443e9f`](https://redirect.github.com/chalk/chalk/commit/7443e9f) - Detect true-color support for GitHub Actions ([#​579](https://redirect.github.com/chalk/chalk/issues/579)) [`7443e9f`](https://redirect.github.com/chalk/chalk/commit/7443e9f) - Detect true-color support for Kitty terminal ([#​579](https://redirect.github.com/chalk/chalk/issues/579)) [`7443e9f`](https://redirect.github.com/chalk/chalk/commit/7443e9f) - Fix test for Azure DevOps environment ([#​579](https://redirect.github.com/chalk/chalk/issues/579)) [`7443e9f`](https://redirect.github.com/chalk/chalk/commit/7443e9f) ### [`v5.1.2`](https://redirect.github.com/chalk/chalk/releases/tag/v5.1.2) [Compare Source](https://redirect.github.com/chalk/chalk/compare/v5.1.1...v5.1.2) - Fix exported styles names ([#​569](https://redirect.github.com/chalk/chalk/issues/569)) [`a34bcf6`](https://redirect.github.com/chalk/chalk/commit/a34bcf6) ### [`v5.1.1`](https://redirect.github.com/chalk/chalk/releases/tag/v5.1.1) [Compare Source](https://redirect.github.com/chalk/chalk/compare/v5.1.0...v5.1.1) - Improved the names of exports introduced in 5.1.0 ([#​567](https://redirect.github.com/chalk/chalk/issues/567)) [`6e0df05`](https://redirect.github.com/chalk/chalk/commit/6e0df05) - We of course preserved the old names. ### [`v5.1.0`](https://redirect.github.com/chalk/chalk/releases/tag/v5.1.0) [Compare Source](https://redirect.github.com/chalk/chalk/compare/v5.0.1...v5.1.0) - Expose style names ([#​566](https://redirect.github.com/chalk/chalk/issues/566)) [`d7d7571`](https://redirect.github.com/chalk/chalk/commit/d7d7571) ### [`v5.0.1`](https://redirect.github.com/chalk/chalk/releases/tag/v5.0.1) [Compare Source](https://redirect.github.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://redirect.github.com/chalk/chalk/commit/85f7e96) ### [`v5.0.0`](https://redirect.github.com/chalk/chalk/releases/tag/v5.0.0) [Compare Source](https://redirect.github.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://redirect.github.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://redirect.github.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://redirect.github.com/chalk/chalk/issues/433)) [`4cf2e40`](https://redirect.github.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://redirect.github.com/Qix-/color-convert). - The tagged template literal support moved into a separate package: [`chalk-template`](https://redirect.github.com/chalk/chalk-template) ([#​524](https://redirect.github.com/chalk/chalk/issues/524)) [`c987c61`](https://redirect.github.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://redirect.github.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://redirect.github.com/chalk/chalk/issues/433)) [`4cf2e40`](https://redirect.github.com/chalk/chalk/commit/4cf2e40) - Preserve function prototype methods ([#​434](https://redirect.github.com/chalk/chalk/issues/434)) [`0fba91b`](https://redirect.github.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 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.



This PR was generated by Mend Renovate. View the repository job log.