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.
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:
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