From 0e3110c0a24e082fe68081b4683d4566109ed0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 24 Feb 2026 13:20:51 +0000 Subject: [PATCH] fix(deps): update dependency @fortawesome/react-fontawesome to v3 --- ui/package-lock.json | 17 +++++----- ui/package.json | 2 +- .../Alert/__snapshots__/index.test.tsx.snap | 4 +-- .../__snapshots__/index.test.tsx.snap | 2 +- .../__snapshots__/index.test.tsx.snap | 6 ++-- .../__snapshots__/Silences.test.tsx.snap | 2 +- .../__snapshots__/index.test.tsx.snap | 2 +- .../__snapshots__/index.test.tsx.snap | 2 +- .../SilenceComment.test.tsx.snap | 4 +-- .../__snapshots__/index.test.tsx.snap | 16 +++++----- .../__snapshots__/index.test.tsx.snap | 20 ++++++------ .../__snapshots__/index.test.tsx.snap | 32 +++++++++---------- .../__snapshots__/index.test.tsx.snap | 4 +-- .../__snapshots__/AppToasts.test.tsx.snap | 6 ++-- .../__snapshots__/index.test.tsx.snap | 4 +-- .../__snapshots__/index.test.tsx.snap | 2 +- 16 files changed, 62 insertions(+), 63 deletions(-) diff --git a/ui/package-lock.json b/ui/package-lock.json index 767beb40b..b7269711e 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -13,7 +13,7 @@ "@fortawesome/fontawesome-svg-core": "7.2.0", "@fortawesome/free-regular-svg-icons": "7.2.0", "@fortawesome/free-solid-svg-icons": "7.2.0", - "@fortawesome/react-fontawesome": "0.2.6", + "@fortawesome/react-fontawesome": "3.2.0", "@juggle/resize-observer": "3.4.0", "body-scroll-lock": "3.1.5", "bootstrap": "5.2.3", @@ -2875,17 +2875,16 @@ } }, "node_modules/@fortawesome/react-fontawesome": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.2.6.tgz", - "integrity": "sha512-mtBFIi1UsYQo7rYonYFkjgYKGoL8T+fEH6NGUpvuqtY3ytMsAoDaPo5rk25KuMtKDipY4bGYM/CkmCHA1N3FUg==", - "deprecated": "v0.2.x is no longer supported. Unless you are still using FontAwesome 5, please update to v3.1.1 or greater.", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-3.2.0.tgz", + "integrity": "sha512-E9Gu1hqd6JussVO26EC4WqRZssXMnQr2ol7ZNWkkFOH8jZUaxDJ9Z9WF9wIVkC+kJGXUdY3tlffpDwEKfgQrQw==", "license": "MIT", - "dependencies": { - "prop-types": "^15.8.1" + "engines": { + "node": ">=20" }, "peerDependencies": { - "@fortawesome/fontawesome-svg-core": "~1 || ~6 || ~7", - "react": "^16.3 || ^17.0.0 || ^18.0.0 || ^19.0.0" + "@fortawesome/fontawesome-svg-core": "~6 || ~7", + "react": "^18.0.0 || ^19.0.0" } }, "node_modules/@humanwhocodes/config-array": { diff --git a/ui/package.json b/ui/package.json index e59090f1a..611b6d18d 100644 --- a/ui/package.json +++ b/ui/package.json @@ -9,7 +9,7 @@ "@fortawesome/fontawesome-svg-core": "7.2.0", "@fortawesome/free-regular-svg-icons": "7.2.0", "@fortawesome/free-solid-svg-icons": "7.2.0", - "@fortawesome/react-fontawesome": "0.2.6", + "@fortawesome/react-fontawesome": "3.2.0", "@juggle/resize-observer": "3.4.0", "body-scroll-lock": "3.1.5", "bootstrap": "5.2.3", diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap index 112b06e2f..cabe53ce6 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/__snapshots__/index.test.tsx.snap @@ -155,7 +155,7 @@ exports[` matches snapshot when inhibited 1`] = ` > matches snapshot with showAlertmanagers=false showReceiver=fa > matches snapshot 1`] = ` > matches snapshot 1`] = ` > matches snapshot when silence is rendered 1`] = ` > matches snapshot when silence is rendered 1`] = ` > renders ManagedSilence if silence is present in Alert > matches snapshot 1`] = ` > matches snapshot 1`] = ` > Matches snapshot when collapsed 1`] = ` > Matches snapshot when collapsed and multiple cluster > matches snapshot when collapsed 1`] = ` > matches snapshot with expanded details 1`] = ` > matches snapshot with expanded details 1`] = ` > matches snapshot with expanded details 1`] = ` > matches snapshot with expanded details 1`] = ` > matches snapshot with expanded details 1`] = ` > matches snapshot with expanded details 1`] = ` > matches snapshot with expanded details 1`] = ` > matches snapshot with no filters 1`] = ` > matches snapshot with no filters 1`] = ` > matches snapshot with some filters 1`] = ` > matches snapshot with some filters 1`] = ` > matches snapshot with some filters 1`] = ` @@ -213,7 +213,7 @@ exports[` matches snapshot with some filters 1`] = ` > 'Duration' tab matches snapshot 1`] = ` 'Duration' tab matches snapshot 1`] = ` 'Duration' tab matches snapshot 1`] = ` 'Duration' tab matches snapshot 1`] = ` 'Duration' tab matches snapshot 1`] = ` 'Duration' tab matches snapshot 1`] = ` 'Ends' tab matches snapshot 1`] = ` > 'Ends' tab matches snapshot 1`] = ` 'Ends' tab matches snapshot 1`] = ` 'Ends' tab matches snapshot 1`] = ` 'Ends' tab matches snapshot 1`] = ` 'Starts' tab matches snapshot 1`] = ` > 'Starts' tab matches snapshot 1`] = ` 'Starts' tab matches snapshot 1`] = ` 'Starts' tab matches snapshot 1`] = ` 'Starts' tab matches snapshot 1`] = ` matches snapshot 1`] = ` > matches snapshot 1`] = ` > renders UpgradeToastMessage when alertStore.info.upgradeR > renders upstream error toasts for each unhealthy upstream > renders upstream error toasts if all instances are down 1 > matches snapshot when closed 1`] = ` matches snapshot when open 1`] = ` matches snapshot 1`] = ` >