visgl / react-map-gl

React friendly API wrapper around MapboxGL JS
http://visgl.github.io/react-map-gl/
Other
7.88k stars 1.35k forks source link

Modify peer dependency to avoid a 7.x breaking change #2231

Closed graue closed 5 days ago

graue commented 1 year ago

Previously, the 7.0 documentation suggested mapping "empty-npm-package@^1.0.0" to mapbox-gl when using react-map-gl with maplibre. In order to avoid a breaking change, this reverts the mapbox-gl peer dependency from ">=1.13.0" to ">=1.0.0" so that users who followed this advice can safely upgrade within the 7.x series, complying with semantic versioning. Fixes #2230.