@tramvai/module-render 3.31.3 → 3.33.0
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/lib/server.d.ts +1 -1
- package/lib/server.es.js +1 -1
- package/lib/server.js +1 -1
- package/package.json +15 -15
package/lib/server.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { PageErrorStore, setPageErrorEvent } from '@tramvai/module-router';
|
|
|
2
2
|
import type { RenderModuleConfig } from './shared/types';
|
|
3
3
|
export { PageErrorStore, setPageErrorEvent };
|
|
4
4
|
export * from '@tramvai/tokens-render';
|
|
5
|
-
export declare const DEFAULT_POLYFILL_CONDITION = "!window.Promise.prototype.finally || !window.URL || !window.
|
|
5
|
+
export declare const DEFAULT_POLYFILL_CONDITION = "!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver";
|
|
6
6
|
export declare class RenderModule {
|
|
7
7
|
static forRoot({ polyfillCondition }: RenderModuleConfig): {
|
|
8
8
|
mainModule: typeof RenderModule;
|
package/lib/server.es.js
CHANGED
|
@@ -25,7 +25,7 @@ import { fetchWebpackStats } from './server/blocks/utils/fetchWebpackStats.es.js
|
|
|
25
25
|
|
|
26
26
|
var RenderModule_1;
|
|
27
27
|
const REQUEST_TTL = 5 * 60 * 1000;
|
|
28
|
-
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.
|
|
28
|
+
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver';
|
|
29
29
|
let RenderModule = RenderModule_1 = class RenderModule {
|
|
30
30
|
static forRoot({ polyfillCondition }) {
|
|
31
31
|
const providers = [];
|
package/lib/server.js
CHANGED
|
@@ -26,7 +26,7 @@ var fetchWebpackStats = require('./server/blocks/utils/fetchWebpackStats.js');
|
|
|
26
26
|
|
|
27
27
|
var RenderModule_1;
|
|
28
28
|
const REQUEST_TTL = 5 * 60 * 1000;
|
|
29
|
-
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.
|
|
29
|
+
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver';
|
|
30
30
|
exports.RenderModule = RenderModule_1 = class RenderModule {
|
|
31
31
|
static forRoot({ polyfillCondition }) {
|
|
32
32
|
const providers = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-render",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.33.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"@tinkoff/layout-factory": "0.4.1",
|
|
27
27
|
"@tinkoff/errors": "0.4.2",
|
|
28
28
|
"@tinkoff/url": "0.9.2",
|
|
29
|
-
"@tinkoff/user-agent": "0.5.
|
|
30
|
-
"@tramvai/module-client-hints": "3.
|
|
31
|
-
"@tramvai/module-router": "3.
|
|
32
|
-
"@tramvai/react": "3.
|
|
29
|
+
"@tinkoff/user-agent": "0.5.85",
|
|
30
|
+
"@tramvai/module-client-hints": "3.33.0",
|
|
31
|
+
"@tramvai/module-router": "3.33.0",
|
|
32
|
+
"@tramvai/react": "3.33.0",
|
|
33
33
|
"@tramvai/safe-strings": "0.6.2",
|
|
34
|
-
"@tramvai/tokens-render": "3.
|
|
35
|
-
"@tramvai/experiments": "3.
|
|
34
|
+
"@tramvai/tokens-render": "3.33.0",
|
|
35
|
+
"@tramvai/experiments": "3.33.0",
|
|
36
36
|
"@types/loadable__server": "^5.12.6",
|
|
37
37
|
"node-fetch": "^2.6.1"
|
|
38
38
|
},
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@tinkoff/dippy": "0.9.2",
|
|
41
41
|
"@tinkoff/utils": "^2.1.2",
|
|
42
42
|
"@tinkoff/react-hooks": "0.2.1",
|
|
43
|
-
"@tramvai/cli": "3.
|
|
44
|
-
"@tramvai/core": "3.
|
|
45
|
-
"@tramvai/module-common": "3.
|
|
46
|
-
"@tramvai/state": "3.
|
|
47
|
-
"@tramvai/test-helpers": "3.
|
|
48
|
-
"@tramvai/tokens-common": "3.
|
|
49
|
-
"@tramvai/tokens-router": "3.
|
|
50
|
-
"@tramvai/tokens-server-private": "3.
|
|
43
|
+
"@tramvai/cli": "3.33.0",
|
|
44
|
+
"@tramvai/core": "3.33.0",
|
|
45
|
+
"@tramvai/module-common": "3.33.0",
|
|
46
|
+
"@tramvai/state": "3.33.0",
|
|
47
|
+
"@tramvai/test-helpers": "3.33.0",
|
|
48
|
+
"@tramvai/tokens-common": "3.33.0",
|
|
49
|
+
"@tramvai/tokens-router": "3.33.0",
|
|
50
|
+
"@tramvai/tokens-server-private": "3.33.0",
|
|
51
51
|
"express": "^4.17.1",
|
|
52
52
|
"prop-types": "^15.6.2",
|
|
53
53
|
"react": ">=16.14.0",
|