![Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar](https://cdn.sanity.io/images/cgdhsj6q/production/6199b2d12ffc9c39c6ca08c94d7b3217946ad92a-1024x1024.webp?w=400&fit=max&auto=format)
Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@types/reactcss
Advanced tools
TypeScript definitions for reactcss
npm install --save @types/reactcss
This package contains type definitions for reactcss (http://reactcss.com/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/reactcss.
import * as React from "react";
interface LoopableProps extends React.RefAttributes<any> {
children?: React.ReactNode;
"nth-child": number;
"first-child"?: boolean | undefined;
"last-child"?: boolean | undefined;
even?: boolean | undefined;
odd?: boolean | undefined;
}
interface HoverProps<T> extends React.RefAttributes<T> {
children?: React.ReactNode;
hover?: boolean | undefined;
}
interface Classes<T> {
default: Partial<T>;
[scope: string]: Partial<T>;
}
export type CSS = React.CSSProperties;
export function hover<A>(component: React.ComponentClass<A> | React.FunctionComponent<A>): React.ComponentClass<A>;
export function loop(index: number, length: number): LoopableProps;
export default function reactCSS<T>(classes: Classes<T>, ...activations: any[]): T;
These definitions were written by Chris Gervang, and Karol Janyst.
FAQs
TypeScript definitions for reactcss
The npm package @types/reactcss receives a total of 460,057 weekly downloads. As such, @types/reactcss popularity was classified as popular.
We found that @types/reactcss 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.