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

parse-css-font

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-css-font - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

3

CHANGELOG.md

@@ -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.');

6

package.json
{
"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",

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