Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
nlnd-slider
Advanced tools
This is a React component that provides a nice looking scrolling view. On scrolling, it will smooth scroll to the next component as such:
just do
npm install nlnd-slider
or
yarn add nlnd-slider
This example is the one used in the demo above:
import React from "react";
import { Slider, Slide } from "nlnd-slider";
import { SlideA, SlideB, SlideC } from "./Components/SlideA";
const App = () => (
<div>
<Slider>
<Slide>
<SlideA />
</Slide>
<Slide>
<SlideB />
</Slide>
<Slide>
<SlideC />
</Slide>
</Slider>
</div>
);
Each of the child components (SlideA, SlideB and SlideC) are simply a component to be shown in the slide. Here's how SlideA looks for example:
const SlideComponent = styled.div`
background-color: ${(props: SlideProps) => props.background};
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
`;
const SlideA = () => {
return (
<SlideComponent background="#4784e6">
<Contents style={{ fontSize: "3vw" }}>Hello</Contents>
</SlideComponent>
);
};
Ali Rezaee (ipinlnd): nlndipi@hotmail.com
FAQs
A slider for more smooth scrolling
The npm package nlnd-slider receives a total of 2 weekly downloads. As such, nlnd-slider popularity was classified as not popular.
We found that nlnd-slider 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.