Update dependency leaflet to v1.9.4 #119

Merged
pombas_n merged 1 commits from renovate/leaflet-1.x-lockfile into master 2026-10-27 11:21:18 +01:00

This PR contains the following updates:

Package Change Age Confidence
leaflet (source) 1.9.3 → 1.9.4 age confidence

Release Notes

Leaflet/Leaflet (leaflet)

v1.9.4

Compare Source

After two and a half years of hard work, we’re thrilled to announce the first alpha release of Leaflet 2.0!

This release marks a major modernization of the Leaflet codebase. We've dropped support for Internet Explorer, removed legacy methods and polyfills, adopted modern standards like Pointer Events, and now publish Leaflet as an ESM module. The global L is no longer part of the core package (though it’s still available in the bundled version leaflet-global.js for backward compatibility).

For more information checkout the blog post: https://leafletjs.com/2025/05/18/leaflet-2.0.0-alpha.html

What's New in Leaflet 2.0
  • Targeting only evergreen browsers
  • Switched from Mouse and Touch events to PointerEvents
  • ESM support and tree shaking
  • Rewritten using standardized ES6 classes
Migration
  1. Replace all factory methods with constructor calls: L.marker(latlng) ➜ new Marker(latlng)
  2. Change the <script> tag to module: <script type='module'>
  3. Replace usage of L with explicit imports from the Leaflet package: import { Marker } from 'leaflet'
  4. To have global access to variables of a module-script, assign them to the window object (Not recommended): window.map = map
  5. Consider Leaflet V1 Polyfill if you are using outdated plugins
Old implementation
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<script>
	const map = L.map('map').setView([51.505, -0.09], 13);
	const tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
		maxZoom: 19,
		attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
	}).addTo(map);
</script>
New implementation
Module
<script type="importmap">
	{
		"imports": {
			"leaflet": "https://unpkg.com/leaflet@2.0.0-alpha/dist/leaflet.js"
		}
	}
</script>
<script type="module">
	import L, {LeafletMap, TileLayer, Marker, Circle, Polygon, Popup} from 'leaflet';
	const map = new LeafletMap('map').setView([51.505, -0.09], 13);
	const tiles = new TileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
		maxZoom: 19,
		attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
	}).addTo(map);
</script>
Global Script
<script src="https://unpkg.com/leaflet@2.0.0-alpha/dist/leaflet-global.js"></script>
<script>
	const map = new L.LeafletMap('map').setView([51.505, -0.09], 13);
	const tiles = new L.TileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
		maxZoom: 19,
		attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
	}).addTo(map);
</script>
Need Legacy Support?

Check out this polyfill package to help ease the transition for legacy apps: Leaflet V1 Polyfill


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [leaflet](https://leafletjs.com/) ([source](https://github.com/Leaflet/Leaflet)) | [`1.9.3` → `1.9.4`](https://renovatebot.com/diffs/npm/leaflet/1.9.3/1.9.4) | ![age](https://developer.mend.io/api/mc/badges/age/npm/leaflet/1.9.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/leaflet/1.9.3/1.9.4?slim=true) | --- ### Release Notes <details> <summary>Leaflet/Leaflet (leaflet)</summary> ### [`v1.9.4`](https://github.com/Leaflet/Leaflet/blob/HEAD/CHANGELOG.md#200-alpha-2025-05-18--Modernization-of-Leaflet) [Compare Source](https://github.com/Leaflet/Leaflet/compare/v1.9.3...v1.9.4) After two and a half years of hard work, we’re thrilled to announce the first alpha release of **Leaflet 2.0**! This release marks a major modernization of the Leaflet codebase. We've dropped support for Internet Explorer, removed legacy methods and polyfills, adopted modern standards like Pointer Events, and now publish Leaflet as an ESM module. The global `L` is no longer part of the core package (though it’s still available in the bundled version `leaflet-global.js` for backward compatibility). For more information checkout the blog post: <https://leafletjs.com/2025/05/18/leaflet-2.0.0-alpha.html> ##### What's New in Leaflet 2.0 - Targeting only **evergreen browsers** - Switched from `Mouse` and `Touch` events to `PointerEvents` - ESM support and tree shaking - Rewritten using [standardized ES6 classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes) ##### Migration 1. Replace all factory methods with constructor calls: `L.marker(latlng)` ➜ `new Marker(latlng)` 2. Change the `<script>` tag to `module`: `<script type='module'>` 3. Replace usage of `L` with explicit imports from the Leaflet package: `import { Marker } from 'leaflet'` - if you are not using a package manager like npm, you can use a `importmap`: <https://leafletjs.com/examples/quick-start/> 4. To have global access to variables of a `module-script`, assign them to the `window` object (Not recommended): `window.map = map` 5. Consider [Leaflet V1 Polyfill](https://github.com/Falke-Design/Leaflet-V1-polyfill) if you are using outdated plugins ##### Old implementation ``` <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script> <script> const map = L.map('map').setView([51.505, -0.09], 13); const tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' }).addTo(map); </script> ``` ##### New implementation ##### Module ``` <script type="importmap"> { "imports": { "leaflet": "https://unpkg.com/leaflet@2.0.0-alpha/dist/leaflet.js" } } </script> <script type="module"> import L, {LeafletMap, TileLayer, Marker, Circle, Polygon, Popup} from 'leaflet'; const map = new LeafletMap('map').setView([51.505, -0.09], 13); const tiles = new TileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' }).addTo(map); </script> ``` ##### Global Script ``` <script src="https://unpkg.com/leaflet@2.0.0-alpha/dist/leaflet-global.js"></script> <script> const map = new L.LeafletMap('map').setView([51.505, -0.09], 13); const tiles = new L.TileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' }).addTo(map); </script> ``` ##### Need Legacy Support? Check out this polyfill package to help ease the transition for legacy apps: [Leaflet V1 Polyfill](https://github.com/Falke-Design/Leaflet-V1-polyfill) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNzguMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE3OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlIl19-->
renovate-bot Bot added 1 commit 2026-10-23 14:32:23 +02:00
Update dependency leaflet to v1.9.4
renovate/stability-days Updates have met minimum release age requirement
17cb936bc5
pombas_n merged commit 7f0238c787 into master 2026-10-27 11:21:18 +01:00
pombas_n deleted branch renovate/leaflet-1.x-lockfile 2026-10-27 11:21:18 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bb_if_produktiv/pocketapp#119