Socket
Socket
Sign inDemoInstall

avif

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avif - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

9

bin/avif.js
#!/usr/bin/env node
const fs = require("fs").promises;
const { constants } = require("fs");
const {

@@ -22,2 +24,9 @@ input,

}
if (output) {
try {
await fs.access(output, constants.W_OK);
} catch (e) {
await fs.mkdir(output, { recursive: true });
}
}
const results = await Promise.all(

@@ -24,0 +33,0 @@ files.map((file) =>

8

package.json
{
"name": "avif",
"version": "0.2.0",
"version": "0.3.0",
"description": "Command line utility to convert images to AVIF",

@@ -27,5 +27,5 @@ "author": "Lovell Fuller <npm@lovell.info>",

"dependencies": {
"glob": "^7.2.0",
"sharp": "^0.30.3",
"yargs": "^17.3.1"
"glob": "^8.0.3",
"sharp": "^0.30.6",
"yargs": "^17.5.1"
},

@@ -32,0 +32,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc