try
try copied to clipboard
fix(deps): update dependency colorette to v2
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
colorette | ^1.1.0 -> ^2.0.0 |
Release Notes
jorgebucaran/colorette
v2.0.20
v2.0.19
- Handle undefined
env
,argv
, andplatform
(#94).
v2.0.18
- Fix Vite support by @kibertoad (#92).
- Destructure
process
into constants (#93).
v2.0.17
- Color functions should always return a string (#88).
- Fix detection of dumb terminals on Windows (#91). Thank you, @MartinKolarik! 🙌
v2.0.16
- Doc tweaks, add 🌈.
- Format benchmark results.
v2.0.15
- Pre-compute index start search position.
v2.0.14
- Clear bleeding sequences via string slicing, rather than by using regexes (#84).
- Adapted from a similar technique used by @alexeyraspopov in picocolors. 🙌
- Add tests for Node
10
, which we still officially support (#83).
v2.0.13
- Add
--color
and--no-color
flag support (#77).
v2.0.12
- Reverse conditional expression (#78).
v2.0.11
- Avoid explicitly checking for
undefined
.- This improves runtime performance (but could be execution order dependent). All credit goes to @ai for the idea! 🙌
v2.0.10
- Don't use function default parameters for a small execution time improvement.
v2.0.9
- Use global
process
directly to improve package loading time.
v2.0.8
- Don't mutate variables inside color functions when casting to a string.
- Create color functions once, not on each call to
createColors
.
v2.0.7
- Revert Rollup's
--no-esModule
and--interop
(#73).
v2.0.6
v2.0.5
- Make sure
tty
exists (#64).
v2.0.4
- Let Rollup add the
__esModule
runtime toindex.cjs
. - Import
process
dependencies (#60). - Make sure
isatty
exists (#64).
v2.0.3
v2.0.2
- Declare
createColors
's options optional in type declarations (#71).
v2.0.1
- Don't add ANSI escape sequences around
""
orundefined
(#69).
v2.0.0
- Introduce new API to allow instance reuse (#42).
- New
createColors
function that returns an object with all the available color functions.- Color support is automatically detected, but you can override it via the
useColor
boolean property.
- Color support is automatically detected, but you can override it via the
- New
isColorSupported
property.true
if the terminal supports color,false
otherwise. - Remove
options.enabled
.
- New
v1.4.0
- Implement more robust
isTTY
check (#63). Thank you, @kibertoad.
v1.3.0
v1.2.2
v1.2.1
- Support ES modules (#44, #45). Thank you, @jorgebucaran & @ai.
- Switch to c8 for code coverage
v1.2.0
- Fix
FORCE_COLOR
bug (#41).-
FORCE_COLOR=0
does not disable color, for that useNO_COLOR
.
-
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.