Skip to content

Commit 82fecd3

Browse files
authored
update (#181)
1 parent 5a19999 commit 82fecd3

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
test:
20-
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
20+
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.1.0
2121
with:
2222
license-check: true
2323
lint: true

.taprc

-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
check-coverage: true
2-
31
files:
42
- test/**/*.test.js

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131
},
3232
"homepage": "https://github.com/fastify/fastify-bearer-auth#readme",
3333
"devDependencies": {
34-
"@fastify/auth": "^4.0.0",
35-
"@fastify/pre-commit": "^2.0.2",
36-
"@types/node": "^20.1.0",
37-
"fastify": "^4.0.0-rc.2",
38-
"standard": "^17.0.0",
39-
"tap": "^16.0.0",
34+
"@fastify/auth": "^4.6.1",
35+
"@fastify/pre-commit": "^2.1.0",
36+
"@types/node": "^20.12.7",
37+
"fastify": "^4.26.2",
38+
"standard": "^17.1.0",
39+
"tap": "^18.7.2",
4040
"tsd": "^0.31.0"
4141
},
4242
"dependencies": {
4343
"@fastify/error": "^3.4.1",
44-
"fastify-plugin": "^4.0.0"
44+
"fastify-plugin": "^4.5.1"
4545
},
4646
"pre-commit": [
4747
"lint",

test/spec-compliance-invalid.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ test('throws FST_BEARER_AUTH_INVALID_SPEC when invalid value for specCompliance
1111

1212
const fastify = Fastify()
1313

14-
t.rejects(() => fastify.register(plugin, { keys: new Set(['123456']), specCompliance: 'invalid' }), new FST_BEARER_AUTH_INVALID_SPEC())
14+
t.rejects(async () => fastify.register(plugin, { keys: new Set(['123456']), specCompliance: 'invalid' }), new FST_BEARER_AUTH_INVALID_SPEC())
1515
})

0 commit comments

Comments
 (0)