[Snyk] Upgrade express from 4.19.2 to 4.20.0 #429
Annotations
10 errors and 10 warnings
build (20.15.0):
frontend/src/components/dashboard/AverageCVSS.tsx#L17
Missing file extension for "@/services/audits"
|
build (20.15.0):
frontend/src/components/dashboard/AverageCVSS.tsx#L60
Assignments to the 'auditId' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
build (20.15.0):
frontend/src/components/dashboard/CIATriad.tsx#L14
Missing file extension for "@/services/audits"
|
build (20.15.0):
frontend/src/components/dashboard/CVSSScore.tsx#L8
Missing file extension for "@/services/audits"
|
build (20.15.0):
frontend/src/components/input/ImageInput.tsx#L19
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
build (20.15.0):
frontend/src/components/input/ImageInput.tsx#L33
Do not use any type assertions
|
build (20.15.0):
frontend/src/components/input/ImageInput.tsx#L61
Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop
|
build (20.15.0):
frontend/src/components/table/UITable.tsx#L21
Unexpected any. Specify a different type
|
build (20.15.0):
frontend/src/components/table/UITable.tsx#L26
Unexpected any. Specify a different type
|
build (20.15.0):
frontend/src/components/table/UITable.tsx#L31
Unexpected any. Specify a different type
|
build (20.15.0):
frontend/src/components/AuthProvider.tsx#L15
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
build (20.15.0):
frontend/src/components/ui/button.tsx#L55
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
build (20.15.0):
frontend/src/components/ui/hover-card.tsx#L1
Run autofix to sort these imports!
|
build (20.15.0):
frontend/src/components/ui/hover-card.tsx#L25
Props should be sorted alphabetically
|
build (20.15.0):
frontend/src/components/ui/hover-card.tsx#L27
Props should be sorted alphabetically
|
build (20.15.0):
frontend/src/components/ui/hover-card.tsx#L33
Run autofix to sort these exports!
|
build (20.15.0):
frontend/src/components/ui/label.tsx#L1
Run autofix to sort these imports!
|
build (20.15.0):
frontend/src/components/ui/label.tsx#L18
Props should be sorted alphabetically
|
build (20.15.0):
frontend/src/components/ui/popover.tsx#L1
Run autofix to sort these imports!
|
build (20.15.0):
frontend/src/components/ui/popover.tsx#L17
Props should be sorted alphabetically
|