@tramvai/module-render 5.15.1 → 5.15.3
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.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver";
|
|
5
|
+
export declare const DEFAULT_POLYFILL_CONDITION = "!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver || !window.queueMicrotask";
|
|
6
6
|
export declare class RenderModule {
|
|
7
7
|
static forRoot({ polyfillCondition }: RenderModuleConfig): {
|
|
8
8
|
mainModule: typeof RenderModule;
|
package/lib/server.es.js
CHANGED
|
@@ -34,7 +34,7 @@ const RESOURCES_REGISTRY_SIZE_CACHE_SIZE = 300;
|
|
|
34
34
|
const RESOURCES_REGISTRY_DISABLED_URL_CACHE_SIZE = 300;
|
|
35
35
|
const RESOURCES_REGISTRY_FILES_CACHE_TTL = 24 * 60 * 60 * 1000; // 24h
|
|
36
36
|
const RESOURCES_REGISTRY_SIZE_CACHE_TTL = 24 * 60 * 60 * 1000; // 24h
|
|
37
|
-
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver';
|
|
37
|
+
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver || !window.queueMicrotask';
|
|
38
38
|
let RenderModule = RenderModule_1 = class RenderModule {
|
|
39
39
|
static forRoot({ polyfillCondition }) {
|
|
40
40
|
const providers = [];
|
package/lib/server.js
CHANGED
|
@@ -35,7 +35,7 @@ const RESOURCES_REGISTRY_SIZE_CACHE_SIZE = 300;
|
|
|
35
35
|
const RESOURCES_REGISTRY_DISABLED_URL_CACHE_SIZE = 300;
|
|
36
36
|
const RESOURCES_REGISTRY_FILES_CACHE_TTL = 24 * 60 * 60 * 1000; // 24h
|
|
37
37
|
const RESOURCES_REGISTRY_SIZE_CACHE_TTL = 24 * 60 * 60 * 1000; // 24h
|
|
38
|
-
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver';
|
|
38
|
+
const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver || !window.queueMicrotask';
|
|
39
39
|
exports.RenderModule = RenderModule_1 = class RenderModule {
|
|
40
40
|
static forRoot({ polyfillCondition }) {
|
|
41
41
|
const providers = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-render",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"@tinkoff/layout-factory": "0.6.2",
|
|
27
27
|
"@tinkoff/errors": "0.6.2",
|
|
28
28
|
"@tinkoff/url": "0.11.2",
|
|
29
|
-
"@tinkoff/user-agent": "0.7.
|
|
29
|
+
"@tinkoff/user-agent": "0.7.51",
|
|
30
30
|
"@tinkoff/request-core": "^0.10.0",
|
|
31
31
|
"@tinkoff/request-plugin-protocol-http": "^0.12.1",
|
|
32
|
-
"@tramvai/module-client-hints": "5.15.
|
|
33
|
-
"@tramvai/module-router": "5.15.
|
|
34
|
-
"@tramvai/react": "5.15.
|
|
32
|
+
"@tramvai/module-client-hints": "5.15.3",
|
|
33
|
+
"@tramvai/module-router": "5.15.3",
|
|
34
|
+
"@tramvai/react": "5.15.3",
|
|
35
35
|
"@tramvai/safe-strings": "0.8.4",
|
|
36
|
-
"@tramvai/tokens-render": "5.15.
|
|
37
|
-
"@tramvai/experiments": "5.15.
|
|
36
|
+
"@tramvai/tokens-render": "5.15.3",
|
|
37
|
+
"@tramvai/experiments": "5.15.3",
|
|
38
38
|
"@types/loadable__server": "^5.12.6",
|
|
39
39
|
"node-fetch": "^2.6.1"
|
|
40
40
|
},
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"@tinkoff/dippy": "0.11.3",
|
|
43
43
|
"@tinkoff/utils": "^2.1.2",
|
|
44
44
|
"@tinkoff/react-hooks": "0.4.2",
|
|
45
|
-
"@tramvai/cli": "5.15.
|
|
46
|
-
"@tramvai/core": "5.15.
|
|
47
|
-
"@tramvai/module-common": "5.15.
|
|
48
|
-
"@tramvai/state": "5.15.
|
|
49
|
-
"@tramvai/test-helpers": "5.15.
|
|
50
|
-
"@tramvai/tokens-common": "5.15.
|
|
51
|
-
"@tramvai/tokens-router": "5.15.
|
|
52
|
-
"@tramvai/tokens-server-private": "5.15.
|
|
45
|
+
"@tramvai/cli": "5.15.3",
|
|
46
|
+
"@tramvai/core": "5.15.3",
|
|
47
|
+
"@tramvai/module-common": "5.15.3",
|
|
48
|
+
"@tramvai/state": "5.15.3",
|
|
49
|
+
"@tramvai/test-helpers": "5.15.3",
|
|
50
|
+
"@tramvai/tokens-common": "5.15.3",
|
|
51
|
+
"@tramvai/tokens-router": "5.15.3",
|
|
52
|
+
"@tramvai/tokens-server-private": "5.15.3",
|
|
53
53
|
"express": "^4.17.1",
|
|
54
54
|
"prop-types": "^15.6.2",
|
|
55
55
|
"react": ">=16.14.0",
|