Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 2.49 KB

CHANGELOG.md

File metadata and controls

38 lines (24 loc) · 2.49 KB

Changelog

  • Moved TypeScript declarations to a d.ts file (#82)
  • Reworked color detection algorithm to properly work with empty strings in NO_COLOR and FORCE_COLOR env variables (#87)
  • Eliminated require() call to make the package compatible with some tools (#87)
  • Added bright color variants (#55)
  • Updated color detection mechanism to work properly on Vercel Edge Runtime (#64)
  • Remove use of recursion to avoid possible stack overflow for very long inputs (#56)
  • Removed several code elements to reduce the package size (#31)
  • Fixed optional flag for createColors() in TypeScript typings (#34)
  • Removed semicolons to reduce the package size (#28)
  • Fixed type definitions (#29)
  • Made createColors() use isColorSupported if no flag was provided (aaf57e1)
  • Removed ESM Module to fix the rest of compatibility issues and reduce package size (#26)
  • Added support for non-string inputs (3276400)
  • Added CommonJS support (#7)
  • Ensured Node.js 6+ support (#8)
  • Added Browsers support (#10)