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.
A jquery plugin for infinite scroll
npm install --save-dev limarquee
├── Readme.md # help
├── webpack.config.js # webpack.config.js配置
├── test # 测试案例
│ ├── index.css # 测试案例样式表
│ ├── index.html # 测试案例静态页面
│ └── index.js # 测试案例入口
├── lib # 插件核心代码
│ ├── style.css # 插件内置样式表
│ └── index.js # 测试案例入口
├── package.json
├── .babelrc
└── index.js # 外部引用插件时的入口
Infinite scroll work on a container element with its child of ul, and then ul contain children of li
<div class="container">
<ul>
<li>信息内容一</li>
<li>信息内容二</li>
</ul>
</div>
import Limarquee from 'limarquee'
const limarquee = new Limarquee('.container')
limarquee.render({
direction: left // 滚动方向,可选 left / right / up / down
loop: -1 // 循环次数,-1 为无限循环
scrolldelay: 0 // 每次重复之前的延迟
scrollamount: 50 // 滚动速度,越大越快
circular: true // 无缝滚动,如果为 false, 则和 marquee 效果一样
drag: true // 鼠标可拖动
runshort: true // 内容不足是否滚动
hoverstop: true // 鼠标悬停暂停
xml: false // 加载 xml 文件
inverthover: false // 反向,即默认不滚动,鼠 标悬停滚动
})
More knowledge from here
FAQs
The npm package limarquee receives a total of 1 weekly downloads. As such, limarquee popularity was classified as not popular.
We found that limarquee 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.