File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2525 },
2626 "homepage" : " https://github.com/fastify/fastify-basic-auth#readme" ,
2727 "devDependencies" : {
28+ "@fastify/auth" : " ^2.0.0" ,
2829 "@types/node" : " ^17.0.0" ,
2930 "fastify" : " ^3.0.0" ,
30- "fastify-auth" : " ^1.0.0" ,
3131 "standard" : " ^17.0.0" ,
3232 "tap" : " ^16.0.0" ,
3333 "tsd" : " ^0.20.0"
Original file line number Diff line number Diff line change 33const { test } = require ( 'tap' )
44const Fastify = require ( 'fastify' )
55const basicAuth = require ( './index' )
6- const fastifyAuth = require ( 'fastify- auth' )
6+ const fastifyAuth = require ( '@ fastify/ auth' )
77const { Unauthorized } = require ( 'http-errors' )
88
99test ( 'Basic' , t => {
@@ -355,7 +355,7 @@ test('Hook - 401', t => {
355355 } )
356356} )
357357
358- test ( 'With fastify- auth - 401' , t => {
358+ test ( 'With @ fastify/ auth - 401' , t => {
359359 t . plan ( 3 )
360360
361361 const fastify = Fastify ( )
@@ -399,7 +399,7 @@ test('With fastify-auth - 401', t => {
399399 } )
400400} )
401401
402- test ( 'Hook with fastify- auth- 401' , t => {
402+ test ( 'Hook with @ fastify/ auth- 401' , t => {
403403 t . plan ( 3 )
404404
405405 const fastify = Fastify ( )
You can’t perform that action at this time.
0 commit comments