Socket
Socket
Sign inDemoInstall

ansis

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansis - npm Package Versions

2345

3.3.2

Diff

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
webdiscus
published 3.0.1 •

Changelog

Source

3.0.1 (2024-04-01)

  • refactor: improve code
  • chore: reduce code bundle size from 3.8 KB to 3.4 KB
  • chore: update benchmark
  • chore: update compare tests
  • test: add more tests
  • docs: improve readme

<a id="v3-0-0" name="v3-0-0"></a>

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