Comparing version 0.0.0 to 0.0.1
@@ -7,3 +7,3 @@ module.exports = isRequire | ||
return function(node) { | ||
var c = node.callee | ||
var c = node && node.callee | ||
return c | ||
@@ -10,0 +10,0 @@ && c.name === word |
{ | ||
"name": "is-require", | ||
"description": "Tests whether an JavaScript AST node is likely to be a valid `require` call.", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "browser": "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
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
3557