
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
react-scrollrefresh
Advanced tools
React ScrollRefresh is a React component which enables refresh via scoll
React ScrollRefresh is a React component which enables refresh via scoll
npm install react-scrollrefresh --save
properties | type | description |
---|---|---|
height | int/String | 容器高度,需要设置合适的高度,复杂无法出现滚动条 |
width | int/String | 容器宽度 |
fetchNextData | function(currentPos, pageNo) | 获得下一页数据,currentPos为当前位置,从0开始;pageNo为当前页码,从1开始 |
synch | boolean | 是否同步执行数据查询,缺省:false |
nextData | Array | 异步(synch=false)时,通过nextData通知组件数据更新,这个数据只包含当前页的数据。 |
loading | React Component | 自定义loading |
pageLoadFinish | function(pageNo) | 页数据加载完成回调,可以用于加载后nextData清除 |
renderItem | function(item, index) | 自定义Item |
wrapper | String | 包装组件,缺省'div' |
wrapperClassName | String | 包装组件ClassName |
<ScrollRefresh height={150} width={300}
fetchNextData={this.fetchNextData.bind(this)}
nextData={this.state.nextData}/>
<ScrollRefresh height={150} width={300}
fetchNextData={this.fetchSynchNextData.bind(this)}
synch/>
MIT
FAQs
React ScrollRefresh is a React component which enables refresh via scoll
The npm package react-scrollrefresh receives a total of 1 weekly downloads. As such, react-scrollrefresh popularity was classified as not popular.
We found that react-scrollrefresh 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.