Skip to content

Commit

Permalink
fix: Support fastify 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfarrell committed Jul 1, 2020
1 parent 78ef32f commit ebf3b5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function babelPlugin(fastify, options, next) {
}

if (payload === null) {
reply.res.log.warn('babel: missing payload');
return next();
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/cfware/fastify-babel#readme",
"dependencies": {
"fastify-plugin": "^1.6.0",
"fastify-plugin": "^2.0.0",
"hasha": "^5.0.0"
},
"peerDependencies": {
Expand All @@ -39,8 +39,8 @@
"@cfware/lint": "^1.0.0",
"@cfware/nyc": "^0.7.0",
"babel-plugin-bare-import-rewrite": "^2.0.0",
"fastify": "^2.7.1",
"fastify-static": "^2.5.0",
"fastify": "^3.0.0-rc.5",
"fastify-static": "^3.0.1",
"libtap": "^0.3.0",
"node-fetch": "^2.6.0",
"nyc": "^15.0.0",
Expand Down

0 comments on commit ebf3b5c

Please sign in to comment.