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.7.34 to 2.7.35

4

chart.js/index.d.ts

@@ -17,2 +17,3 @@ // Type definitions for Chart.js 2.7

// Manuel Heidrich <https://github.com/mahnuh>
// Conrad Holtzhausen <https://github.com/Conrad777>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -167,3 +168,3 @@ // TypeScript Version: 2.3

declare namespace Chart {
type ChartType = 'line' | 'bar' | 'horizontalBar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie';
type ChartType = 'line' | 'bar' | 'horizontalBar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter';

@@ -269,2 +270,3 @@ type TimeUnit = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';

events?: string[];
legendCallback?(chart: Chart): string;
onHover?(this: Chart, event: MouseEvent, activeElements: Array<{}>): any;

@@ -271,0 +273,0 @@ onClick?(event?: MouseEvent, activeElements?: Array<{}>): any;

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

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

"githubUsername": "mahnuh"
},
{
"name": "Conrad Holtzhausen",
"url": "https://github.com/Conrad777",
"githubUsername": "Conrad777"
}

@@ -86,4 +91,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "62346e1f87812bce9499f21e89a935d044458a54342757ac32440ee038ccb421",
"typesPublisherContentHash": "237d3a21c378be12778edf5f619b343d6f6493a7a9a87868f4984277f0702449",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Fri, 14 Sep 2018 17:27:00 GMT
* Last updated: Wed, 19 Sep 2018 22:53:33 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>, Slavik Nychkalo <https://github.com/gebeto>, Francesco Benedetto <https://github.com/frabnt>, Alexandros Dorodoulis <https://github.com/alexdor>, Manuel Heidrich <https://github.com/mahnuh>.
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>, Slavik Nychkalo <https://github.com/gebeto>, Francesco Benedetto <https://github.com/frabnt>, Alexandros Dorodoulis <https://github.com/alexdor>, Manuel Heidrich <https://github.com/mahnuh>, Conrad Holtzhausen <https://github.com/Conrad777>.
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