chore(ui): remove unused npm dependencies flagged by knip (#11115)

Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pablo Fernandez Guerra (PFE)
2026-05-12 10:07:15 +02:00
committed by GitHub
parent 1fd6c51af6
commit c3d1c5c5f7
4 changed files with 78 additions and 2621 deletions
+8
View File
@@ -2,6 +2,14 @@
All notable changes to the **Prowler UI** are documented in this file.
## [1.27.0] (Prowler UNRELEASED)
### 🔄 Changed
- Trimmed unused npm dependencies [(#11115)](https://github.com/prowler-cloud/prowler/pull/11115)
---
## [1.26.0] (Prowler v5.26.0)
### 🚀 Added
+9 -177
View File
@@ -15,22 +15,6 @@
"strategy": "installed",
"generatedAt": "2026-02-12T11:04:39.164Z"
},
{
"section": "dependencies",
"name": "@codemirror/autocomplete",
"from": "6.20.1",
"to": "6.20.1",
"strategy": "installed",
"generatedAt": "2026-03-26T08:39:34.728Z"
},
{
"section": "dependencies",
"name": "@codemirror/commands",
"from": "6.10.3",
"to": "6.10.3",
"strategy": "installed",
"generatedAt": "2026-03-26T08:39:34.728Z"
},
{
"section": "dependencies",
"name": "@codemirror/language",
@@ -79,14 +63,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "@internationalized/date",
"from": "3.10.0",
"to": "3.10.0",
"strategy": "installed",
"generatedAt": "2025-12-10T11:34:11.122Z"
},
{
"section": "dependencies",
"name": "@langchain/aws",
@@ -287,14 +263,6 @@
"strategy": "installed",
"generatedAt": "2025-12-15T08:24:46.195Z"
},
{
"section": "dependencies",
"name": "@react-aria/i18n",
"from": "3.12.13",
"to": "3.12.13",
"strategy": "installed",
"generatedAt": "2025-12-10T11:34:11.122Z"
},
{
"section": "dependencies",
"name": "@react-aria/ssr",
@@ -319,14 +287,6 @@
"strategy": "installed",
"generatedAt": "2025-12-10T11:34:11.122Z"
},
{
"section": "dependencies",
"name": "@react-types/datepicker",
"from": "3.13.2",
"to": "3.13.2",
"strategy": "installed",
"generatedAt": "2025-12-10T11:34:11.122Z"
},
{
"section": "dependencies",
"name": "@react-types/shared",
@@ -399,14 +359,6 @@
"strategy": "installed",
"generatedAt": "2025-12-15T08:24:46.195Z"
},
{
"section": "dependencies",
"name": "alert",
"from": "6.0.2",
"to": "6.0.2",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "class-variance-authority",
@@ -431,14 +383,6 @@
"strategy": "installed",
"generatedAt": "2025-11-19T12:28:39.510Z"
},
{
"section": "dependencies",
"name": "codemirror",
"from": "6.0.2",
"to": "6.0.2",
"strategy": "installed",
"generatedAt": "2026-03-26T08:39:34.728Z"
},
{
"section": "dependencies",
"name": "d3",
@@ -479,22 +423,6 @@
"strategy": "installed",
"generatedAt": "2025-12-16T08:33:37.278Z"
},
{
"section": "dependencies",
"name": "intl-messageformat",
"from": "10.7.16",
"to": "10.7.16",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "jose",
"from": "5.10.0",
"to": "5.10.0",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "js-yaml",
@@ -527,14 +455,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "marked",
"from": "15.0.12",
"to": "15.0.12",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "nanoid",
@@ -567,14 +487,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "radix-ui",
"from": "1.4.2",
"to": "1.4.2",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "react",
@@ -647,14 +559,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "shiki",
"from": "3.20.0",
"to": "3.20.0",
"strategy": "installed",
"generatedAt": "2025-12-16T08:33:37.278Z"
},
{
"section": "dependencies",
"name": "streamdown",
@@ -687,14 +591,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "tw-animate-css",
"from": "1.4.0",
"to": "1.4.0",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "use-stick-to-bottom",
@@ -703,14 +599,6 @@
"strategy": "installed",
"generatedAt": "2025-12-15T08:24:46.195Z"
},
{
"section": "dependencies",
"name": "uuid",
"from": "11.1.0",
"to": "11.1.0",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "dependencies",
"name": "vaul",
@@ -743,14 +631,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "@eslint/eslintrc",
"from": "3.3.3",
"to": "3.3.3",
"strategy": "installed",
"generatedAt": "2026-01-19T13:54:24.770Z"
},
{
"section": "devDependencies",
"name": "@iconify/react",
@@ -855,14 +735,6 @@
"strategy": "installed",
"generatedAt": "2025-10-30T10:22:21.335Z"
},
{
"section": "devDependencies",
"name": "@types/uuid",
"from": "10.0.0",
"to": "10.0.0",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "@typescript-eslint/eslint-plugin",
@@ -895,14 +767,6 @@
"strategy": "installed",
"generatedAt": "2026-01-29T16:42:27.795Z"
},
{
"section": "devDependencies",
"name": "autoprefixer",
"from": "10.4.19",
"to": "10.4.19",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "babel-plugin-react-compiler",
@@ -911,6 +775,14 @@
"strategy": "installed",
"generatedAt": "2026-01-19T13:54:24.770Z"
},
{
"section": "devDependencies",
"name": "dotenv",
"from": "16.6.1",
"to": "16.6.1",
"strategy": "installed",
"generatedAt": "2026-05-11T15:12:01.207Z"
},
{
"section": "devDependencies",
"name": "dotenv-expand",
@@ -927,14 +799,6 @@
"strategy": "installed",
"generatedAt": "2026-01-19T13:54:24.770Z"
},
{
"section": "devDependencies",
"name": "eslint-config-next",
"from": "16.1.6",
"to": "16.2.3",
"strategy": "installed",
"generatedAt": "2026-04-17T09:52:03.464Z"
},
{
"section": "devDependencies",
"name": "eslint-config-prettier",
@@ -943,14 +807,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "eslint-plugin-import",
"from": "2.32.0",
"to": "2.32.0",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "eslint-plugin-jsx-a11y",
@@ -959,14 +815,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "eslint-plugin-node",
"from": "11.1.0",
"to": "11.1.0",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "eslint-plugin-prettier",
@@ -1045,7 +893,7 @@
"from": "8.4.38",
"to": "8.4.38",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
"generatedAt": "2026-05-11T15:15:31.276Z"
},
{
"section": "devDependencies",
@@ -1063,22 +911,6 @@
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "shadcn",
"from": "3.4.1",
"to": "3.8.4",
"strategy": "installed",
"generatedAt": "2026-02-12T11:04:39.164Z"
},
{
"section": "devDependencies",
"name": "tailwind-variants",
"from": "0.1.20",
"to": "0.1.20",
"strategy": "installed",
"generatedAt": "2025-10-22T12:36:37.962Z"
},
{
"section": "devDependencies",
"name": "tailwindcss",
+3 -25
View File
@@ -12,8 +12,8 @@
"healthcheck": "pnpm run typecheck && pnpm run lint:check",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"lint:knip": "knip --max-issues 504",
"lint:knip:fix": "knip --fix --max-issues 504",
"lint:knip": "knip --max-issues 494",
"lint:knip:fix": "knip --fix --max-issues 494",
"format:check": "./node_modules/.bin/prettier --check ./app",
"format:write": "./node_modules/.bin/prettier --config .prettierrc.json --write ./app",
"test": "vitest",
@@ -30,15 +30,12 @@
"dependencies": {
"@ai-sdk/react": "2.0.111",
"@aws-sdk/client-bedrock-runtime": "3.988.0",
"@codemirror/autocomplete": "6.20.1",
"@codemirror/commands": "6.10.3",
"@codemirror/language": "6.12.2",
"@codemirror/state": "6.6.0",
"@codemirror/view": "6.40.0",
"@extractus/feed-extractor": "7.1.7",
"@heroui/react": "2.8.4",
"@hookform/resolvers": "5.2.2",
"@internationalized/date": "3.10.0",
"@langchain/aws": "1.1.0",
"@langchain/core": "1.1.15",
"@langchain/mcp-adapters": "1.1.3",
@@ -64,11 +61,9 @@
"@radix-ui/react-toast": "1.2.14",
"@radix-ui/react-tooltip": "1.2.8",
"@radix-ui/react-use-controllable-state": "1.2.2",
"@react-aria/i18n": "3.12.13",
"@react-aria/ssr": "3.9.4",
"@react-aria/visually-hidden": "3.8.12",
"@react-stately/utils": "3.10.8",
"@react-types/datepicker": "3.13.2",
"@react-types/shared": "3.26.0",
"@sentry/nextjs": "10.27.0",
"@tailwindcss/postcss": "4.1.18",
@@ -81,24 +76,19 @@
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "1.1.1",
"codemirror": "6.0.2",
"d3": "7.9.0",
"dagre": "0.8.5",
"date-fns": "4.1.0",
"framer-motion": "11.18.2",
"import-in-the-middle": "2.0.0",
"intl-messageformat": "10.7.16",
"jose": "5.10.0",
"js-yaml": "4.1.1",
"jwt-decode": "4.0.0",
"langchain": "1.2.10",
"lucide-react": "0.543.0",
"marked": "15.0.12",
"nanoid": "5.1.6",
"next": "16.2.3",
"next-auth": "5.0.0-beta.30",
"next-themes": "0.2.1",
"radix-ui": "1.4.2",
"react": "19.2.5",
"react-day-picker": "9.13.0",
"react-dom": "19.2.5",
@@ -108,21 +98,17 @@
"require-in-the-middle": "8.0.1",
"server-only": "0.0.1",
"sharp": "0.33.5",
"shiki": "3.20.0",
"streamdown": "1.6.10",
"tailwind-merge": "3.3.1",
"tailwindcss-animate": "1.0.7",
"topojson-client": "3.1.0",
"tw-animate-css": "1.4.0",
"use-stick-to-bottom": "1.1.1",
"uuid": "11.1.0",
"vaul": "1.1.2",
"world-atlas": "2.0.2",
"zod": "4.1.11",
"zustand": "5.0.8"
},
"devDependencies": {
"@eslint/eslintrc": "3.3.3",
"@iconify/react": "5.2.1",
"@next/eslint-plugin-next": "16.2.3",
"@playwright/test": "1.56.1",
@@ -136,20 +122,16 @@
"@types/react-dom": "19.2.3",
"@types/topojson-client": "3.1.5",
"@types/topojson-specification": "1.0.5",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "8.53.0",
"@typescript-eslint/parser": "8.53.0",
"@vitejs/plugin-react": "5.1.2",
"@vitest/coverage-v8": "4.0.18",
"autoprefixer": "10.4.19",
"babel-plugin-react-compiler": "1.0.0",
"dotenv": "16.6.1",
"dotenv-expand": "12.0.3",
"eslint": "9.39.2",
"eslint-config-next": "16.2.3",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.5.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.0.1",
@@ -162,8 +144,6 @@
"postcss": "8.4.38",
"prettier": "3.6.2",
"prettier-plugin-tailwindcss": "0.6.14",
"shadcn": "3.8.4",
"tailwind-variants": "0.1.20",
"tailwindcss": "4.1.18",
"typescript": "5.5.4",
"vitest": "4.0.18"
@@ -172,8 +152,6 @@
"overrides": {
"@react-types/shared": "3.26.0",
"@internationalized/date": "3.10.0",
"alert>react": "19.2.5",
"alert>react-dom": "19.2.5",
"@react-aria/ssr>react": "19.2.5",
"@react-aria/ssr>react-dom": "19.2.5",
"@react-aria/visually-hidden>react": "19.2.5",
+58 -2419
View File
File diff suppressed because it is too large Load Diff