
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.
bee-alert
Advanced tools
页面内部针对用户行为操作的区域性提醒。根据信息类型不同提供相应的以背景颜色区分的alert。若需背景颜色加深需加dark
类。
使用单独的bee-alert包
先进行下载bee-alert包
npm install --save bee-alert
组件调用
import Alert from 'bee-alert';
React.render(<div>
<Alert />
<Alert colors="info" className="dark" closeLabel="close" />
</div>, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/bee-alert.css">
import "./node_modules/src/Alert.scss"
//或是
import "./node_modules/build/bee-alert.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
className | 类名 | string | |
colors | oneOf:info news success danger warning | string | warning |
controlLabel | 关闭按钮文字 | string | |
onDismiss | 关闭alert触发的方法 | func | |
dark | 显示颜色深度 | bool | false |
$ git clone https://github.com/tinper-bee/bee-alert
$ cd bee-alert
$ npm install
$ npm run dev
FAQs
alert ui component for react
The npm package bee-alert receives a total of 57 weekly downloads. As such, bee-alert popularity was classified as not popular.
We found that bee-alert demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers 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.