Skip to content

Commit

Permalink
Updated to Fastify v4 (#181)
Browse files Browse the repository at this point in the history
* Updated to Fastify v4

* dropped old nodes
  • Loading branch information
mcollina authored May 10, 2022
1 parent bace77e commit fb1f20d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
strategy:
matrix:
node-version:
- 10
- 12
- 14
- 16
- 18
os:
- macos-latest
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"homepage": "https://github.com/fastify/fastify-cookie#readme",
"devDependencies": {
"@types/node": "^17.0.16",
"fastify": "^3.27.1",
"fastify": "^4.0.0-rc.2",
"pre-commit": "^1.2.2",
"sinon": "^14.0.0",
"snazzy": "^9.0.0",
Expand Down
4 changes: 2 additions & 2 deletions plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ function plugin (fastify, options, next) {
}

const fastifyCookie = fp(plugin, {
fastify: '>=3',
name: 'fastify-cookie'
fastify: '4.x',
name: '@fastify/cookie'
})

/**
Expand Down

0 comments on commit fb1f20d

Please sign in to comment.