@module-federation/runtime-core 0.0.0-next-20250701105507 → 0.0.0-next-20250701110353

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.
@@ -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.15.0";
199
+ CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.16.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_REMOTE_TYPE = 'global';
300
299
  const DEFAULT_SCOPE = 'default';
300
+ const DEFAULT_REMOTE_TYPE = 'global';
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.15.0";
3027
+ this.version = "0.16.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.15.0";
198
+ CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.16.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_REMOTE_TYPE = 'global';
299
298
  const DEFAULT_SCOPE = 'default';
299
+ const DEFAULT_REMOTE_TYPE = 'global';
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.15.0";
3026
+ this.version = "0.16.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
@@ -1,2 +1,2 @@
1
- export declare const DEFAULT_REMOTE_TYPE = "global";
2
1
  export declare const DEFAULT_SCOPE = "default";
2
+ export declare const DEFAULT_REMOTE_TYPE = "global";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime-core",
3
- "version": "0.0.0-next-20250701105507",
3
+ "version": "0.0.0-next-20250701110353",
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-20250701105507",
56
- "@module-federation/error-codes": "0.0.0-next-20250701105507"
55
+ "@module-federation/sdk": "0.0.0-next-20250701110353",
56
+ "@module-federation/error-codes": "0.0.0-next-20250701110353"
57
57
  }
58
58
  }