diff --git a/ui/CHANGELOG.md b/ui/CHANGELOG.md index d2dc6028b4..6f1dbbe06e 100644 --- a/ui/CHANGELOG.md +++ b/ui/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to the **Prowler UI** are documented in this file. +## [1.13.1] (Unreleased) + +### 🔄 Changed + +- Upgrade React to version 19.2.0 [(#9039)](https://github.com/prowler-cloud/prowler/pull/9039) + +--- + ## [1.13.0] (Prowler v5.13.0) ### 🚀 Added diff --git a/ui/dependency-log.json b/ui/dependency-log.json index 4677a082eb..d35d950ea4 100644 --- a/ui/dependency-log.json +++ b/ui/dependency-log.json @@ -323,17 +323,17 @@ "section": "dependencies", "name": "react", "from": "19.1.1", - "to": "19.1.1", + "to": "19.2.0", "strategy": "installed", - "generatedAt": "2025-10-22T12:36:37.962Z" + "generatedAt": "2025-10-28T08:31:51.187Z" }, { "section": "dependencies", "name": "react-dom", "from": "19.1.1", - "to": "19.1.1", + "to": "19.2.0", "strategy": "installed", - "generatedAt": "2025-10-22T12:36:37.962Z" + "generatedAt": "2025-10-28T08:31:51.187Z" }, { "section": "dependencies", @@ -611,9 +611,9 @@ "section": "devDependencies", "name": "eslint-plugin-react-hooks", "from": "4.6.2", - "to": "4.6.2", + "to": "7.0.1", "strategy": "installed", - "generatedAt": "2025-10-22T12:36:37.962Z" + "generatedAt": "2025-10-28T08:32:52.037Z" }, { "section": "devDependencies", diff --git a/ui/package-lock.json b/ui/package-lock.json index 1530aa3134..cc6b544801 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -49,8 +49,8 @@ "next-auth": "5.0.0-beta.29", "next-themes": "0.2.1", "radix-ui": "1.4.2", - "react": "19.1.1", - "react-dom": "19.1.1", + "react": "19.2.0", + "react-dom": "19.2.0", "react-hook-form": "7.62.0", "react-markdown": "10.1.0", "recharts": "2.15.4", @@ -87,7 +87,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "5.5.1", "eslint-plugin-react": "7.37.5", - "eslint-plugin-react-hooks": "4.6.2", + "eslint-plugin-react-hooks": "7.0.1", "eslint-plugin-security": "3.0.1", "eslint-plugin-simple-import-sort": "12.1.1", "eslint-plugin-unused-imports": "3.2.0", @@ -11916,16 +11916,23 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", - "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz", + "integrity": "sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==", "dev": true, "license": "MIT", + "dependencies": { + "@babel/core": "^7.24.4", + "@babel/parser": "^7.24.4", + "hermes-parser": "^0.25.1", + "zod": "^3.25.0 || ^4.0.0", + "zod-validation-error": "^3.5.0 || ^4.0.0" + }, "engines": { - "node": ">=10" + "node": ">=18" }, "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" } }, "node_modules/eslint-plugin-react/node_modules/brace-expansion": { @@ -13175,6 +13182,23 @@ "dev": true, "license": "MIT" }, + "node_modules/hermes-estree": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", + "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", + "dev": true, + "license": "MIT" + }, + "node_modules/hermes-parser": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", + "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hermes-estree": "0.25.1" + } + }, "node_modules/html-url-attributes": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz", @@ -17360,24 +17384,24 @@ } }, "node_modules/react": { - "version": "19.1.1", - "resolved": "https://registry.npmjs.org/react/-/react-19.1.1.tgz", - "integrity": "sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ==", + "version": "19.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz", + "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==", "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/react-dom": { - "version": "19.1.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.1.tgz", - "integrity": "sha512-Dlq/5LAZgF0Gaz6yiqZCf6VCcZs1ghAJyrsu84Q/GT0gV+mCxbfmKNoGRKBYMJ8IEdGPqu49YWXD02GCknEDkw==", + "version": "19.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.0.tgz", + "integrity": "sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ==", "license": "MIT", "dependencies": { - "scheduler": "^0.26.0" + "scheduler": "^0.27.0" }, "peerDependencies": { - "react": "^19.1.1" + "react": "^19.2.0" } }, "node_modules/react-hook-form": { @@ -18015,9 +18039,9 @@ "license": "ISC" }, "node_modules/scheduler": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", - "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", "license": "MIT" }, "node_modules/scroll-into-view-if-needed": { @@ -20281,6 +20305,19 @@ "url": "https://github.com/sponsors/colinhacks" } }, + "node_modules/zod-validation-error": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", + "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + }, "node_modules/zustand": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.8.tgz", diff --git a/ui/package.json b/ui/package.json index fb46f00eec..22a34c467b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -63,8 +63,8 @@ "next-auth": "5.0.0-beta.29", "next-themes": "0.2.1", "radix-ui": "1.4.2", - "react": "19.1.1", - "react-dom": "19.1.1", + "react": "19.2.0", + "react-dom": "19.2.0", "react-hook-form": "7.62.0", "react-markdown": "10.1.0", "recharts": "2.15.4", @@ -101,7 +101,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "5.5.1", "eslint-plugin-react": "7.37.5", - "eslint-plugin-react-hooks": "4.6.2", + "eslint-plugin-react-hooks": "7.0.1", "eslint-plugin-security": "3.0.1", "eslint-plugin-simple-import-sort": "12.1.1", "eslint-plugin-unused-imports": "3.2.0", @@ -118,18 +118,18 @@ "overrides": { "@react-types/shared": "3.26.0", "alert": { - "react": "19.1.1", - "react-dom": "19.1.1" + "react": "19.2.0", + "react-dom": "19.2.0" }, "@react-aria/ssr": { - "react": "19.1.1", - "react-dom": "19.1.1" + "react": "19.2.0", + "react-dom": "19.2.0" }, "@react-aria/visually-hidden": { - "react": "19.1.1" + "react": "19.2.0" }, "@react-aria/interactions": { - "react": "19.1.1" + "react": "19.2.0" } }, "resolutions": {