mirror of
https://github.com/maputnik/editor.git
synced 2026-08-01 18:57:26 +00:00
chore(deps): Bump ol from 10.9.0 to 10.10.0 (#2052)
Bumps [ol](https://github.com/openlayers/openlayers) from 10.9.0 to 10.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/openlayers/openlayers/releases">ol's releases</a>.</em></p> <blockquote> <h2>v10.10.0</h2> <h1>10.10.0</h1> <p>The 10.10 release brings improvements throughout the library — from tile and vector rendering to sources, formats and interactions. The highlights are</p> <ul> <li>Text support in the WebGL vector renderers, plus stale tile handling for WebGL tile layers</li> <li>Smoother tile rendering: instead of clipping and redrawing full tiles, only the remainders of lower zoom levels are drawn</li> <li>WMTS and OGC tile grids now honor the advertised tile matrix set limits, so no tiles are requested outside a layer's data extent</li> <li>GeoZarr gains selection of non-spatial dimensions, e.g. for time series</li> <li>Text along lines honors <code>offsetX</code> and is split into graphemes, so ligatures are no longer cut apart</li> <li>Fixes for the Modify interaction's tracing, vector tile resolutions, decluttering z-index order, and text rendering of long lines</li> </ul> <h2>Upgrade notes</h2> <h3>Usage of Intl.Segmenter</h3> <p>TextPath now relies on <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter">Intl.Segmenter</a>. For support of very old browsers (e.g. Firefox before version 125), a polyfill is available: <a href="https://formatjs.github.io/docs/polyfills/intl-segmenter/">https://formatjs.github.io/docs/polyfills/intl-segmenter/</a>.</p> <h3>Deprecation of <code>ol/source/BingMaps</code></h3> <p>Bing Maps for Enterprise is being retired on June 30th, 2028. The <code>BingMaps</code> source has been deprecated. Use <code>ol/source/ImageTile</code> with the Azure Maps tile API instead. See the <a href="https://openlayers.org/en/latest/examples/azure-maps.html">azure-maps example</a> for guidance.</p> <pre lang="js"><code>// Before new BingMaps({ key: 'YOUR_BING_MAPS_KEY', imagerySet: 'RoadOnDemand', }) <p>// After<br /> new ImageTile({<br /> url: <code>https://atlas.microsoft.com/map/tile?subscription-key=YOUR_AZURE_MAPS_KEY&amp;api-version=2.0&amp;tilesetId=microsoft.base.road&amp;zoom={z}&amp;x={x}&amp;y={y}&amp;tileSize=256</code>,<br /> attributions: <code>© ${new Date().getFullYear()} TomTom, Microsoft</code>,<br /> })<br /> </code></pre></p> <h3><code>createFromCapabilitiesMatrixSet</code> now respects <code>TileMatrixSetLimits</code></h3> <p>When a <code>matrixLimits</code> array is passed to <code>createFromCapabilitiesMatrixSet</code>, the returned tile grid will now restrict tile requests to the <code>MinTileRow</code>/<code>MaxTileRow</code>/<code>MinTileCol</code>/<code>MaxTileCol</code> bounds advertised for each zoom level. Previously those bounds were ignored and the full matrix extent was used, causing tile requests outside the layer's data extent.</p> <p>If you were passing <code>matrixLimits</code> only to filter zoom levels and relied on the full matrix range being loaded at each level, you can omit the <code>matrixLimits</code> argument or pass an empty array to restore the previous behavior.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/openlayers/openlayers/commit/a23f25832d9d24ded41a33881d9983ee7df4a94f"><code>a23f258</code></a> Updates for the 10.10.0 release</li> <li><a href="https://github.com/openlayers/openlayers/commit/11d1aad09576d609ce2a6d1cb7bbdc739054b3b1"><code>11d1aad</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17572">#17572</a> from hyeonjun-L/reset-loader-in-setparams</li> <li><a href="https://github.com/openlayers/openlayers/commit/3f7bb9e08cad3ec5dbc872506dfd3a0d82f08b5f"><code>3f7bb9e</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17579">#17579</a> from ahocevar/vite-examples-base-path</li> <li><a href="https://github.com/openlayers/openlayers/commit/ded0e3bb4a32866fd24d52a9a2a0e56eeb8089fb"><code>ded0e3b</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17577">#17577</a> from ahocevar/node-tests-vitest</li> <li><a href="https://github.com/openlayers/openlayers/commit/2218549fc5b3d8b489289a6e4e430a3c201d336f"><code>2218549</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17576">#17576</a> from sobol-sudo/support-offsetx-for-text-along-line</li> <li><a href="https://github.com/openlayers/openlayers/commit/ac0d1e50f4ff42eaa1d8af9671e54e7ddd6cc578"><code>ac0d1e5</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17575">#17575</a> from umap-project/fix-textpath-emoji</li> <li><a href="https://github.com/openlayers/openlayers/commit/0e37c0b9fcfab324c2260232be0a5d2d19b7e831"><code>0e37c0b</code></a> Reduce pixel tolerance to prevent future regressions</li> <li><a href="https://github.com/openlayers/openlayers/commit/b186a0c9521066faeda402967f3a75c455692a77"><code>b186a0c</code></a> Update reference images</li> <li><a href="https://github.com/openlayers/openlayers/commit/62a916a0ad887997aa00834b272ad955b0faafdc"><code>62a916a</code></a> fixup: fix lint issue</li> <li><a href="https://github.com/openlayers/openlayers/commit/9021c86981b170e00c3f084615c90f0fe75774f1"><code>9021c86</code></a> Add rendering test for offsetX along a line</li> <li>Additional commits viewable in <a href="https://github.com/openlayers/openlayers/compare/v10.9.0...v10.10.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Generated
+34
-12
@@ -44,7 +44,7 @@
|
|||||||
"lodash.throttle": "^4.1.1",
|
"lodash.throttle": "^4.1.1",
|
||||||
"maplibre-gl": "^5.24.0",
|
"maplibre-gl": "^5.24.0",
|
||||||
"maputnik-design": "github:maputnik/design#172b06c",
|
"maputnik-design": "github:maputnik/design#172b06c",
|
||||||
"ol": "^10.9.0",
|
"ol": "^10.10.0",
|
||||||
"ol-mapbox-style": "^13.4.2",
|
"ol-mapbox-style": "^13.4.2",
|
||||||
"pmtiles": "^4.4.1",
|
"pmtiles": "^4.4.1",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
@@ -6647,9 +6647,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/geotiff": {
|
"node_modules/geotiff": {
|
||||||
"version": "3.0.5",
|
"version": "3.1.0-beta.0",
|
||||||
"resolved": "https://registry.npmjs.org/geotiff/-/geotiff-3.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/geotiff/-/geotiff-3.1.0-beta.0.tgz",
|
||||||
"integrity": "sha512-OWcL9S9+yDZ6iAlXMt32T1iwUApJM8UiD47xbm6ZP1h33d10fqkPs14EG/ttT5EnefpZSx3G15iDFC5FxUNUwA==",
|
"integrity": "sha512-wbVwOaQYuN+ywly5NoMXn37nHslwkQg5EFHqMeUTtjDACrSag0EEVlFsc+2DK3Pzmmp6XzJW2RTZOamPsBM6ng==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@petamoriken/float16": "^3.9.3",
|
"@petamoriken/float16": "^3.9.3",
|
||||||
@@ -10140,15 +10140,15 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/ol": {
|
"node_modules/ol": {
|
||||||
"version": "10.9.0",
|
"version": "10.10.0",
|
||||||
"resolved": "https://registry.npmjs.org/ol/-/ol-10.9.0.tgz",
|
"resolved": "https://registry.npmjs.org/ol/-/ol-10.10.0.tgz",
|
||||||
"integrity": "sha512-svbbgVQUmEHaKpLQ8kRySojs59Brvgl2zYIrqG9eQNXGfsbi55rQasZIDpwpQzDL6OlzrUb0H4hQaiX9wDoGmA==",
|
"integrity": "sha512-tLPKn6zl+6uWdPufYlqG/lQzuVUTVmfwahQqVr5+wZNyZecyAtIhMTyOtKpu7ooNDLY2sEjKZNXw9HL+sOjC1A==",
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/rbush": "4.0.0",
|
"@types/rbush": "4.0.0",
|
||||||
"earcut": "^3.0.0",
|
"earcut": "^3.0.0",
|
||||||
"geotiff": "^3.0.5 || ^3.1.0-beta.0",
|
"geotiff": "^3.1.0-beta.0",
|
||||||
"pbf": "4.0.1",
|
"pbf": "5.1.2",
|
||||||
"rbush": "^4.0.0",
|
"rbush": "^4.0.0",
|
||||||
"zarrita": "^0.7.1"
|
"zarrita": "^0.7.1"
|
||||||
},
|
},
|
||||||
@@ -10198,6 +10198,18 @@
|
|||||||
"gl-style-validate": "dist/gl-style-validate.mjs"
|
"gl-style-validate": "dist/gl-style-validate.mjs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/ol/node_modules/pbf": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/pbf/-/pbf-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-mnvGdvOrIvJOBGUEdGkrVXjN8E/VkIJCkf2eS1DH2yv82ORUlLttmDt0rWY38yYZmVwciZwBUvHM20qxBZf40w==",
|
||||||
|
"license": "BSD-3-Clause",
|
||||||
|
"dependencies": {
|
||||||
|
"resolve-protobuf-schema": "^2.1.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"pbf": "bin/pbf"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/once": {
|
"node_modules/once": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||||
@@ -10422,9 +10434,19 @@
|
|||||||
"license": "BlueOak-1.0.0"
|
"license": "BlueOak-1.0.0"
|
||||||
},
|
},
|
||||||
"node_modules/pako": {
|
"node_modules/pako": {
|
||||||
"version": "2.1.0",
|
"version": "2.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/pako/-/pako-2.2.0.tgz",
|
||||||
"integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==",
|
"integrity": "sha512-zJq6RP/5q+TO2OpFV3FHzlPnFjmkb7Nc99a5SNjJE+uu/PkpChs+NIZSSzbBoD+6kjiISXjfYdwj1ZRQ81dz/w==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/puzrin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/nodeca"
|
||||||
|
}
|
||||||
|
],
|
||||||
"license": "(MIT AND Zlib)"
|
"license": "(MIT AND Zlib)"
|
||||||
},
|
},
|
||||||
"node_modules/parent-module": {
|
"node_modules/parent-module": {
|
||||||
|
|||||||
+1
-1
@@ -61,7 +61,7 @@
|
|||||||
"lodash.throttle": "^4.1.1",
|
"lodash.throttle": "^4.1.1",
|
||||||
"maplibre-gl": "^5.24.0",
|
"maplibre-gl": "^5.24.0",
|
||||||
"maputnik-design": "github:maputnik/design#172b06c",
|
"maputnik-design": "github:maputnik/design#172b06c",
|
||||||
"ol": "^10.9.0",
|
"ol": "^10.10.0",
|
||||||
"ol-mapbox-style": "^13.4.2",
|
"ol-mapbox-style": "^13.4.2",
|
||||||
"pmtiles": "^4.4.1",
|
"pmtiles": "^4.4.1",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user