Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Icon.
Can be used to display icons from the following sources:
img
-tag based media objects (bitmaps like .png
or vectors like
.svg
can be used)background-image
or glyphs from icon fonts),use
-tag refs.There is no size defined by the icon class. Sizing should be done by
the surrounding container, the inherited font-size or modifiers like
icon-size1
.
Based on an img
tag using bitmap (PNG) and vector (SVG) in this example.
img-tag based media objects example
Based on a background image. The size is defined by the container and the use
of layout-fit
on the div carrying the background image.
background image based media objects example
CSS class based (icon font).
CSS class based with icon font example
Inline SVG based.
icon
icon-size1
: Default size for non icon-font based icons ~24px.icon-size2
: ~36px.icon-size3
: ~48px.example.html on GH-pages.
FAQs
Icon
The npm package @vcl/icon receives a total of 4 weekly downloads. As such, @vcl/icon popularity was classified as not popular.
We found that @vcl/icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.