Skip to content

fix(deps): update react-map-gl for MapLibre GL 6 - #1375

Open
nikolya-prodigy wants to merge 1 commit into
meshtastic:mainfrom
nikolya-prodigy:fix/react-map-gl-maplibre-6
Open

fix(deps): update react-map-gl for MapLibre GL 6#1375
nikolya-prodigy wants to merge 1 commit into
meshtastic:mainfrom
nikolya-prodigy:fix/react-map-gl-maplibre-6

Conversation

@nikolya-prodigy

@nikolya-prodigy nikolya-prodigy commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • bump react-map-gl from 8.1.1 to 8.1.2
  • update the pnpm lockfile
  • restore compatibility with maplibre-gl 6.0.0

Problem

After maplibre-gl was updated to 6.0.0 in #1353, opening the map can throw:

TypeError: Cannot read properties of undefined (reading "center")
    at transformToViewState
    at Maplibre._onCameraEvent

This is the compatibility issue reported in visgl/react-map-gl#2597. The fix was published in react-map-gl 8.1.2.

Testing

  • pnpm --dir apps/web run build
  • manually verified that the map page opens and renders after the update

Summary by CodeRabbit

  • Chores
    • Updated the map rendering component to the latest patch release for improved stability and compatibility.

@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

@nikolya-prodigy is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant

CLAassistant commented Aug 1, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 876b9cdb-03b1-47bb-9e6b-36483dddd03f

📥 Commits

Reviewing files that changed from the base of the PR and between 9a47442 and d2cf940.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • apps/web/package.json

📝 Walkthrough

Walkthrough

The web application updates its react-map-gl dependency from 8.1.1 to 8.1.2.

Changes

Web dependency update

Layer / File(s) Summary
Update react-map-gl version
apps/web/package.json
The manifest changes react-map-gl from 8.1.1 to 8.1.2.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested labels: dependencies, javascript

Suggested reviewers: vidplace7

Poem

A rabbit checks the map with care,
A newer package hops in there.
From eight-one-one to eight-one-two,
One tiny change, neat and true.
The web now greets the update too.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the dependency update and its purpose: restoring MapLibre GL 6 compatibility.
Description check ✅ Passed The description explains the problem, lists the dependency and lockfile changes, and documents build and manual testing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants