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.5 to 2.8.6

18

chart.js/index.d.ts

@@ -21,2 +21,3 @@ // Type definitions for Chart.js 2.8

// Elian Cordoba <https://github.com/ElianCordoba>
// Takuya Uehara <https://github.com/indigolain>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -129,3 +130,3 @@ // TypeScript Version: 2.3

type PositionType = 'left' | 'right' | 'top' | 'bottom';
type PositionType = 'left' | 'right' | 'top' | 'bottom' | 'chartArea';

@@ -251,3 +252,3 @@ type InteractionMode = 'point' | 'nearest' | 'single' | 'label' | 'index' | 'x-axis' | 'dataset' | 'x' | 'y';

layout?: ChartLayoutOptions;
scale?: { display?: boolean };
scale?: RadialLinearScale;
scales?: ChartScales;

@@ -441,2 +442,3 @@ showLines?: boolean;

display?: boolean;
circular?: boolean;
color?: ChartColor;

@@ -511,2 +513,4 @@ borderDash?: number[];

lineWidth?: number;
borderDash?: number[];
borderDashOffset?: number;
}

@@ -520,2 +524,3 @@

fontStyle?: string;
lineHeight?: number|string;
}

@@ -673,7 +678,10 @@

interface RadialLinearScale extends LinearScale {
lineArc?: boolean;
interface RadialLinearScale {
animate?: boolean;
position?: PositionType;
angleLines?: AngleLineOptions;
pointLabels?: PointLabelOptions;
ticks?: TickOptions;
ticks?: LinearTickOptions;
display?: boolean;
gridLines?: GridLineOptions;
}

@@ -680,0 +688,0 @@

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

@@ -96,2 +96,7 @@ "license": "MIT",

"githubUsername": "ElianCordoba"
},
{
"name": "Takuya Uehara",
"url": "https://github.com/indigolain",
"githubUsername": "indigolain"
}

@@ -108,4 +113,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "b93385085cdc0f75bfb97147e1e4ece6ba085b928c22a30dca25d0ab9018a759",
"typesPublisherContentHash": "69fb26be6fbc5784446a05d315f48d0e06653ea09d511abc4a05f54a5c209afd",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Mon, 09 Sep 2019 12:28:32 GMT
* Last updated: Thu, 03 Oct 2019 20:28:16 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * 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>, and Elian Cordoba <https://github.com/ElianCordoba>.
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>, and Takuya Uehara <https://github.com/indigolain>.
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