From b003a679eff15c07681967b9d3e095ab63f5e481 Mon Sep 17 00:00:00 2001 From: matttdawson <89495499+matttdawson@users.noreply.github.com> Date: Fri, 26 May 2023 15:02:58 +1200 Subject: [PATCH] fix: react prop lib version issues (#309) --- package-lock.json | 19 +++++-------------- package.json | 2 +- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 90a6a7d2..273ca0c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,7 @@ "@types/lodash-es": "^4.17.7", "@types/node": "^20.2.3", "@types/react": "^17.0.59", - "@types/react-dom": "^18.2.4", + "@types/react-dom": "^17.0.20", "@types/uuid": "^9.0.1", "@typescript-eslint/parser": "^5.59.7", "babel-jest": "^29.5.0", @@ -14077,15 +14077,6 @@ "node": ">=12" } }, - "node_modules/@testing-library/react/node_modules/@types/react-dom": { - "version": "17.0.20", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.20.tgz", - "integrity": "sha512-4pzIjSxDueZZ90F52mU3aPoogkHIoSIDG+oQ+wQK7Cy2B9S+MvOqY0uEA/qawKz381qrEDkvpwyt8Bm31I8sbA==", - "dev": true, - "dependencies": { - "@types/react": "^17" - } - }, "node_modules/@testing-library/react/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -14753,12 +14744,12 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.4.tgz", - "integrity": "sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==", + "version": "17.0.20", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.20.tgz", + "integrity": "sha512-4pzIjSxDueZZ90F52mU3aPoogkHIoSIDG+oQ+wQK7Cy2B9S+MvOqY0uEA/qawKz381qrEDkvpwyt8Bm31I8sbA==", "dev": true, "dependencies": { - "@types/react": "*" + "@types/react": "^17" } }, "node_modules/@types/react-transition-group": { diff --git a/package.json b/package.json index 13cddc2f..f8bd157a 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "@types/lodash-es": "^4.17.7", "@types/node": "^20.2.3", "@types/react": "^17.0.59", - "@types/react-dom": "^18.2.4", + "@types/react-dom": "^17.0.20", "@types/uuid": "^9.0.1", "@typescript-eslint/parser": "^5.59.7", "babel-jest": "^29.5.0",