
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
弹出框组件
buttons需要传递对象数组,每个对象的name属性将会作为buttons的显示文字,onClick方法可以绑定回调,若不设定,则自动设置成onClose所对应的方法
Props属性如下
| props | 说明 | 类型 | 默认值 | 备选 |
|---|---|---|---|---|
| show | 显示参数 | boolean | false | |
| onClose | 关闭回调 | function | ||
| toBody | 生成的节点是否添加到body | boolean | true | |
| mySize | 大小 | string | medium | large\meduim\small |
| noCloseButton | 不显示X按钮 | boolean | false | |
| buttons | 按钮组参数 | array | ||
| noButtons | 不显示footer | boolean | false |
FAQs
We found that cat-modal 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.