postcss-minify-params
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -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 @@ |
{ | ||
"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 @@ }, |
4
7755
94
- Removedalphanum-sort@^1.0.2
- Removedalphanum-sort@1.0.2(transitive)
Updatedcssnano-utils@^3.0.1