@nestjs/platform-fastify 9.0.1 → 9.0.4
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.
|
@@ -222,7 +222,7 @@ class FastifyAdapter extends http_adapter_1.AbstractHttpAdapter {
|
|
|
222
222
|
new common_1.Logger('FastifyAdapter').error("setViewEngine() doesn't support a string argument.");
|
|
223
223
|
process.exit(1);
|
|
224
224
|
}
|
|
225
|
-
return this.register((0, load_package_util_1.loadPackage)('
|
|
225
|
+
return this.register((0, load_package_util_1.loadPackage)('@fastify/view', 'FastifyAdapter.setViewEngine()', () => require('@fastify/view')), options);
|
|
226
226
|
}
|
|
227
227
|
isHeadersSent(response) {
|
|
228
228
|
return response.sent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/platform-fastify",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)",
|
|
5
5
|
"author": "Kamil Mysliwiec",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,22 +20,22 @@
|
|
|
20
20
|
"@fastify/cors": "8.0.0",
|
|
21
21
|
"@fastify/formbody": "7.0.1",
|
|
22
22
|
"@fastify/middie": "8.0.0",
|
|
23
|
-
"fastify": "4.2.
|
|
24
|
-
"light-my-request": "5.
|
|
23
|
+
"fastify": "4.2.1",
|
|
24
|
+
"light-my-request": "5.1.0",
|
|
25
25
|
"path-to-regexp": "3.2.0",
|
|
26
26
|
"tslib": "2.4.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@fastify/static": "^6.0.0",
|
|
30
|
+
"@fastify/view": "^7.0.0",
|
|
30
31
|
"@nestjs/common": "^9.0.0",
|
|
31
|
-
"@nestjs/core": "^9.0.0"
|
|
32
|
-
"point-of-view": "^5.0.0"
|
|
32
|
+
"@nestjs/core": "^9.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {
|
|
35
35
|
"@fastify/static": {
|
|
36
36
|
"optional": true
|
|
37
37
|
},
|
|
38
|
-
"
|
|
38
|
+
"@fastify/view": {
|
|
39
39
|
"optional": true
|
|
40
40
|
}
|
|
41
41
|
}
|