Comparing version 2.0.2 to 2.1.0
@@ -20,3 +20,3 @@ // Gather initial information | ||
// NODE_ENV | ||
if (process.NODE_ENV) { | ||
if (process.env.NODE_ENV) { | ||
nodeENV = String(process.env.NODE_ENV) | ||
@@ -60,2 +60,2 @@ } | ||
// Export env | ||
module.exports = env | ||
module.exports = Object.freeze(env) |
{ | ||
"name": "std-env", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Detect running environment of the current Node.js process", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
2150
5