
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Vue.js plugin that allow search address and places using Google Maps API
Search address and places using Google Maps API
npm i -S vue-gmaps
And in your main.js
...
// main.js
import VueGmaps from 'vue-gmaps'
Vue.use(VueGmaps, {
key: '<your api here>'
})
Options are:
libraries: ['places'], version: '3'****
Add the directive v-gmaps-searchbox
into your input
<input v-model=vm.searchPlace v-gmaps-searchbox=vm>
This will popule your vm.place
object with details about selected place.
By default, vm.place
is used, you can change this passing an argument to directive e.g :anotherProperty
<input v-gmaps-searchbox:myProperty=vm>
So vm.myProperty
will be filled with details about selected place
All information about place is put is filled, to determinate whats fields should be use, you can specify a modifiers like this .name.website.formatted_address.geometry
<input v-gmaps-searchbox:myProperty.name.website.formatted_address.geometry=vm>
So your vm
will set property myProperty
like this
{
myProperty: {
name: <value_from_result>,
website: <value_from_result>,
formatted_address: <value_from_result>,
geometry: <value_from_result>,
}
}
FAQs
Vue.js plugin that allow search address and places using Google Maps API
The npm package vue-gmaps receives a total of 0 weekly downloads. As such, vue-gmaps popularity was classified as not popular.
We found that vue-gmaps 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
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.