Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
imagemin-advpng
Advanced tools
advpng imagemin plugin
$ npm install --save imagemin-advpng
var Imagemin = require('imagemin');
var imageminAdvpng = require('imagemin-advpng');
new Imagemin()
.src('images/*.png')
.dest('build/images')
.use(imageminAdvpng({optimizationLevel: 4}))
.run();
You can also use this plugin with gulp:
var gulp = require('gulp');
var imageminAdvpng = require('imagemin-advpng');
gulp.task('default', function () {
return gulp.src('images/*.png')
.pipe(imageminAdvpng({optimizationLevel: 4})())
.pipe(gulp.dest('build/images'));
});
Type: number
Default: 3
Select an optimization level between 0
and 4
.
Levels:
0
Don't compress
1
Compress fast (zlib)
2
Compress normal (7z)
3
Compress extra (7z)
4
Compress extreme (zopfli)
MIT © imagemin
FAQs
AdvPNG imagemin plugin
The npm package imagemin-advpng receives a total of 344 weekly downloads. As such, imagemin-advpng popularity was classified as not popular.
We found that imagemin-advpng demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.