substituteDeep
- @fostyfostPotential for backward incompatibility requiring a major version bump.
Safe to upgrade to major version 2 if you're using a recent NodeJS version and you're not trying to mutate config arrays.
NODE_ENV
with NODE_CONFIG_ENV
- jfelegeRan node security check on 4/6/2016 with the following output
$ nsp check (+) No known vulnerabilities found
New strictness checks have been added to ensure the expected configuration has been loaded. Warnings are now thrown in these cases. If NODE_CONFIG_STRICT_MODE is set, exceptions are thrown instead. (@markstos)
NODE_ENV
if NODE_ENV
is set.NODE_APP_INSTANCE
if NODE_APP_INSTANCE
is setNODE_ENV
must not match 'default' or 'local' to avoid ambiguity.Added .iced extension support (@arthanzel)
Highlight config.has()
in the README. Use it to check to if a value exists, since config.get()
throws exceptions on undefined values. (@markstos)
API Change: getConfigSources() now starts to return data on config files that are valid-but-empty. (@markstos)
Update to version 0.4.0