Skip to content

Commit 99d7dd2

Browse files
jsumnerssynapsegurgunday
authored
Merge next into master (#266)
* Update for Fastify v5 (#251) * upgrade for fastify 5 * added linting new line * enable coverage --------- Signed-off-by: Gürgün Dayıoğlu <[email protected]> Co-authored-by: Gürgün Dayıoğlu <[email protected]> * update fastify deps --------- Signed-off-by: Gürgün Dayıoğlu <[email protected]> Co-authored-by: Cristian Barlutiu <[email protected]> Co-authored-by: Gürgün Dayıoğlu <[email protected]>
1 parent 3710350 commit 99d7dd2

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
files:
2-
- 'test/**/*.test.js'
2+
- 'test/**/*.test.js'

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ function fastifyOauth2 (fastify, options, next) {
404404

405405
const httpOpts = {
406406
headers: {
407+
/* c8 ignore next */
407408
...options.credentials.http?.headers,
408409
'User-Agent': userAgent
409410
}
@@ -437,6 +438,7 @@ function fastifyOauth2 (fastify, options, next) {
437438
const httpOpts = {
438439
method,
439440
headers: {
441+
/* c8 ignore next */
440442
...options.credentials.http?.headers,
441443
'User-Agent': userAgent,
442444
Authorization: `Bearer ${token}`

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@
2828
],
2929
"homepage": "https://github.com/fastify/fastify-oauth2#readme",
3030
"devDependencies": {
31-
"@fastify/pre-commit": "^2.0.2",
32-
"@types/node": "^20.5.3",
33-
"@types/simple-oauth2": "^5.0.4",
34-
"fastify": "^4.21.0",
35-
"nock": "^13.3.3",
31+
"@fastify/pre-commit": "^2.1.0",
32+
"@types/node": "^20.11.30",
33+
"@types/simple-oauth2": "^5.0.7",
34+
"fastify": "^5.0.0-alpha.3",
35+
"nock": "^13.5.4",
3636
"simple-get": "^4.0.1",
3737
"snazzy": "^9.0.0",
3838
"standard": "^17.1.0",
39-
"tap": "^16.3.8",
39+
"tap": "^18.7.1",
4040
"tsd": "^0.31.0"
4141
},
4242
"dependencies": {
43-
"@fastify/cookie": "^9.0.4",
44-
"fastify-plugin": "^4.5.1",
43+
"@fastify/cookie": "^10.0.0-pre.fv5.1",
44+
"fastify-plugin": "^5.0.0-pre.fv5.1",
4545
"simple-oauth2": "^5.0.0"
4646
},
4747
"publishConfig": {

0 commit comments

Comments
 (0)