rsnext/examples/with-mongodb-mongoose/lib
Pedro Rodrigues 00c68f3870
Update mongoose and swr and remove no longer needed connection options (#29934)
I've been playing around with `examples/with-mongodb-mongoose` and this PR updates mongoose and swr which are severely outdated to their most recent major releases.

This PR also removes two options that are no longer needed in the connection configuration when using mongoose 6: `useNewUrlParser` and `useUnifiedTopology`. See [Migrating from 5.x to 6.x - No More Deprecation Warning Options](https://mongoosejs.com/docs/migrating_to_6.html#no-more-deprecation-warning-options).

## Documentation / Examples

- [x] Make sure the linting passes
2021-10-16 06:33:06 +00:00
..
dbConnect.js Update mongoose and swr and remove no longer needed connection options (#29934) 2021-10-16 06:33:06 +00:00