image-minimizer-webpack-plugin
Advanced tools
Comparing version 3.6.1 to 3.7.0
@@ -164,2 +164,3 @@ "use strict"; | ||
* @property {string} filename | ||
* @property {AssetInfo=} info | ||
* @property {Buffer} input | ||
@@ -333,2 +334,3 @@ * @property {Transformer<T> | Transformer<T>[]} transformer | ||
name, | ||
info, | ||
inputSource, | ||
@@ -355,2 +357,3 @@ cacheItem, | ||
filename: name, | ||
info, | ||
input, | ||
@@ -357,0 +360,0 @@ severityError: this.options.severityError, |
@@ -142,3 +142,3 @@ "use strict"; | ||
if (presets.length > 1) { | ||
callback(new Error("Found several identical pereset names, the 'preset' option should be unique")); | ||
callback(new Error("Found several identical preset names, the 'preset' option should be unique")); | ||
return; | ||
@@ -145,0 +145,0 @@ } |
@@ -18,3 +18,3 @@ "use strict"; | ||
/** | ||
* Run tasks with limited concurency. | ||
* Run tasks with limited concurrency. | ||
* @template T | ||
@@ -21,0 +21,0 @@ * @param {number} limit - Limit of tasks that run at once. |
@@ -57,3 +57,5 @@ "use strict"; | ||
errors: [], | ||
info: {} | ||
info: { | ||
sourceFilename: options.info && typeof options.info === "object" && typeof options.info.sourceFilename === "string" ? options.info.sourceFilename : typeof options.filename === "string" ? options.filename : undefined | ||
} | ||
}; | ||
@@ -60,0 +62,0 @@ |
{ | ||
"name": "image-minimizer-webpack-plugin", | ||
"version": "3.6.1", | ||
"version": "3.7.0", | ||
"description": "Webpack loader and plugin to optimize (compress) images using imagemin", | ||
@@ -72,5 +72,5 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/cli": "^7.17.10", | ||
"@babel/core": "^7.18.13", | ||
"@babel/preset-env": "^7.18.2", | ||
"@babel/cli": "^7.19.3", | ||
"@babel/core": "^7.19.3", | ||
"@babel/preset-env": "^7.19.3", | ||
"@commitlint/cli": "^15.0.0", | ||
@@ -89,3 +89,3 @@ "@commitlint/config-conventional": "^15.0.0", | ||
"del-cli": "^4.0.1", | ||
"eslint": "^8.23.0", | ||
"eslint": "^8.24.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
@@ -92,0 +92,0 @@ "eslint-plugin-itgalaxy": "^136.0.0", |
@@ -110,2 +110,3 @@ export = ImageMinimizerPlugin; | ||
* @property {string} filename | ||
* @property {AssetInfo=} info | ||
* @property {Buffer} input | ||
@@ -348,2 +349,3 @@ * @property {Transformer<T> | Transformer<T>[]} transformer | ||
filename: string; | ||
info?: AssetInfo | undefined; | ||
input: Buffer; | ||
@@ -350,0 +352,0 @@ transformer: Transformer<T> | Transformer<T>[]; |
@@ -47,3 +47,3 @@ export type WorkerResult = import("./index").WorkerResult; | ||
/** | ||
* Run tasks with limited concurency. | ||
* Run tasks with limited concurrency. | ||
* @template T | ||
@@ -50,0 +50,0 @@ * @param {number} limit - Limit of tasks that run at once. |
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
151840
15
2534