@module-federation/runtime-core 0.0.0-next-20250407024707 → 0.0.0-next-20250408024819
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -3
- package/dist/index.esm.mjs +4 -3
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -196,7 +196,7 @@ function getGlobalFederationConstructor() {
|
|
|
196
196
|
function setGlobalFederationConstructor(FederationConstructor, isDebug = sdk.isDebugMode()) {
|
|
197
197
|
if (isDebug) {
|
|
198
198
|
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
199
|
-
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.
|
|
199
|
+
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.12.0";
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -2108,7 +2108,8 @@ class SnapshotHandler {
|
|
|
2108
2108
|
delete this.manifestLoading[manifestUrl];
|
|
2109
2109
|
error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_003, errorCodes.runtimeDescMap, {
|
|
2110
2110
|
manifestUrl,
|
|
2111
|
-
moduleName: moduleInfo.name
|
|
2111
|
+
moduleName: moduleInfo.name,
|
|
2112
|
+
hostName: this.HostInstance.options.name
|
|
2112
2113
|
}, `${err}`));
|
|
2113
2114
|
}
|
|
2114
2115
|
}
|
|
@@ -2968,7 +2969,7 @@ class FederationHost {
|
|
|
2968
2969
|
// maybe will change, temporarily for internal use only
|
|
2969
2970
|
initContainer: new AsyncWaterfallHook('initContainer')
|
|
2970
2971
|
});
|
|
2971
|
-
this.version = "0.
|
|
2972
|
+
this.version = "0.12.0";
|
|
2972
2973
|
this.moduleCache = new Map();
|
|
2973
2974
|
this.loaderHook = new PluginSystem({
|
|
2974
2975
|
// FIXME: may not be suitable , not open to the public yet
|
package/dist/index.esm.mjs
CHANGED
|
@@ -195,7 +195,7 @@ function getGlobalFederationConstructor() {
|
|
|
195
195
|
function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
|
|
196
196
|
if (isDebug) {
|
|
197
197
|
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
198
|
-
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.
|
|
198
|
+
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.12.0";
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -2107,7 +2107,8 @@ class SnapshotHandler {
|
|
|
2107
2107
|
delete this.manifestLoading[manifestUrl];
|
|
2108
2108
|
error(getShortErrorMsg(RUNTIME_003, runtimeDescMap, {
|
|
2109
2109
|
manifestUrl,
|
|
2110
|
-
moduleName: moduleInfo.name
|
|
2110
|
+
moduleName: moduleInfo.name,
|
|
2111
|
+
hostName: this.HostInstance.options.name
|
|
2111
2112
|
}, `${err}`));
|
|
2112
2113
|
}
|
|
2113
2114
|
}
|
|
@@ -2967,7 +2968,7 @@ class FederationHost {
|
|
|
2967
2968
|
// maybe will change, temporarily for internal use only
|
|
2968
2969
|
initContainer: new AsyncWaterfallHook('initContainer')
|
|
2969
2970
|
});
|
|
2970
|
-
this.version = "0.
|
|
2971
|
+
this.version = "0.12.0";
|
|
2971
2972
|
this.moduleCache = new Map();
|
|
2972
2973
|
this.loaderHook = new PluginSystem({
|
|
2973
2974
|
// FIXME: may not be suitable , not open to the public yet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/runtime-core",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20250408024819",
|
|
4
4
|
"author": "zhouxiao <codingzx@gmail.com>",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.mjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
40
|
-
"@module-federation/error-codes": "0.0.0-next-
|
|
39
|
+
"@module-federation/sdk": "0.0.0-next-20250408024819",
|
|
40
|
+
"@module-federation/error-codes": "0.0.0-next-20250408024819"
|
|
41
41
|
}
|
|
42
42
|
}
|