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

postcss-minify-params

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-params - npm Package Compare versions

Comparing version

to
1.0.1

15

index.js
var postcss = require('postcss');
var parser = require('postcss-value-parser');
var stringify = parser.stringify;
var trim = parser.trim;
var natural = require('javascript-natural-sort');
var uniqs = require('uniqs');
function trim(nodes) {
if (nodes.length) {
if (nodes[0].type === 'space') {
nodes.shift();
}
}
if (nodes.length) {
if (nodes[nodes.length - 1].type === 'space') {
nodes.pop();
}
}
}
function split(nodes, div) {

@@ -22,0 +9,0 @@ var i, max, node;

4

package.json
{
"name": "postcss-minify-params",
"version": "1.0.0",
"version": "1.0.1",
"description": "Minify at-rule params with PostCSS",

@@ -26,3 +26,3 @@ "keywords": [

"postcss": "^5.0.2",
"postcss-value-parser": "^1.3.0",
"postcss-value-parser": "^1.4.2",
"uniqs": "^2.0.0"

@@ -29,0 +29,0 @@ },