New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fastify-basic-auth

Package Overview
Dependencies
Maintainers
8
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 0.4.0 to 0.5.0

index.d.ts

7

package.json
{
"name": "fastify-basic-auth",
"version": "0.4.0",
"version": "0.5.0",
"description": "Fastify basic auth plugin",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "standard && tap test.js"
"typescript": "tsc --project ./test/types/tsconfig.json",
"test": "standard && tap test/*.test.js && npm run typescript"
},

@@ -27,2 +29,3 @@ "repository": {

"devDependencies": {
"@types/node": "^12.7.12",
"fastify": "^2.0.0",

@@ -29,0 +32,0 @@ "fastify-auth": "^0.3.0",

@@ -13,3 +13,3 @@ # fastify-basic-auth

## Usage
This plugin decorates the fastify instance with a `basicAuth` function, which you can use inside a `preHandler` hook, in a `beforeHander` or with [`fastify-auth`](https://github.com/fastify/fastify-auth).
This plugin decorates the fastify instance with a `basicAuth` function, which you can use inside a `preHandler` hook, in a `beforeHandler` or with [`fastify-auth`](https://github.com/fastify/fastify-auth).

@@ -16,0 +16,0 @@ ```js

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