Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@tomtom-international/web-sdk-plugin-minimap
Advanced tools
A plugin that provides a minimap functionality.
Just do:
npm i @tomtom-international/web-sdk-plugin-minimap
You must also include the minimap stylesheet in your project. It's located here:
node_modules/@tomtom-international/web-sdk-plugin-minimap/dist/Minimap.css
In this example we assume that you already have the Tomtom Maps SDK for Web library included.
import Minimap from '@tomtom-international/web-sdk-plugin-minimap'
const ttMinimap = new Minimap({
mapRef: tt.map,
zoomOffset: 5,
ignorePitchAndBearing: true,
mapOptions: {
key: '<your-tomtom-maps-sdk-key>',
style: 'tomtom://vector/1/basic-main',
dragRotate: false
}
});
const map = tt.map({
key: '<your-tomtom-maps-sdk-key>',
container: 'map',
style: 'tomtom://vector/1/basic-main'
}, {
center: [19.45773, 51.76217],
zoom: 12
});
map.addControl(ttMinimap, 'bottom-right');
FAQs
Plugin that adds minimap to the parent map
The npm package @tomtom-international/web-sdk-plugin-minimap receives a total of 2 weekly downloads. As such, @tomtom-international/web-sdk-plugin-minimap popularity was classified as not popular.
We found that @tomtom-international/web-sdk-plugin-minimap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.