From e64242c81aeb15ce7b9c924515fa0eecee736444 Mon Sep 17 00:00:00 2001 From: Benedikt Schniepp Date: Mon, 23 Dec 2024 12:03:02 +0000 Subject: [PATCH] Update react --- app/components/forms.tsx | 2 +- package-lock.json | 30 ++++++++++-------------------- package.json | 4 ++-- 3 files changed, 13 insertions(+), 23 deletions(-) diff --git a/app/components/forms.tsx b/app/components/forms.tsx index c0c5492..bd6fd75 100644 --- a/app/components/forms.tsx +++ b/app/components/forms.tsx @@ -125,7 +125,7 @@ export function CheckboxField({ errors, className, }: { - labelProps: JSX.IntrinsicElements["label"]; + labelProps: React.ComponentProps<"label">; buttonProps: CheckboxProps & { name: string; form: string; diff --git a/package-lock.json b/package-lock.json index 38b06bf..0be84c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,8 +39,8 @@ "@testing-library/jest-dom": "^6.6.3", "@types/bcryptjs": "^2.4.5", "@types/node": "^22.10.1", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^2.1.8", "autoprefixer": "^10.4.19", @@ -3877,32 +3877,22 @@ "undici-types": "~6.20.0" } }, - "node_modules/@types/prop-types": { - "version": "15.7.14", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", - "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/react": { - "version": "18.3.14", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.14.tgz", - "integrity": "sha512-NzahNKvjNhVjuPBQ+2G7WlxstQ+47kXZNHlUvFakDViuIEfGY926GqhMueQFZ7woG+sPiQKlF36XfrIUVSUfFg==", + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.2.tgz", + "integrity": "sha512-USU8ZI/xyKJwFTpjSVIrSeHBVAGagkHQKPNbxeWwql/vDmnTIBgx+TJnhFnj1NXgz8XfprU0egV2dROLGpsBEg==", "dev": true, - "license": "MIT", "dependencies": { - "@types/prop-types": "*", "csstype": "^3.0.2" } }, "node_modules/@types/react-dom": { - "version": "18.3.2", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.2.tgz", - "integrity": "sha512-Fqp+rcvem9wEnGr3RY8dYNvSQ8PoLqjZ9HLgaPUOjJJD120uDyOxOjc/39M4Kddp9JQCxpGQbnhVQF0C0ncYVg==", + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.2.tgz", + "integrity": "sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==", "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "^18" + "peerDependencies": { + "@types/react": "^19.0.0" } }, "node_modules/@types/sinonjs__fake-timers": { diff --git a/package.json b/package.json index 3ed4981..a79d68e 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,8 @@ "@testing-library/jest-dom": "^6.6.3", "@types/bcryptjs": "^2.4.5", "@types/node": "^22.10.1", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^2.1.8", "autoprefixer": "^10.4.19",