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.
@snack-uikit/counter
Advanced tools
Компонент для отображения количесвта уведомлений (доступен в 3 вариантах: 9, 9+, 9K)
npm i @snack-uikit/counter
import { Counter } from "@snack-uikit/counter";
<Counter
value={42}
size='m'
/>
<Counter
value={101}
appearance='critical'
variant='count-plus'
plusLimit={100}
/>
Компонент счетчик
name | type | default value | description |
---|---|---|---|
value* | number | - | Значение |
appearance | enum Appearance: "primary" , "neutral" , "red" | primary | Внешний вид |
variant | enum Variant: "count" , "count-plus" , "count-k" | count | Вариант |
size | enum Size: "s" , "m" | s | Размер |
plusLimit | number | 10 | Порог сокращения значения в формат v+. Например 1500 -> 999+ для 1000 |
className | string | - | CSS-класс |
color | enum Color: "accent" , "decor" | accent | Семантический цвет |
FAQs
Компонент для отображения количесвта уведомлений (доступен в 3 вариантах: 9, 9+, 9K)
The npm package @snack-uikit/counter receives a total of 117 weekly downloads. As such, @snack-uikit/counter popularity was classified as not popular.
We found that @snack-uikit/counter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.