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

@platformatic/config

Package Overview
Dependencies
Maintainers
6
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/config - npm Package Compare versions

Comparing version 1.28.0 to 1.28.1

14

lib/manager.js

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

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