From 1d33cb898c95f3db0e19f5e19ef299e6f2828cb5 Mon Sep 17 00:00:00 2001 From: Antti Lehto Date: Tue, 19 Apr 2022 10:30:46 +0300 Subject: [PATCH] feat: support react-leaflet v4 --- package-lock.json | 6 +++--- package.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index dc7f71d..f5ac742 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@marfle/react-leaflet-nmscale", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@marfle/react-leaflet-nmscale", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "devDependencies": { "@babel/cli": "^7.17.6", @@ -31,7 +31,7 @@ "typescript": "^4.6.3" }, "peerDependencies": { - "react-leaflet": "^3.0.0" + "react-leaflet": "^3.0.0 || ^4.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 4f1ed05..858a78a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@marfle/react-leaflet-nmscale", - "version": "2.0.0", + "version": "2.0.1", "description": "Nautical mile scale for react-leaflet", "main": "dist/nmscale.js", "module": "dist/esm/nmscale.js", @@ -25,9 +25,9 @@ "keywords": [ "react-leaflet", "react-leaflet-v3", + "react-leaflet-v4", "react", "leaflet", - "map", "nautical", "scale" ], @@ -41,7 +41,7 @@ "dist/*" ], "peerDependencies": { - "react-leaflet": "^3.0.0" + "react-leaflet": "^3.0.0 || ^4.0.0" }, "devDependencies": { "@babel/cli": "^7.17.6",