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.
bpk-component-banner-alert
Advanced tools
Backpack banner alert component.
npm install bpk-component-banner-alert --save
import React from 'react'
import BpkBannerAlert, { ALERT_TYPES } from 'bpk-component-banner-alert'
const longMessage = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sagittis sagittis purus, id blandit ipsum. Pellentesque nec diam nec erat condimentum dapibus. Nunc diam augue, egestas id egestas ut, facilisis nec mi. Donec et congue odio, nec laoreet est. Integer rhoncus varius arcu, a fringilla libero laoreet at. Mauris porta varius ullamcorper. Sed laoreet libero mauris, non pretium lectus accumsan et. Suspendisse vehicula ullamcorper sapien, et dapibus mi aliquet non. Pellentesque auctor sagittis lectus vitae rhoncus. Fusce id enim porttitor, mattis ante in, vestibulum nulla.'
export default MyComponent = () => (
<BpkBannerAlert
message='Successful alert with more information.'
type={ALERT_TYPES.SUCCESS}
>
{longMessage}
</BpkBannerAlert>
)
Property | PropType | Required | Default Value |
---|---|---|---|
type | ALERT_TYPES (one of) | true | - |
message | string | true | - |
children | - | false | null |
toggleButtonLabel | string | false | null |
FAQs
Backpack banner alert component.
The npm package bpk-component-banner-alert receives a total of 509 weekly downloads. As such, bpk-component-banner-alert popularity was classified as not popular.
We found that bpk-component-banner-alert demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.