wild-config
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -10,3 +10,3 @@ /* eslint no-console: 0, global-require: 0 */ | ||
const deepExtend = require('deep-extend'); | ||
const configDirectory = path.join(process.cwd(), 'config'); | ||
const configDirectory = process.env.NODE_CONFIG_DIR || path.join(process.cwd(), 'config'); | ||
const events = new EventEmitter(); | ||
@@ -13,0 +13,0 @@ const vm = require('vm'); |
{ | ||
"name": "wild-config", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Configuration management module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,2 +21,4 @@ # wild-config | ||
> If you want to use a different configuration directory than './config' for default configuration files, then set it with the `NODE_CONFIG_DIR` environment variable | ||
### Command line arguments | ||
@@ -23,0 +25,0 @@ |
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
13799
108
5