Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
bee-badge
Advanced tools
用来醒目的展示新的或未读的信息条目
$ git clone https://github.com/tinper-bee/bee-badge
$ cd bee-badge
$ npm install
$ npm run dev
使用单独的bee-badge包
先进行下载bee-badge包
npm install --save bee-badge
组件调用
import Badge from 'bee-badge';
React.render(<div>
<div>
<Badge color="primary">a</Badge>
</div>
</div>, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/bee-badge.css">
import "./node_modules/src/Badge.scss"
//或是
import "./node_modules/build/bee-badge.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
color | one of: primary success info error warning dark | string | '' |
className | 增加额外的class | string | '' |
FAQs
bee-badge ui component for react
The npm package bee-badge receives a total of 118 weekly downloads. As such, bee-badge popularity was classified as not popular.
We found that bee-badge 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.