Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-calc

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-calc - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0

5

CHANGELOG.md

@@ -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

index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc