@directus/update-check
Advanced tools
Comparing version 12.0.1 to 12.0.2
@@ -42,2 +42,9 @@ // src/index.ts | ||
} | ||
}, | ||
async clear() { | ||
try { | ||
const files = await fs.readdir(dir); | ||
await Promise.all(files.map((name) => fs.unlink(path.join(dir, name)))); | ||
} catch { | ||
} | ||
} | ||
@@ -44,0 +51,0 @@ }); |
{ | ||
"name": "@directus/update-check", | ||
"version": "12.0.1", | ||
"version": "12.0.2", | ||
"description": "Check if an update for Directus is available", | ||
@@ -25,3 +25,3 @@ "homepage": "https://directus.io", | ||
"axios": "1.7.7", | ||
"axios-cache-interceptor": "1.5.3", | ||
"axios-cache-interceptor": "1.6.0", | ||
"boxen": "8.0.1", | ||
@@ -34,8 +34,8 @@ "chalk": "5.3.0", | ||
"@npm/types": "2.0.0", | ||
"@types/node": "18.19.50", | ||
"@types/node": "18.19.55", | ||
"@types/semver": "7.5.8", | ||
"@vitest/coverage-v8": "2.1.2", | ||
"strip-ansi": "7.1.0", | ||
"tsup": "8.2.4", | ||
"typescript": "5.6.2", | ||
"tsup": "8.3.0", | ||
"typescript": "5.6.3", | ||
"vitest": "2.1.2", | ||
@@ -45,6 +45,7 @@ "@directus/tsconfig": "2.0.0" | ||
"scripts": { | ||
"build": "tsup src/index.ts --format=esm --dts", | ||
"dev": "tsup src/index.ts --format=esm --dts --watch", | ||
"test": "vitest --watch=false" | ||
"build": "pnpm run '/^bundle|typecheck$/'", | ||
"bundle": "tsup src/index.ts --format=esm --dts", | ||
"test": "vitest --watch=false", | ||
"typecheck": "tsc --noEmit" | ||
} | ||
} |
6284
103
+ Addedaxios-cache-interceptor@1.6.0(transitive)
- Removedaxios-cache-interceptor@1.5.3(transitive)