module-definition
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -30,3 +30,3 @@ 'use strict'; | ||
walker.walk(source, function(node) { | ||
if (types.isDefine(node)) { | ||
if (types.isDefineAMD(node)) { | ||
hasDefine = true; | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "module-definition", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Determines if a file is using a CommonJS or AMD module definition", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"ast-module-types": "^2.6.0", | ||
"ast-module-types": "^2.7.1", | ||
"node-source-walk": "^4.0.0" | ||
@@ -23,0 +23,0 @@ }, |
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
5297
Updatedast-module-types@^2.7.1