Socket
Socket
Sign inDemoInstall

@hapiness/config

Package Overview
Dependencies
10
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

2

commonjs/lib/config.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc