
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Vue Component for Vue 2.x
npm install vue2-hints --save
For demo, please see here
1. Import the component
import Vue2Hints from 'vue2-hints';
2.1 Use it globally
Vue.use(Vue2Hints);
// OR with options
Vue.use(Vue2Hints, {baseURL: 'https://jsonplaceholder.typicode.com/', headers: {'X-API-KEY': 1234}});
*3. Access it locally
<template>
<vue2-hints ref="http" v-model="data" :error-fn="onError"></vue2-hints>
</template>
components: {
'vue2-hints': Vue2Hints
},
<template>
<div id="app">
<div class="d-flex flex-column justify-content-between" style="height: 400px;">
<button class="btn btn-primary btn-sm" type="button" v-hint="'simple tooltip'" :sanchit="show">tooltip</button>
<button class="btn btn-primary btn-sm" type="button" v-hint.html="'<b>simple</b> tooltip'" :sanchit="show">html tooltip</button>
<button class="btn btn-primary btn-sm" type="button" v-hint="{title: 'this is a tooltip', show: show, placement: 'bottom'}" :sanchit="show">prog tooltip</button>
<button class="btn btn-primary btn-sm" type="button" @click="test" v-hint.popover="'this is a popover'">popover</button>
<button class="btn btn-primary btn-sm" type="button" @click="test" v-hint.popover="{title: 'my title', content: 'my content'}">popover title and content</button>
<hr>
<button class="btn btn-primary btn-sm" type="button" @click="show = !show">!show</button>
</div>
</div>
</template>
<script>
import Vue from 'vue';
import Vue2Hints from '../src/index'
Vue.use(Vue2Hints, {});
export default {
name: 'app',
data() {
return {
data: {},
show: true,
}
},
methods: {
test() {
// code
}
},
}
</script>
Contributions are welcome
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
FAQs
Vue2Hints: Http component with Progress bar
The npm package vue2-hints receives a total of 7 weekly downloads. As such, vue2-hints popularity was classified as not popular.
We found that vue2-hints 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
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.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.