Comparing version 3.2.6 to 3.3.0
@@ -0,1 +1,6 @@ | ||
3.3.0 / 2020-02-26 | ||
================== | ||
* Allow all defined values in `substituteDeep` - @fostyfost | ||
3.2.6 / 2020-02-21 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -1036,3 +1036,3 @@ // config.js (c) 2010-2020 Loren West and other contributors | ||
if (typeof(value) === 'string') { // We found a leaf variable name | ||
if (vars[value]) { // if the vars provide a value set the value in the result map | ||
if (vars[value] !== undefined) { // if the vars provide a value set the value in the result map | ||
util.setPath(result, pathTo.concat(prop), vars[value]); | ||
@@ -1042,3 +1042,3 @@ } | ||
else if (util.isObject(value)) { // work on the subtree, giving it a clone of the pathTo | ||
if('__name' in value && '__format' in value && vars[value.__name]) { | ||
if ('__name' in value && '__format' in value && vars[value.__name] !== undefined) { | ||
try { | ||
@@ -1045,0 +1045,0 @@ var parsedValue = util.parseString(vars[value.__name], value.__format); |
{ | ||
"name": "config", | ||
"version": "3.2.6", | ||
"version": "3.3.0", | ||
"main": "./lib/config.js", | ||
@@ -5,0 +5,0 @@ "description": "Configuration control for production node deployments", |
@@ -150,2 +150,3 @@ Configure your Node.js Applications | ||
</tr><tr><td><img src=https://avatars2.githubusercontent.com/u/506460?v=4><a href="https://github.com/Osterjour">Osterjour</a></td> | ||
<td><img src=https://avatars3.githubusercontent.com/u/1751645?v=4><a href="https://github.com/cunneen">cunneen</a></td> | ||
<td><img src=https://avatars0.githubusercontent.com/u/842998?v=4><a href="https://github.com/nsabovic">nsabovic</a></td> | ||
@@ -155,4 +156,4 @@ <td><img src=https://avatars0.githubusercontent.com/u/5138570?v=4><a href="https://github.com/BadgerBadgerBadgerBadger">BadgerBadgerBadgerBadger</a></td> | ||
<td><img src=https://avatars3.githubusercontent.com/u/8650543?v=4><a href="https://github.com/leonardovillela">leonardovillela</a></td> | ||
<td><img src=https://avatars1.githubusercontent.com/u/175627?v=4><a href="https://github.com/axelhzf">axelhzf</a></td> | ||
</tr><tr><td><img src=https://avatars3.githubusercontent.com/u/7782055?v=4><a href="https://github.com/benkroeger">benkroeger</a></td> | ||
</tr><tr><td><img src=https://avatars1.githubusercontent.com/u/175627?v=4><a href="https://github.com/axelhzf">axelhzf</a></td> | ||
<td><img src=https://avatars3.githubusercontent.com/u/7782055?v=4><a href="https://github.com/benkroeger">benkroeger</a></td> | ||
<td><img src=https://avatars3.githubusercontent.com/u/1872824?v=4><a href="https://github.com/fgheorghe">fgheorghe</a></td> | ||
@@ -162,4 +163,4 @@ <td><img src=https://avatars3.githubusercontent.com/u/1443067?v=4><a href="https://github.com/IvanVergiliev">IvanVergiliev</a></td> | ||
<td><img src=https://avatars2.githubusercontent.com/u/1246875?v=4><a href="https://github.com/jaylynch">jaylynch</a></td> | ||
<td><img src=https://avatars1.githubusercontent.com/u/145742?v=4><a href="https://github.com/jberrisch">jberrisch</a></td> | ||
</tr><tr><td><img src=https://avatars1.githubusercontent.com/u/9355665?v=4><a href="https://github.com/kgoerlitz">kgoerlitz</a></td> | ||
</tr><tr><td><img src=https://avatars1.githubusercontent.com/u/145742?v=4><a href="https://github.com/jberrisch">jberrisch</a></td> | ||
<td><img src=https://avatars1.githubusercontent.com/u/9355665?v=4><a href="https://github.com/kgoerlitz">kgoerlitz</a></td> | ||
<td><img src=https://avatars0.githubusercontent.com/u/8525267?v=4><a href="https://github.com/bertho-zero">bertho-zero</a></td> | ||
@@ -169,3 +170,2 @@ <td><img src=https://avatars3.githubusercontent.com/u/1918551?v=4><a href="https://github.com/nitzan-shaked">nitzan-shaked</a></td> | ||
<td><img src=https://avatars2.githubusercontent.com/u/498929?v=4><a href="https://github.com/roncli">roncli</a></td> | ||
<td><img src=https://avatars2.githubusercontent.com/u/1355559?v=4><a href="https://github.com/superoven">superoven</a></td> | ||
</tr></table> | ||
@@ -172,0 +172,0 @@ |
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
88469