From d9b34b2309adfed7300b1150e391f7766cabe888 Mon Sep 17 00:00:00 2001 From: Scott Feeney Date: Sun, 16 Jul 2023 22:15:38 -0700 Subject: [PATCH] Modify peer dependency to avoid a 7.x breaking change 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bc1c78964..16b5c87ee 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@types/mapbox-gl": ">=1.0.0" }, "peerDependencies": { - "mapbox-gl": ">=1.13.0", + "mapbox-gl": ">=1.0.0", "maplibre-gl": ">=1.13.0", "react": ">=16.3.0", "react-dom": ">=16.3.0"