ast-module-types
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -26,3 +26,3 @@ // Whether or not the node represents an AMD define() call | ||
// at which it still has at least 3 parents | ||
return types.isRequire(node) && node.parent.parent.parent.type === 'Program'; | ||
return this.isRequire(node) && node.parent.parent.parent.type === 'Program'; | ||
}; | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "ast-module-types", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Collection of useful helper functions when trying to determine module type (CommonJS or AMD) properties of an AST node.", | ||
@@ -5,0 +5,0 @@ "main": "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
4193