js-code-detector 0.0.27 → 0.0.28

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.
@@ -203,6 +203,13 @@ var _AstUtil = class {
203
203
  target = { sourcePath: sourceValue, members: [] };
204
204
  importedMember.push(target);
205
205
  }
206
+ if (specifier.type === "ImportNamespaceSpecifier") {
207
+ target.members.push({
208
+ localName: local.name,
209
+ importedName: "*"
210
+ });
211
+ return;
212
+ }
206
213
  target.members.push({
207
214
  localName: local.name,
208
215
  importedName: (imported == null ? void 0 : imported.name) || "default"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-code-detector",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",