@module-federation/runtime 1.0.0-canary.4 → 1.0.0-canary.5

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/index.cjs.js CHANGED
@@ -1846,7 +1846,7 @@ class FederationHost {
1846
1846
  generatePreloadAssets: new AsyncHook('generatePreloadAssets'),
1847
1847
  afterPreloadRemote: new AsyncHook()
1848
1848
  });
1849
- this.version = '1.0.0-canary.3';
1849
+ this.version = '1.0.0-canary.4';
1850
1850
  this.moduleCache = new Map();
1851
1851
  this.loaderHook = new PluginSystem({
1852
1852
  // FIXME: may not be suitable
package/index.esm.js CHANGED
@@ -1843,7 +1843,7 @@ class FederationHost {
1843
1843
  generatePreloadAssets: new AsyncHook('generatePreloadAssets'),
1844
1844
  afterPreloadRemote: new AsyncHook()
1845
1845
  });
1846
- this.version = '1.0.0-canary.3';
1846
+ this.version = '1.0.0-canary.4';
1847
1847
  this.moduleCache = new Map();
1848
1848
  this.loaderHook = new PluginSystem({
1849
1849
  // FIXME: may not be suitable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime",
3
- "version": "1.0.0-canary.4",
3
+ "version": "1.0.0-canary.5",
4
4
  "author": "zhouxiao <codingzx@gmail.com>",
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js",
@@ -10,8 +10,8 @@
10
10
  },
11
11
  "exports": {
12
12
  ".": {
13
- "import": "./index.cjs.js",
14
- "require": "./index.esm.js"
13
+ "import": "./index.esm.js",
14
+ "require": "./index.cjs.js"
15
15
  },
16
16
  "./helpers": {
17
17
  "import": "./helpers.esm.js",
package/share.cjs.js CHANGED
@@ -184,7 +184,7 @@ function getGlobalFederationConstructor() {
184
184
  function setGlobalFederationConstructor(FederationConstructor) {
185
185
  if (isDebugMode()) {
186
186
  Global.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
187
- Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.3';
187
+ Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.4';
188
188
  }
189
189
  }
190
190
  // eslint-disable-next-line @typescript-eslint/ban-types
package/share.esm.js CHANGED
@@ -182,7 +182,7 @@ function getGlobalFederationConstructor() {
182
182
  function setGlobalFederationConstructor(FederationConstructor) {
183
183
  if (isDebugMode()) {
184
184
  Global.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
185
- Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.3';
185
+ Global.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = '1.0.0-canary.4';
186
186
  }
187
187
  }
188
188
  // eslint-disable-next-line @typescript-eslint/ban-types