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.
@washingtonpost/wpds-pagination-dots
Advanced tools
Pagination dots show progress over a range of items (such as a carousel of images). Mandatory props are amount
(the total amount of dots) and index
(the 1-indexed position of the currently active dot). Optional prop is unitName
, which describes the type of item the dots represent (such as page
or image
). When unitName
is specified, the aria-valuetext
will read "[unitName] x of y", where x and y are numbers (More on aria-valuetext here).
The PaginationDots component is meant to be controlled by another component, such as a Carousel which sets/updates amount
and index
to represent the items being traversed.
The parent element is meant to have a position: relative
or position: absolute
in order for the dots to attach to the element.
import { PaginationDots } from "@washingtonpost/wpds-ui-kit";
function Component() {
return <PaginationDots amount={5} index={1} unitName="Page" />;
}
FAQs
WPDS Pagination Dots and Container
We found that @washingtonpost/wpds-pagination-dots demonstrated a healthy version release cadence and project activity because the last version was released less than 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.