yuiseki / crisis-news-map-next

🗺 Source code of https://crisis.yuiseki.net/ . Web service that collects disaster-related news articles and displays them on a map.
https://crisis.yuiseki.net/
Do What The F*ck You Want To Public License
19 stars 3 forks source link

fix(deps): update dependency react-leaflet to v4 #76

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-leaflet (source) ^3.2.0 -> ^4.0.0 age adoption passing confidence

Release Notes

PaulLeCam/react-leaflet (react-leaflet) ### [`v4.2.1`](https://togithub.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v421-2023-02-28) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v4.2.0...v4.2.1) Fixed bounds update in `ImageOverlay` ([PR #​1063](https://togithub.com/PaulLeCam/react-leaflet/pull/1063) by [hwonyo](https://togithub.com/hwonyo)) ### [`v4.2.0`](https://togithub.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v420-2022-11-27) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v4.1.0...v4.2.0) Added support for mutable `url` prop on `TileLayer` ([PR #​1047](https://togithub.com/PaulLeCam/react-leaflet/pull/1047) by [goto-bus-stop](https://togithub.com/goto-bus-stop)) ### [`v4.1.0`](https://togithub.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v410-2022-09-24) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v4.0.2...v4.1.0) - Updated Leaflet dependency to v1.9. - Fixed `eventHandlers` object being injected in WMS request URL. - Added support for dynamic `bounds` props on `ImageOverlay`. ### [`v4.0.2`](https://togithub.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v402-2022-08-22) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v4.0.1...v4.0.2) - Fix typos in getting started docs ([PR #​1013](https://togithub.com/PaulLeCam/react-leaflet/pull/1013) by [jacobtylerwalls](https://togithub.com/jacobtylerwalls)) - Fixing useRef() usage in createElementHook to prevent unnecessary Leaflet object creation ([PR #​1014](https://togithub.com/PaulLeCam/react-leaflet/pull/1014) by [abac](https://togithub.com/abac)) ### [`v4.0.1`](https://togithub.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v401-2022-06-25) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v4.0.0...v4.0.1) Fix calling `map.remove()` on `MapContainer` unmounting. ### [`v4.0.0`](https://togithub.com/PaulLeCam/react-leaflet/blob/HEAD/CHANGELOG.md#v400-2022-04-18) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v3.2.5...v4.0.0) Changes from v3: ##### Breaking changes - React v18 and Leaflet v1.8 are now required as peer dependency. - ES2020 is the new compilation target version. - Removed `useMapElement` hook. - Removed `MapConsumer` component. - Removed `whenCreated` property from the `MapContainer` component (a `ref` callback can be used instead). - Removed `onOpen` and `onClose` properties from `Popup` and `Tooltip` components. - Removed CommonJS distribution. - Removed UMD distribution. ##### Other changes - Added support for React v18 (concurrent mode). - Added support for `ref` in the `MapContainer` and `Pane` components. - Added `createLeafletContext` function to core. - The created element and context objects are now frozen (immutable). ### [`v3.2.5`](https://togithub.com/PaulLeCam/react-leaflet/releases/tag/v3.2.5) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v3.2.4...v3.2.5) Fix supporting mutable `whenCreated` with unmounting `MapContainer`. ### [`v3.2.4`](https://togithub.com/PaulLeCam/react-leaflet/releases/tag/v3.2.4) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v3.2.3...v3.2.4) Fix removing the map handlers when `MapContainer` is unmounted. ### [`v3.2.3`](https://togithub.com/PaulLeCam/react-leaflet/releases/tag/v3.2.3) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v3.2.2...v3.2.3) - Fix tooltip position ([PR #​939](https://togithub.com/PaulLeCam/react-leaflet/pull/939) by [simonasdev](https://togithub.com/simonasdev)). - Fix attribution URLs and use HTTPS in docs ([PR #​930](https://togithub.com/PaulLeCam/react-leaflet/pull/930) by [jpstotz](https://togithub.com/jpstotz)). ### [`v3.2.2`](https://togithub.com/PaulLeCam/react-leaflet/releases/tag/v3.2.2) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v3.2.1...v3.2.2) Fix layer unmount ([PR #​916](https://togithub.com/PaulLeCam/react-leaflet/pull/916) by [piitaya](https://togithub.com/piitaya)). ### [`v3.2.1`](https://togithub.com/PaulLeCam/react-leaflet/releases/tag/v3.2.1) [Compare Source](https://togithub.com/PaulLeCam/react-leaflet/compare/v3.2.0...v3.2.1) - Fix `Popup` unmounting logic to unbind from container. - Fix links to point to Leaflet 1.7.1 docs ([PR #​889](https://togithub.com/PaulLeCam/react-leaflet/pull/889) by [zerekw](https://togithub.com/zerekw)).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 year ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: crisis-news-map-next@1.0.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.0.0" from react-leaflet@4.2.1
npm ERR! node_modules/react-leaflet
npm ERR!   react-leaflet@"^4.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2023-05-01T15_06_29_826Z-debug-0.log
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
crisis-news-map-next ❌ Failed (Inspect) May 1, 2023 3:06pm