indexzero
af0e9fb7e7
[dist fix] Cleanup some whitespace.
2014-11-26 01:31:48 -05:00
José F. Romaniello
039057c730
allow different separator for memorystore
2013-04-05 15:07:33 -03:00
Charlie Robbins
818526ca62
Merge pull request #63 from SchoonologyRRL/patch-1
...
Updated Memory.merge to handle null values
2012-12-20 22:56:54 -08:00
Michael Hart
bb57c497d3
Prefer this fix for #65 to 6045618
2012-12-20 18:12:42 -05:00
indexzero
60456186d7
[fix] Fix for #65
2012-12-20 18:03:37 -05:00
Michael Schoonmaker
ed41c51850
Updated Memory.merge to handle null values
...
Previously, if the Memory store was merged with an object containing a null value, the following Error occurred:
TypeError: Object.keys called on non-object
at Function.keys (native)
at Memory.merge (/.../node_modules/nconf/lib/nconf/stores/memory.js:199:17)
at Memory.merge (/.../node_modules/nconf/lib/nconf/stores/memory.js:200:17)
at Array.every (native)
at Memory.merge (/.../node_modules/nconf/lib/nconf/stores/memory.js:199:29)
at common.merge (/.../node_modules/nconf/lib/nconf/common.js:99:13)
at Array.forEach (native)
at common.merge (/.../node_modules/nconf/lib/nconf/common.js:98:22)
at Array.forEach (native)
at Object.common.merge (/.../node_modules/nconf/lib/nconf/common.js:97:8)
This commit prevents that.
2012-09-27 11:26:56 -07:00
Bradley Meck
683f78918c
[fix] #59 root get/set should work via null/undefined as key
2012-09-07 09:29:30 -05:00
Michael Hart
8921d0502e
Added support for nested configs via env
2012-06-21 16:46:10 +10:00
Pavan Kumar Sunkara
29eb5f905d
[minor] Fix whitespaces
2012-04-15 00:58:55 +05:30
indexzero
6242caafda
[api minor] Add .loadSync()
to Memory store. Fixes #24
2012-01-02 17:20:06 -05:00
indexzero
6c720ee109
[dist] Update Copyright and Author to Nodejitsu Inc.
2011-11-24 00:33:08 -05:00
indexzero
da2da7aea8
[api test breaking refactor] Significant refactor to how nconf works. Now a fully hierarchical configuration storage mechanism capable of multiple levels of stores of the same type.
2011-09-16 06:49:47 -04:00
indexzero
fb392ddc51
[api test] Updated test/provider-test.js and associated merge implementation
2011-08-28 08:50:26 -04:00
indexzero
c9e60d96b5
[doc] Update code docs
2011-06-05 01:35:54 -04:00
indexzero
4459ba54a1
[api] Added .merge()
to stores.Memory and stores.Redis
2011-06-05 01:29:14 -04:00
Sami Samhuri
faa8ab9486
correctly retrieve falsy values from memory (hence file)
2011-05-22 12:40:57 -07:00
indexzero
9da37dff2a
[dist api test] Refactor pluggable nconf-level logic into nconf.Provider. Update .gitignore for npm 1.0. Update pathing in source and tests to be more require.paths
future-proof
2011-05-14 01:47:26 -04:00
indexzero
752bb980ac
[api] Improve the .use()
method. Use the memory engine by default
2011-04-02 19:17:04 -04:00
indexzero
73bf78339f
[api doc test] Finalize API. Add more test coverage
2011-04-02 03:03:16 -04:00
indexzero
67b5c8ab2a
[api test] First pass at implementation
2011-03-31 02:32:47 -04:00