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

@module-federation/webpack-bundler-runtime

Package Overview
Dependencies
Maintainers
8
Versions
669
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/webpack-bundler-runtime - npm Package Compare versions

Comparing version 0.0.0-next-20241113030718 to 0.0.0-next-20241113073608

15

dist/index.cjs.js

@@ -98,6 +98,13 @@ 'use strict';

const remoteModuleName = remoteName + data[1].slice(1);
return webpackRequire.federation.instance.loadRemote(remoteModuleName, {
loadFactory: false,
from: 'build'
});
const instance = webpackRequire.federation.instance;
const loadRemote = ()=>webpackRequire.federation.instance.loadRemote(remoteModuleName, {
loadFactory: false,
from: 'build'
});
if (instance.options.shareStrategy === 'version-first') {
return Promise.all(instance.sharedHandler.initializeSharing(data[0])).then(()=>{
return loadRemote();
});
}
return loadRemote();
} catch (error) {

@@ -104,0 +111,0 @@ onError(error);

{
"public": true,
"name": "@module-federation/webpack-bundler-runtime",
"version": "0.0.0-next-20241113030718",
"version": "0.0.0-next-20241113073608",
"license": "MIT",

@@ -23,4 +23,4 @@ "description": "Module Federation Runtime for webpack",

"dependencies": {
"@module-federation/runtime": "0.0.0-next-20241113030718",
"@module-federation/sdk": "0.0.0-next-20241113030718"
"@module-federation/runtime": "0.0.0-next-20241113073608",
"@module-federation/sdk": "0.0.0-next-20241113073608"
},

@@ -53,4 +53,4 @@ "exports": {

"devDependencies": {
"@module-federation/runtime": "0.0.0-next-20241113030718"
"@module-federation/runtime": "0.0.0-next-20241113073608"
}
}

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