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.
rc-waterfall
Advanced tools
# install
npm install --save rc-waterfall
# run
npm run dev
# build
npm run build
local: http://localhost:3002/
online: http://mapleliu.com/rc-waterfall/
import Waterfall from 'rc-waterfall';
参数 | 说明 | 类型 | 默认值 | 可选值 |
---|---|---|---|---|
source | 图片资源列表 | array<string> | - | - |
columnWidth | 单列宽度【单位px】 | number | 210 | - |
isOnlyImg | 是否只根据图片高度进行排版 | boolean | false | true false |
renderItem | 渲染瀑布流块元素,回调参数ci:列中位置,si:source中位置,url:图片url | function(ci:number,si:number,url:string):ReactNode | (ci,si,url)=><img src={url}/> | - |
getTarget | 设置需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数 | function():HTMLElement | ()=>window | - |
FAQs
Waterfall component for React
The npm package rc-waterfall receives a total of 0 weekly downloads. As such, rc-waterfall popularity was classified as not popular.
We found that rc-waterfall 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.