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

@platformatic/metaconfig

Package Overview
Dependencies
Maintainers
6
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/metaconfig - npm Package Compare versions

Comparing version 0.20.0 to 0.20.1

test/0.19.0.test.js

2

package.json
{
"name": "@platformatic/metaconfig",
"version": "0.20.0",
"version": "0.20.1",
"main": "metaconfig.js",

@@ -5,0 +5,0 @@ "description": "Manage mulitple configuration versions at the same time",

'use strict'
const rfdc = require('rfdc')()
class ZeroNineteen {

@@ -16,4 +18,14 @@ constructor ({ config, path, format, version }) {

}
up () {
const original = this.config
const config = rfdc(original)
config.$schema = `https://platformatic.dev/schemas/v0.20.0/${this.kind}`
const NewClass = require('./0.20.x.js')
return new NewClass({ config, path: this.path, format: this.format })
}
}
module.exports = ZeroNineteen
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