SmartBear / git-en-boite

Web service facade for interacting with git repos on various providers - GitHub/BitBucket/GitLab etc.
MIT License
18 stars 7 forks source link

Update dependency chalk to v5 #828

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

This PR contains the following updates:

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

Release Notes

chalk/chalk ### [`v5.0.0`](https://togithub.com/chalk/chalk/releases/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 will want to stay on Chalk 4 until TypeScript 4.6 is out. [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) ### [`v4.1.2`](https://togithub.com/chalk/chalk/releases/v4.1.2) [Compare Source](https://togithub.com/chalk/chalk/compare/v4.1.1...v4.1.2) - Readme updates

Configuration

📅 Schedule: 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.