From 05fd922797090c972826b11b9402bb434b34465b Mon Sep 17 00:00:00 2001 From: Alexander Alemayhu Date: Fri, 27 Dec 2024 04:57:58 +0100 Subject: [PATCH] Revert "chore(deps): bump react-dom and @types/react-dom" This reverts commit eca4532d06372eb3c3d0af1166bc598da221c4c4. --- package-lock.json | 45 +++++++++++++++++++++------------------------ package.json | 4 ++-- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index da364fc..a6953fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,7 +56,7 @@ "react-confetti": "^6.1.0", "react-cookie": "^7.2.1", "react-dev-utils": "^12.0.1", - "react-dom": "^19.0.0", + "react-dom": "^18.3.1", "react-query": "^3.39.3", "react-redux": "^9.2.0", "react-refresh": "^0.11.0", @@ -86,7 +86,7 @@ "@types/lodash": "^4.17.0", "@types/node": "^20.4.2", "@types/react": "^18.3.12", - "@types/react-dom": "^19.0.2", + "@types/react-dom": "^18.3.1", "@types/react-router-dom": "^5.3.3", "@types/styled-components": "^5.1.34", "@typescript-eslint/parser": "^8.16.0", @@ -4966,15 +4966,6 @@ } } }, - "node_modules/@testing-library/react/node_modules/@types/react-dom": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.5.tgz", - "integrity": "sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==", - "dev": true, - "peerDependencies": { - "@types/react": "^18.0.0" - } - }, "node_modules/@tootallnate/once": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", @@ -5334,12 +5325,13 @@ } }, "node_modules/@types/react-dom": { - "version": "19.0.2", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.2.tgz", - "integrity": "sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==", "dev": true, - "peerDependencies": { - "@types/react": "^19.0.0" + "license": "MIT", + "dependencies": { + "@types/react": "*" } }, "node_modules/@types/react-query": { @@ -15821,14 +15813,16 @@ } }, "node_modules/react-dom": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", - "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", "dependencies": { - "scheduler": "^0.25.0" + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^19.0.0" + "react": "^18.3.1" } }, "node_modules/react-error-boundary": { @@ -16506,9 +16500,12 @@ } }, "node_modules/scheduler": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", - "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==" + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "dependencies": { + "loose-envify": "^1.1.0" + } }, "node_modules/schema-utils": { "version": "3.3.0", diff --git a/package.json b/package.json index c23800a..1bbd009 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "react-confetti": "^6.1.0", "react-cookie": "^7.2.1", "react-dev-utils": "^12.0.1", - "react-dom": "^19.0.0", + "react-dom": "^18.3.1", "react-query": "^3.39.3", "react-redux": "^9.2.0", "react-refresh": "^0.11.0", @@ -119,7 +119,7 @@ "@types/lodash": "^4.17.0", "@types/node": "^20.4.2", "@types/react": "^18.3.12", - "@types/react-dom": "^19.0.2", + "@types/react-dom": "^18.3.1", "@types/react-router-dom": "^5.3.3", "@types/styled-components": "^5.1.34", "@typescript-eslint/parser": "^8.16.0",