Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@directus/update-check

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@directus/update-check - npm Package Compare versions

Comparing version 11.0.10 to 12.0.0

6

dist/index.js

@@ -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": {

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