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.
@types/react-virtualized-auto-sizer
Advanced tools
TypeScript definitions for react-virtualized-auto-sizer
npm install --save @types/react-virtualized-auto-sizer
This package contains type definitions for react-virtualized-auto-sizer (https://github.com/bvaughn/react-virtualized-auto-sizer/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized-auto-sizer.
import * as React from "react";
export interface Size {
height: number;
width: number;
}
export interface AutoSizerProps {
/** Function responsible for rendering children. */
children: (size: Size) => React.ReactNode;
/** Optional custom CSS class name to attach to root AutoSizer element. */
className?: string | undefined;
/** Default height to use for initial render; useful for SSR */
defaultHeight?: number | undefined;
/** Default width to use for initial render; useful for SSR */
defaultWidth?: number | undefined;
/** Disable dynamic :height property */
disableHeight?: boolean | undefined;
/** Disable dynamic :width property */
disableWidth?: boolean | undefined;
/** Nonce of the inlined stylesheet for Content Security Policy */
nonce?: string | undefined;
/** Callback to be invoked on-resize */
onResize?: ((size: Size) => void) | undefined;
/** Optional inline style */
style?: React.CSSProperties | undefined;
}
export default class extends React.Component<AutoSizerProps> {}
These definitions were written by Hidemi Yukita.
FAQs
TypeScript definitions for react-virtualized-auto-sizer
The npm package @types/react-virtualized-auto-sizer receives a total of 373,954 weekly downloads. As such, @types/react-virtualized-auto-sizer popularity was classified as popular.
We found that @types/react-virtualized-auto-sizer demonstrated a healthy version release cadence and project activity because the last version was released less than 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.