From 07da139607a0459eb3ad69c0f61d2f017db1d461 Mon Sep 17 00:00:00 2001 From: mleanos Date: Sat, 12 Mar 2016 15:30:56 -0800 Subject: [PATCH] fix(dependency): Mongoose 4.4.7 bug Fixes an issue with Mongoose `4.4.7` that causes the database connection.db property to be undefined. This issue is causing our builds to fail. Sets the Mongoose version to `~4.4.3 <4.4.7` for now until we investigate further. This should solve the issue of our failing builds, when the `dropdb` Grunt/Gulp task is ran with the E2E tests. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 37327048ec..1276ac0286 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "method-override": "~2.3.5", "gulp-wiredep": "~0.0.0", "mocha": "~2.4.5", - "mongoose": "~4.4.3", + "mongoose": "~4.4.3 <4.4.7", "morgan": "~1.6.1", "multer": "~1.1.0", "nodemailer": "~2.1.0",