From 9109893a315e439b1c24c126a343a098fe51b45b Mon Sep 17 00:00:00 2001 From: Joseph Safwat Khella Date: Tue, 17 Apr 2018 14:37:39 +0200 Subject: [PATCH] Update _package.json Change "mongoose": "4.1.2" to "mongoose": "^4.1.2" Cause: DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. --- templates/app/_package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/app/_package.json b/templates/app/_package.json index 1aef54faa..64cd4572c 100644 --- a/templates/app/_package.json +++ b/templates/app/_package.json @@ -30,7 +30,7 @@ "babel-runtime": "^6.18.0",<% if(filters.pug) { %> "pug": "2.0.0-beta6",<% } %><% if(filters.html) { %> "ejs": "^2.5.3",<% } %><% if(filters.mongoose) { %> - "mongoose": "^4.1.2", + "mongoose": "4.1.2", "bluebird": "^3.3.3", "connect-mongo": "^2.0.1",<% } %><% if(filters.sequelize) { %> "sequelize": "^3.23.6",