Comparing version 0.2.0 to 0.3.0
#!/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) => |
{ | ||
"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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17762
152
3
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedglob@8.1.0(transitive)
+ Addedminimatch@5.1.6(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedglob@7.2.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
Updatedglob@^8.0.3
Updatedsharp@^0.30.6
Updatedyargs@^17.5.1