Comparing version 1.3.2 to 2.0.0
@@ -26,4 +26,7 @@ // Copyright 2016 Yahoo Inc. | ||
return val.replace(TOKEN, function (_, name) { | ||
return process.env[name]; | ||
if (process.env.hasOwnProperty(name)) { | ||
return process.env[name]; | ||
} | ||
throw new ReferenceError('flconf: process.env.' + name + ' is undefined'); | ||
}); | ||
}; |
{ | ||
"name": "flconf", | ||
"version": "1.3.2", | ||
"version": "2.0.0", | ||
"description": "Simple, pluggable, hierarchical configs", | ||
@@ -30,5 +30,3 @@ "main": "index.js", | ||
"eslint-config-flickr": "~1.3.1", | ||
"mocha": "~3.2.0", | ||
"mockery": "~1.4.1", | ||
"sinon": "~1.17.3" | ||
"mocha": "~3.2.0" | ||
}, | ||
@@ -35,0 +33,0 @@ "dependencies": { |
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
7175
3
135