@module-federation/third-party-dts-extractor
Advanced tools
Comparing version 0.0.0-next-20240617070818 to 0.0.0-next-20240617071032
# @module-federation/third-party-dts-extractor | ||
## 0.1.19 | ||
## 0.1.18 | ||
## 0.1.17 | ||
## 0.1.16 | ||
## 0.1.15 | ||
@@ -12,0 +4,0 @@ |
@@ -9,3 +9,2 @@ declare class ThirdPartyExtractor { | ||
inferPkgDir(importPath: string): string | void; | ||
collectTypeImports(str: string): string[]; | ||
collectPkgs(str: string): void; | ||
@@ -12,0 +11,0 @@ copyDts(): void; |
@@ -77,3 +77,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { | ||
} | ||
collectTypeImports(str) { | ||
collectPkgs(str) { | ||
const { pattern } = this; | ||
@@ -85,7 +85,3 @@ let match; | ||
} | ||
return [...imports]; | ||
} | ||
collectPkgs(str) { | ||
const imports = this.collectTypeImports(str); | ||
imports.forEach((importPath) => { | ||
[...imports].forEach((importPath) => { | ||
this.inferPkgDir(importPath); | ||
@@ -92,0 +88,0 @@ }); |
{ | ||
"name": "@module-federation/third-party-dts-extractor", | ||
"version": "0.1.19", | ||
"version": "0.1.15", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist/", |
{ | ||
"name": "@module-federation/third-party-dts-extractor", | ||
"version": "0.0.0-next-20240617070818", | ||
"version": "0.0.0-next-20240617071032", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11883
260