Upgrade React Router dependencies to latest version (#21288)

This commit is contained in:
Jon Koops 2023-07-11 18:06:54 +02:00 committed by GitHub
parent 56602224a2
commit 209e9b5307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 327 additions and 264 deletions

View file

@ -21,16 +21,16 @@
"react-dom": "^18.2.0",
"react-hook-form": "^7.44.3",
"react-i18next": "^13.0.2",
"react-router-dom": "6.12.1",
"react-router-dom": "^6.14.1",
"ui-shared": "workspace:*"
},
"devDependencies": {
"@keycloak/keycloak-admin-client": "workspace:*",
"@playwright/test": "^1.35.1",
"@types/lodash-es": "^4.17.7",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@vitejs/plugin-react-swc": "^3.3.2",
"@keycloak/keycloak-admin-client": "workspace:*",
"vite": "^4.4.3",
"vite-plugin-checker": "^0.6.1"
},

View file

@ -83,8 +83,7 @@
"react-error-boundary": "^3.1.4",
"react-hook-form": "^7.44.3",
"react-i18next": "^13.0.2",
"react-router": "^6.12.1",
"react-router-dom": "6.12.1",
"react-router-dom": "^6.14.1",
"reactflow": "^11.7.4",
"ui-shared": "workspace:*",
"use-react-router-breadcrumbs": "^4.0.1"

View file

@ -1,5 +1,5 @@
import { AccessType } from "@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation";
import { useMatches } from "react-router";
import { useMatches } from "react-router-dom";
import { ForbiddenSection } from "../ForbiddenSection";
import { useAccess } from "../context/access/Access";

View file

@ -1,7 +1,7 @@
import type { AccessType } from "@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation";
import type { TFunction } from "i18next";
import type { ComponentType } from "react";
import type { NonIndexRouteObject, RouteObject } from "react-router";
import type { NonIndexRouteObject, RouteObject } from "react-router-dom";
import { App } from "./App";
import { PageNotFoundSection } from "./PageNotFoundSection";

File diff suppressed because it is too large Load diff