Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ansis

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansis - npm Package Versions

13
6

3.4.0-beta.0

Diff

Changelog

Source

3.4.0-beta.0 (2024-12-12)

  • refactor: invisible code optimisations
  • refactor: optimize readme for npm package to save ~400 bytes
  • refactor: optimize index.d.ts for npm package to save ~500 bytes
  • test: refactor benchmark tests
  • test: add new representative benchmark tests for using 1, 2, 3 and 4 styles
  • test: add picocolors complex benchmark test
  • docs: update readme
webdiscus
published 3.3.2 •

Changelog

Source

3.3.2 (2024-07-23)

  • fix: correct detect TTY on Windows platform
  • chore: optimize code to reduce the size by ~50 bytes
  • chore: add benchmarks for kolorist package
  • test: add test matrix for windows on GitHub
  • docs: add compare the size of most popular packages
webdiscus
published 3.3.1 •

Changelog

Source

3.3.1 (2024-07-18)

  • chore: optimize code to reduce the size by ~600 bytes,
  • chore: minify index.d.ts to reduce the size by ~200 bytes,
  • chore: increase performance, e.g. using chained styles, 70.000.000 -> 80.000.000 ops/sec
webdiscus
published 3.3.0 •

Changelog

Source

3.3.0 (2024-07-14)

  • feat(BREAKING CHANGE): remove old named import DEPRECATED in v2.0.0 (2023-11-03). If you update the package from v1.x to v3.3.0 then check your code:
    ESM
    - import { red } from 'ansis/colors';
    + import { red } from 'ansis';
    
    CJS
    - const { red } = require('ansis/colors');
    + const { red } = require('ansis');
    
  • chore: cleanup/optimize package.json for npm package
webdiscus
published 3.2.1 •

Changelog

Source

3.2.1 (2024-07-12)

  • chore: reduce unpacked size by ~ 1 KB
  • docs: optimize README for NPM
webdiscus
published 3.2.0 •

Changelog

Source

3.2.0 (2024-04-24)

  • feat: add ansis.isSupported() method to detect color support
webdiscus
published 3.1.1 •

Changelog

Source

3.1.1 (2024-04-15)

  • fix: interpret FORCE_COLOR=false or FORCE_COLOR=0 as force disable colors
    others values, e.g., FORCE_COLOR=true or FORCE_COLOR=1 - force enable colors.
    See https://force-color.org.
webdiscus
published 3.1.0 •

Changelog

Source

3.1.0 (2024-04-10)

  • feat: add detection of color support when using PM2 process manager
webdiscus
published 3.0.3 •

Changelog

Source

3.0.3 (2024-04-09)

  • chore: add rollup-plugin-cleanup to remove comments from d.ts file for dist, that save yet 3 KB
  • chore: update license year
webdiscus
published 3.0.2 •

Changelog

Source

3.0.2 (2024-04-08)

  • chore: create mini version of README for NPM to minify package size
  • docs: update readme
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc