From d4400298be2c7ec768082cc7ad6fb56226baf9b4 Mon Sep 17 00:00:00 2001 From: Danny Koppenhagen Date: Wed, 6 Mar 2024 20:58:47 +0100 Subject: [PATCH] chore: update to OpenLayers@v9 BREAKING CHANGE: a peerDependency of `ol@^9.0.0` and `ol-ext@^4.0.15` is now required --- README.md | 4 ++-- docs/get-started.md | 4 ++-- package-lock.json | 18 +++++++++--------- package.json | 6 +++--- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 7a1cecae..eef7d240 100644 --- a/README.md +++ b/README.md @@ -51,9 +51,9 @@ It can display maps with tiled, raster or vector layers loaded from different so -- **[ol](https://github.com/openlayers/openlayers)**: `^8.2.0` +- **[ol](https://github.com/openlayers/openlayers)**: `^9.0.0` - **[ol-contextmenu](https://github.com/jonataswalker/ol-contextmenu)**: `^5.3.0` -- **[ol-ext](https://github.com/Viglino/ol-ext)**: `^4.0.13` +- **[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 072cef0e..4cfdaf30 100644 --- a/docs/get-started.md +++ b/docs/get-started.md @@ -4,9 +4,9 @@ vue3-openlayers works with the following versions which must be installed as pee -- **[ol](https://github.com/openlayers/openlayers)**: `^8.2.0` +- **[ol](https://github.com/openlayers/openlayers)**: `^9.0.0` - **[ol-contextmenu](https://github.com/jonataswalker/ol-contextmenu)**: `^5.3.0` -- **[ol-ext](https://github.com/Viglino/ol-ext)**: `^4.0.13` +- **[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 875b84a3..57f60e74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@turf/helpers": "^6.5.0", "file-saver": "^2.0.5", "jspdf": "^2.5.1", - "ol": "^8.2.0", + "ol": "^9.0.0", "ol-contextmenu": "^5.3.0", "ol-ext": "^4.0.15", "proj4": "^2.10.0", @@ -51,9 +51,9 @@ "node": ">=18.0.0" }, "peerDependencies": { - "ol": "^8.2.0", + "ol": "^9.0.0", "ol-contextmenu": "^5.3.0", - "ol-ext": "^4.0.13", + "ol-ext": "^4.0.15", "vue": "^3.0.0" } }, @@ -8523,9 +8523,9 @@ } }, "node_modules/ol": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/ol/-/ol-8.2.0.tgz", - "integrity": "sha512-/m1ddd7Jsp4Kbg+l7+ozR5aKHAZNQOBAoNZ5pM9Jvh4Etkf0WGkXr9qXd7PnhmwiC1Hnc2Toz9XjCzBBvexfXw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/ol/-/ol-9.0.0.tgz", + "integrity": "sha512-+nYHZYbHrRUTDJ8ryxXPdDoAiaT6Zea02cocmGqsJXs4Oac1fYC9EbTIU2Y7803QcmG3u2MR88RxbksBvK+ZfQ==", "dependencies": { "color-rgba": "^3.0.0", "color-space": "^2.0.1", @@ -18100,9 +18100,9 @@ } }, "ol": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/ol/-/ol-8.2.0.tgz", - "integrity": "sha512-/m1ddd7Jsp4Kbg+l7+ozR5aKHAZNQOBAoNZ5pM9Jvh4Etkf0WGkXr9qXd7PnhmwiC1Hnc2Toz9XjCzBBvexfXw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/ol/-/ol-9.0.0.tgz", + "integrity": "sha512-+nYHZYbHrRUTDJ8ryxXPdDoAiaT6Zea02cocmGqsJXs4Oac1fYC9EbTIU2Y7803QcmG3u2MR88RxbksBvK+ZfQ==", "requires": { "color-rgba": "^3.0.0", "color-space": "^2.0.1", diff --git a/package.json b/package.json index 55e45566..7507013b 100644 --- a/package.json +++ b/package.json @@ -75,15 +75,15 @@ "file-saver": "^2.0.5", "jspdf": "^2.5.1", "proj4": "^2.10.0", - "ol": "^8.2.0", + "ol": "^9.0.0", "ol-contextmenu": "^5.3.0", "ol-ext": "^4.0.15", "vue": "^3.4.21" }, "peerDependencies": { - "ol": "^8.2.0", + "ol": "^9.0.0", "ol-contextmenu": "^5.3.0", - "ol-ext": "^4.0.13", + "ol-ext": "^4.0.15", "vue": "^3.0.0" }, "browserslist": [