The Rails application that powers OpenStreetMap
Bumps [leaflet](https://github.com/Leaflet/Leaflet) from 1.8.0 to 1.9.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Leaflet/Leaflet/releases">leaflet's releases</a>.</em></p> <blockquote> <h2>v1.9.1</h2> <ul> <li>Fix <code>Events</code> <code>listens</code> not propagating to parent objects, in particular fixing compatibility with <strong>Leaflet.markercluster</strong> plugin (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8457">#8211</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> </ul> <h2>v1.9.0</h2> <h2>⚡ Note on future versions</h2> <p>The v1.9 release is setting the stage for the first major version bump of Leaflet since 2016! A lot has changed since then, and it's time for Leaflet to grow together with the web platform.</p> <p>After this release, we are branching off the 1.x code and putting it in <em>maintenance mode</em> — reserving potential 1.x releases <em>only</em> for critical bugfixes. Although <strong>version 2.0</strong> is still far away and will take some time to take shape, we plan to make the following changes:</p> <ul> <li><strong>Dropping support for Internet Explorer</strong>. This has been a long time coming, but now that Internet Explorer is <a href="https://blogs.windows.com/windowsexperience/2022/06/15/internet-explorer-11-has-retired-and-is-officially-out-of-support-what-you-need-to-know/">officially end-of-life</a>, it's time to say goodbye. Going forward, Leaflet will move to an evergreen strategy that targets browsers like Firefox, Chrome, Edge and Safari.</li> <li><strong>Embracing modern JavaScript</strong>. To maintain backwards compatibility, Leaflet is written entirely in ES5, a version of JavaScript supported by legacy browsers. So we have not been able to make use of many great JavaScript features (e.g. <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">standardized classes</a>, instead having to rely on our <a href="https://leafletjs.com/reference.html#class">own implementation</a>). By adopting a more modern version of the ECMAScript standard, we can start working towards aligning Leaflet with what is expected from a modern JavaScript library.</li> <li><strong>Standardized modules</strong>. When we released Leaflet v1, the landscape in the JavaScript world was very different and full of competing module standards such as CommonJS, AMD and UMD. Today, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules">ECMAScript modules</a> have become the clear way forward to unite the JavaScript ecosystem under one banner. Moving forward, Leaflet will only be distributed in a single standardized module system, greatly reducing complexity of our distributed code.</li> <li><strong>Removing the Leaflet global</strong>. As a developer using Leaflet, the capital letter <code>L</code> is probably intimately familiar to you. This is the Leaflet global where all of Leaflet's functionality lives. To allow compiler tooling to better eliminate dead-code through a process called <a href="https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking">tree-shaking</a>, we are removing this global variable. To preserve backwards compatibility with older plugins, we will provide a shim that can be imported manually that will restore this functionality.</li> </ul> <h2>v1.9.0 changelog</h2> <h3>⚠️ Breaking Changes</h3> <ul> <li>Expose ESM entrypoint with Leaflet global (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8329">#8329</a> by <a href="https://github.com/jonkoops"><code>@jonkoops</code></a>). If you're using Leaflet in a ESM setup with plugins that rely on the <code>L</code> global, you have to use the default import for them to work:</li> </ul> <pre lang="diff"><code>-import * as L from 'leaflet'; +import L from 'leaflet'; </code></pre> <ul> <li>Update <code>color-adjust</code> to <code>print-color-adjust</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8211">#8211</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> </ul> <h3>❇️ API changes</h3> <ul> <li>Add <code>content</code> and <code>latLng</code> options to <code>Popup</code> / <code>Tooltip</code> constructors (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/7783">#7783</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Extend <code>Bounds</code> to have the same functions as <code>LatLngBounds</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/7882">#7882</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> </ul> <h3>✨ Improvements</h3> <ul> <li>Update <code>getCenter()</code> calculation and move it to <code>PolyUtil</code> / <code>LineUtil</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/7603">#7603</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Remove border styles in overflowing popups (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8260">#8260</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> <li>Fix "listener not found" warning when setting <code>maxBounds</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8168">#8168</a> by <a href="https://github.com/mourner"><code>@mourner</code></a>)</li> <li>Remove "listener not found" warning (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8234">#8234</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Extend <code>Events.listens</code> to search for specific function (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8161">#8161</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Add <code>noMoveStart</code> option to <code>panTo</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/6685">#6685</a> by <a href="https://github.com/Chivano"><code>@Chivano</code></a>)</li> <li>Add <code>FeatureCollection</code> handling to <code>geometryToLayer</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8163">#8163</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> </ul> <h3>🙌 Accessibility</h3> <ul> <li>Improve <code>Tooltip</code> accessibility (focus and voice over) (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8247">#8247</a> by <a href="https://github.com/alekzvik"><code>@alekzvik</code></a>)</li> <li>Fix links in accessibility guide (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8198">#8198</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> <li>Remove <code>role="presentation"</code> from image tiles (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8172">#8172</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix invalid GeoJSON on unbalanced arrays (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/7637">#7637</a> by <a href="https://github.com/steff1986"><code>@steff1986</code></a>)</li> <li>Fix 2 step zooming while using mouse wheel scrolling (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8298">#8298</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Fix wrong assigned parameter while calling <code>map._move</code> over <code>requestAnimFrame</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8328">#8328</a> by <a href="https://github.com/AMDvsTMD"><code>@AMDvsTMD</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Leaflet/Leaflet/blob/main/CHANGELOG.md">leaflet's changelog</a>.</em></p> <blockquote> <h2>1.9.1 (2022-09-23)</h2> <ul> <li>Fix <code>Events</code> <code>listens</code> not propagating to parent objects, in particular fixing compatibility with <strong>Leaflet.markercluster</strong> plugin (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8457">#8211</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> </ul> <h2>1.9.0 (2022-09-21)</h2> <h3>⚠️ Breaking Changes</h3> <ul> <li>Update <code>color-adjust</code> to <code>print-color-adjust</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8211">#8211</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> </ul> <h3>❇️ API changes</h3> <ul> <li>Add <code>content</code> and <code>latLng</code> options to <code>Popup</code> / <code>Tooltip</code> constructors (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7783">#7783</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Extend <code>Bounds</code> to have the same functions as <code>LatLngBounds</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7882">#7882</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> </ul> <h3>✨ Improvements</h3> <ul> <li>Expose ESM entrypoint with Leaflet global (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8329">#8329</a> by <a href="https://github.com/Falke-Design"><code>@jonkoops</code></a>)</li> <li>Update <code>getCenter()</code> calculation and move it to <code>PolyUtil</code> / <code>LineUtil</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7603">#7603</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Remove border styles in overflowing popups (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8260">#8260</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> <li>Fix "listener not found" warning when setting <code>maxBounds</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8168">#8168</a>)</li> <li>Remove "listener not found" warning (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8234">#8234</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Extend <code>Events.listens</code> to search for specific function (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8161">#8161</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Add <code>noMoveStart</code> option to <code>panTo</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/6685">#6685</a> by <a href="https://github.com/Chivano"><code>@Chivano</code></a>)</li> <li>Add <code>FeatureCollection</code> handling to <code>geometryToLayer</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8163">#8163</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> </ul> <h3>🙌 Accessibility</h3> <ul> <li>Improve <code>Tooltip</code> accessibility (focus and voice over) (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8247">#8247</a> by <a href="https://github.com/alekzvik"><code>@alekzvik</code></a>)</li> <li>Fix links in accessibility guide (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8198">#8198</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> <li>Remove redundant <code>role="presentation"</code> from image tiles (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8172">#8172</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix invalid GeoJSON on unbalanced arrays (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7637">#7637</a> by <a href="https://github.com/steff1986"><code>@steff1986</code></a>)</li> <li>Fix 2 step zooming while using mouse wheel scrolling (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8298">#8298</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Fix wrong assigned parameter while calling <code>map._move</code> over <code>requestAnimFrame</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8328">#8328</a> by <a href="https://github.com/AMDvsTMD"><code>@AMDvsTMD</code></a>)</li> <li>Fix <code>_isClickDisabled</code> to not throw no error if parent is removed from DOM (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8288">#8288</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Fix <code>DomEvent.DoubleTap</code> to ignore clicks on <code><label></code>s with a <code>for</code> attribute (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8227">#8227</a> by <a href="https://github.com/IvanSanchez"><code>@IvanSanchez</code></a>)</li> <li>Fix calling <code>once()</code> twice if same event is fired inside <code>once</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8190">#8190</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Fix <code>map.getCenter()</code> returning a mutable object (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8167">#8167</a>)</li> <li>Fix regression about popup close button modifying the URL (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8160">#8160</a> by <a href="https://github.com/IvanSanchez"><code>@IvanSanchez</code></a>)</li> <li>Fix <code>min/maxZoom</code> when used in combination with <code>detectRetina</code> (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7328">#7328</a> by <a href="https://github.com/bozdoz"><code>@bozdoz</code></a>)</li> </ul> <h3>📝 Docs</h3> <ul> <li>Use preferred tile.openstreetmap.org URL (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8418">#8418</a> by <a href="https://github.com/Firefishy"><code>@Firefishy</code></a>)</li> <li>Use LocalStorage for dialog sessions (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8382">#8382</a> by <a href="https://github.com/ChristopherWirtOfficial"><code>@ChristopherWirtOfficial</code></a>)</li> <li>Update anchor links for headers and in collapsed accordions (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7780">#7780</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Fix typo in reference-1.6.0.html (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8330">#8330</a> by <a href="https://github.com/eltociear"><code>@eltociear</code></a>)</li> <li>Add pre-commit linting to CONTRIBUTING.md (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8299">#8299</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Ensure no borders on dialog iframe (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8296">#8296</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> <li>Replace Mapbox with OpenStreetMap in tutorials and examples (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7818">#7818</a> by <a href="https://github.com/Falke-Design"><code>@Falke-Design</code></a>)</li> <li>Remove DOCS-TODO.md (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8296">#8259</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> <li>Better PosAnimation example (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/7386">#7386</a> by <a href="https://github.com/stell"><code>@stell</code></a>)</li> <li>Correct heading level in GeoJSON example (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8230">#8230</a> by <a href="https://github.com/Malvoz"><code>@Malvoz</code></a>)</li> <li>Update Overlay Tutorial (ImageOverlay, VideoOverlay, SVGOverlay) (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/pull/8090">#8090</a> by <a href="https://github.com/KonstantinBiryukov"><code>@KonstantinBiryukov</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Leaflet/Leaflet/commit/d72645477e97786d4d5ab85dbd2c4d556243a4a2"><code>d726454</code></a> 1.9.1</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/bd2829c2d391e526a9c2c48c2a7fcbf7a2b4406b"><code>bd2829c</code></a> update changelog for v1.9.1</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/ffc13ba34ddc71113701eba624a5f53312ad99d6"><code>ffc13ba</code></a> Fix Events.listens for nested propagations (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8457">#8457</a>)</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/01ce43f7cfb6a0ab337cd0cea029ad3077bc8954"><code>01ce43f</code></a> Update website & docs for v1.9.0 (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8453">#8453</a>)</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/a7e1bbcb779f181c599086f12555cab851ded25e"><code>a7e1bbc</code></a> 1.9.0</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/708a58a7dd8f22b6e04d3c4f210d3da272751193"><code>708a58a</code></a> Update changelog for v1.9.0 (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8446">#8446</a>)</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/9d1a841a0fde2e1da0ac04de1375bd1b788998c0"><code>9d1a841</code></a> Bump eslint from 8.23.0 to 8.23.1 (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8436">#8436</a>)</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/b1197f062396097c0fed13b64f3a5347ed86c2f4"><code>b1197f0</code></a> Update Center calculation to work for very small layers too (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8433">#8433</a>)</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/d3c999c10c39d3e07098a529fa2f16a3edecc5e9"><code>d3c999c</code></a> minor readme/frontpage update (since I'm back in Kyiv)</li> <li><a href="https://github.com/Leaflet/Leaflet/commit/78369382cf6c0c81c1ef7e344e1f3196395a9f19"><code>7836938</code></a> Bump rollup from 2.78.1 to 2.79.0 (<a href="https://github-redirect.dependabot.com/Leaflet/Leaflet/issues/8426">#8426</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Leaflet/Leaflet/compare/v1.8.0...v1.9.1">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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>
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by dependabot[bot] and has received 1 comments.