Comparing version 2.1.0 to 2.1.1
@@ -35,3 +35,3 @@ var esprima = require('esprima'); | ||
if (typeof src !== 'string') src = String(src); | ||
src = src.replace(/^#![^\n]*\n/, ''); | ||
src = '(function(){' + src.replace(/^#![^\n]*\n/, '') + '\n})()'; | ||
@@ -38,0 +38,0 @@ function isRequire (node) { |
{ | ||
"name" : "detective", | ||
"description" : "Find all calls to require() no matter how crazily nested using a proper walk of the AST", | ||
"version" : "2.1.0", | ||
"description" : "find all require() calls by walking the AST", | ||
"version" : "2.1.1", | ||
"repository" : { | ||
@@ -6,0 +6,0 @@ "type" : "git", |
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
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
8683
21
187
10