@tramvai/module-render 5.1.2 → 5.4.2
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 +4 -1
- package/lib/server.js +4 -1
- package/package.json +16 -16
package/lib/server.es.js
CHANGED
|
@@ -77,14 +77,17 @@ RenderModule = RenderModule_1 = __decorate([
|
|
|
77
77
|
}
|
|
78
78
|
return {
|
|
79
79
|
filesCache: createCache('memory', {
|
|
80
|
+
name: 'resource-inliner-files',
|
|
80
81
|
max: filesCacheSize,
|
|
81
82
|
ttl: RESOURCES_REGISTRY_FILES_CACHE_TTL,
|
|
82
83
|
}),
|
|
83
84
|
sizeCache: createCache('memory', {
|
|
85
|
+
name: 'resource-inliner-sizes',
|
|
84
86
|
max: sizeCacheSize,
|
|
85
87
|
ttl: RESOURCES_REGISTRY_SIZE_CACHE_TTL,
|
|
86
88
|
}),
|
|
87
89
|
disabledUrlsCache: createCache('memory', {
|
|
90
|
+
name: 'resource-inliner-disabled-urls',
|
|
88
91
|
max: disabledUrlCacheSize,
|
|
89
92
|
ttl: REQUEST_TTL,
|
|
90
93
|
}),
|
|
@@ -318,7 +321,7 @@ Page Error Boundary will be rendered for the client`,
|
|
|
318
321
|
provide: 'modernSatisfiesMemoryCache',
|
|
319
322
|
scope: Scope.SINGLETON,
|
|
320
323
|
useFactory: ({ createCache }) => {
|
|
321
|
-
return createCache('memory', { max: 200 });
|
|
324
|
+
return createCache('memory', { name: 'modern-satisfies', max: 200 });
|
|
322
325
|
},
|
|
323
326
|
deps: {
|
|
324
327
|
createCache: CREATE_CACHE_TOKEN,
|
package/lib/server.js
CHANGED
|
@@ -78,14 +78,17 @@ exports.RenderModule = RenderModule_1 = tslib.__decorate([
|
|
|
78
78
|
}
|
|
79
79
|
return {
|
|
80
80
|
filesCache: createCache('memory', {
|
|
81
|
+
name: 'resource-inliner-files',
|
|
81
82
|
max: filesCacheSize,
|
|
82
83
|
ttl: RESOURCES_REGISTRY_FILES_CACHE_TTL,
|
|
83
84
|
}),
|
|
84
85
|
sizeCache: createCache('memory', {
|
|
86
|
+
name: 'resource-inliner-sizes',
|
|
85
87
|
max: sizeCacheSize,
|
|
86
88
|
ttl: RESOURCES_REGISTRY_SIZE_CACHE_TTL,
|
|
87
89
|
}),
|
|
88
90
|
disabledUrlsCache: createCache('memory', {
|
|
91
|
+
name: 'resource-inliner-disabled-urls',
|
|
89
92
|
max: disabledUrlCacheSize,
|
|
90
93
|
ttl: REQUEST_TTL,
|
|
91
94
|
}),
|
|
@@ -319,7 +322,7 @@ Page Error Boundary will be rendered for the client`,
|
|
|
319
322
|
provide: 'modernSatisfiesMemoryCache',
|
|
320
323
|
scope: dippy.Scope.SINGLETON,
|
|
321
324
|
useFactory: ({ createCache }) => {
|
|
322
|
-
return createCache('memory', { max: 200 });
|
|
325
|
+
return createCache('memory', { name: 'modern-satisfies', max: 200 });
|
|
323
326
|
},
|
|
324
327
|
deps: {
|
|
325
328
|
createCache: tokensCommon.CREATE_CACHE_TOKEN,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-render",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -26,30 +26,30 @@
|
|
|
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.10",
|
|
30
30
|
"@tinkoff/request-core": "^0.10.0",
|
|
31
31
|
"@tinkoff/request-plugin-protocol-http": "^0.12.1",
|
|
32
|
-
"@tramvai/module-client-hints": "5.
|
|
33
|
-
"@tramvai/module-router": "5.
|
|
34
|
-
"@tramvai/react": "5.
|
|
32
|
+
"@tramvai/module-client-hints": "5.4.2",
|
|
33
|
+
"@tramvai/module-router": "5.4.2",
|
|
34
|
+
"@tramvai/react": "5.4.2",
|
|
35
35
|
"@tramvai/safe-strings": "0.8.2",
|
|
36
|
-
"@tramvai/tokens-render": "5.
|
|
37
|
-
"@tramvai/experiments": "5.
|
|
36
|
+
"@tramvai/tokens-render": "5.4.2",
|
|
37
|
+
"@tramvai/experiments": "5.4.2",
|
|
38
38
|
"@types/loadable__server": "^5.12.6",
|
|
39
39
|
"node-fetch": "^2.6.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@tinkoff/dippy": "0.11.
|
|
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.
|
|
46
|
-
"@tramvai/core": "5.
|
|
47
|
-
"@tramvai/module-common": "5.
|
|
48
|
-
"@tramvai/state": "5.
|
|
49
|
-
"@tramvai/test-helpers": "5.
|
|
50
|
-
"@tramvai/tokens-common": "5.
|
|
51
|
-
"@tramvai/tokens-router": "5.
|
|
52
|
-
"@tramvai/tokens-server-private": "5.
|
|
45
|
+
"@tramvai/cli": "5.4.2",
|
|
46
|
+
"@tramvai/core": "5.4.2",
|
|
47
|
+
"@tramvai/module-common": "5.4.2",
|
|
48
|
+
"@tramvai/state": "5.4.2",
|
|
49
|
+
"@tramvai/test-helpers": "5.4.2",
|
|
50
|
+
"@tramvai/tokens-common": "5.4.2",
|
|
51
|
+
"@tramvai/tokens-router": "5.4.2",
|
|
52
|
+
"@tramvai/tokens-server-private": "5.4.2",
|
|
53
53
|
"express": "^4.17.1",
|
|
54
54
|
"prop-types": "^15.6.2",
|
|
55
55
|
"react": ">=16.14.0",
|