From c9b785832ce02dce0bd4a448235ff51f1d58003b Mon Sep 17 00:00:00 2001 From: Christoph Friedrich Date: Wed, 13 Mar 2024 16:28:41 +0100 Subject: [PATCH] fix: upgrade ol-contextmenu to v5.4.0 (#311) --- README.md | 2 +- docs/get-started.md | 2 +- package-lock.json | 18 +++++++++--------- package.json | 9 ++------- 4 files changed, 13 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index eef7d240..d3e987a8 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ It can display maps with tiled, raster or vector layers loaded from different so - **[ol](https://github.com/openlayers/openlayers)**: `^9.0.0` -- **[ol-contextmenu](https://github.com/jonataswalker/ol-contextmenu)**: `^5.3.0` +- **[ol-contextmenu](https://github.com/jonataswalker/ol-contextmenu)**: `^5.4.0` - **[ol-ext](https://github.com/Viglino/ol-ext)**: `^4.0.15` - **[vue](https://github.com/vuejs/core)**: `^3.0.0` diff --git a/docs/get-started.md b/docs/get-started.md index 4cfdaf30..92c6ad64 100644 --- a/docs/get-started.md +++ b/docs/get-started.md @@ -5,7 +5,7 @@ vue3-openlayers works with the following versions which must be installed as pee - **[ol](https://github.com/openlayers/openlayers)**: `^9.0.0` -- **[ol-contextmenu](https://github.com/jonataswalker/ol-contextmenu)**: `^5.3.0` +- **[ol-contextmenu](https://github.com/jonataswalker/ol-contextmenu)**: `^5.4.0` - **[ol-ext](https://github.com/Viglino/ol-ext)**: `^4.0.15` - **[vue](https://github.com/vuejs/core)**: `^3.0.0` diff --git a/package-lock.json b/package-lock.json index b22628c4..5a453b21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "file-saver": "^2.0.5", "jspdf": "^2.5.1", "ol": "^9.0.0", - "ol-contextmenu": "^5.3.0", + "ol-contextmenu": "^5.4.0", "ol-ext": "^4.0.15", "proj4": "^2.10.0", "vue": "^3.4.21" @@ -52,7 +52,7 @@ }, "peerDependencies": { "ol": "^9.0.0", - "ol-contextmenu": "^5.3.0", + "ol-contextmenu": "^5.4.0", "ol-ext": "^4.0.15", "vue": "^3.0.0" } @@ -8507,9 +8507,9 @@ } }, "node_modules/ol-contextmenu": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ol-contextmenu/-/ol-contextmenu-5.3.0.tgz", - "integrity": "sha512-AO9rGKaQpLAzqpEva7mukhkWrGkL/o1s8tXPsYuYBGMoiTBbXffgTikXjTmq1m7l3gDwXWWWi6R2ROda5lgXNw==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/ol-contextmenu/-/ol-contextmenu-5.4.0.tgz", + "integrity": "sha512-F2cIwCToMAYsddnrcRvCnWAH4bp9n9LNHrDTqU3mDJMiNUw1RB4Ovz5b2FwxasLpymtkzV8ME39u+mP3IvpT6g==", "dependencies": { "tiny-emitter": "^2.1.0" }, @@ -8518,7 +8518,7 @@ "npm": ">=8" }, "peerDependencies": { - "ol": "> 7.x <= 8.x" + "ol": "> 7.x <= 9.x" } }, "node_modules/ol-ext": { @@ -18028,9 +18028,9 @@ } }, "ol-contextmenu": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ol-contextmenu/-/ol-contextmenu-5.3.0.tgz", - "integrity": "sha512-AO9rGKaQpLAzqpEva7mukhkWrGkL/o1s8tXPsYuYBGMoiTBbXffgTikXjTmq1m7l3gDwXWWWi6R2ROda5lgXNw==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/ol-contextmenu/-/ol-contextmenu-5.4.0.tgz", + "integrity": "sha512-F2cIwCToMAYsddnrcRvCnWAH4bp9n9LNHrDTqU3mDJMiNUw1RB4Ovz5b2FwxasLpymtkzV8ME39u+mP3IvpT6g==", "requires": { "tiny-emitter": "^2.1.0" } diff --git a/package.json b/package.json index 3be88e49..e1e38383 100644 --- a/package.json +++ b/package.json @@ -76,13 +76,13 @@ "jspdf": "^2.5.1", "proj4": "^2.10.0", "ol": "^9.0.0", - "ol-contextmenu": "^5.3.0", + "ol-contextmenu": "^5.4.0", "ol-ext": "^4.0.15", "vue": "^3.4.21" }, "peerDependencies": { "ol": "^9.0.0", - "ol-contextmenu": "^5.3.0", + "ol-contextmenu": "^5.4.0", "ol-ext": "^4.0.15", "vue": "^3.0.0" }, @@ -118,10 +118,5 @@ "vite-plugin-dts": "^3.7.3", "vitepress": "1.0.0-rc.45", "vitest": "1.3.1" - }, - "overrides": { - "ol-contextmenu": { - "ol": "^9.x" - } } }