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-canary-1701680335968 to 0.0.0-canary-1701694314517

7

index.cjs.js

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

function proxyShareScopeMap(webpackRequire) {
if (!webpackRequire.S || webpackRequire.federation.hasProxyShareScopeMap || !webpackRequire.federation.initOptions || !webpackRequire.federation.initOptions.name) {
if (!webpackRequire.S || webpackRequire.federation.hasProxyShareScopeMap || !webpackRequire.federation.initOptions) {
return;
}
if (!webpackRequire.g["__FEDERATION__"].__SHARE__[webpackRequire.federation.initOptions.name]) {
return;
}
webpackRequire.S = webpackRequire.g["__FEDERATION__"].__SHARE__[webpackRequire.federation.initOptions.name];

@@ -235,3 +238,2 @@ webpackRequire.federation.hasProxyShareScopeMap = true;

var shareScopeName = param.shareScopeName, webpackRequire = param.webpackRequire, initPromises = param.initPromises, initTokens = param.initTokens, initScope = param.initScope;
proxyShareScopeMap(webpackRequire);
if (!initScope) initScope = [];

@@ -268,2 +270,3 @@ // handling circular init calls

var promises = webpackRequire.federation.instance.initializeSharing(shareScopeName);
proxyShareScopeMap(webpackRequire);
var bundlerRuntimeRemotesOptions = webpackRequire.federation.bundlerRuntimeOptions.remotes;

@@ -270,0 +273,0 @@ if (bundlerRuntimeRemotesOptions) {

import * as runtime from '@module-federation/runtime';
function proxyShareScopeMap(webpackRequire) {
if (!webpackRequire.S || webpackRequire.federation.hasProxyShareScopeMap || !webpackRequire.federation.initOptions || !webpackRequire.federation.initOptions.name) {
if (!webpackRequire.S || webpackRequire.federation.hasProxyShareScopeMap || !webpackRequire.federation.initOptions) {
return;
}
if (!webpackRequire.g["__FEDERATION__"].__SHARE__[webpackRequire.federation.initOptions.name]) {
return;
}
webpackRequire.S = webpackRequire.g["__FEDERATION__"].__SHARE__[webpackRequire.federation.initOptions.name];

@@ -212,3 +215,2 @@ webpackRequire.federation.hasProxyShareScopeMap = true;

var shareScopeName = param.shareScopeName, webpackRequire = param.webpackRequire, initPromises = param.initPromises, initTokens = param.initTokens, initScope = param.initScope;
proxyShareScopeMap(webpackRequire);
if (!initScope) initScope = [];

@@ -245,2 +247,3 @@ // handling circular init calls

var promises = webpackRequire.federation.instance.initializeSharing(shareScopeName);
proxyShareScopeMap(webpackRequire);
var bundlerRuntimeRemotesOptions = webpackRequire.federation.bundlerRuntimeOptions.remotes;

@@ -247,0 +250,0 @@ if (bundlerRuntimeRemotesOptions) {

{
"public": true,
"name": "@module-federation/webpack-bundler-runtime",
"version": "0.0.0-canary-1701680335968",
"version": "0.0.0-canary-1701694314517",
"license": "MIT",

@@ -19,5 +19,5 @@ "description": "Module Federation Runtime for webpack",

"dependencies": {
"@module-federation/runtime": "0.0.0-canary-1701680335968"
"@module-federation/runtime": "0.0.0-canary-1701694314517"
},
"peerDependencies": {}
}
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