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.6 to 2.7.7

16

chart.js/index.d.ts

@@ -47,2 +47,5 @@ // Type definitions for Chart.js 2.7

};
// Tooltip Static Options
static Tooltip: Chart.ChartTooltipsStaticConfiguration;
}

@@ -272,3 +275,3 @@ declare class PluginServiceStatic {

itemSort?(itemA: ChartTooltipItem, itemB: ChartTooltipItem): number;
position?: "average"|"nearest";
position?: string;
caretPadding?: number;

@@ -280,2 +283,8 @@ displayColors?: boolean;

interface ChartTooltipsStaticConfiguration {
positioners: {[mode: string]: ChartTooltipPositioner};
}
type ChartTooltipPositioner = (elements: any[], eventPosition: Point) => Point;
interface ChartHoverOptions {

@@ -567,2 +576,7 @@ mode?: string;

}
interface Point {
x: number;
y: number;
}
}

@@ -569,0 +583,0 @@

4

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

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

"dependencies": {},
"typesPublisherContentHash": "9e9f95239dcdab62d308cb9e242de65ff6216563d5723efad450a519d5f18cc0",
"typesPublisherContentHash": "969e43096b5dcc615547ac6befdf6aedd304dd0b2b7788410b3140fecf52ae83",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Fri, 26 Jan 2018 17:21:18 GMT
* Last updated: Thu, 08 Feb 2018 16:02:15 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: Chart

Sorry, the diff of this file is not supported yet

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