@tramvai/module-render 2.56.2 → 2.59.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/resourcesInliner/tokens.d.ts +6 -2
- package/lib/test/unit/resources.d.ts +21 -1
- package/package.json +20 -18
- package/tests.d.ts +21 -1
|
@@ -5,7 +5,9 @@ import type { ResourcesInlinerType } from './resourcesInliner';
|
|
|
5
5
|
* Инлайнер ресурсов - используется на сервере для регистрации файлов, которые должны быть вставлены
|
|
6
6
|
* в итоговую html-страницу в виде ссылки на файл или заинлайнеными полностью
|
|
7
7
|
*/
|
|
8
|
-
export declare const RESOURCE_INLINER:
|
|
8
|
+
export declare const RESOURCE_INLINER: ResourcesInlinerType & {
|
|
9
|
+
__type?: "base token";
|
|
10
|
+
};
|
|
9
11
|
export type ResourcesRegistryCache = {
|
|
10
12
|
filesCache: Cache;
|
|
11
13
|
sizeCache: Cache;
|
|
@@ -15,4 +17,6 @@ export type ResourcesRegistryCache = {
|
|
|
15
17
|
* @description
|
|
16
18
|
* Кэш загруженных ресурсов.
|
|
17
19
|
*/
|
|
18
|
-
export declare const RESOURCES_REGISTRY_CACHE:
|
|
20
|
+
export declare const RESOURCES_REGISTRY_CACHE: ResourcesRegistryCache & {
|
|
21
|
+
__type?: "base token";
|
|
22
|
+
};
|
|
@@ -8,6 +8,26 @@ export declare const testPageResources: (options: Options) => {
|
|
|
8
8
|
application: string;
|
|
9
9
|
};
|
|
10
10
|
di: import("@tinkoff/dippy").Container;
|
|
11
|
-
runLine: (line:
|
|
11
|
+
runLine: (line: (import("@tramvai/core").Command & {
|
|
12
|
+
__type?: "multi token";
|
|
13
|
+
}) | (import("@tramvai/core").Command & {
|
|
14
|
+
__type?: "multi token";
|
|
15
|
+
}) | (import("@tramvai/core").Command & {
|
|
16
|
+
__type?: "multi token";
|
|
17
|
+
}) | (import("@tramvai/core").Command & {
|
|
18
|
+
__type?: "multi token";
|
|
19
|
+
}) | (import("@tramvai/core").Command & {
|
|
20
|
+
__type?: "multi token";
|
|
21
|
+
}) | (import("@tramvai/core").Command & {
|
|
22
|
+
__type?: "multi token";
|
|
23
|
+
}) | (import("@tramvai/core").Command & {
|
|
24
|
+
__type?: "multi token";
|
|
25
|
+
}) | (import("@tramvai/core").Command & {
|
|
26
|
+
__type?: "multi token";
|
|
27
|
+
}) | (import("@tramvai/core").Command & {
|
|
28
|
+
__type?: "multi token";
|
|
29
|
+
}) | (import("@tramvai/core").Command & {
|
|
30
|
+
__type?: "multi token";
|
|
31
|
+
})) => Promise<any[]>;
|
|
12
32
|
};
|
|
13
33
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-render",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.59.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -24,37 +24,39 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@loadable/server": "^5.15.0",
|
|
26
26
|
"@tinkoff/htmlpagebuilder": "0.5.5",
|
|
27
|
-
"@tinkoff/layout-factory": "0.3.
|
|
27
|
+
"@tinkoff/layout-factory": "0.3.5",
|
|
28
28
|
"@tinkoff/url": "0.8.4",
|
|
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.140",
|
|
30
|
+
"@tramvai/module-client-hints": "2.59.0",
|
|
31
|
+
"@tramvai/module-router": "2.59.0",
|
|
32
|
+
"@tramvai/react": "2.59.0",
|
|
33
33
|
"@tramvai/safe-strings": "0.5.6",
|
|
34
|
-
"@tramvai/tokens-render": "2.
|
|
35
|
-
"@tramvai/experiments": "2.
|
|
34
|
+
"@tramvai/tokens-render": "2.59.0",
|
|
35
|
+
"@tramvai/experiments": "2.59.0",
|
|
36
36
|
"@types/loadable__server": "^5.12.6",
|
|
37
37
|
"node-fetch": "^2.6.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@tinkoff/dippy": "0.8.
|
|
40
|
+
"@tinkoff/dippy": "0.8.11",
|
|
41
41
|
"@tinkoff/utils": "^2.1.2",
|
|
42
42
|
"@tinkoff/react-hooks": "0.1.4",
|
|
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.59.0",
|
|
44
|
+
"@tramvai/core": "2.59.0",
|
|
45
|
+
"@tramvai/module-common": "2.59.0",
|
|
46
|
+
"@tramvai/state": "2.59.0",
|
|
47
|
+
"@tramvai/test-helpers": "2.59.0",
|
|
48
|
+
"@tramvai/tokens-common": "2.59.0",
|
|
49
|
+
"@tramvai/tokens-router": "2.59.0",
|
|
50
|
+
"@tramvai/tokens-server-private": "2.59.0",
|
|
51
51
|
"express": "^4.17.1",
|
|
52
52
|
"prop-types": "^15.6.2",
|
|
53
53
|
"react": ">=16.14.0",
|
|
54
54
|
"react-dom": ">=16.14.0",
|
|
55
55
|
"tslib": "^2.4.0"
|
|
56
56
|
},
|
|
57
|
-
"devDependencies": {
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/node-fetch": "^2.6.2"
|
|
59
|
+
},
|
|
58
60
|
"gitHead": "8e826a214c87b188fc4d254cdd8f2a2b2c55f3a8",
|
|
59
61
|
"module": "lib/server.es.js",
|
|
60
62
|
"license": "Apache-2.0"
|
package/tests.d.ts
CHANGED
|
@@ -8,6 +8,26 @@ declare const testPageResources: (options: Options) => {
|
|
|
8
8
|
application: string;
|
|
9
9
|
};
|
|
10
10
|
di: import("@tinkoff/dippy").Container;
|
|
11
|
-
runLine: (line:
|
|
11
|
+
runLine: (line: (import("@tramvai/core").Command & {
|
|
12
|
+
__type?: "multi token";
|
|
13
|
+
}) | (import("@tramvai/core").Command & {
|
|
14
|
+
__type?: "multi token";
|
|
15
|
+
}) | (import("@tramvai/core").Command & {
|
|
16
|
+
__type?: "multi token";
|
|
17
|
+
}) | (import("@tramvai/core").Command & {
|
|
18
|
+
__type?: "multi token";
|
|
19
|
+
}) | (import("@tramvai/core").Command & {
|
|
20
|
+
__type?: "multi token";
|
|
21
|
+
}) | (import("@tramvai/core").Command & {
|
|
22
|
+
__type?: "multi token";
|
|
23
|
+
}) | (import("@tramvai/core").Command & {
|
|
24
|
+
__type?: "multi token";
|
|
25
|
+
}) | (import("@tramvai/core").Command & {
|
|
26
|
+
__type?: "multi token";
|
|
27
|
+
}) | (import("@tramvai/core").Command & {
|
|
28
|
+
__type?: "multi token";
|
|
29
|
+
}) | (import("@tramvai/core").Command & {
|
|
30
|
+
__type?: "multi token";
|
|
31
|
+
})) => Promise<any[]>;
|
|
12
32
|
};
|
|
13
33
|
export { testPageResources };
|