configuration-master
Advanced tools
Comparing version 0.1.1 to 0.1.2
const _ = require('lodash'); | ||
const path = require('path'); | ||
@@ -73,3 +74,4 @@ | ||
{ | ||
let tmp = require(filename); | ||
const fpath = path.resolve(path.dirname(require.main.filename), filename); | ||
const tmp = require(fpath); | ||
this.setConfig(tmp, namespace); | ||
@@ -76,0 +78,0 @@ } |
{ | ||
"name": "configuration-master", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Simple configuration load/access tool.", | ||
@@ -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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
5121
133