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.9.20 to 2.9.21

15

chart.js/index.d.ts

@@ -160,3 +160,16 @@ // Type definitions for Chart.js 2.9

type InteractionMode = 'point' | 'nearest' | 'single' | 'label' | 'index' | 'x-axis' | 'dataset' | 'x' | 'y';
// Allow extending the IteractionMode type alias
// see https://github.com/microsoft/TypeScript/issues/28078#issuecomment-432339564
interface InteractionModeRegistry {
'point': 'point';
'nearest': 'nearest';
'single': 'single';
'label': 'label';
'index': 'index';
'x-axis': 'x-axis';
'dataset': 'dataset';
'x': 'x';
'y': 'y';
}
type InteractionMode = InteractionModeRegistry[keyof InteractionModeRegistry];

@@ -163,0 +176,0 @@ type Easing = 'linear' | 'easeInQuad' | 'easeOutQuad' | 'easeInOutQuad' | 'easeInCubic' | 'easeOutCubic' | 'easeInOutCubic' |

6

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

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

},
"typesPublisherContentHash": "58ed72045c9d854f079e995d503adcbac6f94d31435dec8e8c17001381c223c9",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "88eac2e33e56cf1dc5f83cf2c38c5ed54ee486c43a92d83a81c22c4e7f38d557",
"typeScriptVersion": "3.0"
}

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

### Additional Details
* Last updated: Tue, 28 Apr 2020 07:10:54 GMT
* Last updated: Tue, 19 May 2020 18:08:41 GMT
* Dependencies: [@types/moment](https://npmjs.com/package/@types/moment)

@@ -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