Skip to content

Update react-router-dom 5.3.0 → 6.15.0 (major) #711

Update react-router-dom 5.3.0 → 6.15.0 (major)

Update react-router-dom 5.3.0 → 6.15.0 (major) #711

Triggered via pull request August 17, 2023 18:12
Status Failure
Total duration 2m 47s
Artifacts

unit_test_coverage.yml

on: pull_request
Checkout, install, lint, build and test with coverage
2m 33s
Checkout, install, lint, build and test with coverage
Upload code coverage to Codacy
0s
Upload code coverage to Codacy
Upload code coverage to Codecov
0s
Upload code coverage to Codecov
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'match'.
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'PromptProps'.
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'Prompt'.
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'RedirectProps'.
Checkout, install, lint, build and test with coverage
'"react-router"' has no exported member named 'Redirect'. Did you mean 'redirect'?
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'RouteChildrenProps'.
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'RouteComponentProps'.
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'StaticRouterProps'.
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'StaticRouter'.
Checkout, install, lint, build and test with coverage
Module '"react-router"' has no exported member 'SwitchProps'.
Checkout, install, lint, build and test with coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2-beta, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Checkout, install, lint, build and test with coverage: src/components/MainNavBar/MainNavBar.tsx#L35
React Hook useEffect has missing dependencies: 'isLoggedInToUMLS' and 'terminologyServiceApi'. Either include them or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/MainNavBar/UserAvatar.tsx#L48
React Hook useEffect has a missing dependency: 'oktaAuth.token'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/PageHeader/PageHeader.tsx#L90
React Hook useEffect has a missing dependency: 'updateFeatureFlags'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/timeoutHandler/TimeoutHandler.tsx#L64
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
Checkout, install, lint, build and test with coverage: src/components/timeoutHandler/TimeoutHandler.tsx#L96
React Hook useCallback has missing dependencies: 'refreshTokens' and 'resetTimeout'. Either include them or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/timeoutHandler/TimeoutHandler.tsx#L114
React Hook useLayoutEffect has a missing dependency: 'timeoutCallBack'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage: src/router/RouteChangeHandler.tsx#L37
React Hook useEffect has missing dependencies: 'history' and 'updateRouteHandlerState'. Either include them or remove the dependency array