Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade UI´s mapbox-gl library #69

Open
rmotitsuki opened this issue Jun 10, 2024 · 0 comments
Open

Upgrade UI´s mapbox-gl library #69

rmotitsuki opened this issue Jun 10, 2024 · 0 comments
Labels
ui Graphfical User Interface

Comments

@rmotitsuki
Copy link

Today, the mapbox-gl.js library is included in the index.html file as a script, in version v0.41.0.
It causes 2 problems:

  • it is not maped by Node, and it is left out from the npm audit command
  • The library is using and old key from previous developer

Mapbox shloud be upgraded to the latest version possible (current version is v3.4.0) to fix vulnerabilities issues.
To do that, a generic user must be created for amligh, to replace the token.

index.html - remove script
package.json - add "mapbox-gl" dependency
Map.vue - replace token

@rmotitsuki rmotitsuki added the ui Graphfical User Interface label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Graphfical User Interface
Projects
None yet
Development

No branches or pull requests

1 participant