🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

reduce-css-calc

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reduce-css-calc - npm Package Versions

124

1.2.4

Diff
moox
published 1.2.4 •

Changelog

Source

1.2.4 - 2016-06-09

  • Fixed: zero values are not unitless anymore. Browsers do not calculate calc() with 0 unitless values. http://jsbin.com/punivivipo/edit?html,css,output (#11)
moox
published 1.2.3 •

Changelog

Source

1.2.3 - 2016-04-28

  • Fixed: wrong rouding in some edge cases (#10)
moox
published 1.2.2 •

Changelog

Source

1.2.2 - 2016-04-19

  • Fixed: Don't reduce expression containing CSS variables. (#9)
moox
published 1.2.1 •

Changelog

Source

1.2.1 - 2016-02-22

  • Fixed: uppercase letters in units are now supported (#8)
moox
published 1.2.0 •

Changelog

Source

1.2.0 - 2014-11-24

  • Decimal precision is now customisable as the precision option
moox
published 1.1.4 •

Changelog

Source

1.1.4 - 2014-11-12

  • 5 decimals rounding for everything
moox
published 1.1.3 •

Changelog

Source

1.1.3 - 2014-08-13

  • 5 decimals rounding for percentage
moox
published 1.1.2 •

Changelog

Source

1.1.2 - 2014-08-10

  • Prevent infinite loop by adding a Call stack overflow
  • Correctly ignore unrecognized values (safer evaluation for nested expressions, see postcss/postcss-calc#2)
  • Handle rounding issues (eg: 10% * 20% now give 2%, not 2.0000000000000004%)
moox
published 1.1.1 •

Changelog

Source

1.1.1 - 2014-08-06

  • Fix issue when using mutiples differents prefixes in the same function
moox
published 1.1.0 •

Changelog

Source

1.1.0 - 2014-08-06

  • support more complex formulas
  • use reduce-function-call
  • better error message