
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@tdcerhverv/icon
Advanced tools
The icon component is a simple wrapper component that takes an SVG react component and handles sizes, classes and click handlers.
It doesn't render anything by itself but it applies properties to the supplied SVG component.
Import like this:
import { Icon } from '@tdcerhverv/icon';
You will also need an actual icon, eg.
import Success from '@tdcerhverv/parrotfish/dist/icons/Icons/Success.svg';
Use like this:
<Icon icon={Success} size={16} />
export interface IIcon extends SVGProps<SVGSVGElement> {
icon: JSXElementConstructor<SVGProps<SVGSVGElement>>;
size?: 8 | 12 | 16 | 20 | 24 | 28 | 32 | 40 | 48 | 56 | 64;
inline?: boolean;
}
Notes:
size is optional and will default to 24.
inline is optional and will align the icon better when used as inline element.
All standard element properties (e.g. className, id, etc.) is supported, see the inherited properties here:
https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement.
| Size | Specification | Equivalent |
|---|---|---|
8 | 0.5rem | 8px |
12 | 0.75rem | 12px |
16 | 1rem | 16px |
20 | 1.25rem | 20px |
24 (default) | 1.5rem | 24px |
28 | 1.75rem | 28px |
32 | 2rem | 32px |
40 | 2.5rem | 40px |
48 | 3rem | 48px |
56 | 3.5rem | 56px |
64 | 4rem | 64px |
Up to size 32 has increments of 4 pixels and above size 32 has increments of 8 pixels.
icon
FAQs
Icon component
The npm package @tdcerhverv/icon receives a total of 0 weekly downloads. As such, @tdcerhverv/icon popularity was classified as not popular.
We found that @tdcerhverv/icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 22 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.