parse-css-font
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -0,1 +1,4 @@ | ||
## 3.0.2 | ||
- Fix parsing of `1rem / 1.2` when the slash is surrounded by spaces. | ||
## 3.0.1 | ||
@@ -2,0 +5,0 @@ - Fix readme. |
@@ -67,2 +67,6 @@ "use strict"; | ||
} | ||
else if (tokens[0] === '/') { | ||
tokens.shift(); | ||
font.lineHeight = parseLineHeight(tokens.shift()); | ||
} | ||
if (!tokens.length) { | ||
@@ -69,0 +73,0 @@ throw error('Missing required font-family.'); |
{ | ||
"name": "parse-css-font", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Parse the CSS font property value.", | ||
@@ -66,6 +66,6 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/node": "^10.0.3", | ||
"@types/node": "^10.1.2", | ||
"ava": "^0.25.0", | ||
"concurrently": "^3.5.1", | ||
"nyc": "^11.7.1", | ||
"nyc": "^11.8.0", | ||
"rimraf": "^2.6.2", | ||
@@ -72,0 +72,0 @@ "tslint": "^5.10.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
8772
120