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

@travetto/config

Package Overview
Dependencies
Maintainers
1
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/config - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

10

package.json

@@ -9,7 +9,7 @@ {

"@types/flat": "0.0.28",
"@types/js-yaml": "^3.9.1",
"@types/lodash": "^4.14.74",
"@types/js-yaml": "^3.10.1",
"@types/lodash": "^4.14.105",
"flat": "^4.0.0",
"js-yaml": "^3.9.1",
"lodash": "^4.17.4"
"js-yaml": "^3.11.0",
"lodash": "^4.17.5"
},

@@ -24,3 +24,3 @@ "description": "",

"scripts": {},
"version": "0.0.5"
"version": "0.0.6"
}

@@ -9,5 +9,12 @@ import { Config, ConfigLoader } from '../src';

@Config('db.mysql', DbConfig, 'db')
class TestConfig extends DbConfig {
}
let conf = new TestConfig();
ConfigLoader.bindTo(conf, 'db.mysql');
if (conf.name !== 'Oscar') {
throw new Error('Should match!');
}
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