@hapiness/config
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -60,3 +60,3 @@ "use strict"; | ||
return this._data.has(key) ? this._data.get(key) : | ||
!!defaultValue ? defaultValue : undefined; | ||
defaultValue !== undefined ? defaultValue : undefined; | ||
} | ||
@@ -63,0 +63,0 @@ } |
@@ -1,2 +0,1 @@ | ||
/// <reference types="config" /> | ||
import { IConfig } from 'config'; | ||
@@ -3,0 +2,0 @@ export interface ConfigInterface extends IConfig { |
@@ -1,1 +0,1 @@ | ||
{"name":"@hapiness/config","version":"1.2.0","description":"Configuration Library to use it inside Hapiness framework","main":"commonjs/index.js","types":"index.d.ts","private":false,"repository":{"type":"git","url":"git+ssh://git@github.com/hapinessjs/config.git"},"keywords":["config","yml","node-config","Hapiness","Framework","NodeJS","Node","ES2015","ES2016","ES2017","ES6","ES7","ES8","Typescript"],"contributors":[{"name":"Julien Fauville","url":"https://github.com/Juneil"},{"name":"Antoine Gomez","url":"https://github.com/antoinegomez"},{"name":"Sébastien Ritz","url":"https://github.com/reptilbud"},{"name":"Nicolas Jessel","url":"https://github.com/njl07"}],"license":"MIT","bugs":{"url":"https://github.com/hapinessjs/config/issues"},"homepage":"https://github.com/hapinessjs/config#readme","dependencies":{"@types/config":"^0.0.34","@types/node":"^10.0.4","clone":"^2.1.1","config":"^1.30.0","injection-js":"^2.2.1","js-yaml":"^3.11.0"},"engines":{"node":">=7.0.0"}} | ||
{"name":"@hapiness/config","version":"1.2.1","description":"Configuration Library to use it inside Hapiness framework","main":"commonjs/index.js","types":"index.d.ts","private":false,"repository":{"type":"git","url":"git+ssh://git@github.com/hapinessjs/config.git"},"keywords":["config","yml","node-config","Hapiness","Framework","NodeJS","Node","ES2015","ES2016","ES2017","ES6","ES7","ES8","Typescript"],"contributors":[{"name":"Julien Fauville","url":"https://github.com/Juneil"},{"name":"Antoine Gomez","url":"https://github.com/antoinegomez"},{"name":"Sébastien Ritz","url":"https://github.com/reptilbud"},{"name":"Nicolas Jessel","url":"https://github.com/njl07"}],"license":"MIT","bugs":{"url":"https://github.com/hapinessjs/config/issues"},"homepage":"https://github.com/hapinessjs/config#readme","dependencies":{"clone":"^2.1.1","config":"^1.30.0","injection-js":"^2.2.1","js-yaml":"^3.11.0"},"engines":{"node":">=7.0.0"}} |
@@ -62,3 +62,3 @@ <img src="http://bit.ly/2mxmKKI" width="500" alt="Hapiness" /> | ||
"dependencies": { | ||
"@hapiness/config": "^1.2.0", | ||
"@hapiness/config": "^1.2.1", | ||
//... | ||
@@ -202,2 +202,4 @@ } | ||
## Change History | ||
* v1.2.1 (2018-09-26) | ||
* Fix a bug when default value of `get()` was a falsy value and wrongly interpreted as undefined | ||
* v1.2.0 (2018-05-09) | ||
@@ -204,0 +206,0 @@ * Delete obsolete `peerDependencies` |
Sorry, the diff of this file is not supported yet
20108
4
248
166
- Removed@types/config@^0.0.34
- Removed@types/node@^10.0.4
- Removed@types/config@0.0.34(transitive)
- Removed@types/node@10.17.60(transitive)