Skip to content

Commit

Permalink
Update dependencies to prepare for MongoDB 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zozs committed Nov 12, 2023
1 parent 12d8687 commit 0eec77e
Show file tree
Hide file tree
Showing 4 changed files with 5,813 additions and 12,787 deletions.
6 changes: 3 additions & 3 deletions db.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,11 @@ module.exports = {
buttonsVersion: 1
}
}, {
returnOriginal: false
returnDocument: 'after'
})

if (result.value !== null) {
console.debug(`Successfully wrote ${instanceRef} version ${result.value.buttonsVersion} on try ${retries}`)
if (result !== null) {
console.debug(`Successfully wrote ${instanceRef} version ${result.buttonsVersion} on try ${retries}`)
return first
}
}
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ module.exports = {
}

process.env = Object.assign(process.env, {
MONGOMS_VERSION: 'v6.0-latest'
MONGOMS_VERSION: '7.0.2'
})
Loading

0 comments on commit 0eec77e

Please sign in to comment.