
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
react-spring-carousel
Advanced tools
A performant React carousel component powered by
react-spring
and@use-gesture
.
// npm v7.x
npm install --save react-spring-carousel
// npm v6.x or less
npm install --save react-spring react-spring-carousel
yarn add react-spring react-spring-carousel
import { useSpringCarousel } from 'react-spring-carousel'
const { carouselFragment, slideToPrevItem, slideToNextItem } = useSpringCarousel({
items: [
{
id: 'item-1',
renderItem: <div>Item 1</div>,
},
{
id: 'item-2',
renderItem: <div>Item 2</div>,
},
],
})
return (
<div>
<button onClick={slideToPrevItem}>Prev item</button>
<div>{carouselFragment}</div>
<button onClick={slideToNextItem}>Next item</button>
</div>
)
For a complete overview of the library, please visit the official documentation.
FAQs
A new <Carousel /> experience for the web
The npm package react-spring-carousel receives a total of 3,930 weekly downloads. As such, react-spring-carousel popularity was classified as popular.
We found that react-spring-carousel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.