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.8.11 to 2.9.0

12

chart.js/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Chart.js 2.8
// Type definitions for Chart.js 2.9
// Project: https://github.com/nnnick/Chart.js, https://www.chartjs.org

@@ -589,2 +589,4 @@ // Definitions by: Alberto Nuti <https://github.com/anuti>

backgroundColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;
barPercentage?: number;
barThickness?: number | "flex";
borderAlign?: BorderAlignment | BorderAlignment[] | Scriptable<BorderAlignment>;

@@ -598,2 +600,3 @@ borderWidth?: BorderWidth | BorderWidth[] | Scriptable<BorderWidth>;

borderSkipped?: PositionType | PositionType[] | Scriptable<PositionType>;
categoryPercentage?: number;
data?: Array<number | null | undefined> | ChartPoint[];

@@ -607,2 +610,4 @@ fill?: boolean | number | string;

lineTension?: number;
maxBarThickness?: number;
minBarLength?: number;
steppedLine?: 'before' | 'after' | 'middle' | boolean;

@@ -653,5 +658,2 @@ pointBorderColor?: ChartColor | ChartColor[] | Scriptable<ChartColor>;

gridLines?: GridLineOptions;
barThickness?: number | "flex";
maxBarThickness?: number;
minBarLength?: number;
scaleLabel?: ScaleTitleOptions;

@@ -677,4 +679,2 @@ time?: TimeScale;

interface ChartXAxe extends CommonAxe {
categoryPercentage?: number;
barPercentage?: number;
distribution?: 'linear' | 'series';

@@ -681,0 +681,0 @@ }

{
"name": "@types/chart.js",
"version": "2.8.11",
"version": "2.9.0",
"description": "TypeScript definitions for Chart.js",

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

"dependencies": {},
"typesPublisherContentHash": "0fe5c4deaf33686e986d12abb24d4db39eaa3c6b37b13f87855f787cfb354b19",
"typesPublisherContentHash": "9214dd33b3e2134dce2d64c709706cc7f20884ee1450615d8ba7d6e48a09537a",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chart.js
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chart.js.
Additional Details
* Last updated: Thu, 07 Nov 2019 18:28:38 GMT
### Additional Details
* Last updated: Wed, 13 Nov 2019 23:20:45 GMT
* Dependencies: none
* Global values: Chart
* Global values: `Chart`
# Credits
These definitions were written by Alberto Nuti <https://github.com/anuti>, Fabien Lavocat <https://github.com/FabienLavocat>, KentarouTakeda <https://github.com/KentarouTakeda>, Larry Bahr <https://github.com/larrybahr>, Daniel Luz <https://github.com/mernen>, Joseph Page <https://github.com/josefpaij>, Dan Manastireanu <https://github.com/danmana>, Guillaume Rodriguez <https://github.com/guillaume-ro-fr>, Simon Archer <https://github.com/archy-bold>, Ken Elkabany <https://github.com/braincore>, Francesco Benedetto <https://github.com/frabnt>, Alexandros Dorodoulis <https://github.com/alexdor>, Manuel Heidrich <https://github.com/mahnuh>, Conrad Holtzhausen <https://github.com/Conrad777>, Adrián Caballero <https://github.com/adripanico>, wertzui <https://github.com/wertzui>, Martin Trobäck <https://github.com/lekoaf>, Elian Cordoba <https://github.com/ElianCordoba>, Takuya Uehara <https://github.com/indigolain>, and Ricardo Mello <https://github.com/ricardo-mello>.
These definitions were written by Alberto Nuti (https://github.com/anuti), Fabien Lavocat (https://github.com/FabienLavocat), KentarouTakeda (https://github.com/KentarouTakeda), Larry Bahr (https://github.com/larrybahr), Daniel Luz (https://github.com/mernen), Joseph Page (https://github.com/josefpaij), Dan Manastireanu (https://github.com/danmana), Guillaume Rodriguez (https://github.com/guillaume-ro-fr), Simon Archer (https://github.com/archy-bold), Ken Elkabany (https://github.com/braincore), Francesco Benedetto (https://github.com/frabnt), Alexandros Dorodoulis (https://github.com/alexdor), Manuel Heidrich (https://github.com/mahnuh), Conrad Holtzhausen (https://github.com/Conrad777), Adrián Caballero (https://github.com/adripanico), wertzui (https://github.com/wertzui), Martin Trobäck (https://github.com/lekoaf), Elian Cordoba (https://github.com/ElianCordoba), Takuya Uehara (https://github.com/indigolain), and Ricardo Mello (https://github.com/ricardo-mello).
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