@tramvai/module-render 2.125.4 → 2.130.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.
- package/lib/server.es.js +3 -2
- package/lib/server.js +3 -2
- package/package.json +15 -15
package/lib/server.es.js
CHANGED
|
@@ -269,13 +269,14 @@ Page Error Boundary will be rendered for the client`,
|
|
|
269
269
|
deps: {
|
|
270
270
|
requestManager: REQUEST_MANAGER_TOKEN,
|
|
271
271
|
userAgent: USER_AGENT_TOKEN,
|
|
272
|
-
cache: '
|
|
272
|
+
cache: 'modernSatisfiesMemoryCache',
|
|
273
273
|
cookieManager: COOKIE_MANAGER_TOKEN,
|
|
274
274
|
},
|
|
275
275
|
}),
|
|
276
276
|
provide({
|
|
277
|
-
provide: '
|
|
277
|
+
provide: 'modernSatisfiesMemoryCache',
|
|
278
278
|
scope: Scope.SINGLETON,
|
|
279
|
+
// @todo - use larger `max` option and `memory-lfu` type after successful TCORE-4668 experiment
|
|
279
280
|
useFactory: ({ createCache }) => {
|
|
280
281
|
return createCache('memory', { max: 50 });
|
|
281
282
|
},
|
package/lib/server.js
CHANGED
|
@@ -270,13 +270,14 @@ Page Error Boundary will be rendered for the client`,
|
|
|
270
270
|
deps: {
|
|
271
271
|
requestManager: tokensCommon.REQUEST_MANAGER_TOKEN,
|
|
272
272
|
userAgent: moduleClientHints.USER_AGENT_TOKEN,
|
|
273
|
-
cache: '
|
|
273
|
+
cache: 'modernSatisfiesMemoryCache',
|
|
274
274
|
cookieManager: moduleCommon.COOKIE_MANAGER_TOKEN,
|
|
275
275
|
},
|
|
276
276
|
}),
|
|
277
277
|
core.provide({
|
|
278
|
-
provide: '
|
|
278
|
+
provide: 'modernSatisfiesMemoryCache',
|
|
279
279
|
scope: dippy.Scope.SINGLETON,
|
|
280
|
+
// @todo - use larger `max` option and `memory-lfu` type after successful TCORE-4668 experiment
|
|
280
281
|
useFactory: ({ createCache }) => {
|
|
281
282
|
return createCache('memory', { max: 50 });
|
|
282
283
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-render",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.130.6",
|
|
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.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.
|
|
31
|
-
"@tramvai/module-router": "2.
|
|
32
|
-
"@tramvai/react": "2.
|
|
29
|
+
"@tinkoff/user-agent": "0.4.380",
|
|
30
|
+
"@tramvai/module-client-hints": "2.130.6",
|
|
31
|
+
"@tramvai/module-router": "2.130.6",
|
|
32
|
+
"@tramvai/react": "2.130.6",
|
|
33
33
|
"@tramvai/safe-strings": "0.5.10",
|
|
34
|
-
"@tramvai/tokens-render": "2.
|
|
35
|
-
"@tramvai/experiments": "2.
|
|
34
|
+
"@tramvai/tokens-render": "2.130.6",
|
|
35
|
+
"@tramvai/experiments": "2.130.6",
|
|
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.8.15",
|
|
41
41
|
"@tinkoff/utils": "^2.1.2",
|
|
42
42
|
"@tinkoff/react-hooks": "0.1.6",
|
|
43
|
-
"@tramvai/cli": "2.
|
|
44
|
-
"@tramvai/core": "2.
|
|
45
|
-
"@tramvai/module-common": "2.
|
|
46
|
-
"@tramvai/state": "2.
|
|
47
|
-
"@tramvai/test-helpers": "2.
|
|
48
|
-
"@tramvai/tokens-common": "2.
|
|
49
|
-
"@tramvai/tokens-router": "2.
|
|
50
|
-
"@tramvai/tokens-server-private": "2.
|
|
43
|
+
"@tramvai/cli": "2.130.6",
|
|
44
|
+
"@tramvai/core": "2.130.6",
|
|
45
|
+
"@tramvai/module-common": "2.130.6",
|
|
46
|
+
"@tramvai/state": "2.130.6",
|
|
47
|
+
"@tramvai/test-helpers": "2.130.6",
|
|
48
|
+
"@tramvai/tokens-common": "2.130.6",
|
|
49
|
+
"@tramvai/tokens-router": "2.130.6",
|
|
50
|
+
"@tramvai/tokens-server-private": "2.130.6",
|
|
51
51
|
"express": "^4.17.1",
|
|
52
52
|
"prop-types": "^15.6.2",
|
|
53
53
|
"react": ">=16.14.0",
|