enforce-envvars
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -14,3 +14,3 @@ | ||
_.each(envvars, (envvar) => { | ||
if (_.isEmpty(envvar)) { | ||
if (_.isEmpty(process.env[envvar])) { | ||
throw new Error(util.format('Process enviroment %s must be defined', envvar)); | ||
@@ -17,0 +17,0 @@ } |
{ | ||
"name": "enforce-envvars", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Enforces existence of necessary envvars", | ||
@@ -5,0 +5,0 @@ "main": "index.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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
2437
1