From 37779a0fc95de9855b70fab68e1ea5a330f775d4 Mon Sep 17 00:00:00 2001 From: Kat Stevens Date: Tue, 26 Nov 2024 15:30:29 +0000 Subject: [PATCH 1/2] PP-13282: Override cookie subdependency for csurf --- package-lock.json | 6 +++--- package.json | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1eb47d40..de97e8d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7986,9 +7986,9 @@ } }, "node_modules/csurf/node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", "engines": { "node": ">= 0.6" } diff --git a/package.json b/package.json index 73c1586a..477c1f3f 100644 --- a/package.json +++ b/package.json @@ -118,5 +118,10 @@ "webpack": "^5.94.0", "webpack-cli": "^5.1.4", "webpack-manifest-plugin": "^5.0.0" + }, + "overrides": { + "csurf": { + "cookie": "0.7.2" + } } } From 6d14f53fa1979f9b9bf1d2c95a50401f5e299d5c Mon Sep 17 00:00:00 2001 From: Kat Stevens Date: Tue, 26 Nov 2024 16:08:22 +0000 Subject: [PATCH 2/2] PP-13282: Override cookie subdependency of @sentry/node --- package-lock.json | 16 ++++++++-------- package.json | 3 +++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index de97e8d4..42dbf286 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4780,6 +4780,14 @@ "node": ">=6" } }, + "node_modules/@sentry/node/node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/@sentry/node/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -7805,14 +7813,6 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", "dev": true }, - "node_modules/cookie": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", - "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/cookie-signature": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", diff --git a/package.json b/package.json index 477c1f3f..2421ecef 100644 --- a/package.json +++ b/package.json @@ -122,6 +122,9 @@ "overrides": { "csurf": { "cookie": "0.7.2" + }, + "@sentry/node": { + "cookie": "0.7.2" } } }