@module-federation/runtime
Advanced tools
Comparing version 0.0.0-next-20241105094630 to 0.0.0-next-20241105102822
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
323125
7540
+ Added@module-federation/error-codes@0.0.0-next-20241105102822(transitive)
+ Added@module-federation/sdk@0.0.0-next-20241105102822(transitive)
- Removed@module-federation/error-codes@0.0.0-next-20241105094630(transitive)
- Removed@module-federation/sdk@0.0.0-next-20241105094630(transitive)
Updated@module-federation/error-codes@0.0.0-next-20241105102822