@module-federation/runtime 0.0.0-next-20240418220407 → 0.0.0-next-20240418224727

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.js CHANGED
@@ -1567,6 +1567,7 @@ class FederationHost {
1567
1567
  ]);
1568
1568
  // Merge plugin
1569
1569
  this.options.plugins = this.options.plugins.reduce((res, plugin)=>{
1570
+ if (!plugin) return res;
1570
1571
  if (res && !res.find((item)=>item.name === plugin.name)) {
1571
1572
  res.push(plugin);
1572
1573
  }
@@ -1698,7 +1699,7 @@ class FederationHost {
1698
1699
  // not used yet
1699
1700
  afterPreloadRemote: new AsyncHook()
1700
1701
  });
1701
- this.version = "0.1.6";
1702
+ this.version = "0.1.7";
1702
1703
  this.moduleCache = new Map();
1703
1704
  this.loaderHook = new PluginSystem({
1704
1705
  // FIXME: may not be suitable , not open to the public yet
package/dist/index.esm.js CHANGED
@@ -1565,6 +1565,7 @@ class FederationHost {
1565
1565
  ]);
1566
1566
  // Merge plugin
1567
1567
  this.options.plugins = this.options.plugins.reduce((res, plugin)=>{
1568
+ if (!plugin) return res;
1568
1569
  if (res && !res.find((item)=>item.name === plugin.name)) {
1569
1570
  res.push(plugin);
1570
1571
  }
@@ -1696,7 +1697,7 @@ class FederationHost {
1696
1697
  // not used yet
1697
1698
  afterPreloadRemote: new AsyncHook()
1698
1699
  });
1699
- this.version = "0.1.6";
1700
+ this.version = "0.1.7";
1700
1701
  this.moduleCache = new Map();
1701
1702
  this.loaderHook = new PluginSystem({
1702
1703
  // FIXME: may not be suitable , not open to the public yet
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "author": "zhouxiao <codingzx@gmail.com>",
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js",
package/dist/share.cjs.js CHANGED
@@ -190,7 +190,7 @@ function getGlobalFederationConstructor() {
190
190
  function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
191
191
  if (isDebug) {
192
192
  globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
193
- globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.6";
193
+ globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.7";
194
194
  }
195
195
  }
196
196
  // eslint-disable-next-line @typescript-eslint/ban-types
package/dist/share.esm.js CHANGED
@@ -188,7 +188,7 @@ function getGlobalFederationConstructor() {
188
188
  function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
189
189
  if (isDebug) {
190
190
  globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
191
- globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.6";
191
+ globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.7";
192
192
  }
193
193
  }
194
194
  // eslint-disable-next-line @typescript-eslint/ban-types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime",
3
- "version": "0.0.0-next-20240418220407",
3
+ "version": "0.0.0-next-20240418224727",
4
4
  "author": "zhouxiao <codingzx@gmail.com>",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.esm.js",
@@ -45,6 +45,6 @@
45
45
  }
46
46
  },
47
47
  "dependencies": {
48
- "@module-federation/sdk": "0.0.0-next-20240418220407"
48
+ "@module-federation/sdk": "0.0.0-next-20240418224727"
49
49
  }
50
50
  }