@module-federation/runtime-core 0.0.0-next-20250919235431 → 0.0.0-next-20250920074657
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 +3 -3
- package/dist/index.cjs.cjs.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/src/constant.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.cjs.cjs
CHANGED
|
@@ -202,7 +202,7 @@ function getGlobalFederationConstructor() {
|
|
|
202
202
|
function setGlobalFederationConstructor(FederationConstructor, isDebug = sdk.isDebugMode()) {
|
|
203
203
|
if (isDebug) {
|
|
204
204
|
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
205
|
-
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.0.0-next-
|
|
205
|
+
CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.0.0-next-20250920074657";
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -302,8 +302,8 @@ const getGlobalHostPlugins = ()=>nativeGlobal.__FEDERATION__.__GLOBAL_PLUGIN__;
|
|
|
302
302
|
const getPreloaded = (id)=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.get(id);
|
|
303
303
|
const setPreloaded = (id)=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.set(id, true);
|
|
304
304
|
|
|
305
|
-
const DEFAULT_SCOPE = 'default';
|
|
306
305
|
const DEFAULT_REMOTE_TYPE = 'global';
|
|
306
|
+
const DEFAULT_SCOPE = 'default';
|
|
307
307
|
|
|
308
308
|
// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts
|
|
309
309
|
// those constants are based on https://www.rubydoc.info/gems/semantic_range/3.0.0/SemanticRange#BUILDIDENTIFIER-constant
|
|
@@ -3043,7 +3043,7 @@ class ModuleFederation {
|
|
|
3043
3043
|
// maybe will change, temporarily for internal use only
|
|
3044
3044
|
initContainer: new AsyncWaterfallHook('initContainer')
|
|
3045
3045
|
});
|
|
3046
|
-
this.version = "0.0.0-next-
|
|
3046
|
+
this.version = "0.0.0-next-20250920074657";
|
|
3047
3047
|
this.moduleCache = new Map();
|
|
3048
3048
|
this.loaderHook = new PluginSystem({
|
|
3049
3049
|
// FIXME: may not be suitable , not open to the public yet
|