Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(connection-state-recovery): pin mongodb due breaking change
Between 5 -> 6, the return value of `findOneAndDelete` changed. It now returns the document or null directly, see 'https://github.com/mongodb/node-mongodb-native/blob/HEAD/etc/notes/CHANGES_6.0.0.md#findoneandx-family-of-methods-will-now-return-only-the-found-document-or-null-by-default-includeresultmetadata-is-false-by-default' By pinning the version we'll mitigate potential breaking changes in future.
- Loading branch information