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