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
Previous1245
9Next

3.1.0

Diff

Changelog

Source

3.1.0 (April 24, 2017)

  • Implemented optimisation for none keyword in border and outline properties (@zoobestik, #41)
  • Implemented replacing rgba(x, x, x, 0) to transparent
  • Fixed plus sign omitting for numbers following identifier, hex color, number or unicode range, since it can change the meaning of CSS (e.g. calc(1px+2px) has been optimized to calc(1px2px) before, now it stays the same)
  • Improved usage filtering for nested selectors (i.e. for :nth-*(), :has(), :matches and other pseudos)
  • Implemented blacklist filtering in usage (#334, see Black list filtering)
  • Improved white space removing, now white spaces are removing in the beginning and at the ending of sequences, and between stylesheet and block nodes
  • Bumped CSSTree to 1.0.0-alpha19
lahmatiy
published 3.0.1 •

Changelog

Source

3.0.1 (March 14, 2017)

  • Fixed declaration merging when declaration contains an !important
lahmatiy
published 3.0.0 •

Changelog

Source

3.0.0 (March 13, 2017)

  • Migrated to CSSTree as AST backend and exposed its API behind syntax property
  • Extracted CLI into standalone package css/csso-cli
lahmatiy
published 2.3.2 •

lahmatiy
published 2.3.1 •

Changelog

Source

2.3.1 (January 6, 2017)

  • Added \0 IE hack support (#320)
lahmatiy
published 2.3.0 •

Changelog

Source

2.3.0 (October 25, 2016)

  • Added beforeCompress and afterCompress options support (#316)
  • Fixed crash on empty argument in function (#317)
lahmatiy
published 2.2.1 •

Changelog

Source

2.2.1 (July 25, 2016)

  • Fixed shorthand optimisation issue when value has a color value or something unknown (#311)
  • Fixed cursor broken fallback (#306)
lahmatiy
published 2.2.0 •

Changelog

Source

2.2.0 (June 23, 2016)

  • Implement AST cloning by adding clone() function and clone option for compress() function (#296)
  • Fix parse and translate attribute selector with flags but w/o operator (i.e. [attrName i])
  • Don't merge rules with flagged attribute selectors with others (#291)
  • Take in account functions when merge TRBL-properties (#297, thanks to @ArturAralin)
  • Improve partial merge (#304)
  • Tweak scanner, reduce code deoptimizations and other small improvements
lahmatiy
published 1.8.2 •

lahmatiy
published 2.1.1 •

Changelog

Source

2.1.1 (May 11, 2016)

  • Fix wrong declaration with \9 hack merge (#295)
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