Skip to content

Commit 1d7b828

Browse files
authored
test: prepare plugin for fastify 4.x (#84)
* test: replace `preParsing` hooks with `onRequest` hooks * chore (dev-deps): update package dependencies * test: rewrite tests * ci: add Node.js 17 * fix (test): use async hooks * test: clean up * test: clean up
1 parent 590f753 commit 1d7b828

File tree

4 files changed

+327
-335
lines changed

4 files changed

+327
-335
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [10, 12, 14, 16]
19+
node-version: [10, 12, 14, 16, 17]
2020
os: [macos-latest, ubuntu-latest, windows-latest]
2121

2222
steps:

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
},
2929
"homepage": "https://github.com/fastify/fastify-caching#readme",
3030
"devDependencies": {
31-
"fastify": "^3.0.0",
31+
"fastify": "^3.24.1",
3232
"pre-commit": "^1.2.2",
3333
"snazzy": "^9.0.0",
34-
"standard": "^16.0.1",
35-
"tap": "^15.0.2"
34+
"standard": "^16.0.4",
35+
"tap": "^15.1.5"
3636
},
3737
"dependencies": {
3838
"abstract-cache": "^1.0.1",

0 commit comments

Comments
 (0)