Comparing version 5.1.2 to 5.1.3
@@ -11,3 +11,3 @@ 'use strict'; | ||
const handleFile = (input, output, opts) => fsP.readFile(input).then(data => { | ||
const dest = output ? path.resolve(output, input) : null; | ||
const dest = output ? path.join(output, path.basename(input)) : null; | ||
const pipe = opts.plugins.length > 0 ? promisePipe(opts.plugins)(data) : Promise.resolve(data); | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "imagemin", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "Minify images", | ||
@@ -51,6 +51,9 @@ "license": "MIT", | ||
"ava": "*", | ||
"del": "^2.2.0", | ||
"imagemin-jpegtran": "^5.0.0", | ||
"is-jpg": "^1.0.0", | ||
"mkdirp": "^0.5.1", | ||
"tempfile": "^1.1.1", | ||
"xo": "*" | ||
} | ||
} |
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
5789
7