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
616
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-20241105094630 to 0.0.0-next-20241105102822

12

dist/share.cjs.js

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

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

@@ -782,7 +779,4 @@ const versions = shareScopeMap[scope][pkgName];

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

@@ -793,3 +787,3 @@ } else {

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

@@ -796,0 +790,0 @@ }

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

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

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

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