Packages

mapbox-gl

3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed

Upgrading mapbox-gl From 1.9.1 to 1.10.0

1 release in betweenevery note read

Other targets from 1.9.1Newest 1.x1.13.3Latest3.34.2
  1. 1.9.1yours
  2. 1.10.0target
0
changes to make
0
advisories fixed
5
new
11
fixes

Security

Release by release

  1. 1.10.0

    Security fix27 Apr 20205 new · 11 fixes
    • security

      Upgrade minimist to ^1.2.5 to get fix for security issue CVE-2020-7598 upstream (#9425, fixed by #9425) (h/t watson)

    • new

      Add mapboxgl.prewarm() and mapboxgl.clearPrewarmedResources() methods to allow developers to optimize load times for their maps

    • new

      Add index-of and slice expressions to search arrays and strings for the first occurrence of a specified value and return a section of the original array or string (#9450) (h/t lbutler)

    • new

      Correctly set RTL text plugin status if the plugin URL could not be loaded. This allows developers to add retry logic on network errors when loading the plugin

3 other lines we could not sort, mostly version bumps
  • It's now possible to interact with multiple maps on the same page at the same time

    1.10.0
  • A camera change can no longer be prevented by disabling the interaction handler within the camera change event. Selectively prevent camera changes by listening to the mousedown or touchstart map event and calling .preventDefault()

    1.10.0
  • Undocumented properties on the camera change events fired by the doubleClickZoom handler have been removed

    1.10.0