Socket
Socket
Sign inDemoInstall

postcss-minify-font-values

Package Overview
Dependencies
13
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

lib/uniqs.js

0

index.js

@@ -0,0 +0,0 @@ var assign = require('object-assign');

@@ -0,0 +0,0 @@ var keywords = module.exports = {

9

lib/minify-family.js
var stringify = require('postcss-value-parser').stringify;
var uniqs = require('uniqs');
var uniqs = require('./uniqs')('monospace');
// Note that monospace is missing intentionally from this list; we should not
// remove instances of duplicated monospace keywords, it causes the font to be
// rendered smaller in Chrome.
var keywords = [

@@ -8,4 +12,3 @@ 'sans-serif',

'fantasy',
'cursive',
'monospace'
'cursive'
];

@@ -12,0 +15,0 @@

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

module.exports = function (value) {
return value === 'normal' ? '400' : value === 'bold' ? '700' : value;
};
{
"name": "postcss-minify-font-values",
"version": "1.0.3",
"version": "1.0.4",
"description": "Minify font declarations with PostCSS",

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

"postcss": "^5.0.4",
"postcss-value-parser": "^3.0.2",
"uniqs": "^2.0.0"
"postcss-value-parser": "^3.0.2"
},

@@ -36,0 +35,0 @@ "repository": {

@@ -0,0 +0,0 @@ # postcss-minify-font-values [![Build Status][ci-img]][ci]

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc