@platformatic/config
Advanced tools
Comparing version 1.28.0 to 1.28.1
@@ -188,6 +188,12 @@ 'use strict' | ||
const dir = dirname(this.fullPath) | ||
const schemaPath = resolve(dir, this.current.$schema) | ||
const schema = JSON.parse(await readFile(schemaPath, 'utf-8')) | ||
if (schema.$id?.indexOf('https://schemas.platformatic.dev') === 0) { | ||
version = '0.15.0' | ||
try { | ||
const schemaPath = resolve(dir, this.current.$schema) | ||
const schema = JSON.parse(await readFile(schemaPath, 'utf-8')) | ||
if (schema.$id?.indexOf('https://schemas.platformatic.dev') === 0) { | ||
version = '0.15.0' | ||
} | ||
} catch { | ||
if (this.current.server) { | ||
version = '0.15.0' | ||
} | ||
} | ||
@@ -194,0 +200,0 @@ } |
{ | ||
"name": "@platformatic/config", | ||
"version": "1.28.0", | ||
"version": "1.28.1", | ||
"description": "Platformatic DB Config Manager", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
"semver": "^7.6.0", | ||
"@platformatic/utils": "1.28.0" | ||
"@platformatic/utils": "1.28.1" | ||
}, | ||
@@ -42,0 +42,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
41676
823
+ Added@platformatic/utils@1.28.1(transitive)
- Removed@platformatic/utils@1.28.0(transitive)
Updated@platformatic/utils@1.28.1