From 23dd3878dfe759939ac7f58e61de3e78b40b2c96 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 24 Oct 2024 16:16:22 +0200 Subject: [PATCH] removed dependencies Signed-off-by: Erik Jan de Wit --- js/apps/admin-ui/package.json | 2 -- .../json-file-upload/FileUploadForm.tsx | 2 +- pnpm-lock.yaml | 16 ---------------- 3 files changed, 1 insertion(+), 19 deletions(-) diff --git a/js/apps/admin-ui/package.json b/js/apps/admin-ui/package.json index a005de591b40..59fbb4286afa 100644 --- a/js/apps/admin-ui/package.json +++ b/js/apps/admin-ui/package.json @@ -82,7 +82,6 @@ "admin-ui": "file:", "dagre": "^0.8.5", "file-saver": "^2.0.5", - "file-selector": "^1.1.0", "flat": "^6.0.1", "i18next": "^23.16.2", "i18next-http-backend": "^2.6.2", @@ -92,7 +91,6 @@ "p-debounce": "^4.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-dropzone": "^14.2.10", "react-hook-form": "^7.53.1", "react-i18next": "^15.1.0", "react-router-dom": "^6.27.0", diff --git a/js/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx b/js/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx index 8d75652698fc..71bf23001a79 100644 --- a/js/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx +++ b/js/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx @@ -1,6 +1,7 @@ import { CodeEditor, Language } from "@patternfly/react-code-editor"; import { Button, + DropEvent, FileUpload, FileUploadProps, FormGroup, @@ -16,7 +17,6 @@ import { MouseEvent as ReactMouseEvent, useState, } from "react"; -import { DropEvent } from "react-dropzone"; import { useTranslation } from "react-i18next"; type FileUploadType = { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 493894d89aed..95af0f782e7e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -180,9 +180,6 @@ importers: file-saver: specifier: ^2.0.5 version: 2.0.5 - file-selector: - specifier: ^1.1.0 - version: 1.1.0 flat: specifier: ^6.0.1 version: 6.0.1 @@ -210,9 +207,6 @@ importers: react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) - react-dropzone: - specifier: ^14.2.10 - version: 14.2.10(react@18.3.1) react-hook-form: specifier: ^7.53.1 version: 7.53.1(react@18.3.1) @@ -2822,10 +2816,6 @@ packages: resolution: {integrity: sha512-QlZ5yJC0VxHxQQsQhXvBaC7VRJ2uaxTf+Tfpu4Z/OcVQJVpZO+DGU0rkoVW5ce2SccxugvpBJoMvUs59iILYdw==} engines: {node: '>= 12'} - file-selector@1.1.0: - resolution: {integrity: sha512-242AM3EcVCRwKFqAHOVxuo93MnXnINrWR3tgEllLvBV3KhL2cWynQSReigbCwLNOkBaD5oyMeDCfXuSq1PlUzw==} - engines: {node: '>= 12'} - filing-cabinet@5.0.2: resolution: {integrity: sha512-RZlFj8lzyu6jqtFBeXNqUjjNG6xm+gwXue3T70pRxw1W40kJwlgq0PSWAmh0nAnn5DHuBIecLXk9+1VKS9ICXA==} engines: {node: '>=18'} @@ -5466,7 +5456,6 @@ snapshots: '@patternfly/react-table': 5.4.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) dagre: 0.8.5 file-saver: 2.0.5 - file-selector: 1.1.0 flat: 6.0.1 i18next: 23.16.2 i18next-http-backend: 2.6.2 @@ -5476,7 +5465,6 @@ snapshots: p-debounce: 4.0.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-dropzone: 14.2.10(react@18.3.1) react-hook-form: 7.53.1(react@18.3.1) react-i18next: 15.1.0(i18next@23.16.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-router-dom: 6.27.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -7581,10 +7569,6 @@ snapshots: dependencies: tslib: 2.8.0 - file-selector@1.1.0: - dependencies: - tslib: 2.8.0 - filing-cabinet@5.0.2: dependencies: app-module-path: 2.2.0