Comparing version 5.3.0 to 5.3.1
@@ -15,2 +15,7 @@ 'use strict'; | ||
const dest = output ? path.join(output, path.basename(input)) : null; | ||
if (opts.plugins && !Array.isArray(opts.plugins)) { | ||
throw new TypeError('The plugins option should be an `Array`'); | ||
} | ||
const pipe = opts.plugins.length > 0 ? pPipe(opts.plugins)(data) : Promise.resolve(data); | ||
@@ -17,0 +22,0 @@ |
{ | ||
"name": "imagemin", | ||
"version": "5.3.0", | ||
"version": "5.3.1", | ||
"description": "Minify images", | ||
@@ -47,3 +47,3 @@ "license": "MIT", | ||
"make-dir": "^1.0.0", | ||
"p-pipe": "^1.0.0", | ||
"p-pipe": "^1.1.0", | ||
"pify": "^2.3.0", | ||
@@ -50,0 +50,0 @@ "replace-ext": "^1.0.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
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
6095
56
Updatedp-pipe@^1.1.0