
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
This is gulp plugin for convertation PNG and JPG images to AVIF
GULP-AVIF based to lib sharp
const gulp = require('gulp');
const gulpAvif = require('gulp-avif');
gulp.task('default', ()=>{
return gulp.src('./from/*.{png,jpg,svg}')
.pipe(gulpAvif())
.pipe(gulp.dest('./to/'));
});
<picture>
<source type="image/avif" srcset="./to/show.avif" />
<source type="image/webp" srcset="./to/show.webp" />
<img src="./to/show.png">
</picture>
options Object ? output options
options.quality number quality, integer 1-100 (optional, default 90)options.lossless boolean use lossless compression (optional, default false)options.speed boolean CPU effort vs file size, 0 (slowest/smallest) to 8 (fastest/largest) (optional, default 5)options.chromaSubsampling string set to '4:4:4' to prevent chroma subsampling otherwise defaults to '4:2:0' chroma subsampling, requires libvips v8.11.0 (optional, default '4:2:0')only for SVG
options.width number output image width (optional, default 64)options.height number output image height (optional, default depend of width, if width empty - 64). If the image ratio less original image will cutted.Throws Error Invalid options
console.logFAQs
gulp plugin for convert images from png or jpg to avif
The npm package gulp-avif receives a total of 238 weekly downloads. As such, gulp-avif popularity was classified as not popular.
We found that gulp-avif demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.