New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@module-federation/third-party-dts-extractor

Package Overview
Dependencies
Maintainers
8
Versions
586
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/third-party-dts-extractor - npm Package Compare versions

Comparing version

to
0.0.0-next-20240617084909

8

dist/CHANGELOG.md
# @module-federation/third-party-dts-extractor
## 0.1.19
## 0.1.18
## 0.1.17
## 0.1.16
## 0.1.15

@@ -4,0 +12,0 @@

1

dist/index.d.ts

@@ -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;

8

dist/index.js

@@ -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.15",
"version": "0.1.19",
"files": [

@@ -5,0 +5,0 @@ "dist/",

{
"name": "@module-federation/third-party-dts-extractor",
"version": "0.0.0-next-20240617071542",
"version": "0.0.0-next-20240617084909",
"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