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

@module-federation/sdk

Package Overview
Dependencies
Maintainers
8
Versions
782
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/sdk - npm Package Compare versions

Comparing version

to
0.0.0-next-20240307111914

10

dist/src/types/plugins/ModuleFederationPlugin.d.ts

@@ -0,1 +1,2 @@

import type webpack from 'webpack';
import { Stats } from '../stats';

@@ -66,2 +67,9 @@ /**

export type SharedItem = string;
export interface AdditionalDataOptions {
stats: Stats;
pluginOptions: ModuleFederationPluginOptions;
compiler: webpack.Compiler;
compilation: webpack.Compilation;
bundler: 'webpack' | 'rspack';
}
export interface PluginManifestOptions {

@@ -71,3 +79,3 @@ filePath?: string;

fileName?: string;
additionalData?: (stats: Stats) => Promise<Stats | void> | Stats | void;
additionalData?: (options: AdditionalDataOptions) => Promise<Stats | void> | Stats | void;
}

@@ -74,0 +82,0 @@ export interface ModuleFederationPluginOptions {

2

package.json
{
"name": "@module-federation/sdk",
"version": "0.0.0-next-20240307100534",
"version": "0.0.0-next-20240307111914",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A sdk for support module federation",