@tramvai/module-render 4.41.42 → 4.41.43

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 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
@@ -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
  let RenderModule = RenderModule_1 = class RenderModule {
40
40
  static forRoot({ polyfillCondition }) {
41
41
  const providers = [];
package/lib/server.js CHANGED
@@ -36,7 +36,7 @@ const RESOURCES_REGISTRY_SIZE_CACHE_SIZE = 300;
36
36
  const RESOURCES_REGISTRY_DISABLED_URL_CACHE_SIZE = 300;
37
37
  const RESOURCES_REGISTRY_FILES_CACHE_TTL = 24 * 60 * 60 * 1000; // 24h
38
38
  const RESOURCES_REGISTRY_SIZE_CACHE_TTL = 24 * 60 * 60 * 1000; // 24h
39
- const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver';
39
+ const DEFAULT_POLYFILL_CONDITION = '!window.Promise.prototype.finally || !window.URL || !window.AbortController || !window.IntersectionObserver || !Object.fromEntries || !window.ResizeObserver || !window.queueMicrotask';
40
40
  exports.RenderModule = RenderModule_1 = class RenderModule {
41
41
  static forRoot({ polyfillCondition }) {
42
42
  const providers = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-render",
3
- "version": "4.41.42",
3
+ "version": "4.41.43",
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.5.3",
27
27
  "@tinkoff/errors": "0.5.3",
28
28
  "@tinkoff/url": "0.10.3",
29
- "@tinkoff/user-agent": "0.6.177",
29
+ "@tinkoff/user-agent": "0.6.178",
30
30
  "@tinkoff/request-core": "^0.10.0",
31
31
  "@tinkoff/request-plugin-protocol-http": "^0.12.1",
32
- "@tramvai/module-client-hints": "4.41.42",
33
- "@tramvai/module-router": "4.41.42",
34
- "@tramvai/react": "4.41.42",
32
+ "@tramvai/module-client-hints": "4.41.43",
33
+ "@tramvai/module-router": "4.41.43",
34
+ "@tramvai/react": "4.41.43",
35
35
  "@tramvai/safe-strings": "0.7.9",
36
- "@tramvai/tokens-render": "4.41.42",
37
- "@tramvai/experiments": "4.41.42",
36
+ "@tramvai/tokens-render": "4.41.43",
37
+ "@tramvai/experiments": "4.41.43",
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.10.11",
43
43
  "@tinkoff/utils": "^2.1.2",
44
44
  "@tinkoff/react-hooks": "0.3.3",
45
- "@tramvai/cli": "4.41.42",
46
- "@tramvai/core": "4.41.42",
47
- "@tramvai/module-common": "4.41.42",
48
- "@tramvai/state": "4.41.42",
49
- "@tramvai/test-helpers": "4.41.42",
50
- "@tramvai/tokens-common": "4.41.42",
51
- "@tramvai/tokens-router": "4.41.42",
52
- "@tramvai/tokens-server-private": "4.41.42",
45
+ "@tramvai/cli": "4.41.43",
46
+ "@tramvai/core": "4.41.43",
47
+ "@tramvai/module-common": "4.41.43",
48
+ "@tramvai/state": "4.41.43",
49
+ "@tramvai/test-helpers": "4.41.43",
50
+ "@tramvai/tokens-common": "4.41.43",
51
+ "@tramvai/tokens-router": "4.41.43",
52
+ "@tramvai/tokens-server-private": "4.41.43",
53
53
  "express": "^4.17.1",
54
54
  "prop-types": "^15.6.2",
55
55
  "react": ">=16.14.0",