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.4 to 2.7.5

14

chart.js/index.d.ts

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

// Dan Manastireanu <https://github.com/danmana>
// Guillaume Rodriguez <https://github.com/guillaume-ro-fr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -40,3 +41,8 @@ // TypeScript Version: 2.3

global: Chart.ChartOptions & Chart.ChartFontOptions;
[key: string]: any;
};
static controllers: {
[key: string]: any;
};
}

@@ -71,2 +77,9 @@ declare class PluginServiceStatic {

// Called before drawing the `tooltip`. If any plugin returns `false`,
// the tooltip drawing is cancelled until another `render` is triggered.
beforeTooltipDraw?(chartInstance: Chart): void;
// Called after drawing the `tooltip`. Note that this hook will not,
// be called if the tooltip drawing has been previously cancelled.
afterTooltipDraw?(chartInstance: Chart): void;
destroy?(chartInstance: Chart): void;

@@ -540,2 +553,3 @@

unitStepSize?: number;
stepSize?: number;
minUnit?: TimeUnit;

@@ -542,0 +556,0 @@ }

9

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

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

"githubUsername": "danmana"
},
{
"name": "Guillaume Rodriguez",
"url": "https://github.com/guillaume-ro-fr",
"githubUsername": "guillaume-ro-fr"
}

@@ -51,4 +56,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "e76040b819fad6891abb5f4fc7fd560f84951d9fa455475a54bf45c3f869fa9d",
"typesPublisherContentHash": "d3e4545f708d741a45a466e7d71b7ae2e1be960e3ac015f34a285920cbef921e",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Tue, 23 Jan 2018 20:05:42 GMT
* Last updated: Wed, 24 Jan 2018 01:25:26 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>.
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>.
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