diff --git a/package-lock.json b/package-lock.json index 698e64648..1bbb7b905 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1226,12 +1226,13 @@ } }, "node_modules/@types/react-dom": { - "version": "16.9.24", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.24.tgz", - "integrity": "sha512-Gcmq2JTDheyWn/1eteqyzzWKSqDjYU6KYsIvH7thb7CR5OYInAWOX+7WnKf6PaU/cbdOc4szJItcDEJO7UGmfA==", + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.1.tgz", + "integrity": "sha512-hljHij7MpWPKF6u5vojuyfV0YA4YURsQG7KT6SzV0Zs2BXAtgdTxG6A229Ub/xiWV4w/7JL8fi6aAyjshH4meA==", "dev": true, + "license": "MIT", "dependencies": { - "@types/react": "^16" + "@types/react": "*" } }, "node_modules/@types/scheduler": { @@ -5149,8 +5150,8 @@ "lodash.isequal": "^4.5.0" }, "devDependencies": { - "@types/react": "^16.9.1", - "@types/react-dom": "^16.9.17", + "@types/react": "^16.9.1 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "@types/react-dom": "^16.9.17 || ^17.0.0 || ^18.0.0 || ^19.0.0", "esbuild": "^0.16.13", "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "typescript": "^4.9.4" @@ -5924,16 +5925,6 @@ "csstype": "^3.0.2" } }, - "playgrounds/react/node_modules/@types/react-dom": { - "version": "19.0.1", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.1.tgz", - "integrity": "sha512-hljHij7MpWPKF6u5vojuyfV0YA4YURsQG7KT6SzV0Zs2BXAtgdTxG6A229Ub/xiWV4w/7JL8fi6aAyjshH4meA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "*" - } - }, "playgrounds/react/node_modules/react": { "version": "19.0.0", "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", diff --git a/packages/react/package.json b/packages/react/package.json index 83ab795fd..daf88bff5 100755 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -49,8 +49,8 @@ "prepublishOnly": "npm run build" }, "devDependencies": { - "@types/react": "^16.9.1", - "@types/react-dom": "^16.9.17", + "@types/react": "^16.9.1 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "@types/react-dom": "^16.9.17 || ^17.0.0 || ^18.0.0 || ^19.0.0", "esbuild": "^0.16.13", "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "typescript": "^4.9.4"