A local-first personal finance app
Upgrade react router to v7 (#5172)
Matiss Janis Aboltinsd130b427b305
diff --git a/eslint.config.mjs b/eslint.config.mjsindex a6a74ef4f8..0c9aa15e51 100644--- a/eslint.config.mjs+++ b/eslint.config.mjs@@ -505,7 +505,7 @@ export default pluginTypescript.config({paths: [{- name: 'react-router-dom',+ name: 'react-router',importNames: ['useNavigate'],message:"Please import Actual's useNavigate() hook from `src/hooks` instead.",diff --git a/packages/desktop-client/package.json b/packages/desktop-client/package.jsonindex 547d576490..2e60290217 100644--- a/packages/desktop-client/package.json+++ b/packages/desktop-client/package.json@@ -64,7 +64,7 @@"react-markdown": "^10.1.0","react-modal": "3.16.3","react-redux": "^9.2.0",- "react-router-dom": "6.30.0",+ "react-router": "7.6.2","react-simple-pull-to-refresh": "^1.3.3","react-spring": "^10.0.0","react-stately": "^3.37.0",diff --git a/packages/desktop-client/src/components/App.tsx b/packages/desktop-client/src/components/App.tsxindex 250a2f33c1..8a6cca5a81 100644--- a/packages/desktop-client/src/components/App.tsx+++ b/packages/desktop-client/src/components/App.tsx@@ -9,7 +9,7 @@ import {} from 'react-error-boundary';import { HotkeysProvider } from 'react-hotkeys-hook';import { useTranslation } from 'react-i18next';-import { BrowserRouter } from 'react-router-dom';+import { BrowserRouter } from 'react-router';import { styles } from '@actual-app/components/styles';import { View } from '@actual-app/components/view';diff --git a/packages/desktop-client/src/components/FinancesApp.tsx b/packages/desktop-client/src/components/FinancesApp.tsxindex b7921b7811..2497184c99 100644--- a/packages/desktop-client/src/components/FinancesApp.tsx+++ b/packages/desktop-client/src/components/FinancesApp.tsx@@ -1,13 +1,7 @@// @ts-strict-ignoreimport React, { type ReactElement, useEffect, useRef } from 'react';import { useTranslation } from 'react-i18next';-import {- Route,- Routes,- Navigate,- useLocation,- useHref,-} from 'react-router-dom';+import { Route, Routes, Navigate, useLocation, useHref } from 'react-router';import { useResponsive } from '@actual-app/components/hooks/useResponsive';import { theme } from '@actual-app/components/theme';diff --git a/packages/desktop-client/src/components/HelpMenu.tsx b/packages/desktop-client/src/components/HelpMenu.tsxindex d38a51c963..0a56277e60 100644--- a/packages/desktop-client/src/components/HelpMenu.tsx+++ b/packages/desktop-client/src/components/HelpMenu.tsx@@ -1,7 +1,7 @@import { forwardRef, useRef } from 'react';import { useHotkeys } from 'react-hotkeys-hook';import { Trans, useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { Button } from '@actual-app/components/button';import { SvgHelp } from '@actual-app/components/icons/v2';diff --git a/packages/desktop-client/src/components/LoggedInUser.tsx b/packages/desktop-client/src/components/LoggedInUser.tsxindex 89b2ad845c..4270bd813f 100644--- a/packages/desktop-client/src/components/LoggedInUser.tsx+++ b/packages/desktop-client/src/components/LoggedInUser.tsx@@ -1,6 +1,6 @@import React, { useState, useEffect, useRef, type CSSProperties } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { Button } from '@actual-app/components/button';import { Menu } from '@actual-app/components/menu';diff --git a/packages/desktop-client/src/components/Modals.tsx b/packages/desktop-client/src/components/Modals.tsxindex a5b73ec66f..1ce860eee2 100644--- a/packages/desktop-client/src/components/Modals.tsx+++ b/packages/desktop-client/src/components/Modals.tsx@@ -1,6 +1,6 @@// @ts-strict-ignoreimport React, { useEffect } from 'react';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { send } from 'loot-core/platform/client/fetch';import * as monthUtils from 'loot-core/shared/months';diff --git a/packages/desktop-client/src/components/Titlebar.tsx b/packages/desktop-client/src/components/Titlebar.tsxindex 2ba9f758af..49b0d04008 100644--- a/packages/desktop-client/src/components/Titlebar.tsx+++ b/packages/desktop-client/src/components/Titlebar.tsx@@ -1,7 +1,7 @@import React, { useState, useEffect } from 'react';import { useHotkeys } from 'react-hotkeys-hook';import { useTranslation } from 'react-i18next';-import { Routes, Route, useLocation } from 'react-router-dom';+import { Routes, Route, useLocation } from 'react-router';import { Button } from '@actual-app/components/button';import { useResponsive } from '@actual-app/components/hooks/useResponsive';diff --git a/packages/desktop-client/src/components/accounts/Account.tsx b/packages/desktop-client/src/components/accounts/Account.tsxindex 892d5efb1e..8be44b74db 100644--- a/packages/desktop-client/src/components/accounts/Account.tsx+++ b/packages/desktop-client/src/components/accounts/Account.tsx@@ -7,7 +7,7 @@ import React, {useEffect,} from 'react';import { Trans } from 'react-i18next';-import { Navigate, useParams, useLocation } from 'react-router-dom';+import { Navigate, useParams, useLocation } from 'react-router';import { styles } from '@actual-app/components/styles';import { theme } from '@actual-app/components/theme';diff --git a/packages/desktop-client/src/components/accounts/AccountSyncCheck.tsx b/packages/desktop-client/src/components/accounts/AccountSyncCheck.tsxindex f28e3e92d8..8fc0c9ba77 100644--- a/packages/desktop-client/src/components/accounts/AccountSyncCheck.tsx+++ b/packages/desktop-client/src/components/accounts/AccountSyncCheck.tsx@@ -1,6 +1,6 @@import React, { useCallback, useRef, useState } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useParams } from 'react-router-dom';+import { useParams } from 'react-router';import { Button } from '@actual-app/components/button';import { SvgExclamationOutline } from '@actual-app/components/icons/v1';diff --git a/packages/desktop-client/src/components/common/Link.tsx b/packages/desktop-client/src/components/common/Link.tsxindex da157e5f04..dc0c330d0d 100644--- a/packages/desktop-client/src/components/common/Link.tsx+++ b/packages/desktop-client/src/components/common/Link.tsx@@ -3,7 +3,7 @@ import React, {type ComponentProps,type ReactNode,} from 'react';-import { NavLink, useMatch } from 'react-router-dom';+import { NavLink, useMatch } from 'react-router';import { Button } from '@actual-app/components/button';import { styles, type CSSProperties } from '@actual-app/components/styles';diff --git a/packages/desktop-client/src/components/manager/ManagementApp.tsx b/packages/desktop-client/src/components/manager/ManagementApp.tsxindex 8a938eafb2..57fb6b4d36 100644--- a/packages/desktop-client/src/components/manager/ManagementApp.tsx+++ b/packages/desktop-client/src/components/manager/ManagementApp.tsx@@ -1,5 +1,5 @@import React, { useEffect } from 'react';-import { Navigate, Route, Routes } from 'react-router-dom';+import { Navigate, Route, Routes } from 'react-router';import { useResponsive } from '@actual-app/components/hooks/useResponsive';import { Text } from '@actual-app/components/text';diff --git a/packages/desktop-client/src/components/manager/subscribe/Error.tsx b/packages/desktop-client/src/components/manager/subscribe/Error.tsxindex 2674f9e741..1572185cd5 100644--- a/packages/desktop-client/src/components/manager/subscribe/Error.tsx+++ b/packages/desktop-client/src/components/manager/subscribe/Error.tsx@@ -1,7 +1,7 @@// @ts-strict-ignoreimport React from 'react';import { Trans } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { Button } from '@actual-app/components/button';import { Text } from '@actual-app/components/text';diff --git a/packages/desktop-client/src/components/manager/subscribe/Login.tsx b/packages/desktop-client/src/components/manager/subscribe/Login.tsxindex aa065821c9..4f37d39248 100644--- a/packages/desktop-client/src/components/manager/subscribe/Login.tsx+++ b/packages/desktop-client/src/components/manager/subscribe/Login.tsx@@ -1,7 +1,7 @@// @ts-strict-ignoreimport React, { useState, useEffect, useRef } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useSearchParams } from 'react-router-dom';+import { useSearchParams } from 'react-router';import { Button, ButtonWithLoading } from '@actual-app/components/button';import { useResponsive } from '@actual-app/components/hooks/useResponsive';diff --git a/packages/desktop-client/src/components/manager/subscribe/OpenIdForm.tsx b/packages/desktop-client/src/components/manager/subscribe/OpenIdForm.tsxindex 3f98cd8e10..c48892bb22 100644--- a/packages/desktop-client/src/components/manager/subscribe/OpenIdForm.tsx+++ b/packages/desktop-client/src/components/manager/subscribe/OpenIdForm.tsx@@ -1,6 +1,6 @@import { type ReactNode, useEffect, useState } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useLocation, type Location } from 'react-router-dom';+import { useLocation, type Location } from 'react-router';import { ButtonWithLoading } from '@actual-app/components/button';import { useResponsive } from '@actual-app/components/hooks/useResponsive';diff --git a/packages/desktop-client/src/components/manager/subscribe/common.tsx b/packages/desktop-client/src/components/manager/subscribe/common.tsxindex cf530381fe..4c01b39086 100644--- a/packages/desktop-client/src/components/manager/subscribe/common.tsx+++ b/packages/desktop-client/src/components/manager/subscribe/common.tsx@@ -1,6 +1,6 @@// @ts-strict-ignoreimport React, { useEffect, useState } from 'react';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { theme } from '@actual-app/components/theme';diff --git a/packages/desktop-client/src/components/mobile/MobileNavTabs.tsx b/packages/desktop-client/src/components/mobile/MobileNavTabs.tsxindex 3f0c029617..6c12fee56f 100644--- a/packages/desktop-client/src/components/mobile/MobileNavTabs.tsx+++ b/packages/desktop-client/src/components/mobile/MobileNavTabs.tsx@@ -6,7 +6,7 @@ import React, {useState,} from 'react';import { useTranslation } from 'react-i18next';-import { NavLink } from 'react-router-dom';+import { NavLink } from 'react-router';import { useSpring, animated, config } from 'react-spring';import { useResponsive } from '@actual-app/components/hooks/useResponsive';diff --git a/packages/desktop-client/src/components/mobile/accounts/Account.tsx b/packages/desktop-client/src/components/mobile/accounts/Account.tsxindex 75e747dbd6..350bcfbfca 100644--- a/packages/desktop-client/src/components/mobile/accounts/Account.tsx+++ b/packages/desktop-client/src/components/mobile/accounts/Account.tsx@@ -1,5 +1,5 @@import React from 'react';-import { useParams } from 'react-router-dom';+import { useParams } from 'react-router';import { AccountTransactions } from './AccountTransactions';diff --git a/packages/desktop-client/src/components/mobile/budget/Category.tsx b/packages/desktop-client/src/components/mobile/budget/Category.tsxindex 633b0efb63..44646a7ab5 100644--- a/packages/desktop-client/src/components/mobile/budget/Category.tsx+++ b/packages/desktop-client/src/components/mobile/budget/Category.tsx@@ -1,5 +1,5 @@import React from 'react';-import { useParams, useSearchParams } from 'react-router-dom';+import { useParams, useSearchParams } from 'react-router';import * as monthUtils from 'loot-core/shared/months';diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsxindex 3d974b1d56..beb97abd83 100644--- a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx+++ b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx@@ -8,7 +8,7 @@ import React, {useCallback,} from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useLocation, useParams } from 'react-router-dom';+import { useLocation, useParams } from 'react-router';import { Button } from '@actual-app/components/button';import { SvgSplit } from '@actual-app/components/icons/v0';diff --git a/packages/desktop-client/src/components/modals/KeyboardShortcutModal.tsx b/packages/desktop-client/src/components/modals/KeyboardShortcutModal.tsxindex 47a97c8435..c8a337fa4c 100644--- a/packages/desktop-client/src/components/modals/KeyboardShortcutModal.tsx+++ b/packages/desktop-client/src/components/modals/KeyboardShortcutModal.tsx@@ -1,6 +1,6 @@import { type CSSProperties } from 'react';import { useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { Text } from '@actual-app/components/text';import { View } from '@actual-app/components/view';diff --git a/packages/desktop-client/src/components/modals/ManageRulesModal.tsx b/packages/desktop-client/src/components/modals/ManageRulesModal.tsxindex b3e3889193..011c078a9d 100644--- a/packages/desktop-client/src/components/modals/ManageRulesModal.tsx+++ b/packages/desktop-client/src/components/modals/ManageRulesModal.tsx@@ -1,7 +1,7 @@// @ts-strict-ignoreimport React, { useState } from 'react';import { useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { isNonProductionEnvironment } from 'loot-core/shared/environment';diff --git a/packages/desktop-client/src/components/payees/ManagePayeesPage.tsx b/packages/desktop-client/src/components/payees/ManagePayeesPage.tsxindex 9652de9042..53621dc5aa 100644--- a/packages/desktop-client/src/components/payees/ManagePayeesPage.tsx+++ b/packages/desktop-client/src/components/payees/ManagePayeesPage.tsx@@ -1,6 +1,6 @@import React from 'react';import { useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { type PayeeEntity } from 'loot-core/types/models';diff --git a/packages/desktop-client/src/components/reports/Overview.tsx b/packages/desktop-client/src/components/reports/Overview.tsxindex 403089471e..7342c7ad56 100644--- a/packages/desktop-client/src/components/reports/Overview.tsx+++ b/packages/desktop-client/src/components/reports/Overview.tsx@@ -3,7 +3,7 @@ import { Dialog, DialogTrigger } from 'react-aria-components';import { Responsive, WidthProvider, type Layout } from 'react-grid-layout';import { useHotkeys } from 'react-hotkeys-hook';import { Trans, useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { Button } from '@actual-app/components/button';import { useResponsive } from '@actual-app/components/hooks/useResponsive';diff --git a/packages/desktop-client/src/components/reports/ReportRouter.tsx b/packages/desktop-client/src/components/reports/ReportRouter.tsxindex abccd452a8..2815ce66f6 100644--- a/packages/desktop-client/src/components/reports/ReportRouter.tsx+++ b/packages/desktop-client/src/components/reports/ReportRouter.tsx@@ -1,5 +1,5 @@import React from 'react';-import { Route, Routes } from 'react-router-dom';+import { Route, Routes } from 'react-router';import { Overview } from './Overview';import { Calendar } from './reports/Calendar';diff --git a/packages/desktop-client/src/components/reports/graphs/showActivity.ts b/packages/desktop-client/src/components/reports/graphs/showActivity.tsindex 20be0a604a..31b71a98e9 100644--- a/packages/desktop-client/src/components/reports/graphs/showActivity.ts+++ b/packages/desktop-client/src/components/reports/graphs/showActivity.ts@@ -1,4 +1,4 @@-import { type NavigateFunction } from 'react-router-dom';+import { type NavigateFunction } from 'react-router';import * as monthUtils from 'loot-core/shared/months';import {diff --git a/packages/desktop-client/src/components/reports/reports/Calendar.tsx b/packages/desktop-client/src/components/reports/reports/Calendar.tsxindex 221ee4e568..09fb3b733b 100644--- a/packages/desktop-client/src/components/reports/reports/Calendar.tsx+++ b/packages/desktop-client/src/components/reports/reports/Calendar.tsx@@ -7,7 +7,7 @@ import {useState,} from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useParams, useSearchParams } from 'react-router-dom';+import { useParams, useSearchParams } from 'react-router';import { animated, config, useSpring } from 'react-spring';import { Button } from '@actual-app/components/button';diff --git a/packages/desktop-client/src/components/reports/reports/CashFlow.tsx b/packages/desktop-client/src/components/reports/reports/CashFlow.tsxindex f1a3314f7e..533c82f431 100644--- a/packages/desktop-client/src/components/reports/reports/CashFlow.tsx+++ b/packages/desktop-client/src/components/reports/reports/CashFlow.tsx@@ -1,6 +1,6 @@import React, { useState, useEffect, useMemo } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useParams } from 'react-router-dom';+import { useParams } from 'react-router';import { AlignedText } from '@actual-app/components/aligned-text';import { Block } from '@actual-app/components/block';diff --git a/packages/desktop-client/src/components/reports/reports/CustomReport.tsx b/packages/desktop-client/src/components/reports/reports/CustomReport.tsxindex 4395966817..73cecd7aa0 100644--- a/packages/desktop-client/src/components/reports/reports/CustomReport.tsx+++ b/packages/desktop-client/src/components/reports/reports/CustomReport.tsx@@ -1,6 +1,6 @@import React, { useState, useEffect, useMemo } from 'react';import { useTranslation, Trans } from 'react-i18next';-import { useLocation, useParams } from 'react-router-dom';+import { useLocation, useParams } from 'react-router';import { AlignedText } from '@actual-app/components/aligned-text';import { Block } from '@actual-app/components/block';diff --git a/packages/desktop-client/src/components/reports/reports/NetWorth.tsx b/packages/desktop-client/src/components/reports/reports/NetWorth.tsxindex 8c705f7441..13da57dd67 100644--- a/packages/desktop-client/src/components/reports/reports/NetWorth.tsx+++ b/packages/desktop-client/src/components/reports/reports/NetWorth.tsx@@ -1,6 +1,6 @@import React, { useState, useEffect, useMemo } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useParams } from 'react-router-dom';+import { useParams } from 'react-router';import { Button } from '@actual-app/components/button';import { useResponsive } from '@actual-app/components/hooks/useResponsive';diff --git a/packages/desktop-client/src/components/reports/reports/Spending.tsx b/packages/desktop-client/src/components/reports/reports/Spending.tsxindex 5b6cae0d4c..96724ab3a1 100644--- a/packages/desktop-client/src/components/reports/reports/Spending.tsx+++ b/packages/desktop-client/src/components/reports/reports/Spending.tsx@@ -1,6 +1,6 @@import React, { useState, useMemo, useEffect } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useParams } from 'react-router-dom';+import { useParams } from 'react-router';import { AlignedText } from '@actual-app/components/aligned-text';import { Block } from '@actual-app/components/block';diff --git a/packages/desktop-client/src/components/reports/reports/Summary.tsx b/packages/desktop-client/src/components/reports/reports/Summary.tsxindex e0f6b9f89c..90e219fb4d 100644--- a/packages/desktop-client/src/components/reports/reports/Summary.tsx+++ b/packages/desktop-client/src/components/reports/reports/Summary.tsx@@ -1,6 +1,6 @@import React, { useState, useEffect, useMemo, type CSSProperties } from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useParams } from 'react-router-dom';+import { useParams } from 'react-router';import { Button } from '@actual-app/components/button';import { useResponsive } from '@actual-app/components/hooks/useResponsive';diff --git a/packages/desktop-client/src/components/schedules/PostsOfflineNotification.tsx b/packages/desktop-client/src/components/schedules/PostsOfflineNotification.tsxindex 0c080fde5d..298421b9e5 100644--- a/packages/desktop-client/src/components/schedules/PostsOfflineNotification.tsx+++ b/packages/desktop-client/src/components/schedules/PostsOfflineNotification.tsx@@ -1,6 +1,6 @@import React from 'react';import { Trans, useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { Button } from '@actual-app/components/button';import { Paragraph } from '@actual-app/components/paragraph';diff --git a/packages/desktop-client/src/components/settings/UI.tsx b/packages/desktop-client/src/components/settings/UI.tsxindex 49a399a3df..8e4330dd59 100644--- a/packages/desktop-client/src/components/settings/UI.tsx+++ b/packages/desktop-client/src/components/settings/UI.tsx@@ -1,6 +1,6 @@import React, { useState, type ReactNode } from 'react';import { useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import { type CSSProperties } from '@actual-app/components/styles';import { theme } from '@actual-app/components/theme';diff --git a/packages/desktop-client/src/components/sidebar/PrimaryButtons.tsx b/packages/desktop-client/src/components/sidebar/PrimaryButtons.tsxindex 1368a254f0..cd08330010 100644--- a/packages/desktop-client/src/components/sidebar/PrimaryButtons.tsx+++ b/packages/desktop-client/src/components/sidebar/PrimaryButtons.tsx@@ -1,6 +1,6 @@import React, { useState, useCallback, useEffect } from 'react';import { useTranslation } from 'react-i18next';-import { useLocation } from 'react-router-dom';+import { useLocation } from 'react-router';import {SvgCheveronDown,diff --git a/packages/desktop-client/src/hooks/useNavigate.ts b/packages/desktop-client/src/hooks/useNavigate.tsindex d28d7179c0..3ea7aff60a 100644--- a/packages/desktop-client/src/hooks/useNavigate.ts+++ b/packages/desktop-client/src/hooks/useNavigate.ts@@ -7,7 +7,7 @@ import {useLocation,// eslint-disable-next-line no-restricted-importsuseNavigate as useNavigateReactRouter,-} from 'react-router-dom';+} from 'react-router';export function useNavigate(): NavigateFunction {const location = useLocation();diff --git a/upcoming-release-notes/5172.md b/upcoming-release-notes/5172.mdnew file mode 100644index 0000000000..aea1536c33--- /dev/null+++ b/upcoming-release-notes/5172.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MatissJanis]+---++Upgrade react router to v7.diff --git a/yarn.lock b/yarn.lockindex 3d2e0ebb63..d2673f4249 100644--- a/yarn.lock+++ b/yarn.lock@@ -184,7 +184,7 @@ __metadata:react-markdown: "npm:^10.1.0"react-modal: "npm:3.16.3"react-redux: "npm:^9.2.0"- react-router-dom: "npm:6.30.0"+ react-router: "npm:7.6.2"react-simple-pull-to-refresh: "npm:^1.3.3"react-spring: "npm:^10.0.0"react-stately: "npm:^3.37.0"@@ -5304,13 +5304,6 @@ __metadata:languageName: nodelinkType: hard-"@remix-run/router@npm:1.23.0":- version: 1.23.0- resolution: "@remix-run/router@npm:1.23.0"- checksum: 10/0a9f02c26c150d8210b05927c43d2f57ee8b7f812c81abb76df1721c7367ef692e54f4044981e756ce13d0619fb3c6a9b1514524d69aea9b32bfaf565299a8c7- languageName: node- linkType: hard-"@rollup/plugin-babel@npm:^5.2.0":version: 5.3.1resolution: "@rollup/plugin-babel@npm:5.3.1"@@ -9257,6 +9250,13 @@ __metadata:languageName: nodelinkType: hard+"cookie@npm:^1.0.1":+ version: 1.0.2+ resolution: "cookie@npm:1.0.2"+ checksum: 10/f5817cdc84d8977761b12549eba29435e675e65c7fef172bc31737788cd8adc83796bf8abe6d950554e7987325ad2d9ac2971c5bd8ff0c4f81c145f82e4ab1be+ languageName: node+ linkType: hard+"cookiejar@npm:^2.1.4":version: 2.1.4resolution: "cookiejar@npm:2.1.4"@@ -16993,27 +16993,19 @@ __metadata:languageName: nodelinkType: hard-"react-router-dom@npm:6.30.0":- version: 6.30.0- resolution: "react-router-dom@npm:6.30.0"- dependencies:- "@remix-run/router": "npm:1.23.0"- react-router: "npm:6.30.0"- peerDependencies:- react: ">=16.8"- react-dom: ">=16.8"- checksum: 10/e161e39d56ee799553d0bc6c8f19c901ee8cdbae218094f41cbc18f3262cb4d5e9f8381bd47a7e59d30e55c0cdd0a6803aa98537f2f9122efbce5c66a3041a35- languageName: node- linkType: hard--"react-router@npm:6.30.0":- version: 6.30.0- resolution: "react-router@npm:6.30.0"+"react-router@npm:7.6.2":+ version: 7.6.2+ resolution: "react-router@npm:7.6.2"dependencies:- "@remix-run/router": "npm:1.23.0"+ cookie: "npm:^1.0.1"+ set-cookie-parser: "npm:^2.6.0"peerDependencies:- react: ">=16.8"- checksum: 10/2a449f2769b7b001f9ea16108b83cd014b50c621a378ef2a99bb823a418833bc1b213f5f1665c97ecbdfa9391f9593693ace09a292969aa7259a45070b5e066a+ react: ">=18"+ react-dom: ">=18"+ peerDependenciesMeta:+ react-dom:+ optional: true+ checksum: 10/38a8473c7358d873eb60cc6660deae16a629701b8867ee00e67871ff61009b90f73853235ef3b0f2e43ebedee697389afc7bf170df069823dc872be79798965blanguageName: nodelinkType: hard@@ -18109,6 +18101,13 @@ __metadata:languageName: nodelinkType: hard+"set-cookie-parser@npm:^2.6.0":+ version: 2.7.1+ resolution: "set-cookie-parser@npm:2.7.1"+ checksum: 10/c92b1130032693342bca13ea1b1bc93967ab37deec4387fcd8c2a843c0ef2fd9a9f3df25aea5bb3976cd05a91c2cf4632dd6164d6e1814208fb7d7e14edd42b4+ languageName: node+ linkType: hard+"set-function-length@npm:^1.2.2":version: 1.2.2resolution: "set-function-length@npm:1.2.2"