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

postcss-minify-font-values

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-font-values - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

lib/minify-family.js

@@ -46,3 +46,7 @@ var stringify = require('postcss-value-parser').stringify;

if (node.type === 'string') {
if (!opts.removeQuotes || intersection(node.value, keywords)) {
if (
!opts.removeQuotes ||
intersection(node.value, keywords) ||
/[0-9]/.test(node.value.slice(0, 1))
) {
return stringify(node);

@@ -49,0 +53,0 @@ }

@@ -0,0 +0,0 @@ var unit = require('postcss-value-parser').unit;

5

package.json
{
"name": "postcss-minify-font-values",
"version": "1.0.2",
"version": "1.0.3",
"description": "Minify font declarations with PostCSS",

@@ -11,3 +11,4 @@ "main": "index.js",

"scripts": {
"test": "eslint index.js lib test && tape test/*.js | tap-spec"
"test": "tape test/*.js | tap-spec",
"posttest": "eslint index.js lib test"
},

@@ -14,0 +15,0 @@ "author": "Bogdan Chadkin <trysound@yandex.ru>",

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