All Versions
31
Latest Version
Avg Release Cycle
76 days
Latest Release
104 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v3.5.2 Changes
January 02, 2025v3.5.2
๐ Features
- ๐ฆ Optimised the npm package size from
10.3kB to7.0 kB.
Now, Ansis is the
smallestyet most powerful library withrich functionality.
A slightly smaller ispicocolors(6.4 kB), but it offers onlybasic functionality.- โ Added detection of the
xterm-directterminal as supportingtruecolor. - โ Added support for the
COLORTERMenvironment variable with the following values:truecolor,24bit,ansi256,ansi(16 colors).
๐ Bug Fixes (TypeScript)
- ๐ Fixed default import in
TypeScriptcompiled withtsc:
import ansis from 'ansis'now works so well asimport * as ansis from 'ansis'. - ๐ Fixed the TS2339: Property 'strip' does not exist on type when the
tscoptionmoduleisnode16.
- ๐ฆ Optimised the npm package size from
-
v3.4.0 Changes
December 23, 2024v3.4.0
๐ Cumulative Release v3.3.2 - v3.4.0
๐ Bug Fixes
- ๐ Correct detect TTY on Windows platform.
Chore
- ๐ฆ Optimised the npm package to reduce size by ~1.1 kB, from 11.4 kB to 10.3 kB.
- โ Added benchmarks for
koloristpackage. - โ Added new representative benchmarks by using combination of 1, 2, 3 and 4 styles.
- ๐จ Refactor: invisible code optimisations.
-
v1.5.4 Changes
September 14, 2022- ๐ fix: visible style with nested template strings
-
v1.5.3 Changes
September 14, 2022- ๐ fix: set correct aliases for bgAnsi and fg methods by named export
- ๐จ chore: refactor examples
- ๐ docs: update readme
-
v1.5.2 Changes
September 10, 2022- ๐ fix: regard the value of the environment variable FORCE_COLOR=0 to force disable colors
- โ test: added tests for FORCE_COLOR
- ๐ docs: update readme
-
v1.5.1 Changes
September 08, 2022- ๐ fix: added missing export for CJS mode in package.json
- โ test: added manual tests for CJS and ESM mode
-
v1.5.0 Changes
September 08, 2022- ๐ DEPRECATE v1.5.0, because missing exports main for CJS mode, fixed in v1.5.1
-
v1.4.0 Changes
July 02, 2022- ๐ feat: add method strip() to remove all ANSI codes from string
-
v1.3.6 Changes
April 27, 2022- ๐ build: properly generated distribution package, bump to last stable version 1.3.6
- โก๏ธ chore: update dev packages
-
v1.3.5 Changes
April 27, 2022- ๐ DEPRECATED: this version is broken