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

@module-federation/runtime

Package Overview
Dependencies
Maintainers
8
Versions
654
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/runtime - npm Package Compare versions

Comparing version 0.0.0-next-20241106024856 to 0.0.0-next-20241106033151

2

dist/package.json
{
"name": "@module-federation/runtime",
"version": "0.6.16",
"version": "0.7.0",
"author": "zhouxiao <codingzx@gmail.com>",

@@ -5,0 +5,0 @@ "main": "./index.cjs.js",

@@ -157,2 +157,5 @@ 'use strict';

globalThis.__FEDERATION__.__MANIFEST_LOADING__ = {};
Object.keys(globalLoading).forEach((key)=>{
delete globalLoading[key];
});
}

@@ -183,3 +186,3 @@ function getGlobalFederationInstance(name, version) {

globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.6.16";
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.7.0";
}

@@ -770,2 +773,5 @@ }

};
const isLoading = (shared)=>{
return Boolean(shared.loading);
};
function findSingletonVersionOrderByVersion(shareScopeMap, scope, pkgName) {

@@ -781,4 +787,7 @@ const versions = shareScopeMap[scope][pkgName];

const callback = function(prev, cur) {
if (isLoaded(versions[cur])) {
if (isLoaded(versions[prev])) {
const isLoadingOrLoaded = (shared)=>{
return isLoaded(shared) || isLoading(shared);
};
if (isLoadingOrLoaded(versions[cur])) {
if (isLoadingOrLoaded(versions[prev])) {
return Boolean(versionLt(prev, cur));

@@ -789,3 +798,3 @@ } else {

}
if (isLoaded(versions[prev])) {
if (isLoadingOrLoaded(versions[prev])) {
return false;

@@ -792,0 +801,0 @@ }

{
"name": "@module-federation/runtime",
"version": "0.0.0-next-20241106024856",
"version": "0.0.0-next-20241106033151",
"author": "zhouxiao <codingzx@gmail.com>",

@@ -53,5 +53,5 @@ "main": "./dist/index.cjs.js",

"dependencies": {
"@module-federation/sdk": "0.0.0-next-20241106024856",
"@module-federation/error-codes": "0.0.0-next-20241106024856"
"@module-federation/sdk": "0.0.0-next-20241106033151",
"@module-federation/error-codes": "0.0.0-next-20241106033151"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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