
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mp-verify-code
Advanced tools
mp-verify-codeA component for mp verify code
<mp-verify-code
bind:change=""
bind:finish=""
type="number"
height="116rpx"
quantity="{{6}}"
value=""
gap="20rpx"
itemStyle="border-bottom-color: blue;"
activeItemStyle="border-bottom-color: red;"
showUpper="{{false}}"
showLower="{{false}}"
></mp-verify-code>
<mp-verify-code
focus="{{focus}}"
value="{{value}}"
height="116rpx"
itemStyle="color: #1A171B"
activeItemStyle="color: #1A171B; border-bottom-color: #6E1013;"
bindfinish="handleVerifyCode"
bindchange="handleCodeChange"
/>
<mp-verify-code
gap="20rpx"
focus="{{focus}}"
value="{{value}}"
height="116rpx"
itemStyle="color: #1A171B; border-radius: 16rpx; border: 1rpx solid orange;"
activeItemStyle="color: #1A171B; border-radius: 16rpx; border: 1rpx solid purple;"
bindfinish="handleVerifyCode"
bindchange="handleCodeChange"
/>
Dep: fish-helper
npm install fish-helper
import helper from 'fish-helper'
/**
* ticker: true / false countdown is finished? => you can send code?
* count_down_by_remain_seconds(callback, seconds) default seconds is 60
* tickTime is the value of you need
*/
Component({
methods: {
handleTickTime() {
this.setData({ ticker: true, tickTime: 59 }, () => {
stop = helper.count_down_by_remain_seconds(({ remain, obj }) => {
if (remain <= 0) this.data.ticker = false
this.setData({ tickTime: Number(obj.seconds), ticker: this.data.ticker })
}, this.data.tickTime)
})
}
}
})
FAQs
miniprogram phone verify code ui
We found that mp-verify-code 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.