cleaner-node
Advanced tools
Comparing version 0.17.3 to 0.17.4
{ | ||
"name": "cleaner-node", | ||
"version": "0.17.3", | ||
"version": "0.17.4", | ||
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -60,7 +60,7 @@ const path = require('path'); | ||
me.IS_NODE_ENV_SET = isValidString(me.NODE_ENV); | ||
me.IS_DEV = (me.NODE_ENV || '').trim().toUpperCase().startsWith('DEV'); | ||
me.IS_PROD = (me.NODE_ENV || '').trim().toUpperCase().startsWith('PROD'); | ||
me.IS_DEV = isValidString(me.NODE_ENV) && me.NODE_ENV.trim().toUpperCase().startsWith('DEV'); | ||
me.IS_PROD = isValidString(me.NODE_ENV) && me.NODE_ENV.trim().toUpperCase().startsWith('PROD'); | ||
me.IS_NODE_DEBUG_SET = isValidString(me.NODE_DEBUG); | ||
me.IS_DEBUG = (me.NODE_DEBUG || '').trim().toUpperCase() === 'TRUE'; | ||
me.IS_DEBUG = isValidString(me.NODE_DEBUG) && me.NODE_DEBUG.trim().toUpperCase() === 'TRUE'; | ||
@@ -67,0 +67,0 @@ me.IS_MODULE_PATH_SET = isValidString(getModulePath()); |
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
82400