aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-02-10 14:37:15 -0600
committerMatt Strapp <matt@mattstrapp.net>2022-02-10 14:37:15 -0600
commit160e299631c5a1741e93cfb0681c9218b5898d34 (patch)
tree1c8dff154d86dab60385c109d0bbb7dd0bb595a0 /package.json
parentMerge pull request #5 from RosstheRoss/dependabot/npm_and_yarn/express-rate-l... (diff)
downloadee4511w-web-160e299631c5a1741e93cfb0681c9218b5898d34.tar
ee4511w-web-160e299631c5a1741e93cfb0681c9218b5898d34.tar.gz
ee4511w-web-160e299631c5a1741e93cfb0681c9218b5898d34.tar.bz2
ee4511w-web-160e299631c5a1741e93cfb0681c9218b5898d34.tar.lz
ee4511w-web-160e299631c5a1741e93cfb0681c9218b5898d34.tar.xz
ee4511w-web-160e299631c5a1741e93cfb0681c9218b5898d34.tar.zst
ee4511w-web-160e299631c5a1741e93cfb0681c9218b5898d34.zip
Add CSRF cookie and make it somewhat secure
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index c47b57d..50cc603 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
"dependencies": {
+ "cookie-parser": "^1.4.6",
"csurf": "^1.11.0",
"ejs": "^3.1.6",
"express": "^4.17.2",
@@ -9,6 +10,7 @@
"helmet": "^5.0.2"
},
"devDependencies": {
+ "@types/cookie-parser": "^1.4.2",
"@types/csurf": "^1.11.2",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",