Socket
Socket
Sign inDemoInstall

csso

Package Overview
Dependencies
3
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
9Next

4.0.2

Diff

Changelog

Source

4.0.2 (October 28, 2019)

  • Fixed clean stage to avoid exceptions when source has unparsed or bad parts (#380)
  • Fixed wrong percentage sign removal for zero values (#395)
lahmatiy
published 4.0.1 •

Changelog

Source

4.0.1 (October 22, 2019)

lahmatiy
published 4.0.0 •

Changelog

Source

4.0.0 (October 21, 2019)

  • Dropped support for Node.js < 8
  • Refreshed dev dependencies and scripts
  • Bumped CSSTree to 1.0.0-alpha.36 (#399)
  • Changed bundle files: dist/csso.js and dist/csso.min.js instead single dist/csso-browser.js (min version)
  • Expose compress() as syntax.compress()
lahmatiy
published 3.5.1 •

Changelog

Source

3.5.1 (June 7, 2018)

  • Bumped CSSTree to 1.0.0-alpha.29 (fixes some issues)
lahmatiy
published 3.5.0 •

Changelog

Source

3.5.0 (January 14, 2018)

lahmatiy
published 3.4.0 •

Changelog

Source

3.4.0 (November 3, 2017)

  • Added percent sign removal for zero percentages for some properties that is safe (@RubaXa, #286)
  • Removed unit removal for zero values in -ms-flex due it breaks flex in IE10/11 (#362)
  • Improved performance of selectors comparison (@smelukov, #343)
lahmatiy
published 3.3.1 •

Changelog

Source

3.3.1 (October 17, 2017)

  • Fixed merge of position declarations when sticky fallback is using (@gruzzilkin, #356)
lahmatiy
published 3.3.0 •

Changelog

Source

3.3.0 (October 12, 2017)

  • Migrated to CSSTree 1.0.0-alpha25
    • Changed AST format (see CSSTree change log for details)
    • Fixed performance issue when generate CSS with source map (quadratic increase in time depending on the size of the CSS)
lahmatiy
published 3.2.0 •

Changelog

Source

3.2.0 (September 10, 2017)

  • Fixed named color compression to apply only when an identifier is guaranteed to be a color
  • Added lifting of @keyframes to the beginning of style sheet (chunk), but after @charset and @import rules
  • Added removal of @keyframes, @media and @supports with no prelude
  • Added removal of duplicate @keyframes (#202)
  • Added new option forceMediaMerge to force media rules merging. It's unsafe in general, but works fine in many cases. Use it on your own risk (#350)
  • Bumped CSSTree to 1.0.0-alpha23
lahmatiy
published 3.1.1 •

Changelog

Source

3.1.1 (April 25, 2017)

  • Fixed crash on a number processing when it used not in a list (#335)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc