Socket
Socket
Sign inDemoInstall

postcss-minify-params

Package Overview
Dependencies
12
Maintainers
8
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.3 to 5.0.4

10

dist/index.js

@@ -12,4 +12,2 @@ "use strict";

var _alphanumSort = _interopRequireDefault(require("alphanum-sort"));
var _cssnanoUtils = require("cssnano-utils");

@@ -46,5 +44,5 @@

function sortAndDedupe(items) {
return (0, _alphanumSort.default)([...new Set(items)], {
insensitive: true
}).join();
const a = [...new Set(items)];
a.sort();
return a.join();
}

@@ -99,3 +97,3 @@

function hasAllBug(browser) {
return ~['ie 10', 'ie 11'].indexOf(browser);
return ['ie 10', 'ie 11'].includes(browser);
}

@@ -102,0 +100,0 @@

8

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

@@ -15,3 +15,4 @@ "keywords": [

"files": [
"dist"
"dist",
"LICENSE"
],

@@ -26,5 +27,4 @@ "author": "Bogdan Chadkin <trysound@yandex.ru>",

"dependencies": {
"alphanum-sort": "^1.0.2",
"browserslist": "^4.16.6",
"cssnano-utils": "^3.0.0",
"cssnano-utils": "^3.0.1",
"postcss-value-parser": "^4.2.0"

@@ -31,0 +31,0 @@ },

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