From ac8be576e82eabee747f6f530cbd456402fea635 Mon Sep 17 00:00:00 2001 From: Hemang Kandwal Date: Fri, 20 Dec 2024 23:32:00 +0530 Subject: [PATCH] feat(frontend): revert react router dom version --- frontend/package.json | 2 +- frontend/pnpm-lock.yaml | 57 ++++++++++++++--------------------------- 2 files changed, 20 insertions(+), 39 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index e990a58..20961be 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -22,7 +22,7 @@ "react-dom": "^18.3.1", "react-json-view": "^1.21.3", "react-redux": "^9.1.2", - "react-router-dom": "^7.0.2", + "react-router-dom": "^6.26.2", "react-table": "^7.8.0", "react-window": "^1.8.10", "reactflow": "^11.11.4", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 480d713..70a5aff 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -63,8 +63,8 @@ dependencies: specifier: ^9.1.2 version: 9.2.0(@types/react@18.3.17)(react@18.3.1)(redux@5.0.1) react-router-dom: - specifier: ^7.0.2 - version: 7.0.2(react-dom@18.3.1)(react@18.3.1) + specifier: ^6.26.2 + version: 6.28.0(react-dom@18.3.1)(react@18.3.1) react-table: specifier: ^7.8.0 version: 7.8.0(react@18.3.1) @@ -2695,6 +2695,11 @@ packages: reselect: 5.1.1 dev: false + /@remix-run/router@1.21.0: + resolution: {integrity: sha512-xfSkCAchbdG5PnbrKqFWwia4Bi61nH+wm8wLEqfHDyp7Y3dZzgqS2itV8i4gAq9pC2HsTpwyBC6Ds8VHZ96JlA==} + engines: {node: '>=14.0.0'} + dev: false + /@repeaterjs/repeater@3.0.6: resolution: {integrity: sha512-Javneu5lsuhwNCryN+pXH93VPQ8g0dBX7wItHFgYiwQmzE1sVdg5tWHiOgHywzL2W21XQopa7IwIEnNbmeUJYA==} dev: true @@ -2830,10 +2835,6 @@ packages: '@swc/counter': 0.1.3 dev: true - /@types/cookie@0.6.0: - resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} - dev: false - /@types/d3-array@3.2.1: resolution: {integrity: sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg==} dev: false @@ -3716,11 +3717,6 @@ packages: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: true - /cookie@1.0.2: - resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==} - engines: {node: '>=18'} - dev: false - /cosmiconfig@8.3.6: resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} @@ -6249,34 +6245,27 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-router-dom@7.0.2(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-VJOQ+CDWFDGaWdrG12Nl+d7yHtLaurNgAQZVgaIy7/Xd+DojgmYLosFfZdGz1wpxmjJIAkAMVTKWcvkx1oggAw==} - engines: {node: '>=20.0.0'} + /react-router-dom@6.28.0(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-kQ7Unsl5YdyOltsPGl31zOjLrDv+m2VcIEcIHqYYD3Lp0UppLjrzcfJqDJwXxFw3TH/yvapbnUvPlAj7Kx5nbg==} + engines: {node: '>=14.0.0'} peerDependencies: - react: '>=18' - react-dom: '>=18' + react: '>=16.8' + react-dom: '>=16.8' dependencies: + '@remix-run/router': 1.21.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-router: 7.0.2(react-dom@18.3.1)(react@18.3.1) + react-router: 6.28.0(react@18.3.1) dev: false - /react-router@7.0.2(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-m5AcPfTRUcjwmhBzOJGEl6Y7+Crqyju0+TgTQxoS4SO+BkWbhOrcfZNq6wSWdl2BBbJbsAoBUb8ZacOFT+/JlA==} - engines: {node: '>=20.0.0'} + /react-router@6.28.0(react@18.3.1): + resolution: {integrity: sha512-HrYdIFqdrnhDw0PqG/AKjAqEqM7AvxCz0DQ4h2W8k6nqmc5uRBYDag0SBxx9iYz5G8gnuNVLzUe13wl9eAsXXg==} + engines: {node: '>=14.0.0'} peerDependencies: - react: '>=18' - react-dom: '>=18' - peerDependenciesMeta: - react-dom: - optional: true + react: '>=16.8' dependencies: - '@types/cookie': 0.6.0 - cookie: 1.0.2 + '@remix-run/router': 1.21.0 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - set-cookie-parser: 2.7.1 - turbo-stream: 2.4.0 dev: false /react-table@7.8.0(react@18.3.1): @@ -6671,10 +6660,6 @@ packages: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} dev: true - /set-cookie-parser@2.7.1: - resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==} - dev: false - /setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} @@ -6977,10 +6962,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==} - dev: false - /type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'}