-
Notifications
You must be signed in to change notification settings - Fork 2.5k
fix: harden input validation, file safety, and error handling #227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
9c97815
a7e698a
888d5a5
10446f1
d983119
4447a87
ff9c08d
ae135ae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,7 +15,9 @@ import { Input } from '@/components/ui/input'; | |||||||||||||||||||||
| import { | ||||||||||||||||||||||
| Select, | ||||||||||||||||||||||
| SelectContent, | ||||||||||||||||||||||
| SelectGroup, | ||||||||||||||||||||||
| SelectItem, | ||||||||||||||||||||||
| SelectLabel, | ||||||||||||||||||||||
|
Comment on lines
+18
to
+20
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove unused imports.
🧹 Proposed fix to remove unused imports import {
Select,
SelectContent,
- SelectGroup,
SelectItem,
- SelectLabel,
SelectTrigger,
SelectValue,
} from '@/components/ui/select';📝 Committable suggestion
Suggested change
🧰 Tools🪛 Biome (2.4.11)[error] 18-20: Several of these imports are unused. (lint/correctness/noUnusedImports) 🤖 Prompt for AI Agents |
||||||||||||||||||||||
| SelectTrigger, | ||||||||||||||||||||||
| SelectValue, | ||||||||||||||||||||||
| } from '@/components/ui/select'; | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unused imports.
SelectGroupandSelectLabelare imported but never used in this component.🧹 Proposed fix to remove unused imports
import { Select, SelectContent, - SelectGroup, SelectItem, - SelectLabel, SelectTrigger, SelectValue, } from '@/components/ui/select';📝 Committable suggestion
🧰 Tools
🪛 Biome (2.4.11)
[error] 11-13: Several of these imports are unused.
(lint/correctness/noUnusedImports)
🤖 Prompt for AI Agents