@tramvai/module-child-app 2.94.2 → 2.94.6

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.
@@ -75,7 +75,7 @@ const registerChildAppRenderSlots = ({ logger, diManager, resolveFullConfig, pre
75
75
  if (config.css) {
76
76
  addChunk(config.css.entry);
77
77
  }
78
- if (stats) {
78
+ if (stats && stats.federatedModules) {
79
79
  for (const federatedModule of stats.federatedModules) {
80
80
  // entries are duplicated in the `exposes` field of federated stats for some reason
81
81
  // for now there anyway should be only one exposed entry so took the first available
@@ -83,7 +83,7 @@ const registerChildAppRenderSlots = ({ logger, diManager, resolveFullConfig, pre
83
83
  if (config.css) {
84
84
  addChunk(config.css.entry);
85
85
  }
86
- if (stats) {
86
+ if (stats && stats.federatedModules) {
87
87
  for (const federatedModule of stats.federatedModules) {
88
88
  // entries are duplicated in the `exposes` field of federated stats for some reason
89
89
  // for now there anyway should be only one exposed entry so took the first available
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-child-app",
3
- "version": "2.94.2",
3
+ "version": "2.94.6",
4
4
  "description": "Module for child apps",
5
5
  "browser": {
6
6
  "./lib/server.js": "./lib/browser.js",
@@ -31,21 +31,21 @@
31
31
  "@tinkoff/module-loader-client": "0.4.6",
32
32
  "@tinkoff/module-loader-server": "0.5.9",
33
33
  "@tinkoff/url": "0.8.6",
34
- "@tramvai/child-app-core": "2.94.2",
35
- "@tramvai/module-router": "2.94.2",
34
+ "@tramvai/child-app-core": "2.94.6",
35
+ "@tramvai/module-router": "2.94.6",
36
36
  "@tramvai/safe-strings": "0.5.8",
37
- "@tramvai/tokens-child-app": "2.94.2"
37
+ "@tramvai/tokens-child-app": "2.94.6"
38
38
  },
39
39
  "devDependencies": {},
40
40
  "peerDependencies": {
41
41
  "@tinkoff/dippy": "0.8.15",
42
42
  "@tinkoff/utils": "^2.1.2",
43
- "@tramvai/core": "2.94.2",
44
- "@tramvai/state": "2.94.2",
45
- "@tramvai/react": "2.94.2",
46
- "@tramvai/tokens-common": "2.94.2",
47
- "@tramvai/tokens-render": "2.94.2",
48
- "@tramvai/tokens-router": "2.94.2",
43
+ "@tramvai/core": "2.94.6",
44
+ "@tramvai/state": "2.94.6",
45
+ "@tramvai/react": "2.94.6",
46
+ "@tramvai/tokens-common": "2.94.6",
47
+ "@tramvai/tokens-render": "2.94.6",
48
+ "@tramvai/tokens-router": "2.94.6",
49
49
  "react": ">=16.14.0",
50
50
  "react-dom": ">=16.14.0",
51
51
  "object-assign": "^4.1.1",