This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
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.
This Pull Request updates dependency chalk from
^1.1.3
to^2.0.0
Release Notes
v2.0.0
Two years ago, @qix- asked me about adding 256/Truecolor support to Chalk. He soon after joined the Chalk team. And now we’re finally able to ship Truecolor support in Chalk!
Chalk has had an immense growth since the 1.0.0 release in 2015. It's now trusted by more than 17.000 packages, up from 3000, and it's the 5th most depended upon package on npm.
Highlights
Breaking changes
chalk.hasColor()
. Use thehas-ansi
package directly instead. chalk/chalk@04cae22chalk.stripColor()
. Use thestrip-ansi
package directly instead. chalk/chalk@04cae22chalk.styles
. Use theansi-styles
package directly instead. chalk/chalk@8702496256/Truecolor support
Chalk now supports 256 colors and Truecolor (16 million colors). Terminal apps like Hyper and iTerm supports Truecolor, enabling you to create really immersive CLI experiences. Chalk is smart enough to downsample the colors to whatever the terminal supports, so you can use any colors without having to think whether it's supported or not.
Read more in the docs.
chalk/chalk@cb3f230
Tagged template literal
Chalk now ships with a tagged template literal that makes it much nicer to create long strings with lots of different styling.
Read more in the docs.
chalk/chalk@f66271e
Other
All changes
Made with ♥ by Josh, [Sindre], and all our wonderful contributors.
v2.2.0
Chalk now comes with TypeScript type definitions built-in. chalk/chalk@f653b06
Note: It's incompatible with
@types/chalk
if you're currently using that:https://github.com/chalk/chalk/issues/215
v2.3.0
.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. chalk/chalk@dc092b4v2.3.1
level
when forcing color. chalk/supports-color@b16e9a4v2.3.2
chalk.ansi256
when in a terminal with 256-color level support. chalk/ansi-styles@1ac7472Commits
v2.0.0
2653218
meta tweaksfe2e4b0
update code of conduct6c3e573
test on Node.js 6a125eb0
OS X → macOSd939a3f
fix XO lint issue74c087d
minor doc improvements (#120)835ca3d
You've just reached 10,000 dependent modules. (#122)7c02cf4
Add log statement to chalk examples (#129)4ce73b6
make XO happy492f11f
add example file5a69476
add XO badge0d21449
check parent builder object for enabled status (#142)9b60021
Drop support for Node.js 0.10 and 0.12dbae68d
Update dependent package count in the readme (#154)cb3f230
Add RGB (256/Truecolor) support (#140)249b9ac
ES2015ify the codebase0412cdf
Minor code improvements8702496
Removechalk.styles
6f4d6b3
Bump dependencies1d73b21
Improve readme54975fb
TEMPORARY: emergency travis CI fix (see comments)523b998
Revert "TEMPORARY: emergency travis CI fix (see comments)"18f2e7c
add host information output608242a
spoof supports-color09fb2d8
Re-implementchalk.enabled
(#160)c015568
add rainbow example23ef1c7
fix linter errorsf66271e
Add tagged template literal (#163)3fca615
2.0.0v2.0.1
caeb7d8
fix missing TERM cases5827081
2.0.1v2.1.0
3d10f8f
Code style tweaks5ec90cb
Link to v2 release notes8d26c14
Minor meta tweaks23092ee
add note about brightBlack (ref chalk/ansi-styles#33)5cdd9ed
Demonstrate crash when using Truecolor methods and color is unsupported (#174)e8d28f3
Return emptystring
when there are no arguments (#183)4c4eb1f
Move testing toava
(#182)4c4ba2d
Fix template literal test7dbd8c3
Add related packages in the readme (#193)7a75399
Add failing template testsfbd17e7
Escape backslashes in template arguments (fixes #177)0827d3b
Fix level when supportsColor returns falsey (fixes #176, #175)f0c0178
Allow multiple arguments in base chalk object (fixes #187)106f086
Rewrite templating system (closes #186, fixes #184)69ac663
Fix undefined and null interpolated expressions (fixes #194)38f641a
v2.1.0v2.2.0
a9f0c77
Use aMap
and some minor regex tweaks37db75e
Add related package in the readme7898eda
Update chalk-pipe description5e6d5fd
Addstrip-ansi-stream
to related modulesf653b06
Add TypeScript definitions (#207)f0533f6
Bump dev dependenciesd86db88
2.2.0v2.2.2
4372d27
Add Awesome mentioned badgedc092b4
Add .visible for emitting text only when enabled (fixes #192)6adf579
2.2.1ede3103
add failing test for .visible buge2a4aa4
fix .visible when called after .enable is set to falsee1177ec
2.2.2v2.3.0
7be154c
TypeScript fixes (#217)14e0aa9
2.3.0v2.3.1
5392313
Correct HSV and HWB examplesa8c60e3
Fix spelling error in readme (#232)bc3dd75
Update usage stats in the readme (#242)6554030
Use svg screenshot011dd04
Fix usage example in the readme (#251)678152c
Update chalk to use the latest updates to supports-color (#247)b55dd79
Force bump dependenciesae8a03f
2.3.1v2.3.2
576d8d2
Update URL to XO12d1276
Fix linting5282300
Revert "Fix linting"925397a
Disable unicorn/no-unsafe-regex for template parsere80f02e
Disable unicorn/no-hex-escape for template tests245dfa5
Bump dependencies84f27d4
2.3.2This PR has been generated by Renovate Bot.