Skip to content

Commit

Permalink
Merge pull request #55 from ddtraceweb/ddtraceweb-patch-1
Browse files Browse the repository at this point in the history
update to mongodb 3.1.8
  • Loading branch information
vkarpov15 committed Nov 4, 2018
2 parents 4cbd4f5 + e105d0a commit 2df8c02
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 18 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -17,7 +17,7 @@ module.exports = function(connect) {
var defaults = {
uri: 'mongodb://localhost:27017/test',
collection: 'sessions',
connectionOptions: {},
connectionOptions: {useNewUrlParser: true},
expires: 1000 * 60 * 60 * 24 * 14, // 2 weeks
idField: '_id'
};
Expand Down
73 changes: 57 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -15,7 +15,7 @@
"url": "https://github.com/mongodb-js/connect-mongodb-session.git"
},
"dependencies": {
"mongodb": "~3.0.4"
"mongodb": "~3.1.8"
},
"devDependencies": {
"acquit": "1.0.0",
Expand Down

0 comments on commit 2df8c02

Please sign in to comment.