postcss-calc
Advanced tools
Comparing version 4.1.0 to 5.0.0
@@ -0,1 +1,6 @@ | ||
# 5.0.0 - 2015-08-25 | ||
- Removed: compatibility with postcss v4.x | ||
- Added: compatibility with postcss v5.x | ||
# 4.1.0 - 2015-04-09 | ||
@@ -2,0 +7,0 @@ |
@@ -6,3 +6,3 @@ /** | ||
var helpers = require("postcss-message-helpers") | ||
var postcss = require("postcss"); | ||
var postcss = require("postcss") | ||
@@ -18,3 +18,3 @@ /** | ||
return function(style) { | ||
style.eachDecl(function transformDecl(decl) { | ||
style.walkDecls(function transformDecl(decl) { | ||
if (!decl.value || decl.value.indexOf("calc(") === -1) { | ||
@@ -40,2 +40,2 @@ return | ||
} | ||
}); | ||
}) |
{ | ||
"name": "postcss-calc", | ||
"version": "4.1.0", | ||
"version": "5.0.0", | ||
"description": "PostCSS plugin to reduce calc()", | ||
@@ -19,4 +19,2 @@ "keywords": [ | ||
"files": [ | ||
"CHANGELOG.md", | ||
"LICENSE", | ||
"index.js" | ||
@@ -27,14 +25,12 @@ ], | ||
"reduce-css-calc": "^1.2.0", | ||
"postcss": "^4.1.11" | ||
"postcss": "^5.0.2" | ||
}, | ||
"devDependencies": { | ||
"jscs": "^1.6.2", | ||
"jshint": "^2.5.6", | ||
"postcss-custom-properties": "^3.0.0", | ||
"eslint": "^1.0.0", | ||
"postcss-custom-properties": "^5.0.0", | ||
"tape": "^3.0.0" | ||
}, | ||
"scripts": { | ||
"lint": "jscs *.js **/*.js && jshint . --exclude-path .gitignore", | ||
"test": "npm run lint && tape test" | ||
"test": "eslint . && tape test" | ||
} | ||
} |
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
3
6664
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedjs-base64@2.6.4(transitive)
+ Addedpostcss@5.2.18(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.03.2.3(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedes6-promise@2.3.0(transitive)
- Removedjs-base64@2.1.9(transitive)
- Removedpostcss@4.1.16(transitive)
- Removedsource-map@0.4.4(transitive)
Updatedpostcss@^5.0.2