Socket
Socket
Sign inDemoInstall

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 5.2.0 to 5.2.1

5

CHANGELOG.md

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

2

index.js

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

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