@akanjs/devkit 0.0.67 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -133,7 +133,7 @@ class TypeScriptDependencyScanner {
|
|
|
133
133
|
imports.push(arg.text);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
if (ts.isArrowFunction(node.expression)
|
|
136
|
+
if (ts.isArrowFunction(node.expression)) {
|
|
137
137
|
const body = node.expression.body;
|
|
138
138
|
if (ts.isCallExpression(body) && body.expression.kind === ts.SyntaxKind.ImportKeyword) {
|
|
139
139
|
if (body.arguments.length > 0) {
|
package/src/dependencyScanner.js
CHANGED
|
@@ -101,7 +101,7 @@ class TypeScriptDependencyScanner {
|
|
|
101
101
|
imports.push(arg.text);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
if (ts.isArrowFunction(node.expression)
|
|
104
|
+
if (ts.isArrowFunction(node.expression)) {
|
|
105
105
|
const body = node.expression.body;
|
|
106
106
|
if (ts.isCallExpression(body) && body.expression.kind === ts.SyntaxKind.ImportKeyword) {
|
|
107
107
|
if (body.arguments.length > 0) {
|