[Snyk] Upgrade chalk from 4.1.2 to 5.4.1 #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade chalk from 4.1.2 to 5.4.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 9 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: chalk
-
5.4.1 - 2024-12-21
- Fix
-
5.4.0 - 2024-12-18
- Update
-
5.3.0 - 2023-06-29
- Add
- Add support for Gitea Actions (#603) 29b8569
-
5.2.0 - 2022-12-08
- Improve Deno compatibility (#579) 7443e9f
- Detect true-color support for GitHub Actions (#579) 7443e9f
- Detect true-color support for Kitty terminal (#579) 7443e9f
- Fix test for Azure DevOps environment (#579) 7443e9f
-
5.1.2 - 2022-10-12
- Fix exported styles names (#569) a34bcf6
-
5.1.1 - 2022-10-12
- Improved the names of exports introduced in 5.1.0 (#567) 6e0df05
- We of course preserved the old names.
-
5.1.0 - 2022-10-05
- Expose style names (#566) d7d7571
-
5.0.1 - 2022-03-08
- Add
-
5.0.0 - 2021-11-26
- 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:
- Remove
- These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the
- The tagged template literal support moved into a separate package:
-import chalk from 'chalk';
- Bundle dependencies 04fdbd6
- This means Chalk no longer has any dependencies 🎉
- The install size is less than half of v4.
- Add
- Preserve function prototype methods (#434) 0fba91b
-
4.1.2 - 2021-07-30
- Readme updates
from chalk GitHub release notesnavigatornot definedReferenceError(#642) 4ebb62dv5.4.0...v5.4.1
CIRCLECIenvironments to return level 3 color support f838120v5.3.0...v5.4.0
sideEffectsfield to package.json 5aafc0av5.2.0...v5.3.0
v5.1.2...v5.2.0
v5.1.1...v5.1.2
v5.1.0...v5.1.1
v5.0.1...v5.1.0
mainfield to package.json for backwards compatibility with some developer tools 85f7e96v5.0.0...v5.0.1
Breaking
chalk.Instance→Chalkchalk.supportsColor→supportsColorchalk.stderr→chalkStderrchalk.stderr.supportsColor→supportsColorStderr.keyword(),.hsl(),.hsv(),.hwb(), and.ansi()coloring methods (#433) 4cf2e40color-convertpackage.chalk-template(#524) c987c61+import chalkTemplate from 'chalk-template';
-chalk
2 + 3 = {bold ${2 + 3}};+chalkTemplate
2 + 3 = {bold ${2 + 3}};Improvements
overlinestyle (#433) 4cf2e40v4.1.0...v5.0.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: