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

@platformatic/config

Package Overview
Dependencies
Maintainers
8
Versions
287
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 2.16.0-alpha.1 to 2.16.0

1

index.d.ts

@@ -98,2 +98,3 @@ import { FastifyError } from '@fastify/error'

getDispatchFunc?: () => Promise<Function>
getDispatchTarget?: () => Promise<Function | string>
getOpenapiSchema?: () => Promise<object>

@@ -100,0 +101,0 @@ getGraphqlSchema?: () => Promise<string>

49

lib/manager.js

@@ -245,3 +245,3 @@ 'use strict'

if (typeof path !== 'string' || path.trim() === '') {
return !!parentSchema.allowEmptyPaths
return false
}

@@ -257,7 +257,2 @@

ajv.addKeyword({
keyword: 'allowEmptyPaths',
type: 'string',
schemaType: 'boolean'
})
ajv.addKeyword({
keyword: 'resolveModule',

@@ -350,26 +345,20 @@ type: 'string',

return [
...(typeof type === 'string'
? new Set([
`platformatic.${type}.json`,
`platformatic.${type}.json5`,
`platformatic.${type}.yaml`,
`platformatic.${type}.yml`,
`platformatic.${type}.toml`,
`platformatic.${type}.tml`
])
: []),
...new Set([
'platformatic.json',
'platformatic.json5',
'platformatic.yaml',
'platformatic.yml',
'platformatic.toml',
'platformatic.tml',
'watt.json',
'watt.json5',
'watt.yaml',
'watt.yml',
'watt.toml',
'watt.tml'
])
`platformatic.${type}.json`,
`platformatic.${type}.json5`,
`platformatic.${type}.yaml`,
`platformatic.${type}.yml`,
`platformatic.${type}.toml`,
`platformatic.${type}.tml`,
'platformatic.json',
'platformatic.json5',
'platformatic.yaml',
'platformatic.yml',
'platformatic.toml',
'platformatic.tml',
'watt.json',
'watt.json5',
'watt.yaml',
'watt.yml',
'watt.toml',
'watt.tml'
]

@@ -376,0 +365,0 @@ } else {

{
"name": "@platformatic/config",
"version": "2.16.0-alpha.1",
"version": "2.16.0",
"description": "Platformatic DB Config Manager",

@@ -41,3 +41,3 @@ "main": "index.js",

"undici": "^6.9.0",
"@platformatic/utils": "2.16.0-alpha.1"
"@platformatic/utils": "2.16.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