SuperMap / iClient-JavaScript

Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community.
https://iclient.supermap.io
Apache License 2.0
831 stars 282 forks source link

[Snyk] Upgrade maplibre-gl from 3.1.0 to 3.3.1 #443

Open ahnan opened 1 year ago

ahnan commented 1 year ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade maplibre-gl from 3.1.0 to 3.3.1.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **8 versions** ahead of your current version. - The recommended version was released **2 months ago**, on 2023-08-29.
Release notes
Package name: maplibre-gl
  • 3.3.1 - 2023-08-29

    https://github.com/maplibre/maplibre-gl-js
    Changes since MapLibre GL JS v3.3.0:

    ✨ Features and improvements

    • Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses.txt by webpack (#3021)

    🐞 Bug fixes

    • Correct declared return type of Map.getLayer() and Style.getLayer() to be StyleLayer | undefined to match the documentation (#2969)
    • Correct type of Map.addLayer() and Style.addLayer() to allow adding a layer with an embedded source, matching the documentation (#2966)
    • Throttle map resizes from ResizeObserver to reduce flicker (#2986)
    • Correct function Map.setTerrain(options: TerrainSpecification): Map to be Map.setTerrain(options: TerrainSpecification | null): Map per the API spec (#2993)
    • Correct function Map.getTerrain(): TerrainSpecification to be Map.getTerrain(): TerrainSpecification | null for consistency with the setTerrain function (#3020)
      </li>
      <li>
        <b>3.3.0</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.3.0">2023-08-10</a></br><p><a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js">https://github.com/maplibre/maplibre-gl-js</a><br>

    Changes since MapLibre GL JS v3.2.2:

    ✨ Features and improvements

      </li>
      <li>
        <b>3.2.2</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.2.2">2023-08-06</a></br><p><a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js">https://github.com/maplibre/maplibre-gl-js</a><br>

    Changes since MapLibre GL JS v3.2.1:

    ✨ Features and improvements

    🐞 Bug fixes

    • Properly check ImageBitmap (#2942, #2940)
    • VectorTileWorkerSource: fix reload for original's load parse would not pass the rawTileData and meta. (#2941)
      </li>
      <li>
        <b>3.2.1</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.2.1">2023-07-24</a></br><p><a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js">https://github.com/maplibre/maplibre-gl-js</a><br>

    Changes since MapLibre GL JS v3.2.0:

    ✨ Features and improvements

    • Remove cooperative gesture screen from the accessibility tree since screenreaders cannot interact with the map using gestures
    • Add cooperated gestures example to the doc.(#2860)

    🐞 Bug fixes

    • Incorrect distance field of view calculation for negative elevation, fixed by storing min elevation for the tile in view (#1655, #2858)
    • Fix reloadCallback not firing on VectorTileWorkerSource.reloadTile (#1874)
    • Fix RasterDEMTileSource not serializing its options correctly (#2895)
    • Remove node and jest from dist type checking, fix map event and other typing problems (#2898)
      </li>
      <li>
        <b>3.2.0</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.2.0">2023-07-10</a></br><p><a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js">https://github.com/maplibre/maplibre-gl-js</a><br>

    Changes since MapLibre GL JS v3.1.0:

    ✨ Features and improvements

    • Change all internal exports to named exports(#2711)
    • Docs generation is now part of this repo(#2733)
    • Add className option to Marker constructor (#2729)
    • Immediately redraw the map after setting pixel ratio (#2674)
    • Add maxCanvasSize option to limit canvas size. It can prevent reaching the GL limits and reduce the load on the devices. Default value is [4096, 4096].
    • Reduce maxCanvasSize when hitting GL limits to avoid distortions (#2674)
    • Rewrite all the code comments in TSDocs, introduced a new documentaiton system and moved examples into this repository for better debug options (#2756)
    • ⚠️ Removed non documented Marker constructor parameter (#2756)

    🐞 Bug fixes

    • Return undefined instead of throwing from Style.serialize() when the style hasn't loaded yet (#2712)
    • Don't throw an exception from checkMaxAngle when a label with length 0 is on the last segment of a line (#2710)
    • Fix the tap then drag zoom gesture detection to abort when the two taps are far away (#2673)
    • Fix regression - update pixel ratio when devicePixelRatio changes, restoring the v1.x behaviour (#2706)
    • Fix incorrect elevation calculation [#2772]
      </li>
      <li>
        <b>3.2.0-pre.3</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.2.0-pre.3">2023-07-09</a></br>No content.
      </li>
      <li>
        <b>3.2.0-pre.2</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.2.0-pre.2">2023-07-09</a></br><p>Bump version to 3.2.0-pre.2 (<a class="issue-link js-issue-link" href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/pull/2825">#2825</a>)</p>

    * Bump version to 3.2.0-pre.2

    * Fix docs links to examples folder (#2826)

    * Fix docs links to examples folder

    * update more links

    * Fix lowercase Issue

    ---------

    Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>

      </li>
      <li>
        <b>3.2.0-pre.1</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.2.0-pre.1">2023-07-09</a></br>No content.
      </li>
      <li>
        <b>3.1.0</b> - <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases/tag/v3.1.0">2023-06-13</a></br><p><a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js">https://github.com/maplibre/maplibre-gl-js</a><br>

    Changes since MapLibre GL JS v3.0.1:

    ✨ Features and improvements

    • Expose map options.maxTileCacheZoomLevels to allow better control of tile cache (#2581)

    🐞 Bug fixes

    • Fix regression - Add webgl1 fallback to accomondate users without webgl2 support (#2653)
      </li>
    </ul>
    from <a href="https://snyk.io/redirect/github/maplibre/maplibre-gl-js/releases">maplibre-gl GitHub release notes</a>

Commit messages
Package name: maplibre-gl
  • 2fa582c Bump version to 3.3.1 (#3047)
  • 6c83831 Bump typedoc-plugin-markdown from 3.15.4 to 3.16.0 (#3029)
  • ba7ccb7 Bump expect from 29.6.2 to 29.6.4 (#3038)
  • f1c30b1 Bump eslint from 8.47.0 to 8.48.0 (#3041)
  • 7eb4a4f Bump @ types/node from 20.5.1 to 20.5.7 (#3043)
  • ba173db Bump @ types/react from 18.2.20 to 18.2.21 (#3044)
  • c9e7415 Bump @ rollup/plugin-typescript from 11.1.2 to 11.1.3 (#3040)
  • 8d2f007 Bump rollup from 3.28.0 to 3.28.1 (#3036)
  • 938912b Bump typedoc-plugin-missing-exports from 2.0.1 to 2.1.0 (#3033)
  • db572e7 Bump @ typescript-eslint/eslint-plugin from 6.4.0 to 6.4.1 (#3032)
  • f942c4e Bump @ rollup/plugin-node-resolve from 15.2.0 to 15.2.1 (#3039)
  • 3655bbd Bump @ typescript-eslint/parser from 6.4.0 to 6.4.1 (#3037)
  • e87602f Bump devtools-protocol from 0.0.1182435 to 0.0.1188743 (#3034)
  • 4da6193 Bump @ types/jsdom from 21.1.1 to 21.1.2 (#3031)
  • 86b96cc Update README.md (#3025)
  • d050a57 Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses by webpack (#3021)
  • 50b88a8 Fix docs links and live reload (#3024)
  • 3e6aa0d Update typing of getTerrain to be consistent with setTerrain (#3020)
  • 036d589 Revise description of localIdeographFontFamily example (#3018)
  • cc9d8e8 Bump postcss from 8.4.27 to 8.4.28 (#3012)
  • a6eb7fd Bump eslint-plugin-import from 2.28.0 to 2.28.1 (#3009)
  • d2b0882 Bump puppeteer from 21.0.3 to 21.1.0 (#3013)
  • 74a103b Bump @ typescript-eslint/parser from 6.3.0 to 6.4.0 (#3014)
  • 249c830 Improvements to organization of developer docs (#3005)
Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

πŸ›  Adjust upgrade PR settings

πŸ”• Ignore this dependency or unsubscribe from future upgrade PRs

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.