Socket
Socket
Sign inDemoInstall

@types/chart.js

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/chart.js - npm Package Compare versions

Comparing version 2.9.2 to 2.9.3

24

chart.js/index.d.ts

@@ -108,6 +108,11 @@ // Type definitions for Chart.js 2.9

// NOTE: This model is generic with a bunch of optional properties to represent all types of chart models.
// Each chart type defines their own unique model structure so some of these optional properties
// might always have values depending on the chart type.
interface Model {
backgroundColor: string;
borderAlign?: Chart.BorderAlignment;
borderColor: string;
borderWidth?: number;
circumference?: number;
controlPointNextX: number;

@@ -117,6 +122,10 @@ controlPointNextY: number;

controlPointPreviousY: number;
endAngle?: number;
hitRadius: number;
innerRadius?: number;
outerRadius?: number;
pointStyle: string;
radius: string;
skip?: boolean;
startAngle?: number;
steppedLine?: undefined;

@@ -806,2 +815,17 @@ tension: number;

}
// Model used with the doughnut chart
interface DoughnutModel {
backgroundColor: ChartColor;
borderAlign: BorderAlignment;
borderColor: string;
borderWidth: number;
circumference: number;
endAngle: number;
innerRadius: number;
outerRadius: number;
startAngle: number;
x: number;
y: number;
}
}

@@ -808,0 +832,0 @@

4

chart.js/package.json
{
"name": "@types/chart.js",
"version": "2.9.2",
"version": "2.9.3",
"description": "TypeScript definitions for Chart.js",

@@ -122,4 +122,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "8c8b234c06e99a219fe5d7e17795d18e9aed3d68cd7c51a18d59009db2dea713",
"typesPublisherContentHash": "aa9098b54014820baf0a2ff284cfe8a1f72b67693d5c48ad6adf04cd97ece9f4",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 19 Nov 2019 19:44:53 GMT
* Last updated: Mon, 02 Dec 2019 19:32:15 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `Chart`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc