Update chalk to the latest version 🚀 #660
Open
+77
−38
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.
The devDependency chalk was updated from
2.4.0to3.0.0.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Publisher: sindresorhus
License: MIT
Release Notes for v3.0.0
Thanks to @stroncium for his hard work on this. 🙌
Breaking
.enabledproperty in favor of.level(#356) 1f77953chalk.constructor()in favor ofchalk.Instance()(#322) de2f4cdMinor breaking
flow-typed).ChalkOptionsTypeScript type toOptionscf66156dimstyle workaround for Windows (#331) cd5de7abluecolor workaround for Windows (#330) 2ca015cEnhancements
chalk.stderrfor printing to stderr (#359) 2a53389blackBrightcolor. It's the same as thegraycolor, but added for consistency. c25c32aansi256andbgAnsi256to TypeScript declaration (#368) fb8e85aansiandbgAnsito TypeScript declaration (#369) 18c280dColor detection
FORCE_COLORenvironment variable can now be used to force a certain color level (#315) af4a078TERM=dumbhigher priority in the color detection chalk/supports-color@8d6a7b5Fixes
supportsColorwhich is top‑level only (#342) b3e9b91chalk.supportsColor(#347) d82b2a6unknowninstead of juststring(#316) 7f6e563v2.4.1...v3.0.0
Commits
The new version differs by 55 commits.
20002d83.0.0b393018Meta tweaks18c280dAddansiandbgAnsito TypeScript declaration (#369)628b595Tidelift tasks4de18413.0.0-beta.2fb8e85aAddansi256andbgAnsi256to TypeScript declarations (#368)eef8c8cReplace level list with table in readme.md (#367)48905d03.0.0-beta.11953816Update dependencies61aca7cImprove require speed (#358)4e65299Fix const enum for TypeScript (#364)2a53389Addchalk.stderr(#359)6b4d206Export TypeScript types for colors and modifiers (#357)1f77953Remove the.enabledproperty in favor of.level(#356)87156ceFix support for nested styles (#335)There are 55 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴