Skip to content

Commit

Permalink
upgraded all packages, fixed depreciation warnings (mobX, MUI, mongoose)
Browse files Browse the repository at this point in the history
  • Loading branch information
tima101 committed Oct 12, 2018
1 parent 74cc5ff commit 22e4b9f
Show file tree
Hide file tree
Showing 14 changed files with 4,916 additions and 2,889 deletions.
57 changes: 28 additions & 29 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,43 @@
"coverageDirectory": "./.coverage"
},
"dependencies": {
"@types/mongoose": "^5.2.4",
"@types/node": "^10.5.7",
"aws-sdk": "^2.255.1",
"compression": "^1.7.2",
"@types/mongoose": "^5.2.19",
"@types/node": "^10.11.7",
"aws-sdk": "^2.333.0",
"compression": "^1.7.3",
"connect-mongo": "^2.0.0",
"cors": "^2.8.4",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"dotenv": "^6.1.0",
"express": "^4.16.4",
"express-session": "^1.15.6",
"front-matter": "^2.3.0",
"googleapis": "^32.0.0",
"handlebars": "^4.0.11",
"he": "^1.1.1",
"helmet": "^3.12.1",
"front-matter": "^3.0.0",
"googleapis": "^34.0.0",
"handlebars": "^4.0.12",
"he": "^1.2.0",
"helmet": "^3.14.0",
"highlight.js": "^9.12.0",
"isomorphic-unfetch": "^2.0.0",
"lodash": "^4.17.10",
"marked": "^0.4.0",
"mongoose": "^5.2.7",
"isomorphic-unfetch": "^3.0.0",
"lodash": "^4.17.11",
"marked": "^0.5.1",
"mongoose": "^5.3.3",
"passport": "^0.4.0",
"passport-google-oauth": "^1.0.0",
"qs": "^6.5.2",
"request": "^2.87.0",
"stripe": "^6.7.0",
"typescript": "2.8.3",
"winston": "^3.0.0-rc5"
"request": "^2.88.0",
"stripe": "^6.12.1",
"typescript": "3.1.3",
"winston": "^3.1.0"
},
"devDependencies": {
"@types/express": "^4.16.0",
"@types/handlebars": "^4.0.38",
"@types/lodash": "^4.14.109",
"@types/passport": "^0.4.5",
"@types/stripe": "^5.0.13",
"babel-eslint": "^8.2.3",
"husky": "^1.0.0-rc.13",
"jest": "^22.4.4",
"nodemon": "^1.17.4",
"ts-node": "^6.0.3",
"tslint": "^5.10.0"
"@types/handlebars": "^4.0.39",
"@types/lodash": "^4.14.117",
"@types/passport": "^0.4.6",
"@types/stripe": "^6.0.1",
"husky": "^1.1.2",
"jest": "^23.6.0",
"nodemon": "^1.18.4",
"ts-node": "^7.0.1",
"tslint": "^5.11.0"
}
}
3 changes: 2 additions & 1 deletion api/server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ const MONGO_URL = dev ? process.env.MONGO_URL_TEST : process.env.MONGO_URL;

mongoose.connect(
MONGO_URL,
{ useNewUrlParser: true },
{ useNewUrlParser: true, useFindAndModify: false },
);
mongoose.set('useCreateIndex', true);

const server = express();

Expand Down
Loading

0 comments on commit 22e4b9f

Please sign in to comment.