@travetto/config
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -19,3 +19,3 @@ { | ||
"scripts": {}, | ||
"version": "0.0.30" | ||
"version": "0.0.31" | ||
} |
@@ -14,5 +14,5 @@ import { ConfigLoader } from '../service/loader'; | ||
} | ||
} | ||
}; | ||
return target; | ||
}; | ||
} |
@@ -35,13 +35,2 @@ import { deepAssign, isPlainObject, isSimple } from '@travetto/base'; | ||
// Lowered, and flattened | ||
private storage: Nested = {}; | ||
reset() { | ||
this.storage = {}; | ||
} | ||
putAll(data: Nested) { | ||
deepAssign(this.storage, data, 'coerce'); | ||
} | ||
static getKeyName(key: string, data: { [key: string]: any }) { | ||
@@ -83,2 +72,13 @@ key = key.trim(); | ||
// Lowered, and flattened | ||
private storage: Nested = {}; | ||
reset() { | ||
this.storage = {}; | ||
} | ||
putAll(data: Nested) { | ||
deepAssign(this.storage, data, 'coerce'); | ||
} | ||
bindTo(obj: any, key: string) { | ||
@@ -85,0 +85,0 @@ const keys = key ? key.split('.') : []; |
export const init = { | ||
priority: 0, | ||
action: () => require('../src/service/loader').ConfigLoader.initialize() | ||
} | ||
}; |
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
8344
16