From 985b03d39cb3536d73ad6b4caa5c9d789c6a13a8 Mon Sep 17 00:00:00 2001 From: Jarkko Pesonen <435495+jrkkp@users.noreply.github.com> Date: Mon, 8 Jan 2024 15:59:18 +0200 Subject: [PATCH] AKR:OTR:VKT:YKI:SHARED(Frontend) fix error toast. Also revert date picker back to 5.x --- frontend/package.json | 4 +- .../packages/akr/src/routers/AppRouter.tsx | 8 +- .../clerk/clerk_send_email.spec.ts | 2 +- .../clerk/examination_dates.spec.ts | 8 +- .../integration/clerk/meeting_dates.spec.ts | 8 +- .../clerk_translator_overview.spec.ts | 2 +- .../packages/otr/src/routers/AppRouter.tsx | 8 +- .../cypress/integration/meeting_dates.spec.ts | 8 +- .../CustomDatePicker/CustomDatePicker.tsx | 18 +- .../packages/shared/src/configs/materialUI.ts | 2 +- .../packages/vkt/src/routers/AppRouter.tsx | 9 +- .../packages/yki/src/routers/AppRouter.tsx | 7 +- frontend/yarn.lock | 168 ++++++++++++++---- 13 files changed, 186 insertions(+), 66 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 405f57179..67cd807fa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "@opetushallitus/kieli-ja-kaantajatutkinnot.root", "engines": { - "node": "16.16.0" + "node": "v20.9.0" }, "packageManager": "yarn@4.0.1", "private": true, @@ -31,7 +31,7 @@ "@mui/icons-material": "^5.14.16", "@mui/material": "^5.14.17", "@mui/system": "^5.14.17", - "@mui/x-date-pickers": "^6.18.0", + "@mui/x-date-pickers": "^5.0.20", "@reduxjs/toolkit": "^1.9.7", "@types/js-cookie": "^3.0.5", "axios": "^1.6.0", diff --git a/frontend/packages/akr/src/routers/AppRouter.tsx b/frontend/packages/akr/src/routers/AppRouter.tsx index 5a3a66fe6..8fe87d9b1 100644 --- a/frontend/packages/akr/src/routers/AppRouter.tsx +++ b/frontend/packages/akr/src/routers/AppRouter.tsx @@ -33,10 +33,17 @@ import { StatisticsPage } from 'pages/StatisticsPage'; export const AppRouter: FC = () => { const translateCommon = useCommonTranslation(); + const ErrorToast = () => { + useAPIErrorToast(); + + return <>; + }; + const Root = (
+
@@ -52,7 +59,6 @@ export const AppRouter: FC = () => { useEffect(() => { document.title = translateCommon('appTitle'); }, [translateCommon]); - useAPIErrorToast(); const router = createBrowserRouter( createRoutesFromElements( diff --git a/frontend/packages/akr/src/tests/cypress/integration/clerk/clerk_send_email.spec.ts b/frontend/packages/akr/src/tests/cypress/integration/clerk/clerk_send_email.spec.ts index 47f6bec4e..963612193 100644 --- a/frontend/packages/akr/src/tests/cypress/integration/clerk/clerk_send_email.spec.ts +++ b/frontend/packages/akr/src/tests/cypress/integration/clerk/clerk_send_email.spec.ts @@ -61,7 +61,7 @@ describe('ClerkSendEmailPage', () => { onToast.expectText('Sähköpostisi lähetettiin kääntäjille'); }); - it.skip('should display an error toast if there was an error when sending the email', () => { + it('should display an error toast if there was an error when sending the email', () => { fillAndSendMessage(); runWithIntercept( diff --git a/frontend/packages/akr/src/tests/cypress/integration/clerk/examination_dates.spec.ts b/frontend/packages/akr/src/tests/cypress/integration/clerk/examination_dates.spec.ts index 18f25f1f7..b7ee1b565 100644 --- a/frontend/packages/akr/src/tests/cypress/integration/clerk/examination_dates.spec.ts +++ b/frontend/packages/akr/src/tests/cypress/integration/clerk/examination_dates.spec.ts @@ -54,7 +54,7 @@ describe('ExaminationDatesPage', () => { onExaminationDatesPage.expectRowToContain(1, '18.11.2021'); }); - it.skip('should let user to add a new, unique examination date', () => { + it('should let user to add a new, unique examination date', () => { onExaminationDatesPage.expectTotalExaminationDatesCount(10); onExaminationDatesPage.expectAddButtonDisabled(); @@ -74,12 +74,12 @@ describe('ExaminationDatesPage', () => { onToast.expectText('Tutkintopäivän 04.10.2030 lisäys onnistui'); }); - it.skip('should not add duplicate examination dates', () => { + it('should not add duplicate examination dates', () => { onExaminationDatesPage.setDateForNewExaminationDate('01.01.2022'); onExaminationDatesPage.expectAddButtonDisabled(); }); - it.skip('should show a generic API error toast when trying to add a examination date', () => { + it('should show a generic API error toast when trying to add a examination date', () => { onExaminationDatesPage.setDateForNewExaminationDate('04.10.2030'); cy.intercept('POST', APIEndpoints.ExaminationDate, { @@ -128,7 +128,7 @@ describe('ExaminationDatesPage', () => { onToast.expectText('Tutkintopäivä 18.11.2021 poistettu'); }); - it.skip('should show an error toast if examination date is chosen to be deleted, but an API error occurs', () => { + it('should show an error toast if examination date is chosen to be deleted, but an API error occurs', () => { onExaminationDatesPage.filterByStatus(ExaminationDateStatus.Passed); onExaminationDatesPage.clickDeleteRowIcon(1); diff --git a/frontend/packages/akr/src/tests/cypress/integration/clerk/meeting_dates.spec.ts b/frontend/packages/akr/src/tests/cypress/integration/clerk/meeting_dates.spec.ts index f73ab9102..7f1f73e1d 100644 --- a/frontend/packages/akr/src/tests/cypress/integration/clerk/meeting_dates.spec.ts +++ b/frontend/packages/akr/src/tests/cypress/integration/clerk/meeting_dates.spec.ts @@ -53,7 +53,7 @@ describe('MeetingDatesPage', () => { onMeetingDatesPage.expectRowToContain(1, '18.11.2021'); }); - it.skip('should let user to add a new, unique meeting date', () => { + it('should let user to add a new, unique meeting date', () => { onMeetingDatesPage.expectTotalMeetingDatesCount(10); onMeetingDatesPage.expectAddButtonDisabled(); @@ -73,12 +73,12 @@ describe('MeetingDatesPage', () => { onToast.expectText('Kokouspäivän 04.10.2030 lisäys onnistui'); }); - it.skip('should not add duplicate meeting dates', () => { + it('should not add duplicate meeting dates', () => { onMeetingDatesPage.setDateForNewMeetingDate('01.01.2022'); onMeetingDatesPage.expectAddButtonDisabled(); }); - it.skip('should show a generic API error toast when trying to add a meeting date', () => { + it('should show a generic API error toast when trying to add a meeting date', () => { onMeetingDatesPage.setDateForNewMeetingDate('04.10.2030'); cy.intercept('POST', APIEndpoints.MeetingDate, { @@ -126,7 +126,7 @@ describe('MeetingDatesPage', () => { onToast.expectText('Kokouspäivä 18.11.2021 poistettu'); }); - it.skip('should show an error toast if meeting date is chosen to be deleted, but an API error occurs', () => { + it('should show an error toast if meeting date is chosen to be deleted, but an API error occurs', () => { onMeetingDatesPage.filterByStatus(MeetingDateStatus.Passed); onMeetingDatesPage.clickDeleteRowIcon(1); diff --git a/frontend/packages/akr/src/tests/cypress/integration/clerk/translatorOverview/clerk_translator_overview.spec.ts b/frontend/packages/akr/src/tests/cypress/integration/clerk/translatorOverview/clerk_translator_overview.spec.ts index 3ddaeba7d..a886a5c90 100644 --- a/frontend/packages/akr/src/tests/cypress/integration/clerk/translatorOverview/clerk_translator_overview.spec.ts +++ b/frontend/packages/akr/src/tests/cypress/integration/clerk/translatorOverview/clerk_translator_overview.spec.ts @@ -13,7 +13,7 @@ beforeEach(() => { }); describe('ClerkTranslatorOverview:Page', () => { - it.skip('should display a "not found" message if no translator exists with the id given as the route parameter', () => { + it('should display a "not found" message if no translator exists with the id given as the route parameter', () => { onClerkTranslatorOverviewPage.navigateById(1234567890); onClerkTranslatorOverviewPage.expectTranslatorNotFoundText(); cy.isOnPage(AppRoutes.ClerkHomePage); diff --git a/frontend/packages/otr/src/routers/AppRouter.tsx b/frontend/packages/otr/src/routers/AppRouter.tsx index 29b631f1e..c8dd623d1 100644 --- a/frontend/packages/otr/src/routers/AppRouter.tsx +++ b/frontend/packages/otr/src/routers/AppRouter.tsx @@ -30,10 +30,17 @@ import { PublicHomePage } from 'pages/PublicHomePage'; export const AppRouter: FC = () => { const translateCommon = useCommonTranslation(); + const ErrorToast = () => { + useAPIErrorToast(); + + return <>; + }; + const Root = (
+
@@ -49,7 +56,6 @@ export const AppRouter: FC = () => { useEffect(() => { document.title = translateCommon('appTitle'); }, [translateCommon]); - useAPIErrorToast(); const router = createBrowserRouter( createRoutesFromElements( diff --git a/frontend/packages/otr/src/tests/cypress/integration/meeting_dates.spec.ts b/frontend/packages/otr/src/tests/cypress/integration/meeting_dates.spec.ts index 0e565dbc0..3fd0b2fab 100644 --- a/frontend/packages/otr/src/tests/cypress/integration/meeting_dates.spec.ts +++ b/frontend/packages/otr/src/tests/cypress/integration/meeting_dates.spec.ts @@ -37,19 +37,19 @@ describe('MeetingDatesPage', () => { onMeetingDatesPage.expectRowToContain(1, '01.01.2022'); }); - it.skip('should let user to add a new, unique meeting date', () => { + it('should let user to add a new, unique meeting date', () => { onMeetingDatesPage.setDateForNewMeetingDate(dateForNewMeetingDate); onMeetingDatesPage.clickAddButton(); onToast.expectText(`Kokouspäivän ${dateForNewMeetingDate} lisäys onnistui`); }); - it.skip('should not allow adding duplicate meeting dates', () => { + it('should not allow adding duplicate meeting dates', () => { onMeetingDatesPage.setDateForNewMeetingDate('01.01.2022'); onMeetingDatesPage.expectAddButtonDisabled(); }); - it.skip('should show an error toast when trying to add a meeting date fails', () => { + it('should show an error toast when trying to add a meeting date fails', () => { onMeetingDatesPage.setDateForNewMeetingDate('01.01.2030'); onMeetingDatesPage.clickAddButton(); @@ -64,7 +64,7 @@ describe('MeetingDatesPage', () => { onToast.expectText('Kokouspäivä 01.01.2022 poistettu'); }); - it.skip('should show an error toast if meeting date is chosen to be deleted, but an API error occurs', () => { + it('should show an error toast if meeting date is chosen to be deleted, but an API error occurs', () => { onMeetingDatesPage.clickDeleteRowIcon(0); onDialog.clickButtonByText('Kyllä'); diff --git a/frontend/packages/shared/src/components/CustomDatePicker/CustomDatePicker.tsx b/frontend/packages/shared/src/components/CustomDatePicker/CustomDatePicker.tsx index 2f1657443..4a892daf2 100644 --- a/frontend/packages/shared/src/components/CustomDatePicker/CustomDatePicker.tsx +++ b/frontend/packages/shared/src/components/CustomDatePicker/CustomDatePicker.tsx @@ -46,17 +46,15 @@ export const CustomDatePicker = ({ disabled={disabled} minDate={minDate ?? dayjs(MIN_DATE)} maxDate={maxDate ?? dayjs(MAX_DATE)} - slots={{ - textField: (params) => { - const textFieldParams = { - ...params, - error, - helperText, - showHelperText, - }; + renderInput={(params) => { + const textFieldParams = { + ...params, + error, + helperText, + showHelperText, + }; - return ; - }, + return ; }} /> diff --git a/frontend/packages/shared/src/configs/materialUI.ts b/frontend/packages/shared/src/configs/materialUI.ts index 0c23a21c0..e5258d0ff 100644 --- a/frontend/packages/shared/src/configs/materialUI.ts +++ b/frontend/packages/shared/src/configs/materialUI.ts @@ -82,7 +82,7 @@ export const theme = createTheme({ }, }, }, - MuiDateCalendar: { + MuiCalendarPicker: { styleOverrides: { root: { '& .MuiTypography-caption': { diff --git a/frontend/packages/vkt/src/routers/AppRouter.tsx b/frontend/packages/vkt/src/routers/AppRouter.tsx index d56045b36..63ea27339 100644 --- a/frontend/packages/vkt/src/routers/AppRouter.tsx +++ b/frontend/packages/vkt/src/routers/AppRouter.tsx @@ -36,15 +36,20 @@ export const AppRouter: FC = () => { const translateCommon = useCommonTranslation(); const appTitle = translateCommon('appTitle'); - useAPIErrorToast(); - const createTitle = (title: string) => translateCommon('pageTitle.' + title) + ' - ' + appTitle; + const ErrorToast = () => { + useAPIErrorToast(); + + return <>; + }; + const Root = (
+ diff --git a/frontend/packages/yki/src/routers/AppRouter.tsx b/frontend/packages/yki/src/routers/AppRouter.tsx index ed7abc5d3..89fb1139c 100644 --- a/frontend/packages/yki/src/routers/AppRouter.tsx +++ b/frontend/packages/yki/src/routers/AppRouter.tsx @@ -48,12 +48,17 @@ export const AppRouter: FC = () => { } }, [dispatch, sessionStatus]); - useAPIErrorToast(); + const ErrorToast = () => { + useAPIErrorToast(); + + return <>; + }; const Root = (
+
diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 3f7ea9468..b6c8ccd3c 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -1424,6 +1424,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.23.6": + version: 7.23.7 + resolution: "@babel/runtime@npm:7.23.7" + dependencies: + regenerator-runtime: "npm:^0.14.0" + checksum: b29cf3ca6277aea8c5c823d9b86e7f7153757f07eaaa81d726f125de00ac0e7451c90845770f919826a94ade8f71a6bda9c0421410dfcc285ee17a40f8f8ca00 + languageName: node + linkType: hard + "@babel/template@npm:^7.22.15, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": version: 7.22.15 resolution: "@babel/template@npm:7.22.15" @@ -1592,6 +1601,69 @@ __metadata: languageName: node linkType: hard +"@date-io/core@npm:^2.15.0, @date-io/core@npm:^2.17.0": + version: 2.17.0 + resolution: "@date-io/core@npm:2.17.0" + checksum: 7b7e2584bb82a3c7a891654f19a5f09307f9f4942f6715c76926b8d547fadac6d2afe65c5167ab611126eb3c5181f7800df50537651a79255b8d17b4cba680b2 + languageName: node + linkType: hard + +"@date-io/date-fns@npm:^2.15.0": + version: 2.17.0 + resolution: "@date-io/date-fns@npm:2.17.0" + dependencies: + "@date-io/core": "npm:^2.17.0" + peerDependencies: + date-fns: ^2.0.0 + peerDependenciesMeta: + date-fns: + optional: true + checksum: 0d81c60d8a8c155a26d5a47ab78cb16224f74310711e0507dc7f451baea10cfdc9559a99ba960a9300312905f712cc421568f4ba3ad7a25c8c493abe282abf27 + languageName: node + linkType: hard + +"@date-io/dayjs@npm:^2.15.0": + version: 2.17.0 + resolution: "@date-io/dayjs@npm:2.17.0" + dependencies: + "@date-io/core": "npm:^2.17.0" + peerDependencies: + dayjs: ^1.8.17 + peerDependenciesMeta: + dayjs: + optional: true + checksum: 40647a8e62114c021c18b56a63c4517df3b8c94c6fc82099f63600d4b0cbc0c8e959bbf62396d3ebaa680341ea26ef220fba048c197651dada2f4b0ded012d72 + languageName: node + linkType: hard + +"@date-io/luxon@npm:^2.15.0": + version: 2.17.0 + resolution: "@date-io/luxon@npm:2.17.0" + dependencies: + "@date-io/core": "npm:^2.17.0" + peerDependencies: + luxon: ^1.21.3 || ^2.x || ^3.x + peerDependenciesMeta: + luxon: + optional: true + checksum: 9e5954dc803d599e81d498517b8002e8e4203cb614d185c089360f3c76bf2d22807f430ac5bf584eeaa5e67d4ae8079191a494e2cf93fed5eb92d36e25f53ad4 + languageName: node + linkType: hard + +"@date-io/moment@npm:^2.15.0": + version: 2.17.0 + resolution: "@date-io/moment@npm:2.17.0" + dependencies: + "@date-io/core": "npm:^2.17.0" + peerDependencies: + moment: ^2.24.0 + peerDependenciesMeta: + moment: + optional: true + checksum: 6e01c842ae06665c5c4816256610cfe27f60a450a579fe77f3a339f02b6f6f48b1762e58ddfb82a710e707da2207d62783672e48115a58fe7d30c5c01b5a7a1d + languageName: node + linkType: hard + "@discoveryjs/json-ext@npm:^0.5.0": version: 0.5.7 resolution: "@discoveryjs/json-ext@npm:0.5.7" @@ -2201,7 +2273,7 @@ __metadata: languageName: node linkType: hard -"@mui/base@npm:5.0.0-beta.23, @mui/base@npm:^5.0.0-beta.22": +"@mui/base@npm:5.0.0-beta.23": version: 5.0.0-beta.23 resolution: "@mui/base@npm:5.0.0-beta.23" dependencies: @@ -2357,12 +2429,12 @@ __metadata: languageName: node linkType: hard -"@mui/utils@npm:^5.14.16": - version: 5.14.16 - resolution: "@mui/utils@npm:5.14.16" +"@mui/utils@npm:^5.10.3": + version: 5.15.3 + resolution: "@mui/utils@npm:5.15.3" dependencies: - "@babel/runtime": "npm:^7.23.2" - "@types/prop-types": "npm:^15.7.9" + "@babel/runtime": "npm:^7.23.6" + "@types/prop-types": "npm:^15.7.11" prop-types: "npm:^15.8.1" react-is: "npm:^18.2.0" peerDependencies: @@ -2371,7 +2443,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 02eb4550ba2ab30f98934a108dec4cc97f040b1c1d9a44d6adf7162286169fd7bf224a85625ed0b3feec27fdf7033bd1d3bb2225a8dd93ffcbd160090d288ef5 + checksum: c4d66e34332f448527c6dea66a7011f95dc230ccaf5a3ee898a6fd69b77a3584af1fd644d095dc7edb2d480e5c050db06f9b9ec9dea3bc5091a80cf8b676f709 languageName: node linkType: hard @@ -2393,31 +2465,33 @@ __metadata: languageName: node linkType: hard -"@mui/x-date-pickers@npm:^6.18.0": - version: 6.18.0 - resolution: "@mui/x-date-pickers@npm:6.18.0" +"@mui/x-date-pickers@npm:^5.0.20": + version: 5.0.20 + resolution: "@mui/x-date-pickers@npm:5.0.20" dependencies: - "@babel/runtime": "npm:^7.23.2" - "@mui/base": "npm:^5.0.0-beta.22" - "@mui/utils": "npm:^5.14.16" - "@types/react-transition-group": "npm:^4.4.8" - clsx: "npm:^2.0.0" - prop-types: "npm:^15.8.1" + "@babel/runtime": "npm:^7.18.9" + "@date-io/core": "npm:^2.15.0" + "@date-io/date-fns": "npm:^2.15.0" + "@date-io/dayjs": "npm:^2.15.0" + "@date-io/luxon": "npm:^2.15.0" + "@date-io/moment": "npm:^2.15.0" + "@mui/utils": "npm:^5.10.3" + "@types/react-transition-group": "npm:^4.4.5" + clsx: "npm:^1.2.1" + prop-types: "npm:^15.7.2" react-transition-group: "npm:^4.4.5" + rifm: "npm:^0.12.1" peerDependencies: "@emotion/react": ^11.9.0 "@emotion/styled": ^11.8.1 - "@mui/material": ^5.8.6 - "@mui/system": ^5.8.0 + "@mui/material": ^5.4.1 + "@mui/system": ^5.4.1 date-fns: ^2.25.0 - date-fns-jalali: ^2.13.0-0 dayjs: ^1.10.7 - luxon: ^3.0.2 - moment: ^2.29.4 - moment-hijri: ^2.1.2 - moment-jalaali: ^0.7.4 || ^0.8.0 || ^0.9.0 || ^0.10.0 - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + luxon: ^1.28.0 || ^2.0.0 || ^3.0.0 + moment: ^2.29.1 + react: ^17.0.2 || ^18.0.0 + react-dom: ^17.0.2 || ^18.0.0 peerDependenciesMeta: "@emotion/react": optional: true @@ -2425,19 +2499,13 @@ __metadata: optional: true date-fns: optional: true - date-fns-jalali: - optional: true dayjs: optional: true luxon: optional: true moment: optional: true - moment-hijri: - optional: true - moment-jalaali: - optional: true - checksum: a33a94563d994fb9b1c5b76138d02d692918b2a0930b7d6e7ab41a52a28f96a58857e69e61c6bfac3edaa041a0fd63e5c87a98b82e1c7fa1a6149e450538ff2f + checksum: 7ab0fdcdae805292635e416f978ad14d301df0cab9058d9bca43fb4f990e1f87722dbeafa6ce97d5e1e55e0291c44fa65c7d2360cdb7e791ba7249e0d586953f languageName: node linkType: hard @@ -2547,7 +2615,7 @@ __metadata: "@mui/icons-material": "npm:^5.14.16" "@mui/material": "npm:^5.14.17" "@mui/system": "npm:^5.14.17" - "@mui/x-date-pickers": "npm:^6.18.0" + "@mui/x-date-pickers": "npm:^5.0.20" "@reduxjs/toolkit": "npm:^1.9.7" "@testing-library/cypress": "npm:^10.0.1" "@testing-library/dom": "npm:^9.3.3" @@ -3196,6 +3264,13 @@ __metadata: languageName: node linkType: hard +"@types/prop-types@npm:^15.7.11": + version: 15.7.11 + resolution: "@types/prop-types@npm:15.7.11" + checksum: 7519ff11d06fbf6b275029fe03fff9ec377b4cb6e864cac34d87d7146c7f5a7560fd164bdc1d2dbe00b60c43713631251af1fd3d34d46c69cd354602bc0c7c54 + languageName: node + linkType: hard + "@types/qs@npm:*": version: 6.9.9 resolution: "@types/qs@npm:6.9.9" @@ -3249,6 +3324,15 @@ __metadata: languageName: node linkType: hard +"@types/react-transition-group@npm:^4.4.5": + version: 4.4.10 + resolution: "@types/react-transition-group@npm:4.4.10" + dependencies: + "@types/react": "npm:*" + checksum: b429f3bd54d9aea6c0395943ce2dda6b76fb458e902365bd91fd99bf72064fb5d59e2b74e78d10f2871908501d350da63e230d81bda2b616c967cab8dc51bd16 + languageName: node + linkType: hard + "@types/react-transition-group@npm:^4.4.8": version: 4.4.8 resolution: "@types/react-transition-group@npm:4.4.8" @@ -4921,6 +5005,13 @@ __metadata: languageName: node linkType: hard +"clsx@npm:^1.2.1": + version: 1.2.1 + resolution: "clsx@npm:1.2.1" + checksum: 5ded6f61f15f1fa0350e691ccec43a28b12fb8e64c8e94715f2a937bc3722d4c3ed41d6e945c971fc4dcc2a7213a43323beaf2e1c28654af63ba70c9968a8643 + languageName: node + linkType: hard + "clsx@npm:^2.0.0": version: 2.0.0 resolution: "clsx@npm:2.0.0" @@ -10688,7 +10779,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.6.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -11359,6 +11450,15 @@ __metadata: languageName: node linkType: hard +"rifm@npm:^0.12.1": + version: 0.12.1 + resolution: "rifm@npm:0.12.1" + peerDependencies: + react: ">=16.8" + checksum: 292ed0f06148162ac3ea3c95d167b765f214ac314be16e480ac7d5d65a20a171c7b642f18a18aeff492fffde1934f344fd93b919fbd35d5bdcb1eccd291cd37d + languageName: node + linkType: hard + "rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2"