Closed romainmenke closed 3 years ago
@1000ch @kevva
Maybe useful to someone, we ended up removing everything from imagemin as a result of this issue. Too many times have we seen security alerts caused by libraries importing random logging utilities.
We are now just using https://github.com/GoogleChromeLabs/squoosh cli
@fuqua @romainmenke Sorry for the late response,
I think we want to fix logalot
itself ideally, but it should be fixed with native console
at the moment, because logalot
is not critical for the module feature at least. Let me fix imagemin modules in this way. cc: @sindresorhus @kevva
@1000ch why not use console
directly here?
Sorry, I'm not sure about the original intention... but guessing to provide better logging UI with better functionality.
I think just using console.log
is fine for this purpose.
not counting dev dependencies
logalot was only used in the
postinstall
script and did not add any real value. Less dependencies means less surface for security issues.https://www.npmjs.com/advisories/1753