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 PR contains the following updates:
^1.0.0
->^5.0.0
Release Notes
chalk/chalk (chalk)
v5.3.0
Compare Source
sideEffects
field to package.json5aafc0a
29b8569
v5.2.0
Compare Source
7443e9f
7443e9f
7443e9f
7443e9f
v5.1.2
Compare Source
a34bcf6
v5.1.1
Compare Source
6e0df05
v5.1.0
Compare Source
d7d7571
v5.0.1
Compare Source
main
field to package.json for backwards compatibility with some developer tools85f7e96
v5.0.0
Compare Source
Breaking
fa16f4e
chalk.Instance
→Chalk
chalk.supportsColor
→supportsColor
chalk.stderr
→chalkStderr
chalk.stderr.supportsColor
→supportsColorStderr
.keyword()
,.hsl()
,.hsv()
,.hwb()
, and.ansi()
coloring methods (#433)4cf2e40
color-convert
package.chalk-template
(#524)c987c61
Improvements
04fdbd6
overline
style (#433)4cf2e40
0fba91b
v4.1.2
Compare Source
v4.1.1
Compare Source
v4.1.0
Compare Source
09ddbad
v4.0.0
Compare Source
Breaking
61999a4
Level
TypeScript type to be a union instead of enumf0f4638
Improvements
Object.setPrototypeOf
as__proto__
could potentially be disabled (#387)63469d3
v3.0.0
Compare Source
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. 🙌
Breaking
3ef170b
.enabled
property in favor of.level
(#356)1f77953
chalk.constructor()
in favor ofchalk.Instance()
(#322)de2f4cd
Minor breaking
98628d9
d3be9c6
flow-typed
).ChalkOptions
TypeScript type toOptions
cf66156
dim
style workaround for Windows (#331)cd5de7a
blue
color workaround for Windows (#330)2ca015c
Enhancements
c08417e
61aca7c
chalk.stderr
for printing to stderr (#359)2a53389
blackBright
color. It's the same as thegray
color, but added for consistency.c25c32a
9830948
6b4d206
ansi256
andbgAnsi256
to TypeScript declaration (#368)fb8e85a
ansi
andbgAnsi
to TypeScript declaration (#369)18c280d
Color detection
FORCE_COLOR
environment variable can now be used to force a certain color level (#315)af4a078
TERM=dumb
higher priority in the color detection chalk/supports-color@8d6a7b5Fixes
87156ce
4e65299
supportsColor
which is top‑level only (#342)b3e9b91
chalk.supportsColor
(#347)d82b2a6
unknown
instead of juststring
(#316)7f6e563
v2.4.2
Compare Source
This release is done from the
v2-release
branch, asmaster
branch targets the work-in-progress v3 release.v2.4.1
Compare Source
v2.4.0
Compare Source
v2.3.2
Compare Source
chalk.ansi256
when in a terminal with 256-color level support. chalk/ansi-styles@1ac7472v2.3.1
Compare Source
level
when forcing color. chalk/supports-color@b16e9a4v2.3.0
Compare Source
.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.2.2
Compare Source
v2.2.0
Compare Source
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/215v2.1.0
Compare Source
v2.0.1
Compare Source
v2.0.0
: 2.0.0Compare Source
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.
Configuration
📅 Schedule: Branch creation - "* 5 */14 * *" in timezone Europe/Stockholm, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.