Skip to content

Commit 72d544e

Browse files
authored
build(deps-dev): use new @fastify org dependencies (#87)
1 parent 44dfee7 commit 72d544e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
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"

test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const { test } = require('tap')
44
const Fastify = require('fastify')
55
const basicAuth = require('./index')
6-
const fastifyAuth = require('fastify-auth')
6+
const fastifyAuth = require('@fastify/auth')
77
const { Unauthorized } = require('http-errors')
88

99
test('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()

0 commit comments

Comments
 (0)