@module-federation/runtime-core 0.0.0-next-20250701100253 → 0.0.0-next-20250701105507
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.esm.js +3 -3
- package/dist/src/constant.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.cjs.cjs
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.15.0";
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -296,8 +296,8 @@ const getGlobalHostPlugins = ()=>nativeGlobal.__FEDERATION__.__GLOBAL_PLUGIN__;
|
|
|
296
296
|
const getPreloaded = (id)=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.get(id);
|
|
297
297
|
const setPreloaded = (id)=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.set(id, true);
|
|
298
298
|
|
|
299
|
-
const DEFAULT_SCOPE = 'default';
|
|
300
299
|
const DEFAULT_REMOTE_TYPE = 'global';
|
|
300
|
+
const DEFAULT_SCOPE = 'default';
|
|
301
301
|
|
|
302
302
|
// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts
|
|
303
303
|
// those constants are based on https://www.rubydoc.info/gems/semantic_range/3.0.0/SemanticRange#BUILDIDENTIFIER-constant
|
|
@@ -3024,7 +3024,7 @@ class FederationHost {
|
|
|
3024
3024
|
// maybe will change, temporarily for internal use only
|
|
3025
3025
|
initContainer: new AsyncWaterfallHook('initContainer')
|
|
3026
3026
|
});
|
|
3027
|
-
this.version = "0.
|
|
3027
|
+
this.version = "0.15.0";
|
|
3028
3028
|
this.moduleCache = new Map();
|
|
3029
3029
|
this.loaderHook = new PluginSystem({
|
|
3030
3030
|
// FIXME: may not be suitable , not open to the public yet
|
package/dist/index.esm.js
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.15.0";
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
@@ -295,8 +295,8 @@ const getGlobalHostPlugins = ()=>nativeGlobal.__FEDERATION__.__GLOBAL_PLUGIN__;
|
|
|
295
295
|
const getPreloaded = (id)=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.get(id);
|
|
296
296
|
const setPreloaded = (id)=>CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.set(id, true);
|
|
297
297
|
|
|
298
|
-
const DEFAULT_SCOPE = 'default';
|
|
299
298
|
const DEFAULT_REMOTE_TYPE = 'global';
|
|
299
|
+
const DEFAULT_SCOPE = 'default';
|
|
300
300
|
|
|
301
301
|
// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts
|
|
302
302
|
// those constants are based on https://www.rubydoc.info/gems/semantic_range/3.0.0/SemanticRange#BUILDIDENTIFIER-constant
|
|
@@ -3023,7 +3023,7 @@ class FederationHost {
|
|
|
3023
3023
|
// maybe will change, temporarily for internal use only
|
|
3024
3024
|
initContainer: new AsyncWaterfallHook('initContainer')
|
|
3025
3025
|
});
|
|
3026
|
-
this.version = "0.
|
|
3026
|
+
this.version = "0.15.0";
|
|
3027
3027
|
this.moduleCache = new Map();
|
|
3028
3028
|
this.loaderHook = new PluginSystem({
|
|
3029
3029
|
// FIXME: may not be suitable , not open to the public yet
|
package/dist/src/constant.d.ts
CHANGED
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-20250701105507",
|
|
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.0.0-next-
|
|
56
|
-
"@module-federation/error-codes": "0.0.0-next-
|
|
55
|
+
"@module-federation/sdk": "0.0.0-next-20250701105507",
|
|
56
|
+
"@module-federation/error-codes": "0.0.0-next-20250701105507"
|
|
57
57
|
}
|
|
58
58
|
}
|