Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
A Leaflet based Web Component for displaying occurances of a GBIF entry on a map.
<gbif-map>
A Leaflet based Web Component for displaying occurances of a GBIF entry on a map.
Note: Uses ResizeObserver. Polyfill it on your end.
Attribute | Description |
---|---|
center-latitude | Latitude value for the center point. Float32. |
center-longitude | Longitude value for the center point. Float32. |
gbif-id | The ID for the item on GBIF. Number. |
gbif-style | The style for the GBIF layer. See link in developer notes to API with all styles listed. |
controls | Wether or not to allow controls in the map. Boolean. |
Install gbif-map via npm and import it in your webpack/rollup bundles.
Alternatively, import it in your ES module supported browser with import 'https://unpkg.com/gbif-map?module';
in a JavaScript module file or in your HTML with <script src="https://unpkg.com/gbif-map?module" type="module"></script>
. The demo page uses the latter method.
GBIF API is available at https://www.gbif.org/developer/maps
FAQs
A Leaflet based Web Component for displaying occurances of a GBIF entry on a map.
We found that gbif-map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.