1
0
mirror of https://github.com/Foltik/Shimapan synced 2025-01-03 23:18:48 -05:00

Remove cookie-parser

This commit is contained in:
Jack 2017-10-21 15:10:38 -04:00
parent dc470fd131
commit aac5caf6a7
Signed by: foltik
GPG Key ID: 303F88F996E95541
3 changed files with 0 additions and 12 deletions

9
package-lock.json generated
View File

@ -942,15 +942,6 @@
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
"integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s="
},
"cookie-parser": {
"version": "1.4.3",
"resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.3.tgz",
"integrity": "sha1-D+MfoZ0AC5X0qt8fU/3CuKIDuqU=",
"requires": {
"cookie": "0.3.1",
"cookie-signature": "1.0.6"
}
},
"cookie-signature": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",

View File

@ -9,7 +9,6 @@
"body-parser": "^1.18.2",
"config": "^1.26.2",
"connect-mongo": "^2.0.0",
"cookie-parser": "^1.4.3",
"event-stream": "^3.3.4",
"express": "^4.16.2",
"express-sanitizer": "^1.0.2",

View File

@ -4,7 +4,6 @@ var methodOverride = require('method-override');
var mongoose = require('mongoose');
var morgan = require('morgan');
var passport = require('passport');
var cookieParser = require('cookie-parser');
var session = require('express-session');
var sanitizer = require('express-sanitizer');
var helmet = require('helmet');
@ -45,7 +44,6 @@ app.use(session({
}));
app.use(passport.initialize());
app.use(passport.session());
app.use(cookieParser());
app.use(bodyParser.json());
app.use(bodyParser.json({ type: 'application/*+json' }))
app.use(bodyParser.urlencoded({ extended: true }));