From ad0b33c4d7d73ba4a7ee1b844b4f3702d7b7bdcd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 6 Sep 2024 18:15:10 +0000 Subject: [PATCH] chore(deps): update react monorepo to v18 --- example/package.json | 6 +++--- package-lock.json | 39 +++++++++++++++++---------------------- package.json | 6 +++--- 3 files changed, 23 insertions(+), 28 deletions(-) diff --git a/example/package.json b/example/package.json index 6ee98b3a..216d2a9a 100644 --- a/example/package.json +++ b/example/package.json @@ -16,10 +16,10 @@ "license": "ISC", "dependencies": { "@openedx/paragon": "22.7.0", - "react": "16.14.0", - "react-dom": "16.14.0" + "react": "18.3.1", + "react-dom": "18.3.1" }, "devDependencies": { - "react-test-renderer": "16.14.0" + "react-test-renderer": "18.3.1" } } diff --git a/package-lock.json b/package-lock.json index 1f3f8145..6454b831 100644 --- a/package-lock.json +++ b/package-lock.json @@ -83,11 +83,11 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.18.6", - "@types/react": "^17.0.0", - "@types/react-dom": "^17.0.11" + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0" }, "peerDependencies": { - "react": "^16.9.0 || ^17.0.0" + "react": "^16.9.0 || ^17.0.0 || ^18.0.0" } }, "node_modules/@ampproject/remapping": { @@ -3411,23 +3411,24 @@ "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==" }, "node_modules/@types/react": { - "version": "17.0.80", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.80.tgz", - "integrity": "sha512-LrgHIu2lEtIo8M7d1FcI3BdwXWoRQwMoXOZ7+dPTW0lYREjmlHl3P0U1VD0i/9tppOuv8/sam7sOjx34TxSFbA==", + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", + "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", "dev": true, + "license": "MIT", "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "^0.16", "csstype": "^3.0.2" } }, "node_modules/@types/react-dom": { - "version": "17.0.25", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.25.tgz", - "integrity": "sha512-urx7A7UxkZQmThYA4So0NelOVjx3V4rNFVJwp0WZlbIK5eM4rNJDiN3R/E9ix0MBh6kAEojk/9YL+Te6D9zHNA==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "dev": true, + "license": "MIT", "dependencies": { - "@types/react": "^17" + "@types/react": "*" } }, "node_modules/@types/retry": { @@ -3435,12 +3436,6 @@ "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==" }, - "node_modules/@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", - "dev": true - }, "node_modules/@types/semver": { "version": "7.5.8", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", @@ -11835,13 +11830,13 @@ } }, "node_modules/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", "peer": true, "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" }, "engines": { "node": ">=0.10.0" diff --git a/package.json b/package.json index 7a3eb643..29dfa17f 100644 --- a/package.json +++ b/package.json @@ -102,10 +102,10 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.18.6", - "@types/react": "^17.0.0", - "@types/react-dom": "^17.0.11" + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0" }, "peerDependencies": { - "react": "^16.9.0 || ^17.0.0" + "react": "^16.9.0 || ^17.0.0 || ^18.0.0" } }