Turns out we were using the wrong cookieparser

This commit is contained in:
Pitu 2019-03-15 07:34:19 +00:00
parent a142078f64
commit d7745aff40
3 changed files with 7 additions and 10 deletions

View File

@ -38,7 +38,7 @@
"busboy": "^0.2.14",
"chalk": "^2.4.1",
"compression": "^1.7.2",
"cookie-parser": "^1.4.4",
"cookieparser": "^0.1.0",
"cors": "^2.8.5",
"dotenv": "^6.2.0",
"dumper.js": "^1.3.1",

View File

@ -1,7 +1,7 @@
import Vue from 'vue';
import axios from 'axios';
const cookieparser = process.server ? require('cookie-parser') : null;
const cookieparser = process.server ? require('cookieparser') : null;
export const state = () => ({
loggedIn: false,

View File

@ -2247,14 +2247,6 @@ convert-source-map@^1.1.0:
dependencies:
safe-buffer "~5.1.1"
cookie-parser@^1.4.4:
version "1.4.4"
resolved "https://registry.yarnpkg.com/cookie-parser/-/cookie-parser-1.4.4.tgz#e6363de4ea98c3def9697b93421c09f30cf5d188"
integrity sha512-lo13tqF3JEtFO7FyA49CqbhaFkskRJ0u/UAiINgrIXeRCY41c88/zxtrECl8AKH3B0hj9q10+h3Kt8I7KlW4tw==
dependencies:
cookie "0.3.1"
cookie-signature "1.0.6"
cookie-signature@1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
@ -2265,6 +2257,11 @@ cookie@0.3.1, cookie@^0.3.1:
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
integrity sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=
cookieparser@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/cookieparser/-/cookieparser-0.1.0.tgz#ea12cb1085c174f3167faeaf7985f79abe671d0e"
integrity sha1-6hLLEIXBdPMWf66veYX3mr5nHQ4=
copy-concurrently@^1.0.0:
version "1.0.5"
resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0"