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.
tnpm install salt-icon --save
import Eye from 'salt-icon/lib/Eye';
render() {
return <Eye />
}
import Icon from 'salt-icon';
render() {
return <Icon name='icon-name'/>
}
import Icon from 'salt-icon/dist/Symbol';
render() {
return <Icon name='icon-name'/>
}
使用 symbol & use 的方式使用 Icon,主要是为了兼容老的方案
描述:自定义的扩展样式名称
类型:String
默认:''
描述:icon
所对应的svg
文件的命名。
注意:写名称即可,不是写路径。
类型:String
默认:''
描述:icon 颜色
类型:String
默认:'#000'
描述:icon 宽度
类型:Number/String
默认:'32px'
描述:icon 高度
类型:Number/String
默认:'32px'
描述:事件
类型:Function
默认:() => {}
FAQs
tingle-icon component for tingle.
The npm package salt-icon receives a total of 19 weekly downloads. As such, salt-icon popularity was classified as not popular.
We found that salt-icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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’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.