@module-federation/runtime 0.0.0-next-20231221095908 → 0.0.0-next-20231222073352

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
@@ -1461,13 +1461,6 @@ class FederationHost {
1461
1461
  return promises;
1462
1462
  }
1463
1463
  initShareScopeMap(scopeName, shareScope) {
1464
- // compat prev consumers
1465
- if ('version' in shareScope && typeof shareScope['version'] !== 'object') {
1466
- return;
1467
- }
1468
- if ('region' in shareScope && typeof shareScope['region'] !== 'object') {
1469
- return;
1470
- }
1471
1464
  this.shareScopeMap[scopeName] = shareScope;
1472
1465
  }
1473
1466
  formatOptions(globalOptions, userOptions) {
package/dist/index.esm.js CHANGED
@@ -1459,13 +1459,6 @@ class FederationHost {
1459
1459
  return promises;
1460
1460
  }
1461
1461
  initShareScopeMap(scopeName, shareScope) {
1462
- // compat prev consumers
1463
- if ('version' in shareScope && typeof shareScope['version'] !== 'object') {
1464
- return;
1465
- }
1466
- if ('region' in shareScope && typeof shareScope['region'] !== 'object') {
1467
- return;
1468
- }
1469
1462
  this.shareScopeMap[scopeName] = shareScope;
1470
1463
  }
1471
1464
  formatOptions(globalOptions, userOptions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime",
3
- "version": "0.0.0-next-20231221095908",
3
+ "version": "0.0.0-next-20231222073352",
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-20231221095908"
48
+ "@module-federation/sdk": "0.0.0-next-20231222073352"
49
49
  }
50
50
  }