@tramvai/module-server 7.2.0 → 7.2.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.
@@ -10,7 +10,9 @@ import { errorHandler } from './error/index.es.js';
10
10
 
11
11
  const webAppFactory = ({ server }) => {
12
12
  const app = fastify({
13
- ignoreTrailingSlash: true,
13
+ routerOptions: {
14
+ ignoreTrailingSlash: true,
15
+ },
14
16
  bodyLimit: 2097152,
15
17
  serverFactory: (handler) => {
16
18
  server.on('request', handler);
@@ -19,7 +19,9 @@ var fastifyFormBody__default = /*#__PURE__*/_interopDefaultLegacy(fastifyFormBod
19
19
 
20
20
  const webAppFactory = ({ server }) => {
21
21
  const app = fastify__default["default"]({
22
- ignoreTrailingSlash: true,
22
+ routerOptions: {
23
+ ignoreTrailingSlash: true,
24
+ },
23
25
  bodyLimit: 2097152,
24
26
  serverFactory: (handler) => {
25
27
  server.on('request', handler);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-server",
3
- "version": "7.2.0",
3
+ "version": "7.2.2",
4
4
  "description": "",
5
5
  "browser": "lib/browser.js",
6
6
  "main": "lib/server.js",
@@ -30,13 +30,13 @@
30
30
  "@tinkoff/monkeypatch": "7.0.1",
31
31
  "@tinkoff/terminus": "0.6.1",
32
32
  "@tinkoff/url": "0.13.1",
33
- "@tramvai/module-cache-warmup": "7.2.0",
34
- "@tramvai/module-metrics": "7.2.0",
35
- "@tramvai/papi": "7.2.0",
33
+ "@tramvai/module-cache-warmup": "7.2.2",
34
+ "@tramvai/module-metrics": "7.2.2",
35
+ "@tramvai/papi": "7.2.2",
36
36
  "@tramvai/safe-strings": "0.10.1",
37
- "@tramvai/tokens-router": "7.2.0",
38
- "@tramvai/tokens-server": "7.2.0",
39
- "@tramvai/tokens-server-private": "7.2.0",
37
+ "@tramvai/tokens-router": "7.2.2",
38
+ "@tramvai/tokens-server": "7.2.2",
39
+ "@tramvai/tokens-server-private": "7.2.2",
40
40
  "afterframe": "^1.0.2",
41
41
  "fastify": "^5.6.2",
42
42
  "http-proxy-middleware": "^2.0.2",
@@ -45,14 +45,14 @@
45
45
  "peerDependencies": {
46
46
  "@tinkoff/dippy": "0.13.1",
47
47
  "@tinkoff/utils": "^2.1.2",
48
- "@tramvai/cli": "7.2.0",
49
- "@tramvai/core": "7.2.0",
50
- "@tramvai/module-common": "7.2.0",
51
- "@tramvai/module-environment": "7.2.0",
52
- "@tramvai/react": "7.2.0",
53
- "@tramvai/tokens-common": "7.2.0",
54
- "@tramvai/tokens-core-private": "7.2.0",
55
- "@tramvai/tokens-render": "7.2.0",
48
+ "@tramvai/cli": "7.2.2",
49
+ "@tramvai/core": "7.2.2",
50
+ "@tramvai/module-common": "7.2.2",
51
+ "@tramvai/module-environment": "7.2.2",
52
+ "@tramvai/react": "7.2.2",
53
+ "@tramvai/tokens-common": "7.2.2",
54
+ "@tramvai/tokens-core-private": "7.2.2",
55
+ "@tramvai/tokens-render": "7.2.2",
56
56
  "react": ">=16.14.0",
57
57
  "react-dom": ">=16.14.0",
58
58
  "tslib": "^2.4.0"