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

@module-federation/enhanced

Package Overview
Dependencies
Maintainers
8
Versions
682
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/enhanced - npm Package Compare versions

Comparing version 0.0.0-next-20240307082121 to 0.0.0-next-20240307100534

17

dist/src/lib/container/ModuleFederationPlugin.js

@@ -52,3 +52,3 @@ /*

: Object.keys(options.exposes).length > 0);
const disableManifest = options.manifest === false;
let disableManifest = options.manifest === false;
if (useContainerPlugin) {

@@ -59,5 +59,14 @@ // @ts-ignore

if (!disableManifest && useContainerPlugin) {
const containerManager = new managers_1.ContainerManager();
containerManager.init(options);
options.exposes = containerManager.containerPluginExposesOptions;
try {
const containerManager = new managers_1.ContainerManager();
containerManager.init(options);
options.exposes = containerManager.containerPluginExposesOptions;
}
catch (err) {
if (err instanceof Error) {
err.message = `[ ModuleFederationPlugin ]: Manifest will not generate, because: ${err.message}`;
}
console.warn(err);
disableManifest = true;
}
}

@@ -64,0 +73,0 @@ if (library &&

{
"name": "@module-federation/enhanced",
"version": "0.0.0-next-20240307082121",
"version": "0.0.0-next-20240307100534",
"main": "./dist/src/index.js",

@@ -31,11 +31,11 @@ "types": "./dist/src/index.d.ts",

"devDependencies": {
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20240307082121"
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20240307100534"
},
"dependencies": {
"upath": "2.0.1",
"@module-federation/sdk": "0.0.0-next-20240307082121",
"@module-federation/runtime-tools": "0.0.0-next-20240307082121",
"@module-federation/manifest": "0.0.0-next-20240307082121",
"@module-federation/managers": "0.0.0-next-20240307082121"
"@module-federation/sdk": "0.0.0-next-20240307100534",
"@module-federation/runtime-tools": "0.0.0-next-20240307100534",
"@module-federation/manifest": "0.0.0-next-20240307100534",
"@module-federation/managers": "0.0.0-next-20240307100534"
}
}

Sorry, the diff of this file is not supported yet

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