@module-federation/third-party-dts-extractor
Advanced tools
Comparing version 0.1.19 to 0.1.20
# @module-federation/third-party-dts-extractor | ||
## 0.1.20 | ||
### Patch Changes | ||
- 685c607: feat: support dynamic remote type hints | ||
## 0.1.19 | ||
@@ -4,0 +10,0 @@ |
@@ -9,2 +9,3 @@ declare class ThirdPartyExtractor { | ||
inferPkgDir(importPath: string): string | void; | ||
collectTypeImports(str: string): string[]; | ||
collectPkgs(str: string): void; | ||
@@ -11,0 +12,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, { | ||
} | ||
collectPkgs(str) { | ||
collectTypeImports(str) { | ||
const { pattern } = this; | ||
@@ -85,3 +85,7 @@ let match; | ||
} | ||
[...imports].forEach((importPath) => { | ||
return [...imports]; | ||
} | ||
collectPkgs(str) { | ||
const imports = this.collectTypeImports(str); | ||
imports.forEach((importPath) => { | ||
this.inferPkgDir(importPath); | ||
@@ -88,0 +92,0 @@ }); |
{ | ||
"name": "@module-federation/third-party-dts-extractor", | ||
"version": "0.1.19", | ||
"version": "0.1.20", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist/", |
{ | ||
"name": "@module-federation/third-party-dts-extractor", | ||
"version": "0.1.19", | ||
"version": "0.1.20", | ||
"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
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
12288
269