diff --git a/package.json b/package.json index 7383b01..3f2be75 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^12.1.0", "@types/jest": "^29.0.0", - "@types/react": "^19.0.2", - "@types/react-dom": "^19.0.2", + "@types/react": "^18.2.7 || ^19.0.2", + "@types/react-dom": "^18.2.4 || ^19.0.2", "@types/uuid": "^10.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.0.0", @@ -72,8 +72,8 @@ "jest-environment-jsdom": "^29.5.0", "markdown-toc": "^1.2.0", "prettier": "3.4.2", - "react": "^19.0.0", - "react-dom": "^19.0.0", + "react": "^18.2.0 || ^19.0.0", + "react-dom": "^18.2.0 || ^19.0.0", "rollup": "^4.0.2", "ts-jest": "^29.0.0", "typescript": "^5.2.0"