
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@userback/vue2
Advanced tools
The official NPM module for embedding the Userback.io widget into your Vue2 or Vue3 application. If you are using Vue3 we also have @userback/vue
npm i @userback/vue2
or yarn add @userback/vue2
To use the Userback plugin you just need to utilize Vue.use
and provide your token like so:
import Vue from 'vue';
import UserbackPlugin from '@userback/vue2';
Vue.use(UserbackPlugin, { token: USERBACK_TOKEN });
new Vue({ render: (h) => h(App) }).$mount('#app');
You can access the Userback api via the Vue.prototype.$userback
object:
<template>
<div id="app">
<button type="button" v-on:click="$userback.open('bug')">Open Bugs</button>
<button type="button" v-on:click="$userback.open('general', 'screenshot')">Screenshot me!</button>
</div>
</template>
We also support the Nuxt framework and have an example of it's usage within a project.
// plugins/userback.client.js
import UserbackPlugin from '@userback/vue2';
Vue.use(UserbackPlugin, { token: process.env.USERBACK_TOKEN });
For more information about available configuration settings and and functions available, see our Javascript API
FAQs
Userback.io widget for Vue2
The npm package @userback/vue2 receives a total of 11 weekly downloads. As such, @userback/vue2 popularity was classified as not popular.
We found that @userback/vue2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.