Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

image-minimizer-webpack-plugin

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-minimizer-webpack-plugin - npm Package Compare versions

Comparing version 3.5.0 to 3.6.0

11

dist/utils.js

@@ -975,4 +975,11 @@ "use strict";

if (minimizerOptions.resize && (minimizerOptions.resize.width || minimizerOptions.resize.height) && minimizerOptions.resize.enabled !== false) {
imagePipeline.resize(minimizerOptions.resize.width, minimizerOptions.resize.height);
if (minimizerOptions.resize) {
const {
enabled = true,
...params
} = minimizerOptions.resize;
if (enabled && (typeof params.width === "number" || typeof params.height === "number")) {
imagePipeline.resize(params);
}
} // ====== convert ======

@@ -979,0 +986,0 @@

2

package.json
{
"name": "image-minimizer-webpack-plugin",
"version": "3.5.0",
"version": "3.6.0",
"description": "Webpack loader and plugin to optimize (compress) images using imagemin",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc