Fix Deprecated Use of express.bodyParser
Kevin Poole
Branch: kevinjamespoole/atlassian-connect-express-template:master
Branch: atlassian/atlassian-connect-express-template:master
Declined
Declined pull request
Changes already made in another PR
Closed by: Seb Ruiz·2016-03-10
As of Express 4.x doing "app.use(express.bodyParser())" is deprecated. Not only this, but it inhibits the use of lower level libraries such as formidable, busboy, or multiparty at other places in the app. I altered the line to the now supported way of doing things, and added the necessary dependency into the package.json file. This can be fixed in order to adhere to the new way of doing things even while using the older version of express that the framework currently expects.