detective-typescript
Advanced tools
Comparing version 5.1.1 to 5.2.0
@@ -28,2 +28,7 @@ 'use strict'; | ||
switch (node.type) { | ||
case 'Import': | ||
if (node.parent && node.parent.type === 'CallExpression' && node.parent.arguments.length) { | ||
dependencies.push(node.parent.arguments[0].value); | ||
} | ||
break; | ||
case 'ImportDeclaration': | ||
@@ -30,0 +35,0 @@ if (node.source && node.source.value) { |
{ | ||
"name": "detective-typescript", | ||
"version": "5.1.1", | ||
"version": "5.2.0", | ||
"author": "Patrik Henningsson <patrik.henningsson@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Get the dependencies of a TypeScript module", |
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
3414
51