fastify-basic-auth
Advanced tools
Comparing version 0.4.0 to 0.5.0
{ | ||
"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 |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
22988
9
605
5