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.
password-virtual-keyboard-vue
Advanced tools
``` 本组件是在闲暇之余随便写的一个简单的密码模拟键盘,支持数字、特殊字符、字母大小写,同时目前还未正式完善,因此在有时间的情况下会进行补充完善 ```
本组件是在闲暇之余随便写的一个简单的密码模拟键盘,支持数字、特殊字符、字母大小写,同时目前还未正式完善,因此在有时间的情况下会进行补充完善
v1.0.x 版本说明
1.0.7 *新增明/密文显示按钮,新增输入光标显示
1.0.6 *修复列表样式问题
1.0.5 *修复部分bug,对样式细节进行了完善,添加自定义密码长度功能
1.0.4 *简单的进行键盘模拟,支持changeInputValue(触发键盘按键时)与complete(点击完成按钮时)回调
JavaScript、Vuejs
npm install password-virtual-keyboard-vue
import keyboard from 'password-virtual-keyboard-vue'
Vue.use(keyboard)
<template>
<div id="app">
<Keyboard @complete="getResult" @changeInputValue="changeValue" :inputNum="6" :showClear="true"></Keyboard>
</div>
</template>
<script>
export default {
name: 'App',
methods:{
getResult(e){
console.log(e)
},
changeValue(e){
console.log(e)
}
}
}
</script>
@complete | Function | 点击完成按钮触发
@changeInputValue | Function | 点击按键输入时触发
:inputNum | Number | 可定义密码长度,默认为6个
:showClear | Boolean | 可设置是否显示明/密文按钮,默认为false
FAQs
``` 本组件是在闲暇之余随便写的一个简单的密码模拟键盘,支持数字、特殊字符、字母大小写,同时目前还未正式完善,因此在有时间的情况下会进行补充完善 ```
The npm package password-virtual-keyboard-vue receives a total of 0 weekly downloads. As such, password-virtual-keyboard-vue popularity was classified as not popular.
We found that password-virtual-keyboard-vue 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
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.