ansis
4.5.0 · 1 Nov 2026ISC56.7M / weekRepositoryHomepagenpmAtom feed
Upgrading ansis From 1.2.0 to 4.5.0
58 releases in betweenevery note read
- 34
- changes to make
- 0
- advisories fixed
- 64
- new
- 29
- fixes
Before you upgrade
Tick each one off as you go- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
- breaking4.0.0
Release by release
4.3.1 – 4.4.02 releases, nothing new or fixed in the notes
- new
Added
link(url, text?)for OSC 8 hyperlinks, supported by many terminal emulators, #44 - new
Added constructor overload to pass a mock
globalThisobject for controlled color auto-detection, #47
- new
4.2.0nothing new or fixed in the note
- new
0- no colors, - new
1- 16 colors, - new
2- 256 colors, - new
3- truecolor.
- new
- breaking
The
strikestyle was rarely (if ever) used and added unnecessary redundancy. - breaking
No usage of
ansis.strike()was found in public GitHub repositories. - breaking
Other ANSI libraries use the standard
strikethroughname exclusively. - breaking
90- officially "bright black" foreground (i.e.,gray) in terminal specs.
- breaking
3.16.0 – 3.17.02 releases, nothing new or fixed in the notes
- new
Reduce the package size by ~200 bytes.
- new
1 other line we could not sort, mostly version bumps
- 1.3.5
DEPRECATED: this version is broken
85 internal lines (docs, tests, tooling) left out.