rsnext/examples/with-passport/package.json
Darsh Patel 2d6b56086e
Fix: with-passport example dependency issue (#24567)
fixes #24401

Simply bumping `swr` to the latest version seems to fix the issue. 🥂 

Couldn't find a consistent pattern across the examples, but most examples are flexible with swr version and use the semver caret.

Very standard use of the useSWR hook is there in the example with nothing obviously version specific.
2021-04-28 19:19:22 +00:00

21 lines
415 B
JSON

{
"name": "with-passport",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@hapi/iron": "6.0.0",
"cookie": "0.4.1",
"next": "latest",
"next-connect": "0.8.1",
"passport": "0.4.1",
"passport-local": "1.0.0",
"react": "latest",
"react-dom": "latest",
"swr": "^0.5.5",
"uuid": "8.3.1"
},
"license": "MIT"
}