[Snyk] Upgrade chalk from 2.3.1 to 4.1.0 #4
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 2.3.1 to 4.1.0.
ℹ️ 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.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: chalk
v4.0.0...v4.1.0
Breaking
Level
TypeScript type to be a union instead of enum f0f4638Improvements
Object.setPrototypeOf
as__proto__
could potentially be disabled (#387) 63469d3v3.0.0...v4.0.0
Thanks to @ stroncium for his hard work on this. 🙌
Breaking
.enabled
property in favor of.level
(#356) 1f77953chalk.constructor()
in favor ofchalk.Instance()
(#322) de2f4cdMinor breaking
flow-typed
).ChalkOptions
TypeScript type toOptions
cf66156dim
style workaround for Windows (#331) cd5de7ablue
color workaround for Windows (#330) 2ca015cEnhancements
chalk.stderr
for printing to stderr (#359) 2a53389blackBright
color. It's the same as thegray
color, but added for consistency. c25c32aansi256
andbgAnsi256
to TypeScript declaration (#368) fb8e85aansi
andbgAnsi
to TypeScript declaration (#369) 18c280dColor detection
FORCE_COLOR
environment variable can now be used to force a certain color level (#315) af4a078TERM=dumb
higher priority in the color detection chalk/supports-color@8d6a7b5Fixes
supportsColor
which is top‑level only (#342) b3e9b91chalk.supportsColor
(#347) d82b2a6unknown
instead of juststring
(#316) 7f6e563v2.4.1...v3.0.0
While this is a beta release, the code is well-tested and fairly stable.
We encourage you to test it out and report any issues.
See the beta 1 release notes for more.
ansi256
andbgAnsi256
to TypeScript declarations (#368) fb8e85av3.0.0-beta.1...v3.0.0-beta.2
Read more
This release is done from the
v2-release
branch, asmaster
branch targets the work-in-progress v3 release.v2.4.0...v2.4.1
v2.3.2...v2.4.0
chalk.ansi256
when in a terminal with 256-color level support. chalk/ansi-styles@1ac7472v2.3.1...v2.3.2
Read more
Commit messages
Package name: chalk
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs