Socket
Socket
Sign inDemoInstall

imagemin

Package Overview
Dependencies
311
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 to 3.0.0

34

cli.js

@@ -15,16 +15,16 @@ #!/usr/bin/env node

help: [
' Usage',
' imagemin <file> <directory>',
' imagemin <file> > <output>',
' cat <file> | imagemin > <output>',
'Usage',
' imagemin <file> <directory>',
' imagemin <file> > <output>',
' cat <file> | imagemin > <output>',
'',
' Example',
' imagemin images/* build',
' imagemin foo.png > foo-optimized.png',
' cat foo.png | imagemin > foo-optimized.png',
'Example',
' imagemin images/* build',
' imagemin foo.png > foo-optimized.png',
' cat foo.png | imagemin > foo-optimized.png',
'',
' Options',
' -i, --interlaced Interlace gif for progressive rendering',
' -o, --optimizationLevel <number> Select an optimization level between 0 and 7',
' -p, --progressive Lossless conversion to progressive'
'Options',
' -i, --interlaced Interlace gif for progressive rendering',
' -o, --optimizationLevel <number> Select an optimization level between 0 and 7',
' -p, --progressive Lossless conversion to progressive'
].join('\n')

@@ -88,3 +88,3 @@ }, {

if (err) {
console.error(err);
console.error(err.message);
process.exit(1);

@@ -113,6 +113,6 @@ }

'',
' Example',
' imagemin images/* build',
' imagemin foo.png > foo-optimized.png',
' cat foo.png | imagemin > foo-optimized.png'
'Example',
' imagemin images/* build',
' imagemin foo.png > foo-optimized.png',
' cat foo.png | imagemin > foo-optimized.png'
].join('\n'));

@@ -119,0 +119,0 @@

{
"name": "imagemin",
"version": "2.2.1",
"version": "3.0.0",
"description": "Minify images",

@@ -53,4 +53,4 @@ "license": "MIT",

"imagemin-pngquant": "^4.0.0",
"imagemin-svgo": "^3.0.0"
"imagemin-svgo": "^4.0.0"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc