@directus/update-check
Advanced tools
Comparing version 11.0.10 to 12.0.0
@@ -15,4 +15,3 @@ // src/index.ts | ||
const dir = findCacheDirectory({ name: "directus" }); | ||
if (!dir) | ||
return; | ||
if (!dir) return; | ||
try { | ||
@@ -65,4 +64,3 @@ await fs.mkdir(dir, { recursive: true }); | ||
const versions = packageManifest?.versions; | ||
if (!latestVersion || !versions || gte(currentVersion, latestVersion)) | ||
return; | ||
if (!latestVersion || !versions || gte(currentVersion, latestVersion)) return; | ||
const allVersions = Object.keys(versions).filter((version) => !prerelease(version)); | ||
@@ -69,0 +67,0 @@ const indexOfCurrent = allVersions.indexOf(currentVersion); |
{ | ||
"name": "@directus/update-check", | ||
"version": "11.0.10", | ||
"version": "12.0.0", | ||
"description": "Check if an update for Directus is available", | ||
@@ -24,4 +24,4 @@ "homepage": "https://directus.io", | ||
"dependencies": { | ||
"axios": "1.6.8", | ||
"axios-cache-interceptor": "1.5.2", | ||
"axios": "1.7.3", | ||
"axios-cache-interceptor": "1.5.3", | ||
"boxen": "7.1.1", | ||
@@ -34,10 +34,10 @@ "chalk": "5.3.0", | ||
"@npm/types": "1.0.2", | ||
"@types/node": "18.19.33", | ||
"@types/node": "18.19.43", | ||
"@types/semver": "7.5.8", | ||
"@vitest/coverage-v8": "1.5.3", | ||
"strip-ansi": "7.1.0", | ||
"tsup": "8.0.2", | ||
"tsup": "8.2.2", | ||
"typescript": "5.4.5", | ||
"vitest": "1.5.3", | ||
"@directus/tsconfig": "1.0.1" | ||
"@directus/tsconfig": "2.0.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "scripts": { |
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
6062
96
+ Addedaxios@1.7.3(transitive)
+ Addedaxios-cache-interceptor@1.5.3(transitive)
+ Addedcache-parser@1.2.5(transitive)
- Removedaxios@1.6.8(transitive)
- Removedaxios-cache-interceptor@1.5.2(transitive)
- Removedcache-parser@1.2.4(transitive)
Updatedaxios@1.7.3