Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastify-basic-auth

Package Overview
Dependencies
Maintainers
14
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-basic-auth - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

4

index.d.ts

@@ -8,3 +8,4 @@ import {

preValidationHookHandler,
preHandlerHookHandler
preHandlerHookHandler,
FastifyInstance
} from 'fastify'

@@ -22,2 +23,3 @@

validate(
this: FastifyInstance,
username: string,

@@ -24,0 +26,0 @@ password: string,

@@ -8,4 +8,5 @@ import { expectType, expectAssignable } from 'tsd'

preValidationHookHandler,
preHandlerHookHandler
} from 'fastify'
preHandlerHookHandler,
FastifyInstance
} from 'fastify'
import fastifyBasicAuth from '.'

@@ -21,2 +22,3 @@

expectType<FastifyReply>(reply)
expectType<FastifyInstance>(this)
},

@@ -33,2 +35,3 @@ header: 'x-forwarded-authorization'

expectAssignable<(err?: Error) => void>(done)
expectType<FastifyInstance>(this)
}

@@ -35,0 +38,0 @@ })

{
"name": "fastify-basic-auth",
"version": "2.1.0",
"version": "2.2.0",
"description": "Fastify basic auth plugin",

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

Sorry, the diff of this file is not supported yet

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