Skip to content

[Snyk] Upgrade react-router-dom from 5.3.4 to 6.23.0 #1

[Snyk] Upgrade react-router-dom from 5.3.4 to 6.23.0

[Snyk] Upgrade react-router-dom from 5.3.4 to 6.23.0 #1

Re-run triggered May 29, 2024 03:40
Status Failure
Total duration 1m 58s
Artifacts

testcafe.yml

on: pull_request
Testcafe e2e Test
1m 46s
Testcafe e2e Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Testcafe e2e Test: src/components/CertificateViewerErrorBoundary/CertificateViewerErrorBoundary.test.tsx#L9
Type '{ children: ReactNode; history: MemoryHistory<unknown>; }' is not assignable to type 'IntrinsicAttributes & RouterProps'.
Testcafe e2e Test: src/components/Demo/DemoCreate/index.tsx#L4
Module '"react-router"' has no exported member 'Prompt'.
Testcafe e2e Test: src/components/Demo/DemoCreate/index.tsx#L5
Module '"react-router-dom"' has no exported member 'useHistory'.
Testcafe e2e Test: src/components/Demo/DemoInitial/index.tsx#L4
Module '"react-router-dom"' has no exported member 'useHistory'.
Testcafe e2e Test: src/components/ErrorBoundary/ErrorBoundary.stories.tsx#L26
Type '{ children: Element; history: History<unknown>; }' is not assignable to type 'IntrinsicAttributes & RouterProps'.
Testcafe e2e Test: src/components/ErrorBoundary/ErrorBoundary.test.tsx#L35
Type '{ children: Element; history: MemoryHistory<unknown>; }' is not assignable to type 'IntrinsicAttributes & RouterProps'.
Testcafe e2e Test: src/components/HomePageContent/HomePageContainer.tsx#L10
Module '"react-router"' has no exported member 'useHistory'.
Testcafe e2e Test: src/components/Layout/NavigationBar/NavigationBar.tsx#L40
Type '{ children: string; activeClassName: string; className: string; to: string; }' is not assignable to type 'IntrinsicAttributes & NavLinkProps & RefAttributes<HTMLAnchorElement>'.
Testcafe e2e Test: src/components/Layout/NavigationBar/NavigationBar.tsx#L50
Type '{ children: string; activeClassName: string; className: string; to: string; }' is not assignable to type 'IntrinsicAttributes & NavLinkProps & RefAttributes<HTMLAnchorElement>'.
Testcafe e2e Test: src/components/Layout/NavigationBar/NavigationBar.tsx#L60
Type '{ children: string; activeClassName: string; className: string; to: string; }' is not assignable to type 'IntrinsicAttributes & NavLinkProps & RefAttributes<HTMLAnchorElement>'.
Testcafe e2e Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.