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

reduce-css-calc

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reduce-css-calc - npm Package Compare versions

Comparing version

to
2.0.3

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 2.0.3 - 2017-05-09
- Fixed: Regression in handling decimals without having any numbers after
the decimal place (e.g. `10.px`).
# 2.0.2 - 2017-05-08

@@ -2,0 +7,0 @@

2

dist/parser.js

@@ -712,3 +712,3 @@ /* parser generated by jison 0.4.17 */

},
rules: [/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)px\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)cm\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)mm\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)in\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)pt\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)pc\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)deg\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)grad\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)rad\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)turn\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)s\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)ms\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)Hz\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)kHz\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)dpi\b)/,/^(?:([0-9]+(\.[0-9]+)?|\.[0-9]+)dpcm\b)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9]+(\.[0-9]*)?|\.[0-9]+)Hz\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)kHz\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)dpi\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)dpcm\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)dppx\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)em\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)ex\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)ch\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)rem\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)vw\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)vh\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)vmin\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)vmax\b)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)%)/,/^(?:([0-9]+(\.[0-9]*)?|\.[0-9]+)\b)/,/^(?:(calc))/,/^(?:(var\(.*\)))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:$)/],
conditions: {"INITIAL":{"rules":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"inclusive":true}}

@@ -715,0 +715,0 @@ });

{
"name": "reduce-css-calc",
"version": "2.0.2",
"version": "2.0.3",
"description": "Reduce CSS calc() function to the maximum",

@@ -5,0 +5,0 @@ "keywords": [