Skip to content

Commit

Permalink
Merge pull request #23 from share/mongodb6
Browse files Browse the repository at this point in the history
⬆️ Add support for `mongodb@6`
  • Loading branch information
alecgibson committed Sep 5, 2023
2 parents 5eb63f2 + 7cf3f7a commit dbb58ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "MongoDB milestone snapshot database adapter for ShareDB",
"main": "lib/index.js",
"dependencies": {
"mongodb": "^3.0.0 || ^4.0.0 || ^5.0.0",
"mongodb": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0",
"sharedb": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0"
},
"devDependencies": {
Expand All @@ -15,6 +15,7 @@
"mongodb3": "npm:mongodb@^3.0.0",
"mongodb4": "npm:mongodb@^4.0.0",
"mongodb5": "npm:mongodb@^5.0.0",
"mongodb6": "npm:mongodb@^6.0.0",
"nyc": "^15.1.0"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions test/mongo-milestone-db.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const MONGO_URL = process.env.TEST_MONGO_URL || 'mongodb://localhost:27017/test'
'mongodb3',
'mongodb4',
'mongodb5',
'mongodb6',
].forEach((driver) => {
const mongodb = require(driver);

Expand Down

0 comments on commit dbb58ff

Please sign in to comment.