falafel
Advanced tools
Comparing version 1.2.0 to 2.0.0
{ | ||
"name": "falafel", | ||
"description": "transform the ast on a recursive walk", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"repository": { | ||
@@ -27,3 +27,3 @@ "type": "git", | ||
"dependencies": { | ||
"acorn": "^1.0.3", | ||
"acorn": "^3.0.0", | ||
"foreach": "^2.0.5", | ||
@@ -34,4 +34,5 @@ "isarray": "0.0.1", | ||
"devDependencies": { | ||
"acorn-jsx": "^3.0.0", | ||
"covert": "^1.1.0", | ||
"acorn-jsx": "^2.0.0", | ||
"glob": "^6.0.4", | ||
"tape": "^4.0.0" | ||
@@ -38,0 +39,0 @@ }, |
var path = require('path'); | ||
var glob = require('glob'); | ||
for (var i = 2; i < process.argv.length; i++) { | ||
require(path.resolve(process.cwd(), process.argv[i])); | ||
glob(process.argv[i], function (er, files) { | ||
files.forEach(function (file) { | ||
require(path.resolve(process.cwd(), file)); | ||
}); | ||
}); | ||
} |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
17673
17
463
4
+ Addedacorn@3.3.0(transitive)
- Removedacorn@1.2.2(transitive)
Updatedacorn@^3.0.0