Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge next into master #183

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
test:
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.1.0
with:
license-check: true
lint: true
2 changes: 0 additions & 2 deletions .taprc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
check-coverage: true

files:
- test/**/*.test.js
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
},
"homepage": "https://github.com/fastify/fastify-bearer-auth#readme",
"devDependencies": {
"@fastify/auth": "^4.0.0",
"@fastify/pre-commit": "^2.0.2",
"@types/node": "^20.1.0",
"fastify": "^4.0.0-rc.2",
"standard": "^17.0.0",
"tap": "^16.0.0",
"@fastify/auth": "^5.0.0-pre.fv5.1",
"@fastify/pre-commit": "^2.1.0",
"@types/node": "^20.12.7",
"fastify": "^5.0.0-alpha.3",
"standard": "^17.1.0",
"tap": "^18.7.2",
"tsd": "^0.31.0"
},
"dependencies": {
"@fastify/error": "^4.0.0",
"fastify-plugin": "^4.0.0"
"fastify-plugin": "^5.0.0-pre.fv5.1"
},
"pre-commit": [
"lint",
Expand Down
2 changes: 1 addition & 1 deletion test/spec-compliance-invalid.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ test('throws FST_BEARER_AUTH_INVALID_SPEC when invalid value for specCompliance

const fastify = Fastify()

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