Check each one before you remove it
Knip finds these from the entry points Agnes works out for the repository. Code loaded by name, by a tool's config, by tests or from outside the repository looks unused too, and removing it breaks the app.
git rm -- \ 'app/api/auth/[...nextauth]/_route.ts' \ components/ui/accordion.tsx \ components/ui/aspect-ratio.tsx \ components/ui/badge.tsx \ components/ui/calendar.tsx \ components/ui/checkbox.tsx \ components/ui/collapsible.tsx \ components/ui/command.tsx \ components/ui/context-menu.tsx \ components/ui/dialog.tsx \ components/ui/hover-card.tsx \ components/ui/menubar.tsx \ components/ui/navigation-menu.tsx \ components/ui/popover.tsx \ components/ui/progress.tsx \ components/ui/radio-group.tsx \ components/ui/scroll-area.tsx \ components/ui/select.tsx \ components/ui/separator.tsx \ components/ui/sheet.tsx \ components/ui/slider.tsx \ components/ui/switch.tsx \ components/ui/tabs.tsx \ components/ui/textarea.tsx \ components/ui/toggle.tsx \ components/ui/tooltip.tsx
components/icons.tsx: type Icon components/pager.tsx: getPagerForDoc, flatten components/sidebar-nav.tsx: DocsSidebarNavItems components/ui/alert-dialog.tsx: AlertDialogTrigger components/ui/dropdown-menu.tsx: DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup components/ui/input.tsx: type InputProps components/ui/toast.tsx: ToastAction components/ui/use-toast.ts: reducer
| Severity | Finding | Location |
|---|---|---|
| Error | Error @babel/traverse@7.21.4Transitive1 vulnerability · fixed in 7.23.2Pulled in by next@13.3.2-canary.13, and 5 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error @grpc/grpc-js@1.8.14Transitive5 vulnerabilities · fixed in 1.13.6Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error @opentelemetry/propagator-jaeger@1.5.0Transitive1 vulnerability · fixed in 2.9.0Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error axios@0.25.0Transitive23 vulnerabilities · fixed in 0.33.0Pulled in by postmark@3.0.15
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error brace-expansion@1.1.11Transitive8 vulnerabilities · fixed in 1.1.21Pulled in by @typescript-eslint/parser@5.59.0, and 10 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error braces@3.0.2Transitive1 vulnerability · fixed in 3.0.3Pulled in by contentlayer@0.3.1, and 8 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error browserslist@4.21.5Transitive2 vulnerabilities · fixed in 4.28.7Pulled in by next@13.3.2-canary.13, and 6 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error cross-spawn@7.0.3Transitive1 vulnerability · fixed in 7.0.5Pulled in by @typescript-eslint/parser@5.59.0, and 6 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error flatted@3.2.7Transitive2 vulnerabilities · fixed in 3.4.2Pulled in by @typescript-eslint/parser@5.59.0, and 4 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error js-yaml@3.14.1Transitive5 vulnerabilities · fixed in 3.15.2Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error js-yaml@4.1.0Transitive5 vulnerabilities · fixed in 4.3.2Pulled in by @typescript-eslint/parser@5.59.0, and 7 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error lodash@4.17.21Transitive2 vulnerabilities · fixed in 4.18.0Pulled in by concurrently@8.0.1, and 2 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error minimatch@3.1.2Transitive3 vulnerabilities · fixed in 3.1.4Pulled in by @typescript-eslint/parser@5.59.0, and 10 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error nanoid@3.3.6Transitive4 vulnerabilities · fixed in 3.3.18Pulled in by @editorjs/editorjs@2.26.5, and 13 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error next-auth@4.22.1Direct5 vulnerabilities · fixed in 4.24.15pnpm add "next-auth@^4.24.15"
| pnpm-lock.yaml |
| Error | Error next@13.3.2-canary.13Direct32 vulnerabilities · 31 of 32 fixed in 15.5.28pnpm add "next@^15.5.28"
| pnpm-lock.yaml |
| Error | Error nodemailer@6.9.1Direct22 vulnerabilities · fixed in 10.1.4pnpm add "nodemailer@^10.1.4"
| pnpm-lock.yaml |
| Error | Error picomatch@2.3.1Transitive2 vulnerabilities · fixed in 2.3.2Pulled in by contentlayer@0.3.1, and 8 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error postcss@8.4.14Transitive5 vulnerabilities · fixed in 8.5.23Pulled in by next@13.3.2-canary.13, and 4 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error postcss@8.4.23Direct5 vulnerabilities · fixed in 8.5.23pnpm add "postcss@^8.5.23"
| pnpm-lock.yaml |
| Error | Error protobufjs@6.11.3Transitive12 vulnerabilities · fixed in 7.6.3Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error protobufjs@7.2.3Transitive12 vulnerabilities · fixed in 7.6.3Pulled in by contentlayer@0.3.1, and 1 other direct dependency
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error semver@5.7.1Transitive1 vulnerability · fixed in 5.7.2Pulled in by @commitlint/cli@17.6.1
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error semver@6.3.0Transitive1 vulnerability · fixed in 6.3.1Pulled in by next@13.3.2-canary.13, and 7 other direct dependencies
Update Or pin it under
| pnpm-lock.yaml |
| Error | Error semver@7.3.8Transitive1 vulnerability · fixed in 7.5.2Pulled in by @commitlint/cli@17.6.1
Update Or pin it under
| pnpm-lock.yaml |