Skip to content

Commit c2fc0aa

Browse files
jsumnerssynapsegurgunday
authored
Merge next into master (#199)
* Update for Fastify v5 (#192) * Update for fastify 5 * removed coverage disable * replaced istambul with c8 * wrapped code in c8 * fix --------- Co-authored-by: Gürgün Dayıoğlu <[email protected]> * Update for Fastify v5 (#192) * Update for fastify 5 * removed coverage disable * replaced istambul with c8 * wrapped code in c8 * fix --------- Co-authored-by: Gürgün Dayıoğlu <[email protected]> * update fastify deps --------- Co-authored-by: Cristian Barlutiu <[email protected]> Co-authored-by: Gürgün Dayıoğlu <[email protected]>
1 parent 255ca57 commit c2fc0aa

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
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-redis.yml@v3
20+
uses: fastify/workflows/.github/workflows/plugins-ci-redis.yml@v4.1.0
2121
with:
2222
lint: true
2323
license-check: true

.taprc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
ts: false
2-
jsx: false
3-
flow: false
4-
jobs: 1
5-
coverage: true
6-
check-coverage: true
7-
81
files:
92
- test/**/*.test.js

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function fastifyRedis (fastify, options, next) {
6767
}
6868

6969
// Testing this make the process crash on latest TAP :(
70-
/* istanbul ignore next */
70+
/* c8 ignore start */
7171
const onEnd = function (err) {
7272
client
7373
.off('ready', onReady)
@@ -77,6 +77,7 @@ function fastifyRedis (fastify, options, next) {
7777

7878
next(err)
7979
}
80+
/* c8 ignore stop */
8081

8182
const onReady = function () {
8283
client
@@ -88,7 +89,7 @@ function fastifyRedis (fastify, options, next) {
8889
}
8990

9091
// Testing this make the process crash on latest TAP :(
91-
/* istanbul ignore next */
92+
/* c8 ignore start */
9293
const onError = function (err) {
9394
if (err.code === 'ENOTFOUND') {
9495
onEnd(err)
@@ -105,6 +106,7 @@ function fastifyRedis (fastify, options, next) {
105106
onEnd(err)
106107
}
107108
}
109+
/* c8 ignore stop */
108110

109111
// ioredis provides it in a .status property
110112
if (client.status === 'ready') {

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@
3535
},
3636
"homepage": "https://github.com/fastify/fastify-redis#readme",
3737
"devDependencies": {
38-
"@fastify/pre-commit": "^2.0.2",
39-
"@types/node": "^20.1.0",
40-
"fastify": "^4.0.0-rc.2",
38+
"@fastify/pre-commit": "^2.1.0",
39+
"@types/node": "^20.11.30",
40+
"fastify": "^5.0.0-alpha.3",
4141
"proxyquire": "^2.1.3",
42-
"standard": "^17.0.0",
43-
"tap": "^16.0.0",
42+
"standard": "^17.1.0",
43+
"tap": "^18.7.1",
4444
"tsd": "^0.31.0",
4545
"why-is-node-running": "^2.2.2"
4646
},
4747
"dependencies": {
48-
"fastify-plugin": "^4.0.0",
49-
"ioredis": "^5.0.0"
48+
"fastify-plugin": "^5.0.0-pre.fv5.1",
49+
"ioredis": "^5.3.2"
5050
},
5151
"publishConfig": {
5252
"access": "public"

0 commit comments

Comments
 (0)