
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@talixo/avatar
Advanced tools
UI Component which represents Avatar
Package is available as @talixo/avatar
in NPM registry, so you can use it in your project
using npm install @talixo/avatar --save
or yarn add @talixo/avatar
.
Your package should additionally have some extra dependencies:
@talixo/icon: ^1.0.0-alpha.24
@talixo/shared: ^1.0.0-alpha.24
prop-types: ^15.6.1
react: ^16.2.0
react-dom: ^16.2.0
These packages are required by @talixo/avatar
, but you have to install them manually,
to avoid having different versions of these in your application.
It allows any props which are allowed for div
. Additionally, it handles some differently:
Property name | Type | Default | Description |
---|---|---|---|
alt | string | n/a | Alt attribute for the rendered img element. |
className | string | n/a | Additional class name. |
children | string | n/a | Text displayed inside avatar. |
defaultIcon | string | n/a | Default icon displayed inside avatar. |
defaultText | string | n/a | Default text displayed inside avatar. |
icon | string | n/a | Icon displayed inside avatar. |
imgProps | object | n/a | Additional props passed to rendered img element. |
render | function | AvatarChildRenderer | Format avatar's children. |
rounded | boolean | false | Controls whether avatar is circular or square. |
size | number | 40 | Size of the avatar in pixels. |
src | string | n/a | Image displayed inside avatar. |
srcSet | string | n/a | Image set displayed inside avatar. |
style | object | n/a | Style passed to wrapper. |
FAQs
UI Component which represents Avatar
We found that @talixo/avatar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.