postcss-calc
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -0,1 +1,6 @@ | ||
# 5.2.1 - 2016-04-10 | ||
- Fixed: support for multiline value | ||
([#27](https://github.com/postcss/postcss-calc/pull/27)) | ||
# 5.2.0 - 2016-01-08 | ||
@@ -2,0 +7,0 @@ |
@@ -8,3 +8,3 @@ /** | ||
var CONTAINS_CALC = /calc\(.*\)/ | ||
var CONTAINS_CALC = /\bcalc\([\s\S]*?\)/ | ||
@@ -11,0 +11,0 @@ /** |
{ | ||
"name": "postcss-calc", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "PostCSS plugin to reduce calc()", | ||
@@ -25,2 +25,3 @@ "keywords": [ | ||
"eslint": "^1.0.0", | ||
"npmpub": "^3.1.0", | ||
"postcss-custom-properties": "^5.0.0", | ||
@@ -30,4 +31,5 @@ "tape": "^3.0.0" | ||
"scripts": { | ||
"test": "eslint . && tape test" | ||
"test": "eslint . && tape test", | ||
"release": "npmpub" | ||
} | ||
} |
@@ -68,2 +68,6 @@ # postcss-calc [![Build Status](https://travis-ci.org/postcss/postcss-calc.png)](https://travis-ci.org/postcss/postcss-calc) | ||
height: calc(100px - 2em); | ||
margin-bottom: calc( | ||
var(--main-font-size) | ||
* 1.5 | ||
) | ||
} | ||
@@ -81,3 +85,4 @@ ``` | ||
font-size: 32px; | ||
height: calc(100px - 2em) | ||
height: calc(100px - 2em); | ||
margin-bottom: 24px | ||
} | ||
@@ -84,0 +89,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8221
153
4