static-eval
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -134,3 +134,4 @@ var unparse = require('escodegen').generate; | ||
node.params.forEach(function(key) { | ||
for(var i=0; i<node.params.length; i++){ | ||
var key = node.params[i]; | ||
if(key.type == 'Identifier'){ | ||
@@ -140,3 +141,3 @@ vars[key.name] = null; | ||
else return FAIL; | ||
}); | ||
} | ||
for(var i in bodies){ | ||
@@ -143,0 +144,0 @@ if(walk(bodies[i]) === FAIL){ |
{ | ||
"name": "static-eval", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "evaluate statically-analyzable expressions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
14358
287
88
2