@module-federation/runtime-core 0.20.0 → 0.21.1
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.cjs +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +3 -3
package/dist/index.cjs.cjs
CHANGED
|
@@ -201,7 +201,7 @@ function getGlobalFederationConstructor() {
|
|
|
201
201
|
function setGlobalFederationConstructor(FederationConstructor, isDebug = sdk.isDebugMode()) {
|
|
202
202
|
if (isDebug) {
|
|
203
203
|
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
204
|
-
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.
|
|
204
|
+
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.21.1";
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -3075,7 +3075,7 @@ class ModuleFederation {
|
|
|
3075
3075
|
// maybe will change, temporarily for internal use only
|
|
3076
3076
|
initContainer: new AsyncWaterfallHook('initContainer'),
|
|
3077
3077
|
});
|
|
3078
|
-
this.version = "0.
|
|
3078
|
+
this.version = "0.21.1";
|
|
3079
3079
|
this.moduleCache = new Map();
|
|
3080
3080
|
this.loaderHook = new PluginSystem({
|
|
3081
3081
|
// FIXME: may not be suitable , not open to the public yet
|
package/dist/index.esm.js
CHANGED
|
@@ -200,7 +200,7 @@ function getGlobalFederationConstructor() {
|
|
|
200
200
|
function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
|
|
201
201
|
if (isDebug) {
|
|
202
202
|
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
203
|
-
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.
|
|
203
|
+
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.21.1";
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -3074,7 +3074,7 @@ class ModuleFederation {
|
|
|
3074
3074
|
// maybe will change, temporarily for internal use only
|
|
3075
3075
|
initContainer: new AsyncWaterfallHook('initContainer'),
|
|
3076
3076
|
});
|
|
3077
|
-
this.version = "0.
|
|
3077
|
+
this.version = "0.21.1";
|
|
3078
3078
|
this.moduleCache = new Map();
|
|
3079
3079
|
this.loaderHook = new PluginSystem({
|
|
3080
3080
|
// 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.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "zhouxiao <codingzx@gmail.com>",
|
|
6
6
|
"main": "./dist/index.cjs.cjs",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@module-federation/sdk": "0.
|
|
56
|
-
"@module-federation/error-codes": "0.
|
|
55
|
+
"@module-federation/sdk": "0.21.1",
|
|
56
|
+
"@module-federation/error-codes": "0.21.1"
|
|
57
57
|
}
|
|
58
58
|
}
|