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
611
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-20240826081819 to 0.0.0-next-20240827062238

11

dist/index.cjs.js

@@ -174,5 +174,8 @@ 'use strict';

if (!initScope) initScope = [];
var mfInstance = webpackRequire.federation.instance;
// handling circular init calls
var initToken = initTokens[shareScopeName];
if (!initToken) initToken = initTokens[shareScopeName] = {};
if (!initToken) initToken = initTokens[shareScopeName] = {
from: mfInstance.name
};
if (initScope.indexOf(initToken) >= 0) return;

@@ -205,3 +208,7 @@ initScope.push(initToken);

};
var promises = webpackRequire.federation.instance.initializeSharing(shareScopeName);
var promises = mfInstance.initializeSharing(shareScopeName, {
strategy: mfInstance.options.shareStrategy,
initScope: initScope,
from: 'build'
});
attachShareScopeMap(webpackRequire);

@@ -208,0 +215,0 @@ var bundlerRuntimeRemotesOptions = webpackRequire.federation.bundlerRuntimeOptions.remotes;

@@ -152,5 +152,8 @@ import * as runtime from '@module-federation/runtime';

if (!initScope) initScope = [];
var mfInstance = webpackRequire.federation.instance;
// handling circular init calls
var initToken = initTokens[shareScopeName];
if (!initToken) initToken = initTokens[shareScopeName] = {};
if (!initToken) initToken = initTokens[shareScopeName] = {
from: mfInstance.name
};
if (initScope.indexOf(initToken) >= 0) return;

@@ -183,3 +186,7 @@ initScope.push(initToken);

};
var promises = webpackRequire.federation.instance.initializeSharing(shareScopeName);
var promises = mfInstance.initializeSharing(shareScopeName, {
strategy: mfInstance.options.shareStrategy,
initScope: initScope,
from: 'build'
});
attachShareScopeMap(webpackRequire);

@@ -186,0 +193,0 @@ var bundlerRuntimeRemotesOptions = webpackRequire.federation.bundlerRuntimeOptions.remotes;

2

dist/package.json
{
"public": true,
"name": "@module-federation/webpack-bundler-runtime",
"version": "0.5.1",
"version": "0.5.2",
"license": "MIT",

@@ -6,0 +6,0 @@ "description": "Module Federation Runtime for webpack",

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

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

"dependencies": {
"@module-federation/runtime": "0.0.0-next-20240826081819",
"@module-federation/sdk": "0.0.0-next-20240826081819"
"@module-federation/runtime": "0.0.0-next-20240827062238",
"@module-federation/sdk": "0.0.0-next-20240827062238"
},

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

"devDependencies": {
"@module-federation/runtime": "0.0.0-next-20240826081819"
"@module-federation/runtime": "0.0.0-next-20240827062238"
}
}
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