webpack-contrib/image-minimizer-webpack-plugin

Error

cnjsyyb opened this issue · 2 comments

npm install imagemin-gifsicle imagemin-jpegtran imagemin-optipng imagemin-svgo --save-dev

npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.

added 282 packages, and audited 283 packages in 2s

31 packages are looking for funding
run npm fund for details

18 vulnerabilities (8 moderate, 10 high)

To address all issues, run:
npm audit fix

Run npm audit for details.

Reproduction repository please

I recommend to use https://github.com/lovell/sharp, because some imagemin plugins are outdated and they don't update, we can't fix it here