maplibre-gl 3.6.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /* MapLibre GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v3.6.0/LICENSE.txt */
1
+ /* MapLibre GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v3.6.1/LICENSE.txt */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -34684,7 +34684,7 @@ define(['./shared'], (function (performance) { 'use strict';
34684
34684
 
34685
34685
  var name = "maplibre-gl";
34686
34686
  var description = "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library";
34687
- var version$2 = "3.6.0";
34687
+ var version$2 = "3.6.1";
34688
34688
  var main = "dist/maplibre-gl.js";
34689
34689
  var style = "dist/maplibre-gl.css";
34690
34690
  var license = "BSD-3-Clause";
@@ -34704,11 +34704,11 @@ var dependencies = {
34704
34704
  "@mapbox/vector-tile": "^1.3.1",
34705
34705
  "@mapbox/whoots-js": "^3.1.0",
34706
34706
  "@maplibre/maplibre-gl-style-spec": "^19.3.3",
34707
- "@types/geojson": "^7946.0.12",
34708
- "@types/mapbox__point-geometry": "^0.1.3",
34707
+ "@types/geojson": "^7946.0.13",
34708
+ "@types/mapbox__point-geometry": "^0.1.4",
34709
34709
  "@types/mapbox__vector-tile": "^1.3.3",
34710
34710
  "@types/pbf": "^3.0.4",
34711
- "@types/supercluster": "^7.1.2",
34711
+ "@types/supercluster": "^7.1.3",
34712
34712
  earcut: "^2.2.4",
34713
34713
  "geojson-vt": "^3.2.1",
34714
34714
  "gl-matrix": "^3.4.3",
@@ -34732,30 +34732,30 @@ var devDependencies = {
34732
34732
  "@rollup/plugin-strip": "^3.0.4",
34733
34733
  "@rollup/plugin-terser": "^0.4.4",
34734
34734
  "@rollup/plugin-typescript": "^11.1.5",
34735
- "@types/benchmark": "^2.1.4",
34735
+ "@types/benchmark": "^2.1.5",
34736
34736
  "@types/cssnano": "^5.0.0",
34737
34737
  "@types/d3": "^7.4.2",
34738
- "@types/diff": "^5.0.7",
34739
- "@types/earcut": "^2.1.3",
34740
- "@types/eslint": "^8.44.6",
34741
- "@types/geojson-vt": "3.2.3",
34738
+ "@types/diff": "^5.0.8",
34739
+ "@types/earcut": "^2.1.4",
34740
+ "@types/eslint": "^8.44.7",
34741
+ "@types/geojson-vt": "3.2.4",
34742
34742
  "@types/gl": "^6.0.4",
34743
34743
  "@types/glob": "^8.1.0",
34744
34744
  "@types/jest": "^29.5.3",
34745
- "@types/jsdom": "^21.1.4",
34746
- "@types/minimist": "^1.2.4",
34745
+ "@types/jsdom": "^21.1.5",
34746
+ "@types/minimist": "^1.2.5",
34747
34747
  "@types/murmurhash-js": "^1.0.5",
34748
- "@types/nise": "^1.4.3",
34748
+ "@types/nise": "^1.4.4",
34749
34749
  "@types/node": "^20.8.3",
34750
- "@types/offscreencanvas": "^2019.7.2",
34750
+ "@types/offscreencanvas": "^2019.7.3",
34751
34751
  "@types/pixelmatch": "^5.2.5",
34752
- "@types/pngjs": "^6.0.3",
34752
+ "@types/pngjs": "^6.0.4",
34753
34753
  "@types/react": "^18.2.35",
34754
34754
  "@types/react-dom": "^18.2.14",
34755
- "@types/request": "^2.48.11",
34756
- "@types/shuffle-seed": "^1.1.1",
34757
- "@types/window-or-global": "^1.0.5",
34758
- "@typescript-eslint/eslint-plugin": "^6.9.1",
34755
+ "@types/request": "^2.48.12",
34756
+ "@types/shuffle-seed": "^1.1.2",
34757
+ "@types/window-or-global": "^1.0.6",
34758
+ "@typescript-eslint/eslint-plugin": "^6.10.0",
34759
34759
  "@typescript-eslint/parser": "^6.10.0",
34760
34760
  address: "^2.0.1",
34761
34761
  benchmark: "^2.1.4",
@@ -34794,10 +34794,10 @@ var devDependencies = {
34794
34794
  "postcss-cli": "^10.1.0",
34795
34795
  "postcss-inline-svg": "^6.0.0",
34796
34796
  "pretty-bytes": "^6.1.1",
34797
- puppeteer: "^21.5.0",
34797
+ puppeteer: "^21.5.1",
34798
34798
  react: "^18.2.0",
34799
34799
  "react-dom": "^18.2.0",
34800
- rollup: "^4.3.0",
34800
+ rollup: "^4.4.0",
34801
34801
  "rollup-plugin-sourcemaps": "^0.6.3",
34802
34802
  rw: "^1.3.3",
34803
34803
  semver: "^7.5.4",
@@ -50896,7 +50896,8 @@ class Camera extends performance.Evented {
50896
50896
  this._renderFrameCallback = () => {
50897
50897
  const t = Math.min((performance.browser.now() - this._easeStart) / this._easeOptions.duration, 1);
50898
50898
  this._onEaseFrame(this._easeOptions.easing(t));
50899
- if (t < 1) {
50899
+ // if _stop is called during _onEaseFrame from _fireMoveEvents we should avoid a new _requestRenderFrame, checking it by ensuring _easeFrameId was not deleted
50900
+ if (t < 1 && this._easeFrameId) {
50900
50901
  this._easeFrameId = this._requestRenderFrame(this._renderFrameCallback);
50901
50902
  }
50902
50903
  else {