chore(deps): bump react-router-dom from 5.2.1 to 6.16.0 #449
Triggered via pull request
September 18, 2023 23:25
Status
Failure
Total duration
6m 19s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
dhis2-verify-app.yml
on: pull_request
test
2m 43s
build
3m 42s
lint
1m 58s
Matrix: e2e-prod
report-release-failure
0s
Annotations
12 errors and 10 warnings
lint:
src/components/App.js#L6
Redirect not found in 'react-router-dom'
|
lint:
src/components/App.js#L6
Switch not found in 'react-router-dom'
|
lint:
src/components/DashboardsBar/Content.js#L8
Redirect not found in 'react-router-dom'
|
lint:
src/components/DashboardsBar/Content.js#L8
withRouter not found in 'react-router-dom'
|
lint:
src/components/DashboardsBar/__tests__/Chip.spec.js#L3
Unable to resolve path to module 'history'
|
lint:
src/components/DashboardsBar/__tests__/DashboardsBar.spec.js#L3
Unable to resolve path to module 'history'
|
lint:
src/pages/edit/ActionsBar.js#L12
Redirect not found in 'react-router-dom'
|
lint:
src/pages/edit/EditDashboard.js#L8
Redirect not found in 'react-router-dom'
|
lint:
src/pages/edit/NewDashboard.js#L6
Redirect not found in 'react-router-dom'
|
lint:
src/pages/edit/__tests__/EditDashboard.spec.js#L2
Unable to resolve path to module 'history'
|
test
Process completed with exit code 1.
|
build
Process completed with exit code 1.
|
lint:
src/components/App.js#L46
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L56
React Hook useEffect has missing dependencies: 'onExpandedChanged', 'updateUserRows', and 'userRows'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L60
React Hook useEffect has a missing dependency: 'rootElement.style'. Either include it or remove the dependency array
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L65
React Hook useEffect has a missing dependency: 'rootElement.style'. Either include it or remove the dependency array
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L72
React Hook useEffect has a missing dependency: 'userRows'. Either include it or remove the dependency array. Mutable values like 'userRowsChanged.current' aren't valid dependencies because mutating them doesn't re-render the component
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L87
React Hook useCallback has missing dependencies: 'memoizedCancelExpanded', 'onExpandedChanged', and 'scrollToTop'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L92
React Hook useCallback has missing dependencies: 'onExpandedChanged' and 'scrollToTop'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/components/SystemSettingsProvider.js#L39
React Hook useEffect has a missing dependency: 'engine'. Either include it or remove the dependency array
|
lint:
src/components/UserSettingsProvider.js#L24
React Hook useEffect has a missing dependency: 'engine'. Either include it or remove the dependency array
|
lint:
src/modules/useDimensions.js#L38
React Hook useEffect has missing dependencies: 'dataEngine' and 'dispatch'. Either include them or remove the dependency array
|