From 840fc982c465d9fd43dd3ec6ea716ffc142b3a47 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sun, 22 Dec 2024 16:53:45 +0100 Subject: [PATCH] Fixed comp problems --- admin/src/components/IconButton.tsx | 2 +- pnpm-lock.yaml | 28 ++++++++++++++-------------- src/package.json | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/admin/src/components/IconButton.tsx b/admin/src/components/IconButton.tsx index e91f3e914a62..876a557795f2 100644 --- a/admin/src/components/IconButton.tsx +++ b/admin/src/components/IconButton.tsx @@ -1,4 +1,4 @@ -import {FC, ReactElement} from "react"; +import {FC, JSX, ReactElement} from "react"; export type IconButtonProps = { icon: JSX.Element, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f047f77246c..8526027eb5c5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -286,8 +286,8 @@ importers: specifier: ^3.2.24 version: 3.2.24 '@types/express': - specifier: ^5.0.0 - version: 5.0.0 + specifier: ^4.17.21 + version: 4.17.21 '@types/formidable': specifier: ^3.4.5 version: 3.4.5 @@ -1744,11 +1744,11 @@ packages: '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} - '@types/express-serve-static-core@5.0.2': - resolution: {integrity: sha512-vluaspfvWEtE4vcSDlKRNer52DvOGrB2xv6diXy6UKyKW0lqZiWHGNApSyxOv+8DE5Z27IzVvE7hNkxg7EXIcg==} + '@types/express-serve-static-core@4.19.6': + resolution: {integrity: sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==} - '@types/express@5.0.0': - resolution: {integrity: sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==} + '@types/express@4.17.21': + resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} '@types/formidable@3.4.5': resolution: {integrity: sha512-s7YPsNVfnsng5L8sKnG/Gbb2tiwwJTY1conOkJzTMRvJAlLFW1nEua+ADsJQu8N1c0oTHx9+d5nqg10WuT9gHQ==} @@ -6263,7 +6263,7 @@ snapshots: '@types/cookies@0.9.0': dependencies: '@types/connect': 3.4.38 - '@types/express': 5.0.0 + '@types/express': 4.17.21 '@types/keygrip': 1.0.6 '@types/node': 22.10.2 @@ -6277,17 +6277,17 @@ snapshots: '@types/estree@1.0.6': {} - '@types/express-serve-static-core@5.0.2': + '@types/express-serve-static-core@4.19.6': dependencies: '@types/node': 22.10.2 '@types/qs': 6.9.15 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 - '@types/express@5.0.0': + '@types/express@4.17.21': dependencies: '@types/body-parser': 1.19.5 - '@types/express-serve-static-core': 5.0.2 + '@types/express-serve-static-core': 4.19.6 '@types/qs': 6.9.15 '@types/serve-static': 1.15.7 @@ -6431,7 +6431,7 @@ snapshots: '@types/swagger-ui-express@4.1.7': dependencies: - '@types/express': 5.0.0 + '@types/express': 4.17.21 '@types/serve-static': 1.15.7 '@types/tar@6.1.13': @@ -7559,7 +7559,7 @@ snapshots: debug: 4.3.7(supports-color@8.1.1) enhanced-resolve: 5.17.0 eslint: 9.17.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.17.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1)(eslint@9.17.0))(eslint@9.17.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1)(eslint@9.17.0) fast-glob: 3.3.2 get-tsconfig: 4.7.6 @@ -7571,7 +7571,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.17.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1)(eslint@9.17.0))(eslint@9.17.0): dependencies: debug: 3.2.7 optionalDependencies: @@ -7610,7 +7610,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.17.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1)(eslint@9.17.0))(eslint@9.17.0) hasown: 2.0.2 is-core-module: 2.15.0 is-glob: 4.0.3 diff --git a/src/package.json b/src/package.json index d11fa69fa577..37e8e50359f6 100644 --- a/src/package.json +++ b/src/package.json @@ -84,7 +84,7 @@ "devDependencies": { "@playwright/test": "^1.49.1", "@types/async": "^3.2.24", - "@types/express": "^5.0.0", + "@types/express": "^4.17.21", "@types/formidable": "^3.4.5", "@types/http-errors": "^2.0.4", "@types/jquery": "^3.5.32",