
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
cmui-action
Advanced tools
English version is here.
轻松随意绑定点击事件!
先定义一些动作:
action.define({
'my-action': function () {
//do something...
},
/* ... */
})
在页面里创建元素:
<button data-action="my-action">btn</button>
<!-- 或这样 -->
<a href="#" data-action="my-action">link</a>
<!-- 或这样 -->
<a href="#my-action" data-action>link</a>
其实已经不需要第三步了。
点击这个元素就可以触发你定义的那个动作了!
依赖以下类库:
支持以下浏览器:
通过 npm 3+ 安装:
$ npm install cmui-action
在页面中加载 Action 的脚本文件及必要的依赖:
<script src="./node_modules/jquery/dist/jquery.js"></script>
<script src="./node_modules/cmui-action/src/action.js"></script>
npm install
,安装必要的依赖。test/test.html
即可运行单元测试。移动 UI 框架 CMUI 采用 Action 作为全局的基础设施,因此所有 CMUI 用户都在使用 Action:
FAQs
Easy and lazy solution for click-event-binding.
The npm package cmui-action receives a total of 0 weekly downloads. As such, cmui-action popularity was classified as not popular.
We found that cmui-action 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.