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.25 to 2.7.26

17

chart.js/index.d.ts

@@ -55,2 +55,6 @@ // Type definitions for Chart.js 2.7

static helpers: {
[key: string]: any;
};
// Tooltip Static Options

@@ -68,3 +72,3 @@ static Tooltip: Chart.ChartTooltipsStaticConfiguration;

resize?(chartInstance: Chart, newChartSize: Size, options?: any): void;
resize?(chartInstance: Chart, newChartSize: Chart.ChartSize, options?: any): void;

@@ -102,7 +106,2 @@ beforeUpdate?(chartInstance: Chart, options?: any): void;

interface Size {
height: number;
width: number;
}
interface Meta {

@@ -242,2 +241,7 @@ type: Chart.ChartType;

interface ChartSize {
height: number;
width: number;
}
interface ChartOptions {

@@ -251,2 +255,3 @@ responsive?: boolean;

onClick?(event?: MouseEvent, activeElements?: Array<{}>): any;
onResize?(this: Chart, newSize: ChartSize): void;
title?: ChartTitleOptions;

@@ -253,0 +258,0 @@ legend?: ChartLegendOptions;

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

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

"dependencies": {},
"typesPublisherContentHash": "fa00422ad759974669dab90f98c375ac164eab4687824bad05231b1704792780",
"typesPublisherContentHash": "fc10330dfd29613db4b876bc0e41a290cfd56d6fdcf1841d2a95cdb4088884b7",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Wed, 27 Jun 2018 01:27:15 GMT
* Last updated: Fri, 06 Jul 2018 00:07:02 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