@nestjs/platform-fastify
Advanced tools
Comparing version 10.3.1 to 10.3.2
@@ -79,3 +79,5 @@ /// <reference types="node" /> | ||
isHeadersSent(response: TReply): boolean; | ||
getHeader?(response: any, name: string): any; | ||
setHeader(response: TReply, name: string, value: string): FastifyReply<TServer, TRawRequest, TRawResponse, import("fastify").RouteGenericInterface, unknown, import("fastify").FastifySchema, import("fastify").FastifyTypeProviderDefault, unknown>; | ||
appendHeader?(response: any, name: string, value: string): void; | ||
getRequestHostname(request: TRequest): string; | ||
@@ -82,0 +84,0 @@ getRequestMethod(request: TRequest): string; |
@@ -256,5 +256,11 @@ "use strict"; | ||
} | ||
getHeader(response, name) { | ||
return response.getHeader(name); | ||
} | ||
setHeader(response, name, value) { | ||
return response.header(name, value); | ||
} | ||
appendHeader(response, name, value) { | ||
response.header(name, value); | ||
} | ||
getRequestHostname(request) { | ||
@@ -261,0 +267,0 @@ return request.hostname; |
{ | ||
"name": "@nestjs/platform-fastify", | ||
"version": "10.3.1", | ||
"version": "10.3.2", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@platform-fastify)", | ||
@@ -21,6 +21,6 @@ "author": "Kamil Mysliwiec", | ||
"dependencies": { | ||
"@fastify/cors": "8.5.0", | ||
"@fastify/cors": "9.0.1", | ||
"@fastify/formbody": "7.4.0", | ||
"@fastify/middie": "8.3.0", | ||
"fastify": "4.25.2", | ||
"fastify": "4.26.0", | ||
"light-my-request": "5.11.0", | ||
@@ -31,3 +31,3 @@ "path-to-regexp": "3.2.0", | ||
"peerDependencies": { | ||
"@fastify/static": "^6.0.0", | ||
"@fastify/static": "^6.0.0 || ^7.0.0", | ||
"@fastify/view": "^7.0.0 || ^8.0.0", | ||
@@ -34,0 +34,0 @@ "@nestjs/common": "^10.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51221
828
+ Added@fastify/cors@9.0.1(transitive)
+ Added@fastify/static@7.0.4(transitive)
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@nestjs/common@10.4.1(transitive)
+ Added@nestjs/core@10.4.1(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@6.2.1(transitive)
+ Addedcross-spawn@7.0.3(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedfastify@4.26.0(transitive)
+ Addedfind-my-way@8.2.0(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedret@0.4.3(transitive)
+ Addedsafe-regex2@3.1.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedtslib@2.6.3(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removed@fastify/cors@8.5.0(transitive)
- Removed@fastify/static@6.12.0(transitive)
- Removed@nestjs/common@10.4.3(transitive)
- Removed@nestjs/core@10.4.3(transitive)
- Removedfastify@4.25.2(transitive)
- Removedfind-my-way@7.7.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@8.1.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedminimatch@5.1.6(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedpath-to-regexp@3.3.0(transitive)
- Removedret@0.2.2(transitive)
- Removedsafe-regex2@2.0.0(transitive)
- Removedtslib@2.7.0(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyocto-queue@0.1.0(transitive)
Updated@fastify/cors@9.0.1
Updatedfastify@4.26.0