From 7c3ce4602a1250d6add40e501160d2c522478056 Mon Sep 17 00:00:00 2001 From: Andreas Schmitz Date: Wed, 6 Sep 2023 09:51:44 +0200 Subject: [PATCH] fix: fix ol dependency --- package-lock.json | 4 ++-- package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8142f490..fee019b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,7 @@ "license": "BSD-2-Clause", "dependencies": { "@terrestris/base-util": "^1.0.1", - "lodash": "^4.17.21", - "ol": "^8.0.0" + "lodash": "^4.17.21" }, "devDependencies": { "@babel/core": "^7.14.0", @@ -57,6 +56,7 @@ "whatwg-fetch": "^3.6.18" }, "peerDependencies": { + "ol": ">=7", "react": ">=17", "react-dom": ">=17" } diff --git a/package.json b/package.json index d37dde0c..c06e9a20 100644 --- a/package.json +++ b/package.json @@ -36,12 +36,12 @@ "homepage": "https://github.com/terrestris/react-util#readme", "peerDependencies": { "react": ">=17", - "react-dom": ">=17" + "react-dom": ">=17", + "ol": ">=7" }, "dependencies": { "@terrestris/base-util": "^1.0.1", - "lodash": "^4.17.21", - "ol": "^8.0.0" + "lodash": "^4.17.21" }, "devDependencies": { "@babel/core": "^7.14.0",