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.
@freshworks/pagination
Advanced tools
yarn add @freshworks/pagination
Pagination is used when a large set of data needs to be displayed in a list or table across multiple pages. Nucleus Pagination provides a paginator with visual page numbers for navigation. The component also abstracts the calculation of the items that are displayed on the current page. The developer only needs to pass the total array of records to the pagination component.
Pagination can be used to display the list of contacts, companies or tickets across multiple pages in the form of a table
Do's
Pagination should be used when a large set of content is displayed with tables or lists.
Though the number of items on a page can be altered, ensure that the default is reasonable.
Use Mini Pagination when the pagination is to be done inside a toolbar.
Dont's
Do not use pagination if the number of items is known to be less.
Do not override the actions and behaviour of pagination and paginator
FAQs
Introduces pagination for a component
We found that @freshworks/pagination demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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.