
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.
npm install tigerdraw
必须开启 "enableSkia": "true"
{
"usingComponents": {
"game": "tigerdraw/index"
}
}
{
"node_modules_es6_whitelist": [
"common-game"
]
}
Page({
data: {
gameSource: JSON.stringify({
// totalCols: 3,//一共有多少列
// aniCircles: 3,//滚动圈数
aniTime: 3,//第一列滚动时间 单位秒
aniDelayTime: 1,//后面一列相对前一列延迟指定时间停止 单位秒
prizes: [
{ src: "https://img.alicdn.com/imgextra/i2/555657275/O1CN01NWEDtM23c07Ad6g46_!!555657275.png", val: 1, col0default: true, type: "type", id: "id", name: "name" },
// { src: "https://img.alicdn.com/imgextra/i3/555657275/O1CN012bSw9v23c06sh1wGx_!!555657275.png", type: "type", id: "id", name: "name" },
{ src: "https://img.alicdn.com/imgextra/i4/555657275/O1CN01lCGwwv23c07846aTc_!!555657275.png", val: 2, col1default: true, type: "type", id: "id", name: "name" },
{ src: "https://img.alicdn.com/imgextra/i1/555657275/O1CN015dG2Ov23c07845JUN_!!555657275.png", val: 3, col2default: true, type: "type", id: "id", name: "name" },
{ src: "https://img.alicdn.com/imgextra/i1/555657275/O1CN017PjvXP23c076DxH9I_!!555657275.png", val: 4, type: "type", id: "id", name: "name" },
{ src: "https://img.alicdn.com/imgextra/i3/555657275/O1CN01huJvb123c073c8ZJr_!!555657275.png", val: 5, type: "type", id: "id", name: "name" },
]
}),
},
onLoad(query) {
},
onDrawFun() {
// 抽奖 传值对应prizes数据中的val值, 传-1或匹配不到val则为不中奖
this.gameComponent.onEvent("draw", -1);
},
onRef(game) {
this.gameComponent = game;
console.log("进入游戏")
},
onInitDone() {
/* my.alert({
content: "游戏初始化完成"
}) */
},
onDrawDone() {
// 转动结束
console.log("转动结束")
},
})
<view class="pageBox">
<game gameSource="{{gameSource}}" onRef="onRef" onInitDone="onInitDone" onDrawDone="onDrawDone" />
<view onTap="onDrawFun" style="position:absolute;left:0;bottom:100rpx;">抽奖</view>
</view>
-acss
.pageBox{
position: absolute;
width: 480rpx;
height: 390rpx;
left: 0;
top: 200rpx;
background-color: #ccc;
}
FAQs
``` npm install tigerdraw ```
We found that tigerdraw demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.