Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@leancloud/play
Advanced tools
从 Release 下载 play.js 并拖拽至 Cocos Creator 中作为源码引用(无需做插件配置)
在工程目录下,执行
rollup -c
dist/play.js 即为生成的库文件。
.
├── dist // 打包产出 (dist 分支)
│ ├── play.js // 最终打包的 js 文件,拖拽至 Cocos Creator 中使用
├── src // 源码
│ ├── index.js // 打包入口
│ ├── Play.js // 最重要的接口类,提供操作接口和注册事件
│ ├── Room.js // 房间类
│ ├── Player.js // 玩家类
│ └── ...
├── test // 测试用例
│ ├── Connect.test.js // 连接测试
│ ├── Lobby.test.js // 大厅测试
│ ├── CreateRoom.test.js // 创建房间测试
│ ├── JoinRoom.test.js // 加入房间测试
│ ├── ChangeProperties.test.js // 修改房间 / 玩家属性测试
│ ├── CustomEvent.test.js // 发送自定义消息测试
│ └── Master.test.js // 主机切换测试
FAQs
LeanCloud Play SDK
The npm package @leancloud/play receives a total of 8 weekly downloads. As such, @leancloud/play popularity was classified as not popular.
We found that @leancloud/play demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.