From e700ef40d58a355f9bc205fe2db965bcb29538c4 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Mon, 16 Feb 2026 12:33:24 +0800 Subject: [PATCH] chore: update react-router-dom to version ^7.13.0 in package.json and pnpm-lock.yaml --- package.json | 2 +- pnpm-lock.yaml | 30 +++++++++--------------------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index e13f1e0..ded6d48 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "react": "19.0.0", "react-dom": "19.0.0", "react-i18next": "15.4.1", - "react-router-dom": "7.2.0", + "react-router-dom": "^7.13.0", "recharts": "2.15.1", "sonner": "1.7.4", "tailwind-merge": "2.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6f7d5fc..698ba03 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,8 +108,8 @@ importers: specifier: 15.4.1 version: 15.4.1(i18next@24.2.2(typescript@5.6.3))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react-router-dom: - specifier: 7.2.0 - version: 7.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^7.13.0 + version: 7.13.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) recharts: specifier: 2.15.1 version: 2.15.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -1336,9 +1336,6 @@ packages: resolution: {integrity: sha512-uvXk/U4cBiFMxt+p9/G7yUWI/UbHYbyghLCjlpWZ3mLeIZiUBSKcUnw9UnKkdRz7Z/N4UBuFLWQdJCjUe7HjvA==} engines: {node: '>=12'} - '@types/cookie@0.6.0': - resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} - '@types/d3-array@3.2.2': resolution: {integrity: sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==} @@ -1731,15 +1728,15 @@ packages: '@types/react': optional: true - react-router-dom@7.2.0: - resolution: {integrity: sha512-cU7lTxETGtQRQbafJubvZKHEn5izNABxZhBY0Jlzdv0gqQhCPQt2J8aN5ZPjS6mQOXn5NnirWNh+FpE8TTYN0Q==} + react-router-dom@7.13.0: + resolution: {integrity: sha512-5CO/l5Yahi2SKC6rGZ+HDEjpjkGaG/ncEP7eWFTvFxbHP8yeeI0PxTDjimtpXYlR3b3i9/WIL4VJttPrESIf2g==} engines: {node: '>=20.0.0'} peerDependencies: react: '>=18' react-dom: '>=18' - react-router@7.2.0: - resolution: {integrity: sha512-fXyqzPgCPZbqhrk7k3hPcCpYIlQ2ugIXDboHUzhJISFVy2DEPsmHgN588MyGmkIOv3jDgNfUE3kJi83L28s/LQ==} + react-router@7.13.0: + resolution: {integrity: sha512-PZgus8ETambRT17BUm/LL8lX3Of+oiLaPuVTRH3l1eLvSPpKO3AvhAEb5N7ihAFZQrYDqkvvWfFh9p0z9VsjLw==} engines: {node: '>=20.0.0'} peerDependencies: react: '>=18' @@ -1830,9 +1827,6 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - turbo-stream@2.4.0: - resolution: {integrity: sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g==} - typescript@5.6.3: resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} @@ -2860,8 +2854,6 @@ snapshots: '@tanstack/table-core@8.21.2': {} - '@types/cookie@0.6.0': {} - '@types/d3-array@3.2.2': {} '@types/d3-color@3.1.3': {} @@ -3208,19 +3200,17 @@ snapshots: optionalDependencies: '@types/react': 19.0.10 - react-router-dom@7.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + react-router-dom@7.13.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - react-router: 7.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react-router: 7.13.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - react-router@7.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + react-router@7.13.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - '@types/cookie': 0.6.0 cookie: 1.1.1 react: 19.0.0 set-cookie-parser: 2.7.2 - turbo-stream: 2.4.0 optionalDependencies: react-dom: 19.0.0(react@19.0.0) @@ -3329,8 +3319,6 @@ snapshots: tslib@2.8.1: {} - turbo-stream@2.4.0: {} - typescript@5.6.3: {} undici-types@6.20.0: {}