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.
@bdt-component-library/typography
Advanced tools
This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.
Handles display of text according to typography style guide conventions.
prop | type | required | default | explanation |
---|---|---|---|---|
display | enum("default" | "light") | no | "default" |
children | React node | yes | n/a | The text to display |
className | string | no | n/a | Adds an optional classname to the component |
id | string | no | n/a | Adds an optional id to the component |
variant | enum("h1", "h2", "h3", "h4", "h5", "h6", "p") | no | "p" | Changes the primary text style |
noBottomMargin | boolean | no | false | Adds optional bottom margin |
body | enum("default", "small", "smallCaps") | no | "default" | Changes text secondary styles |
FAQs
Typography component
The npm package @bdt-component-library/typography receives a total of 3 weekly downloads. As such, @bdt-component-library/typography popularity was classified as not popular.
We found that @bdt-component-library/typography 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.
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.