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.
vue-luck-draw
Advanced tools
使用 npm 安装:npm i vue-luck-draw
使用 yarn 安装:yarn add vue-luck-draw
找到 main.js
引入插件并 use
import LuckDraw from 'vue-luck-draw'
Vue.use(LuckDraw)
然后在组件内使用<LuckyWheel />大转盘组件
或<LuckyGrid />九宫格组件
<template>
<div>
<!-- 大转盘抽奖 -->
<LuckyWheel
style="width: 200px; height: 200px"
...你的配置
/>
<!-- 九宫格抽奖 -->
<LuckyGrid
style="width: 200px; height: 200px"
...你的配置
/>
</div>
</template>
从下面的链接里下载一个叫index.umd.min.js
的 js 文件, 然后使用 script 标签引入
<div id="app">
<!-- 大转盘抽奖 -->
<lucky-wheel
style="width: 200px; height: 200px"
...你的配置
/>
<!-- 九宫格抽奖 -->
<lucky-grid
style="width: 200px; height: 200px"
...你的配置
/>
</div>
<script src="./vue.min.js"></script>
<script src="./index.umd.min.js"></script>
<script>
new Vue({
el: '#app'
})
</script>
FAQs
一个支持 vue2 / vue3 的(大转盘抽奖 / 九宫格抽奖)luckydraw 插件
The npm package vue-luck-draw receives a total of 47 weekly downloads. As such, vue-luck-draw popularity was classified as not popular.
We found that vue-luck-draw 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.