From 001a2d50c353bc0ec531808ad084236956a16106 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 07:58:16 +0000 Subject: [PATCH 1/2] chore(deps): bump react and @types/react in /ui Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `@types/react` from 18.3.12 to 19.0.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- ui/package.json | 4 ++-- ui/yarn.lock | 23 ++++++++++------------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/ui/package.json b/ui/package.json index 4487577e..d58087c1 100644 --- a/ui/package.json +++ b/ui/package.json @@ -30,7 +30,7 @@ "lodash": "^4.17.21", "mapbox-gl-style-switcher": "^1.0.11", "maplibre-gl": "4.7.1", - "react": "^18.3.1", + "react": "^19.0.0", "react-autocomplete-hint": "^2.0.0", "react-color": "^2.19.3", "react-dom": "^18.3.1", @@ -82,7 +82,7 @@ "@types/lodash": "^4.17.13", "@types/mapbox__mapbox-gl-draw": "~1.4.6", "@types/node": "^20.17.9", - "@types/react": "^18.3.12", + "@types/react": "^19.0.1", "@types/react-color": "^3.0.12", "@types/react-dom": "^18.3.1", "@types/react-html-parser": "^2", diff --git a/ui/yarn.lock b/ui/yarn.lock index cad3c873..2ffce60b 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -4713,13 +4713,12 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^18.3.12": - version: 18.3.12 - resolution: "@types/react@npm:18.3.12" +"@types/react@npm:^19.0.1": + version: 19.0.1 + resolution: "@types/react@npm:19.0.1" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10/c9bbdfeacd5347d2240e0d2cb5336bc57dbc1b9ff557b6c4024b49df83419e4955553518169d3736039f1b62608e15b35762a6c03d49bd86e33add4b43b19033 + checksum: 10/930dd4904047059c48ae64a90fc5e8078b5bac0a14c9d927917e5a07e88e4e5073ddc944cbde90a955f9f815c23b7112caea63e407bc423913073bedecb097aa languageName: node linkType: hard @@ -12178,12 +12177,10 @@ __metadata: languageName: node linkType: hard -"react@npm:^18.3.1": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10/261137d3f3993eaa2368a83110466fc0e558bc2c7f7ae7ca52d94f03aac945f45146bd85e5f481044db1758a1dbb57879e2fcdd33924e2dde1bdc550ce73f7bf +"react@npm:^19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10/2490969c503f644703c88990d20e4011fa6119ddeca451e9de48f6d7ab058d670d2852a5fcd3aa3cd90a923ab2815d532637bd4a814add402ae5c0d4f129ee71 languageName: node linkType: hard @@ -13135,7 +13132,7 @@ __metadata: "@types/lodash": "npm:^4.17.13" "@types/mapbox__mapbox-gl-draw": "npm:~1.4.6" "@types/node": "npm:^20.17.9" - "@types/react": "npm:^18.3.12" + "@types/react": "npm:^19.0.1" "@types/react-color": "npm:^3.0.12" "@types/react-dom": "npm:^18.3.1" "@types/react-html-parser": "npm:^2" @@ -13169,7 +13166,7 @@ __metadata: mapbox-gl-style-switcher: "npm:^1.0.11" maplibre-gl: "npm:4.7.1" prettier: "npm:^3.4.2" - react: "npm:^18.3.1" + react: "npm:^19.0.0" react-autocomplete-hint: "npm:^2.0.0" react-color: "npm:^2.19.3" react-dom: "npm:^18.3.1" From 36cf182a68acae01e7d69104d7aaf2082bf30dfc Mon Sep 17 00:00:00 2001 From: Daniel Aschwanden Date: Wed, 11 Dec 2024 09:06:17 +0100 Subject: [PATCH 2/2] chore: upgrade react-dom along react --- ui/package.json | 6 +++--- ui/yarn.lock | 45 +++++++++++++++++++++------------------------ 2 files changed, 24 insertions(+), 27 deletions(-) diff --git a/ui/package.json b/ui/package.json index d58087c1..915170c8 100644 --- a/ui/package.json +++ b/ui/package.json @@ -33,7 +33,7 @@ "react": "^19.0.0", "react-autocomplete-hint": "^2.0.0", "react-color": "^2.19.3", - "react-dom": "^18.3.1", + "react-dom": "^19.0.0", "react-html-parser": "^2.0.2", "react-i18next": "^15.1.4", "react-map-gl": "~7.1.7", @@ -82,9 +82,9 @@ "@types/lodash": "^4.17.13", "@types/mapbox__mapbox-gl-draw": "~1.4.6", "@types/node": "^20.17.9", - "@types/react": "^19.0.1", + "@types/react": "^19.0.0", "@types/react-color": "^3.0.12", - "@types/react-dom": "^18.3.1", + "@types/react-dom": "^19.0.0", "@types/react-html-parser": "^2", "@types/react-router-dom": "^5.3.3", "@types/semver": "^7.5.8", diff --git a/ui/yarn.lock b/ui/yarn.lock index 2ffce60b..99854ccd 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -4663,12 +4663,12 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.3.1": - version: 18.3.1 - resolution: "@types/react-dom@npm:18.3.1" - dependencies: - "@types/react": "npm:*" - checksum: 10/33f9ba79b26641ddf00a8699c30066b7e3573ab254e97475bf08f82fab83a6d3ce8d4ebad86afeb49bb8df3374390a9ba93125cece33badc4b3e8f7eac3c84d8 +"@types/react-dom@npm:^19.0.0": + version: 19.0.2 + resolution: "@types/react-dom@npm:19.0.2" + peerDependencies: + "@types/react": ^19.0.0 + checksum: 10/d2ae81ec0b8eee7a4bf31918796fdaa34e8db68f69682163bc212d759de76783e6ffcc02c02722dcf508429067148841e6da81414cc730ca2a28c9c2b350c880 languageName: node linkType: hard @@ -4713,7 +4713,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^19.0.1": +"@types/react@npm:^19.0.0": version: 19.0.1 resolution: "@types/react@npm:19.0.1" dependencies: @@ -10368,7 +10368,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -12050,15 +12050,14 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^18.3.1": - version: 18.3.1 - resolution: "react-dom@npm:18.3.1" +"react-dom@npm:^19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.2" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^18.3.1 - checksum: 10/3f4b73a3aa083091173b29812b10394dd06f4ac06aff410b74702cfb3aa29d7b0ced208aab92d5272919b612e5cda21aeb1d54191848cf6e46e9e354f3541f81 + react: ^19.0.0 + checksum: 10/aa64a2f1991042f516260e8b0eca0ae777b6c8f1aa2b5ae096e80bbb6ac9b005aef2bca697969841d34f7e1819556263476bdfea36c35092e8d9aefde3de2d9a languageName: node linkType: hard @@ -12818,12 +12817,10 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.2": - version: 0.23.2 - resolution: "scheduler@npm:0.23.2" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10/e8d68b89d18d5b028223edf090092846868a765a591944760942b77ea1f69b17235f7e956696efbb62c8130ab90af7e0949bfb8eba7896335507317236966bc9 +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: 10/e661e38503ab29a153429a99203fefa764f28b35c079719eb5efdd2c1c1086522f6653d8ffce388209682c23891a6d1d32fa6badf53c35fb5b9cd0c55ace42de languageName: node linkType: hard @@ -13132,9 +13129,9 @@ __metadata: "@types/lodash": "npm:^4.17.13" "@types/mapbox__mapbox-gl-draw": "npm:~1.4.6" "@types/node": "npm:^20.17.9" - "@types/react": "npm:^19.0.1" + "@types/react": "npm:^19.0.0" "@types/react-color": "npm:^3.0.12" - "@types/react-dom": "npm:^18.3.1" + "@types/react-dom": "npm:^19.0.0" "@types/react-html-parser": "npm:^2" "@types/react-router-dom": "npm:^5.3.3" "@types/semver": "npm:^7.5.8" @@ -13169,7 +13166,7 @@ __metadata: react: "npm:^19.0.0" react-autocomplete-hint: "npm:^2.0.0" react-color: "npm:^2.19.3" - react-dom: "npm:^18.3.1" + react-dom: "npm:^19.0.0" react-html-parser: "npm:^2.0.2" react-i18next: "npm:^15.1.4" react-map-gl: "npm:~7.1.7"