@travetto/config
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -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!'); | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7475
178
14
Updated@types/js-yaml@^3.10.1
Updated@types/lodash@^4.14.105
Updatedjs-yaml@^3.11.0
Updatedlodash@^4.17.5