Socket
Socket
Sign inDemoInstall

@nestjs/platform-fastify

Package Overview
Dependencies
Maintainers
2
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/platform-fastify - npm Package Compare versions

Comparing version 10.3.1 to 10.3.2

2

adapters/fastify-adapter.d.ts

@@ -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;

8

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc