Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@module-federation/sdk

Package Overview
Dependencies
Maintainers
8
Versions
630
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 0.0.0-next-20240307100534 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc