Sourced from ansis's changelog.
3.6.0 (2025-01-04)
feat: remove undocumented pointless dummy function
ansis(any)
[!WARNING] This is not a BREAKING CHANGE because it was never officially documented!
import ansis from 'ansis'; ansis('text'); <= now will occur the ERROR TS2349: This expression is not callable.
This warning applies only to projects where Chalk was replaced with Ansis and something like
chalk('text')
was used.Just replace
ansis('text')
with'text'
.The
ansis('text')
function was a dummy and did nothing except return the same input string.chore: update license to current date