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.1 to 0.21.0

test/0.20.0.test.js

2

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

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

'use strict'
class ZeroNineteen {
const rfdc = require('rfdc')()
class ZeroTwenty {
constructor ({ config, path, format, version }) {

@@ -16,4 +18,14 @@ this.config = config

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