@tramvai/module-render 2.94.9 → 2.94.13
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.
|
@@ -6,7 +6,11 @@ let appConfig;
|
|
|
6
6
|
try {
|
|
7
7
|
appConfig = require('@tramvai/cli/lib/external/config').appConfig;
|
|
8
8
|
}
|
|
9
|
-
catch (e) {
|
|
9
|
+
catch (e) {
|
|
10
|
+
if (process.env.NODE_ENV === 'development') {
|
|
11
|
+
console.error('Error while reading app config', e);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
10
14
|
let fetchStats = async () => {
|
|
11
15
|
throw new Error(`Unknown environment`);
|
|
12
16
|
};
|
|
@@ -33,7 +33,11 @@ let appConfig;
|
|
|
33
33
|
try {
|
|
34
34
|
appConfig = require('@tramvai/cli/lib/external/config').appConfig;
|
|
35
35
|
}
|
|
36
|
-
catch (e) {
|
|
36
|
+
catch (e) {
|
|
37
|
+
if (process.env.NODE_ENV === 'development') {
|
|
38
|
+
console.error('Error while reading app config', e);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
37
41
|
let fetchStats = async () => {
|
|
38
42
|
throw new Error(`Unknown environment`);
|
|
39
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-render",
|
|
3
|
-
"version": "2.94.
|
|
3
|
+
"version": "2.94.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"@tinkoff/layout-factory": "0.3.8",
|
|
27
27
|
"@tinkoff/errors": "0.3.8",
|
|
28
28
|
"@tinkoff/url": "0.8.6",
|
|
29
|
-
"@tinkoff/user-agent": "0.4.
|
|
30
|
-
"@tramvai/module-client-hints": "2.94.
|
|
31
|
-
"@tramvai/module-page-render-mode": "2.94.
|
|
32
|
-
"@tramvai/module-router": "2.94.
|
|
33
|
-
"@tramvai/react": "2.94.
|
|
29
|
+
"@tinkoff/user-agent": "0.4.250",
|
|
30
|
+
"@tramvai/module-client-hints": "2.94.13",
|
|
31
|
+
"@tramvai/module-page-render-mode": "2.94.13",
|
|
32
|
+
"@tramvai/module-router": "2.94.13",
|
|
33
|
+
"@tramvai/react": "2.94.13",
|
|
34
34
|
"@tramvai/safe-strings": "0.5.8",
|
|
35
|
-
"@tramvai/tokens-render": "2.94.
|
|
36
|
-
"@tramvai/experiments": "2.94.
|
|
35
|
+
"@tramvai/tokens-render": "2.94.13",
|
|
36
|
+
"@tramvai/experiments": "2.94.13",
|
|
37
37
|
"@types/loadable__server": "^5.12.6",
|
|
38
38
|
"node-fetch": "^2.6.1"
|
|
39
39
|
},
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"@tinkoff/dippy": "0.8.15",
|
|
42
42
|
"@tinkoff/utils": "^2.1.2",
|
|
43
43
|
"@tinkoff/react-hooks": "0.1.6",
|
|
44
|
-
"@tramvai/cli": "2.94.
|
|
45
|
-
"@tramvai/core": "2.94.
|
|
46
|
-
"@tramvai/module-common": "2.94.
|
|
47
|
-
"@tramvai/state": "2.94.
|
|
48
|
-
"@tramvai/test-helpers": "2.94.
|
|
49
|
-
"@tramvai/tokens-common": "2.94.
|
|
50
|
-
"@tramvai/tokens-router": "2.94.
|
|
51
|
-
"@tramvai/tokens-server-private": "2.94.
|
|
44
|
+
"@tramvai/cli": "2.94.13",
|
|
45
|
+
"@tramvai/core": "2.94.13",
|
|
46
|
+
"@tramvai/module-common": "2.94.13",
|
|
47
|
+
"@tramvai/state": "2.94.13",
|
|
48
|
+
"@tramvai/test-helpers": "2.94.13",
|
|
49
|
+
"@tramvai/tokens-common": "2.94.13",
|
|
50
|
+
"@tramvai/tokens-router": "2.94.13",
|
|
51
|
+
"@tramvai/tokens-server-private": "2.94.13",
|
|
52
52
|
"express": "^4.17.1",
|
|
53
53
|
"prop-types": "^15.6.2",
|
|
54
54
|
"react": ">=16.14.0",
|