Comparing version 1.0.0 to 1.1.0
@@ -1,3 +0,3 @@ | ||
var ConfJS, fs, path, _, | ||
__slice = [].slice; | ||
var ConfJS, _, fs, path, | ||
slice = [].slice; | ||
@@ -37,3 +37,3 @@ _ = require('lodash-contrib'); | ||
if (key == null) { | ||
return; | ||
return this._data; | ||
} | ||
@@ -49,4 +49,4 @@ return _.getPath(this._data, key); | ||
var objects; | ||
objects = 1 <= arguments.length ? __slice.call(arguments, 0) : []; | ||
return _.extend.apply(_, [this._data].concat(__slice.call(objects))); | ||
objects = 1 <= arguments.length ? slice.call(arguments, 0) : []; | ||
return _.extend.apply(_, [this._data].concat(slice.call(objects))); | ||
}; | ||
@@ -53,0 +53,0 @@ |
{ | ||
"name": "conf.js", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Support per-user and per-project configuration files out of the box", | ||
@@ -5,0 +5,0 @@ "main": "build/conf.js", |
@@ -101,2 +101,4 @@ conf.js | ||
If you pass no key to `settings.get()`, then you will get back all the settings. | ||
### settings.has(key) | ||
@@ -149,2 +151,9 @@ | ||
ChangeLog | ||
--------- | ||
### v1.1.0 | ||
- The `get()` function returns all settings if no key. | ||
License | ||
@@ -151,0 +160,0 @@ ------- |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
19996
12
161