From 8eec56b0f96f9815ec98890f95a04e8f3b7549ff Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Tue, 5 Sep 2023 10:55:18 +0800 Subject: [PATCH] bump @cypress/request to 3.0.0 due to CVE-2023-28155 (#105) * bump @cypress/request to 3.0.0 due to CVE-2023-28155 Signed-off-by: Hailong Cui * update snapshot Signed-off-by: Hailong Cui --------- Signed-off-by: Hailong Cui --- package.json | 3 ++- .../__snapshots__/ChannelActions.test.tsx.snap | 6 +++--- .../ChannelDetailsActions.test.tsx.snap | 4 ++-- .../__snapshots__/DetailsTableModal.test.tsx.snap | 12 ++++++------ .../CustomWebhookSettings.test.tsx.snap | 4 ++-- yarn.lock | 12 ++++++------ 6 files changed, 21 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index fa285db4..50bb989e 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "resolutions": { "async": "^3.2.3", "minimist": "^1.2.6", - "tough-cookie": "^4.1.3" + "tough-cookie": "^4.1.3", + "@cypress/request": "^3.0.0" } } \ No newline at end of file diff --git a/public/pages/Channels/__tests__/__snapshots__/ChannelActions.test.tsx.snap b/public/pages/Channels/__tests__/__snapshots__/ChannelActions.test.tsx.snap index e87e8d63..e983fd62 100644 --- a/public/pages/Channels/__tests__/__snapshots__/ChannelActions.test.tsx.snap +++ b/public/pages/Channels/__tests__/__snapshots__/ChannelActions.test.tsx.snap @@ -25,7 +25,7 @@ exports[` spec clicks in the popover 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -100,7 +100,7 @@ exports[` spec renders the popover 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -140,7 +140,7 @@ exports[` spec renders the popover with multiple selected chann xmlns="http://www.w3.org/2000/svg" > diff --git a/public/pages/Channels/__tests__/__snapshots__/ChannelDetailsActions.test.tsx.snap b/public/pages/Channels/__tests__/__snapshots__/ChannelDetailsActions.test.tsx.snap index b81abd62..dddb74e5 100644 --- a/public/pages/Channels/__tests__/__snapshots__/ChannelDetailsActions.test.tsx.snap +++ b/public/pages/Channels/__tests__/__snapshots__/ChannelDetailsActions.test.tsx.snap @@ -25,7 +25,7 @@ exports[` spec clicks buttons in popover 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -65,7 +65,7 @@ exports[` spec opens popover 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/public/pages/Channels/__tests__/__snapshots__/DetailsTableModal.test.tsx.snap b/public/pages/Channels/__tests__/__snapshots__/DetailsTableModal.test.tsx.snap index 44fe3039..c3a97a34 100644 --- a/public/pages/Channels/__tests__/__snapshots__/DetailsTableModal.test.tsx.snap +++ b/public/pages/Channels/__tests__/__snapshots__/DetailsTableModal.test.tsx.snap @@ -93,7 +93,7 @@ exports[` spec renders headers 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -388,7 +388,7 @@ exports[` spec renders headers 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -615,7 +615,7 @@ exports[` spec renders headers 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -842,7 +842,7 @@ exports[` spec renders headers 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1057,7 +1057,7 @@ exports[` spec renders headers 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -1320,7 +1320,7 @@ exports[` spec renders headers 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/public/pages/CreateChannel/__tests__/__snapshots__/CustomWebhookSettings.test.tsx.snap b/public/pages/CreateChannel/__tests__/__snapshots__/CustomWebhookSettings.test.tsx.snap index 6e978161..2738e8f7 100644 --- a/public/pages/CreateChannel/__tests__/__snapshots__/CustomWebhookSettings.test.tsx.snap +++ b/public/pages/CreateChannel/__tests__/__snapshots__/CustomWebhookSettings.test.tsx.snap @@ -218,7 +218,7 @@ exports[` spec renders the component with errors 1`] = xmlns="http://www.w3.org/2000/svg" > @@ -299,7 +299,7 @@ exports[` spec renders the component with errors 2`] = xmlns="http://www.w3.org/2000/svg" > diff --git a/yarn.lock b/yarn.lock index 56337f21..d7d1c894 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,10 +17,10 @@ date-fns "^1.27.2" figures "^1.7.0" -"@cypress/request@^2.88.5": - version "2.88.11" - resolved "https://registry.npmmirror.com/@cypress/request/-/request-2.88.11.tgz#5a4c7399bc2d7e7ed56e92ce5acb620c8b187047" - integrity sha512-M83/wfQ1EkspjkE2lNWNV5ui2Cv7UCv1swW1DqljahbzLVWltcsexQh8jYtuS/vzFXP+HySntGM83ZXA9fn17w== +"@cypress/request@^2.88.5", "@cypress/request@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@cypress/request/-/request-3.0.0.tgz#7f58dfda087615ed4e6aab1b25fffe7630d6dd85" + integrity sha512-GKFCqwZwMYmL3IBoNeR2MM1SnxRIGERsQOTWeQKoYBt2JLqcqiy7JXqO894FLrpjZYqGxW92MNwRH2BN56obdQ== dependencies: aws-sign2 "~0.7.0" aws4 "^1.8.0" @@ -37,7 +37,7 @@ performance-now "^2.1.0" qs "~6.10.3" safe-buffer "^5.1.2" - tough-cookie "~2.5.0" + tough-cookie "^4.1.3" tunnel-agent "^0.6.0" uuid "^8.3.2" @@ -1854,7 +1854,7 @@ tmp@~0.2.1: dependencies: rimraf "^3.0.0" -tough-cookie@^4.1.3, tough-cookie@~2.5.0: +tough-cookie@^4.1.3: version "4.1.3" resolved "https://registry.npmmirror.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==