This repository was archived by the owner on Oct 16, 2020. 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 PR contains the following updates:
Release Notes
chalk/chalk
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
Thanks to @stroncium for his hard work on this. 🙌
Breaking
3ef170b
.enabled
property in favor of.level
(#356)1f77953
- Why: It was confusing to users to have two properties for detecting color support.
- Migrate:
chalk.constructor()
in favor ofchalk.Instance()
(#322)de2f4cd
- Migrate:
Minor breaking
98628d9
- Why: Faking default export for TypeScript broke IntelliSense for JavaScript.
- Migrate:
d3be9c6
- Why: None of us use Flow and we were not good at maintaining the type definition. You can get the types at flow-typed (needs to be updated to Chalk v3, open an issue on
flow-typed
).ChalkOptions
TypeScript type toOptions
cf66156
dim
style workaround for Windows (#331)cd5de7a
- Why: The issue was fixed in newer Windows 10 builds.
blue
color workaround for Windows (#330)2ca015c
- Why: The issue was fixed in newer Windows 10 builds.
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
79d1303
TERM=dumb
higher priority in the color detection chalk/supports-color@8d6a7b5
ed0fe39
Fixes
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
f95d9ec
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
7c6f83f
v2.3.2
Compare Source
b764af9
d6e08c8
chalk.ansi256
when in a terminal with 256-color level support. chalk/ansi-styles@1ac7472
v2.3.1
Compare Source
level
when forcing color. chalk/supports-color@b16e9a4
cf7bd05
v2.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.dc092b4
7be154c
v2.2.2
Compare Source
Renovate configuration
📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.
🚦 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 has been generated by WhiteSource Renovate. View repository job log here.