cssnano-util-get-match
Advanced tools
Comparing version 4.0.0-rc.2 to 4.0.0
@@ -9,6 +9,4 @@ "use strict"; | ||
return function getMatch(args) { | ||
var match = args.reduce(function (list, arg, i) { | ||
return list.filter(function (keyword) { | ||
return keyword[1][i] === arg; | ||
}); | ||
const match = args.reduce((list, arg, i) => { | ||
return list.filter(keyword => keyword[1][i] === arg); | ||
}, map); | ||
@@ -15,0 +13,0 @@ if (match.length) { |
{ | ||
"name": "cssnano-util-get-match", | ||
"version": "4.0.0-rc.2", | ||
"version": "4.0.0", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,3 @@ "description": "Convert a list of keywords into a single keyword match.", | ||
"babel-cli": "^6.0.0", | ||
"cross-env": "^3.0.0" | ||
"cross-env": "^5.0.0" | ||
}, | ||
@@ -24,10 +24,10 @@ "author": { | ||
}, | ||
"repository": "ben-eb/cssnano", | ||
"homepage": "https://github.com/ben-eb/cssnano", | ||
"repository": "cssnano/cssnano", | ||
"homepage": "https://github.com/cssnano/cssnano", | ||
"bugs": { | ||
"url": "https://github.com/ben-eb/cssnano/issues" | ||
"url": "https://github.com/cssnano/cssnano/issues" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=6.9.0" | ||
} | ||
} |
@@ -8,3 +8,3 @@ # cssnano-util-get-match | ||
See [CONTRIBUTORS.md](https://github.com/ben-eb/cssnano/blob/master/CONTRIBUTORS.md). | ||
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md). | ||
@@ -11,0 +11,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
2655
16
1