imagemin
Advanced tools
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" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9203
1