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

ansis

Package Overview
Dependencies
Maintainers
0
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansis - npm Package Versions

13
7

3.5.0-beta.4

Diff

Changelog

Source

3.5.0-beta.4 (2024-12-23)

  • docs: remove badges in readme for npm package to reduce package size
webdiscus
published 3.5.0-beta.3 •

Changelog

Source

3.5.0-beta.3 (2024-12-23)

  • docs: fix badge urls in readme for npm package
webdiscus
published 3.5.0-beta.2 •

Changelog

Source

3.5.0-beta.2 (2024-12-23)

  • refactor: optimise npm package to reduce the size by ~0.5 kB, from 8.0 kB to 7.5 kB
  • test: fix swc configuration for compiling into CJS
  • test: fix handling line endings on windows
webdiscus
published 3.5.0-beta.1 •

Changelog

Source

3.5.0-beta.1 (2024-12-23)

  • refactor: optimise npm package to reduce the size by ~1 kB, from 8.9 kB to 8.0 kB
webdiscus
published 3.5.0-beta.0 •

Changelog

Source

3.5.0-beta.0 (2024-12-21)

  • feat: add support for terminals where the GPG is installed. If GPG is installed, GPG_TTY will be set to ENV instead of isTTY.
  • fix: default import in TypeScript, compiled with tsc: import ansis from 'ansis' now works so well as import * as ansis from 'ansis'
  • refactor: optimise npm package to reduce size by ~1.3 kB, from 10.3 kB to 8.9 kB
  • refactor: optimize index.d.ts, remove insignificant spaces and words, use the type with dynamic properties instead of the interface
  • test: add integration tests to execute compiled TypeScript and compare outputs with expected strings
  • test: add tests for tsc, swc and esbuild compilers
webdiscus
published 3.4.0 •

Changelog

Source

3.4.0 (2024-12-14)

  • refactor: optimise npm package to reduce size by ~1 KB, from 11.3 kB to 10.3 kB
webdiscus
published 3.4.0-beta.1 •

Changelog

Source

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

  • fix: url to GitHub in readme for npm package
webdiscus
published 3.4.0-beta.0 •

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
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