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.
@adactive/arc-itemcarousel
Advanced tools
npm i --save @adactive/arc-itemcarousel
OR
yarn add @adactive/arc-itemcarousel
import AdsumItemCarousel from "@adactive/arc-itemcarousel";
...
onItemClicked(item) {
console.log("[ITEM CLICKED] :: ", item);
}
const itemsWithoutLogo = [
{
name: 'Food'
},
...
{
name: 'Carpark'
}
];
<AdsumItemCarousel
isOpen={true}
items={itemsWithoutLogo}
itemsPerPage={9}
onItemClicked={this.onItemClicked}
/>
export type LogoObject = {
+uri: string
};
export type ItemObject = {
+name: string,
+logo?: LogoObject
};
type PropTypes = {|
+isOpen: boolean,
+items: Array<ItemObject>,
+itemsPerPage: number,
+onItemClicked: () => null,
+listWrapperCSS?: CSSStyleDeclaration,
+thumbNailWrapperCSS?: CSSStyleDeclaration,
+logoWrapperCSS?: CSSStyleDeclaration,
+logoCSS?: CSSStyleDeclaration,
+titleWrapperCSS?: CSSStyleDeclaration,
+titleCSS?: CSSStyleDeclaration,
+dashCSS?: CSSStyleDeclaration,
+carouselOptions?: Object,
+defaultLogo?: string
|};
static defaultProps = {
isOpen: false,
items: [],
itemsPerPage: 0,
onItemClicked: null
};
isOpen -> To show or hide itemCarousel
items -> Array of itemsObjects to be displayed in the carousel
itemsPerPage -> To set the number of thumbnail in each carousel page
onItemClicked -> A callback function to capture clicking of thumbnail
listWrapperCSS -> To customise CSS for the overall list
thumbNailWrapperCSS -> To customise CSS for the overall thumbnail css
logoWrapperCSS -> To customise CSS for the div wrapping around the logo
logoCSS -> To customise CSS for logo div
titleWrapperCSS -> To customise CSS for the wrapper around title and dash div
titleCSS -> To customise CSS for the title div
dashCSS -> To customise CSS for the dash div
carouselOptions -> Refer to nuka-carousel for more information
defaultLogo -> To add a default logo for items in the carousel without logo
`npx @adactive/arc-itemcarousel copy --less-only`
`npx @adactive/arc-itemcarousel copy`
FAQs
Adsum Item Carousel Component
The npm package @adactive/arc-itemcarousel receives a total of 8 weekly downloads. As such, @adactive/arc-itemcarousel popularity was classified as not popular.
We found that @adactive/arc-itemcarousel demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.