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

postcss-calc

Package Overview
Dependencies
Maintainers
6
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-calc - npm Package Versions

134

8.2.1

Diff
ludovicofischer
published 8.2.1 •

Changelog

Source

8.2.1 (2022-01-11)

Bug Fixes

  • preserve brackets around functions (0b70a1d), closes #113 #115
ludovicofischer
published 8.2.0 •

Changelog

Source

8.2.0 (2022-01-07)

Features

ludovicofischer
published 8.1.0 •

Changelog

Source

8.1.0 (2022-01-03)

Features

semigradsky
published 8.0.0 •

Changelog

Source

8.0.0

  • Breaking: Updated PostCSS from v7.x to v8.x (#125)
evilebottnawi
published 7.0.5 •

Changelog

Source

7.0.5

  • Fixed: reduction
semigradsky
published 7.0.4 •

Changelog

Source

7.0.4

  • Fixed: strips away important factors from multiplications in calc() (#107)
evilebottnawi
published 7.0.3 •

Changelog

Source

7.0.3

  • Fixed: substracted css-variable from zero (#111)
semigradsky
published 7.0.2 •

Changelog

Source

7.0.2

  • Fixed: incorrect reduction of subtraction from zero (#88)
  • Fixed: doesn't remove calc for single function
  • Fixed: relax parser on unknown units (#76)
  • Fixed: handle numbers with exponen composed (#83)
  • Fixed: handle plus sign before value (#79)
  • Fixed: better handle precision for nested calc (#75)
  • Fixed: properly handle nested add and sub expression inside sub expression (#64)
  • Fixed: handle uppercase units and functions (#71)
  • Fixed: do not break calc with single var (cssnano/cssnano#725)
  • Updated: postcss to 7.0.27 (patch)
  • Updated: postcss-selector-parser to 6.0.2
  • Updated: postcss-value-parser to 4.0.2
jonathantneal
published 7.0.1 •

Changelog

Source

7.0.1

  • Updated: postcss to 7.0.2 (patch)
  • Updated: postcss-selector-parser to 5.0.0-rc.4 (patch)
  • Updated: postcss-value-parser to 3.3.1 (patch)
andyjansson
published 7.0.0 •

Changelog

Source

7.0.0

  • Changed: Updated postcss-selector-parser to version 5.0.0-rc.3
  • Changed: Dropped reduce-css-calc as a dependency
  • Fixed: Support constant() and env() (#42, #48)
  • Fixed: Support custom properties with "calc" in its name (#50)
  • Fixed: Remove unnecessary whitespace around * and / (cssnano#625)
  • Fixed: Arithmetic bugs around subtraction (#49)
  • Fixed: Handling of nested calc statements (reduce-css-calc#49)
  • Fixed: Bugs regarding complex calculations (reduce-cs-calc#45)
  • Fixed: 100% incorrectly being transformed to 1 (reduce-css-calc#44)
  • Added: support for case-insensitive calc statements