
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
a tap plugin
$ npm install --save js-tap
var tap = require('js-tap');
//直接调用
tap('.test',function(){
console.log(this);
})
//事件委托
tap(document,'.test',function(){
console.log(this);
})
//阻止事件冒泡/默认动作
tap('.test',function(e){
e.stopPropagation();
e.preventDefault();
})
//同时指定多个事件
tap(document,{
'.el1':function(){
//事件1
},
'.el2':function(){
//事件2
},
'.el3':function(){
//事件3
}
})
- 增加同时指定多个事件方式
- 事件委托可以使用document
- 返回touchend或click事件,可手动进行阻止冒泡等其他操作
- 发布至github及npm(js-tap)
- 可以直接调用及通过事件委托调用
- 增加阻止事件冒泡功能
FAQs
a tap plugin
The npm package js-tap receives a total of 0 weekly downloads. As such, js-tap popularity was classified as not popular.
We found that js-tap 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
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.