[Snyk] Upgrade chalk from 1.1.3 to 3.0.0 #9
Merged
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 1.1.3 to 3.0.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
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
Or if you have
esModuleInterop
enabled: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
This release has been in development for more than a year and massively improves performance and the time it takes to import Chalk. Thanks to @stroncium for his hard work on this.
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.
Breaking
.enabled
property in favor of.level
(#356) 1f77953chalk.constructor()
in favor ofchalk.Instance()
(#322) de2f4cdMinor breaking
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. c25c32aColor 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-beta.1
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
level
when forcing color. chalk/supports-color@b16e9a4v2.3.0...v2.3.1
.visible()
method for emitting text only when Chalk is enabled. This can be useful for purely cosmetic content that shouldn't be shown when there are no colors, like when piping the output. dc092b4v2.2.0...v2.3.0
v2.2.2
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