ast-module-types
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -183,2 +183,3 @@ // Whether or not the node represents an AMD define() call | ||
switch(node.type) { | ||
case 'Import': | ||
case 'ImportDeclaration': | ||
@@ -185,0 +186,0 @@ case 'ImportDefaultSpecifier': |
{ | ||
"name": "ast-module-types", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"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", |
@@ -108,2 +108,3 @@ var types = require('../'); | ||
assert(check('import foo from "mod.js";', types.isES6Import, true)); | ||
assert(check('import("foo");', types.isES6Import, true)); | ||
}); | ||
@@ -110,0 +111,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
13054
259