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-20240824225724 to 0.0.0-next-20240826075118

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;

10

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

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

},
"./vendor": {
"import": "./dist/vendored.esm.js",
"require": "./dist/vendored.cjs.js"
},
"./*": "./*"

@@ -57,6 +53,4 @@ },

"devDependencies": {
"@module-federation/runtime": "workspace:*",
"@rollup/plugin-swc": "^0.3.1",
"rollup-plugin-cleanup": "^3.2.1"
"@module-federation/runtime": "workspace:*"
}
}
{
"public": true,
"name": "@module-federation/webpack-bundler-runtime",
"version": "0.0.0-next-20240824225724",
"version": "0.0.0-next-20240826075118",
"license": "MIT",

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

"dependencies": {
"@module-federation/runtime": "0.0.0-next-20240824225724",
"@module-federation/sdk": "0.0.0-next-20240824225724"
"@module-federation/runtime": "0.0.0-next-20240826075118",
"@module-federation/sdk": "0.0.0-next-20240826075118"
},

@@ -40,6 +40,2 @@ "exports": {

},
"./vendor": {
"import": "./dist/vendored.esm.js",
"require": "./dist/vendored.cjs.js"
},
"./*": "./*"

@@ -58,6 +54,4 @@ },

"devDependencies": {
"@rollup/plugin-swc": "^0.3.1",
"rollup-plugin-cleanup": "^3.2.1",
"@module-federation/runtime": "0.0.0-next-20240824225724"
"@module-federation/runtime": "0.0.0-next-20240826075118"
}
}
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