
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@hotosm/underpass-ui
Advanced tools
A set of UI components for Underpass.
yarn add @hotosm/underpass-ui
Include the styles file on your CSS:
@import "@hotosm/underpass-ui/dist/index.css";
You can also add this if you want a full view height map:
.maplibregl-map {
height: 100vh;
}
And then use the components:
<UnderpassMap
center={[-79.64696, 0.95953]}
tags="building=yes"
highlightDataQualityIssues
/>
See the playground
folder for more examples.
The default URL for the Underpass REST API is https://underpass.hotosm.org:8000
(an Underpass development server), but you can change it passing a config property:
const config = {
API_URL: "http://localhost:8000",
MAPBOX_TOKEN: "YOUR_TOKEN"
};
FAQs
Underpass UI
The npm package @hotosm/underpass-ui receives a total of 2 weekly downloads. As such, @hotosm/underpass-ui popularity was classified as not popular.
We found that @hotosm/underpass-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.