From f8d5661de58ac4f220d6acb2d7911493b318e4ed Mon Sep 17 00:00:00 2001 From: Peter <49501366+ZeroIntensity@users.noreply.github.com> Date: Mon, 3 Jun 2024 08:12:57 -0400 Subject: [PATCH 1/2] Bump to React 18 --- src/js/packages/@reactpy/client/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/packages/@reactpy/client/package.json b/src/js/packages/@reactpy/client/package.json index ab4bd34ad..cd33e6ff8 100644 --- a/src/js/packages/@reactpy/client/package.json +++ b/src/js/packages/@reactpy/client/package.json @@ -13,13 +13,13 @@ }, "devDependencies": { "@types/json-pointer": "^1.0.31", - "@types/react": "^17.0", - "@types/react-dom": "^17.0", + "@types/react": "^18.0", + "@types/react-dom": "^18.0", "typescript": "^4.9.5" }, "peerDependencies": { - "react": ">=16 <18", - "react-dom": ">=16 <18" + "react": ">=16 <=18", + "react-dom": ">=16 <=18" }, "repository": { "type": "git", From 2f5d4a45af706fe3a5af89a3628045c6650c3fd1 Mon Sep 17 00:00:00 2001 From: Peter <49501366+ZeroIntensity@users.noreply.github.com> Date: Wed, 5 Jun 2024 08:28:18 -0400 Subject: [PATCH 2/2] Update package-lock.json --- src/js/package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/js/package-lock.json b/src/js/package-lock.json index 91b7f302c..6bc55c3a0 100644 --- a/src/js/package-lock.json +++ b/src/js/package-lock.json @@ -25,8 +25,8 @@ "preact": "^10.7.0" }, "devDependencies": { - "@types/react": "^17.0", - "@types/react-dom": "^17.0", + "@types/react": "^18.0", + "@types/react-dom": "^18.0", "typescript": "^4.9.5", "vite": "^3.2.8" } @@ -40,8 +40,8 @@ "json-pointer": "^0.6.2" }, "peerDependencies": { - "react": ">=16 <18", - "react-dom": ">=16 <18" + "react": ">=16 <=18", + "react-dom": ">=16 <=18" } }, "app/node_modules/typescript": { @@ -65,8 +65,8 @@ "preact": "^10.7.0" }, "devDependencies": { - "@types/react": "^17.0", - "@types/react-dom": "^17.0", + "@types/react": "^18.0", + "@types/react-dom": "^18.0", "prettier": "^3.0.0-alpha.6", "typescript": "^4.9.5", "vite": "^3.1.8" @@ -267,7 +267,7 @@ "integrity": "sha512-PiYG40pnQRdPHnlf7tZnp0aQ6q9tspYr72vD61saO6zFCybLfMqwUCN0va1/P+86DXn18ZWeW30Bk7xlC5eEAQ==", "dev": true, "dependencies": { - "@types/react": "^17" + "@types/react": "^18" } }, "node_modules/@types/scheduler": {