
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.
v-decimal-pro
Advanced tools
输入框限制组件:限制只能输入整数或者小数且支持动态规则
使用 npm 安装:
npm i v-decimal-pro --save
import decimal from 'v-decimal-pro';
Vue.directive('decimal',decimal)
### 使用
```vue
1. 保留两位置小数
<template>
<input v-decimal/>
</template>
2. 0-100,小数2位
<template>
<input v-decimal.range0_100="2" />
</template>
3. 整数3位,小数2位,且≥1
<template>
<input v-decimal.min1="[3,2]" />
</template>
4.动态规则
<template>
<input :v-decimal="{ modifiers: { range0_100: true }, value: 2 }" />
</template>
FAQs
We found that v-decimal-pro demonstrated a healthy version release cadence and project activity because the last version was released less than 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.