
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
vue-latlng-picker
Advanced tools
A vuejs google maps component that allows latitude and longitude to be selected from a map interface.
A Vue 2 google maps component that allows latitude and longitude to be selected from a map interface. Based on vue-google-maps-location-selector
npm install --save vue-latlng-picker
Include the google maps script in the head of your index.html file and add your API key
<script src="https://maps.googleapis.com/maps/api/js?key=[YOUR_API_KEY_HERE]&libraries=places"></script>
Use the component by passing though an initial latitude and longitude. You may also give it a zoom prop, the default is 12.
The locationUpdated
event will fire as soon as the maps center_changed
event fires.
<map-location-selector :zoom="15" :latitude=[ADD_INITIAL_LATITUDE] :longitude=[ADD_INITIAL_LONGITUDE]
@locationUpdated="locationUpdated">
</map-location-selector>
You can get the location in the callback function defined in the locationUpdated
event.
methods:{
locationUpdated(latlng) {
this.latitude = latlng.lat;
this.longitude = latlng.lng;
}
}
FAQs
A vuejs google maps component that allows latitude and longitude to be selected from a map interface.
The npm package vue-latlng-picker receives a total of 0 weekly downloads. As such, vue-latlng-picker popularity was classified as not popular.
We found that vue-latlng-picker 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
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.