Socket
Socket
Sign inDemoInstall

fastify

Package Overview
Dependencies
16
Maintainers
3
Versions
286
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.23.1 to 4.23.2

2

fastify.js
'use strict'
const VERSION = '4.23.1'
const VERSION = '4.23.2'

@@ -5,0 +5,0 @@ const Avvio = require('avvio')

{
"name": "fastify",
"version": "4.23.1",
"version": "4.23.2",
"description": "Fast and low overhead web framework, for Node.js",

@@ -5,0 +5,0 @@ "main": "fastify.js",

@@ -84,2 +84,3 @@ import pino from 'pino'

expectType<FastifySchema>(request.routeSchema)
expectType<FastifySchema>(request.routeOptions.schema)

@@ -86,0 +87,0 @@ expectType<RequestHeadersDefault & RawRequestDefaultExpression['headers']>(request.headers)

@@ -23,12 +23,13 @@ import { ErrorObject } from '@fastify/ajv-compiler'

export interface RequestRouteOptions<ContextConfig = ContextConfigDefault> {
method: string,
url: string,
bodyLimit:number,
attachValidation:boolean,
logLevel:string,
version: string | undefined,
exposeHeadRoute: boolean,
prefixTrailingSlash: string,
config: FastifyContextConfig & FastifyRouteConfig & ContextConfig
export interface RequestRouteOptions<ContextConfig = ContextConfigDefault, SchemaCompiler = FastifySchema> {
method: string;
url: string;
bodyLimit:number;
attachValidation:boolean;
logLevel:string;
version: string | undefined;
exposeHeadRoute: boolean;
prefixTrailingSlash: string;
config: FastifyContextConfig & FastifyRouteConfig & ContextConfig;
schema: SchemaCompiler;
}

@@ -83,3 +84,3 @@

readonly routerMethod: string;
readonly routeOptions: Readonly<RequestRouteOptions<ContextConfig>>
readonly routeOptions: Readonly<RequestRouteOptions<ContextConfig, SchemaCompiler>>
readonly is404: boolean;

@@ -86,0 +87,0 @@ readonly socket: RawRequest['socket'];

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc