Skip to content

Commit

Permalink
feat: use cookie module again (#194)
Browse files Browse the repository at this point in the history
Previously, in PR #152 we removed the `cookie` dep., since the repo was stale.
The cookie module seems to be active again, and now actually the current implementation was outdated and lacking a performance fix from ~4 months ago.
  • Loading branch information
kurtextrem authored Jul 14, 2022
1 parent dffa0ea commit f417694
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 431 deletions.
225 changes: 0 additions & 225 deletions cookie.js

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"typescript": "^4.5.5"
},
"dependencies": {
"cookie": "^0.5.0",
"cookie-signature": "^1.1.0",
"fastify-plugin": "^3.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const fp = require('fastify-plugin')
const cookie = require('./cookie')
const cookie = require('cookie')

const signerFactory = require('./signer')

Expand Down
Loading

0 comments on commit f417694

Please sign in to comment.