manis
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -132,2 +132,6 @@ /** | ||
exports.loader = function (content, path, options) { | ||
if (/\.js$/.test(path)) { | ||
return require(path); | ||
} | ||
try { | ||
@@ -134,0 +138,0 @@ return yaml.safeLoad(stripJSONComment(content), options || {filename: path, json: true}); |
{ | ||
"name": "manis", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Find and read your configuration files recursively", | ||
@@ -5,0 +5,0 @@ "main": "lib/manis.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
22665
527
3