New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

image-minimizer-webpack-plugin

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-minimizer-webpack-plugin - npm Package Versions

124

3.2.1

Diff

Changelog

Source

3.2.1 (2022-01-03)

Bug Fixes

  • memory leaking (#293) (043e571)
  • respect encoding of data uri (#294) (a89b316)
evilebottnawi
published 3.2.0 •

Changelog

Source

3.2.0 (2021-12-25)

Features

  • allow generating images from copied assets using the type option for the generator option (fab9103)
evilebottnawi
published 3.1.2 •

Changelog

Source

3.1.2 (2021-12-17)

Bug Fixes

evilebottnawi
published 3.1.1 •

Changelog

Source

3.1.1 (2021-12-17)

Bug Fixes

  • ignore unsupported data URI by mime type (#284) (d1b68c2)
evilebottnawi
published 3.1.0 •

Changelog

Source

3.1.0 (2021-12-16)

Features

  • removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#282) (f0fa0a7)
evilebottnawi
published 3.0.1 •

Changelog

Source

3.0.1 (2021-12-07)

Bug Fixes

evilebottnawi
published 3.0.0 •

Changelog

Source

3.0.0 (2021-12-05)

There are a lot of breaking changes, the plugin has been completely rewritten, see the documentation for information and examples.

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 12.13.0, imagemin uses dynamic import() to load plugins, so your Node.js version should support it
  • by default, we don't install imagemin, so you need to run npm i -D imagemin to install imagemin
  • union minify and minizerOptions in one option - minimizer, you can use minimizer.implementation and minimizer.options to specify minimizer and options
  • image generation was rewritten, please use the generator option to configure image generation and use new URL("./image.png?as=webp")/div { backgaround: url("./image.png?as=webp"); }/etc in code to enable it (import and require are supported too)
  • filter and filename option was moved in the minimizer/generator option
  • imageminNormalizeConfig is now async function
  • default value of the severityError option is "error", removed values: true, false and auto
  • don't add . (dot) before [ext] in the filename option

Features

  • added squoosh support
  • added the minimizer option for image optimization
  • added the generator option for image generation
  • added ability to use multiple minimizer option feature
  • allow the filename option will be Function
  • improve error reporting
  • improve types
  • output helpful descriptions and links on errors
  • improve stats output

Bug Fixes

  • support esm imagemin plugin
  • supports absolute URLs, i.e. data:/http:/https:/file:
  • double minification and memory leak
  • respect original errors
  • compatibility with asset modules
evilebottnawi
published 2.2.0 •

Changelog

Source

2.2.0 (2021-01-09)

Features

  • run optimize image assets added later by plugins (#178) (4939f93)
evilebottnawi
published 2.1.0 •

Changelog

Source

2.1.0 (2020-12-23)

Features

  • add TypeScript definitions (e78497b)
evilebottnawi
published 2.0.0 •

Changelog

Source

2.0.0 (2020-12-17)

⚠ BREAKING CHANGES

  • minimum supported webpack version is 5.1.0
  • removed the cache option in favor the cache option from webpack
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