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/react-highcharts
Advanced tools
TypeScript definitions for react-highcharts
npm install --save @types/react-highcharts
This package contains type definitions for react-highcharts (https://github.com/kirjs/react-highcharts).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highcharts.
import * as Highcharts from "highcharts";
import * as React from "react";
/**
* Props for ReactHighcharts component.
*/
interface ReactHighchartsProps {
/**
* Highcharts configuration options.
*/
config: Highcharts.Options;
/**
* @param after-render callback.
*/
callback?(chart: Highcharts.ChartObject): void;
/**
* Chart will not rerender if the config is referentially equal to previous and this property is true
*/
isPureConfig?: boolean | undefined;
}
/**
* React interface for highcharts.
*/
declare class ReactHighcharts extends React.Component<ReactHighchartsProps> {
static Highcharts: Highcharts.Static;
}
export default ReactHighcharts;
These definitions were written by Jiri Marsicek.
FAQs
TypeScript definitions for react-highcharts
The npm package @types/react-highcharts receives a total of 3,294 weekly downloads. As such, @types/react-highcharts popularity was classified as popular.
We found that @types/react-highcharts 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 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.