@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -133,7 +133,7 @@ class TypeScriptDependencyScanner {
133
133
  imports.push(arg.text);
134
134
  }
135
135
  }
136
- if (ts.isArrowFunction(node.expression) && node.expression.body) {
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) {
@@ -101,7 +101,7 @@ class TypeScriptDependencyScanner {
101
101
  imports.push(arg.text);
102
102
  }
103
103
  }
104
- if (ts.isArrowFunction(node.expression) && node.expression.body) {
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) {