
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@divriots/infini-scroll
Advanced tools
Webcomponent that infinitely scrolls through a list of nodes in horizontal direction.
0 dependencies, < 250 lines of JS
Note that in general for most things there are better and more accessible interaction patterns than carousels. Do not use it for things that you expect your users to actually interact with. This is intended as a show-only reel and individual items will not be accessible, my advise is to add an aria-label on the infini-scroll and make it focusable, to tell users with impaired vision what the reel is displaying. https://shouldiuseacarousel.com/
container-height, 150 by default. Set this to the total height of one or multiple nodes in case you want multiple rows, in pixels.box-width, 150 by default. Set this to the total width in pixels (including margin, border etc.) of one node.row-amount, 1 by default, but you may want more rows. Make sure to adjust this along with the container-height attribute so that the amount of rows does fit within the container height.scroll-interval, 1 by default, interval in milliseconds to scrollscroll-amount, 1 by default, amount of pixels to scroll per interval, Firefox does not support floating numbers here!resume-time, 2000 by default time until resuming the auto scroll after user interaction has stoppeddrag-speed, default 4, increase to make dragging slide the list fasterreverse, auto scroll goes in reverse directionfollow-user-direction, by setting this attribute, the infini-scroll will switch to the user's last manual scroll directionFAQs
Unknown package
The npm package @divriots/infini-scroll receives a total of 104 weekly downloads. As such, @divriots/infini-scroll popularity was classified as not popular.
We found that @divriots/infini-scroll demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.