dotenv-expand
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -23,6 +23,8 @@ 'use strict' | ||
for (var configKey in config.parsed) { | ||
var value = process.env[configKey] || config.parsed[configKey] | ||
if (config.parsed[configKey].substring(0, 2) === '\\$') { | ||
config.parsed[configKey] = config.parsed[configKey].substring(1) | ||
config.parsed[configKey] = value.substring(1) | ||
} else { | ||
config.parsed[configKey] = interpolate(config.parsed[configKey]) | ||
config.parsed[configKey] = interpolate(value) | ||
} | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "dotenv-expand", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Expand environment variables using dotenv", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
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
16004
28