From 976da9a49f203a3d5062d9f327b1659b40ef821a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:13:50 +0800 Subject: [PATCH] chore(deps): update react monorepo to v19 (#884) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- packages/integrate-module/package.json | 8 +-- packages/integrate/package.json | 8 +-- pnpm-lock.yaml | 93 ++++++++++---------------- 4 files changed, 46 insertions(+), 65 deletions(-) diff --git a/package.json b/package.json index ace165fdd..9dbb043ab 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "lodash": "^4.17.21", "oxlint": "^0.14.0", "prettier": "^3.3.2", - "react": "^18.3.1", + "react": "^19.0.0", "rxjs": "^7.8.1", "sinon": "^19.0.0", "tslib": "^2.6.3", diff --git a/packages/integrate-module/package.json b/packages/integrate-module/package.json index 9a7a5dbbf..bc9567a17 100644 --- a/packages/integrate-module/package.json +++ b/packages/integrate-module/package.json @@ -11,13 +11,13 @@ "@napi-rs/simple-git": "^0.1.16", "@swc/core": "^1.6.6", "@swc-node/register": "workspace:*", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "esmock": "^2.6.6", "ipaddr.js": "^2.2.0", "postgres": "^3.4.4", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "simple-git": "^3.25.0", "typescript": "^5.5.3" } diff --git a/packages/integrate/package.json b/packages/integrate/package.json index d21897e73..5f57a8318 100644 --- a/packages/integrate/package.json +++ b/packages/integrate/package.json @@ -23,11 +23,11 @@ "@swc-node/core": "^1.13.1", "@swc-node/register": "workspace:*", "@types/jest": "^29.5.12", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "jest": "^29.7.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sinon": "^19.0.0", "typescript": "^5.5.3" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa1fc044f..bae95bfc3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: specifier: ^3.3.2 version: 3.3.3 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 rxjs: specifier: ^7.8.1 version: 7.8.1 @@ -120,20 +120,20 @@ importers: specifier: ^29.5.12 version: 29.5.14 '@types/react': - specifier: ^18.3.3 - version: 18.3.12 + specifier: ^19.0.0 + version: 19.0.0 '@types/react-dom': - specifier: ^18.3.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 jest: specifier: ^29.7.0 version: 29.7.0(@types/node@22.9.1) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sinon: specifier: ^19.0.0 version: 19.0.2 @@ -160,11 +160,11 @@ importers: specifier: ^1.6.6 version: 1.9.2(@swc/helpers@0.5.15) '@types/react': - specifier: ^18.3.3 - version: 18.3.12 + specifier: ^19.0.0 + version: 19.0.0 '@types/react-dom': - specifier: ^18.3.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 esmock: specifier: ^2.6.6 version: 2.6.9 @@ -175,11 +175,11 @@ importers: specifier: ^3.4.4 version: 3.4.5 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) simple-git: specifier: ^3.25.0 version: 3.27.0 @@ -1841,14 +1841,11 @@ packages: '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - '@types/prop-types@15.7.13': - resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} + '@types/react-dom@19.0.0': + resolution: {integrity: sha512-1KfiQKsH1o00p9m5ag12axHQSb3FOU9H20UTrujVSkNhuCrRHiQWFqgEnTNK5ZNfnzZv8UWrnXVqCmCF9fgY3w==} - '@types/react-dom@18.3.1': - resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==} - - '@types/react@18.3.12': - resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} + '@types/react@19.0.0': + resolution: {integrity: sha512-MY3oPudxvMYyesqs/kW1Bh8y9VqSmf+tzqw3ae8a9DZW68pUe3zAdHeI1jc6iAysuRdACnVknHP8AhwD4/dxtg==} '@types/sinon@17.0.3': resolution: {integrity: sha512-j3uovdn8ewky9kRBG19bOwaZbexJu/XjtkHyjvUgt4xfPFz18dcORIMqnYh66Fx3Powhcr85NT5+er3+oViapw==} @@ -3487,10 +3484,6 @@ packages: resolution: {integrity: sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==} engines: {node: '>=18'} - loose-envify@1.4.0: - resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true - lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} @@ -4125,16 +4118,16 @@ packages: randombytes@2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} peerDependencies: - react: ^18.3.1 + react: ^19.0.0 react-is@18.3.1: resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} read-cmd-shim@4.0.0: @@ -4272,8 +4265,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} schema-utils@3.3.0: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} @@ -6682,15 +6675,12 @@ snapshots: '@types/normalize-package-data@2.4.4': {} - '@types/prop-types@15.7.13': {} - - '@types/react-dom@18.3.1': + '@types/react-dom@19.0.0': dependencies: - '@types/react': 18.3.12 + '@types/react': 19.0.0 - '@types/react@18.3.12': + '@types/react@19.0.0': dependencies: - '@types/prop-types': 15.7.13 csstype: 3.1.3 '@types/sinon@17.0.3': @@ -8693,10 +8683,6 @@ snapshots: strip-ansi: 7.1.0 wrap-ansi: 9.0.0 - loose-envify@1.4.0: - dependencies: - js-tokens: 4.0.0 - lru-cache@10.4.3: {} lru-cache@5.1.1: @@ -9377,17 +9363,14 @@ snapshots: dependencies: safe-buffer: 5.2.1 - react-dom@18.3.1(react@18.3.1): + react-dom@19.0.0(react@19.0.0): dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 + react: 19.0.0 + scheduler: 0.25.0 react-is@18.3.1: {} - react@18.3.1: - dependencies: - loose-envify: 1.4.0 + react@19.0.0: {} read-cmd-shim@4.0.0: {} @@ -9530,9 +9513,7 @@ snapshots: safer-buffer@2.1.2: {} - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 + scheduler@0.25.0: {} schema-utils@3.3.0: dependencies: