From 9cc74332b48147b0f196ba32ac8439bab32b4e42 Mon Sep 17 00:00:00 2001 From: SagarRajput-7 <162284829+SagarRajput-7@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:44:12 +0530 Subject: [PATCH] chore: fix cookie vulnerability (#6773) --- frontend/package.json | 3 ++- frontend/yarn.lock | 13 ++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index b4a44e6592..9ab79225e6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -245,6 +245,7 @@ "phin": "^3.7.1", "body-parser": "1.20.3", "http-proxy-middleware": "3.0.3", - "cross-spawn": "7.0.5" + "cross-spawn": "7.0.5", + "cookie": "^0.7.1" } } diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 460a0f89ab..bc745e556d 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -6636,15 +6636,10 @@ cookie-signature@1.0.6: resolved "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz" integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== -cookie@0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.1.tgz#2f73c42142d5d5cf71310a74fc4ae61670e5dbc9" - integrity sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w== - -cookie@^0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== +cookie@0.7.1, cookie@^0.4.2, cookie@^0.7.1: + version "0.7.2" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" + integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== copy-anything@^2.0.1: version "2.0.6"