Comparing version 0.2.12 to 0.2.13
@@ -46,4 +46,6 @@ 'use strict'; | ||
var _bodyParserOptions = middlewareOptions('bodyParser', options); | ||
app.use(bodyParser.json(_bodyParserOptions.json)); | ||
app.use(bodyParser.urlencoded(_bodyParserOptions.urlencoded)); | ||
if (options.bodyParser !== false) { | ||
app.use(bodyParser.json(_bodyParserOptions.json)); | ||
app.use(bodyParser.urlencoded(_bodyParserOptions.urlencoded)); | ||
} | ||
@@ -50,0 +52,0 @@ app.use(flash()); |
{ | ||
"name": "elephas", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"description": "Some added sugar on top of express to give our our some sensible defaults and a little structure.", | ||
@@ -5,0 +5,0 @@ "main": "elephas.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34749
719