Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

chart.js

Package Overview
Dependencies
Maintainers
5
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chart.js - npm Package Compare versions

Comparing version 3.0.0-beta.13 to 3.0.0-beta.14

4

auto/auto.esm.js

@@ -1,5 +0,5 @@

import {Chart, registrables} from '../dist/chart.esm';
import {Chart, registerables} from '../dist/chart.esm';
Chart.register(...registrables);
Chart.register(...registerables);
export default Chart;
/*!
* Chart.js v3.0.0-beta.13
* Chart.js v3.0.0-beta.14
* https://www.chartjs.org

@@ -4,0 +4,0 @@ * (c) 2021 Chart.js Contributors

/*!
* Chart.js v3.0.0-beta.13
* Chart.js v3.0.0-beta.14
* https://www.chartjs.org

@@ -37,3 +37,3 @@ * (c) 2021 Chart.js Contributors

declare function toPadding(
value?: number | { top?: number; left?: number; right?: number; bottom?: number }
value?: number | { top?: number; left?: number; right?: number; bottom?: number; x?:number, y?: number }
): { top: number; left: number; right: number; bottom: number; width: number; height: number };

@@ -366,6 +366,6 @@

skip: boolean;
controlPointPreviousX?: number;
controlPointPreviousY?: number;
controlPointNextX?: number;
controlPointNextY?: number;
cp1x?: number;
cp1y?: number;
cp2x?: number;
cp2y?: number;
}

@@ -372,0 +372,0 @@

/*!
* Chart.js v3.0.0-beta.13
* Chart.js v3.0.0-beta.14
* https://www.chartjs.org

@@ -7,2 +7,2 @@ * (c) 2021 Chart.js Contributors

*/
export { H as HALF_PI, aN as INFINITY, P as PI, aM as PITAU, aP as QUARTER_PI, aO as RAD_PER_DEG, T as TAU, aQ as TWO_THIRDS_PI, Q as _alignPixel, p as _angleBetween, aR as _angleDiff, _ as _arrayUnique, $ as _attachContext, ag as _bezierCurveTo, ad as _bezierInterpolation, ak as _boundSegment, ab as _boundSegments, X as _capitalize, aa as _computeSegments, a0 as _createResolver, aw as _decimalPlaces, aH as _deprecated, a1 as _descriptors, a7 as _elementsEqual, U as _factorize, aA as _filterBetween, E as _getParentNode, O as _int16Range, z as _isPointInArea, w as _limitValue, az as _longestText, aB as _lookup, x as _lookupByKey, N as _measureText, aF as _merger, aG as _mergerIf, al as _normalizeAngle, ae as _pointInLine, A as _rlookupByKey, au as _setMinAndMaxByKey, ac as _steppedInterpolation, af as _steppedLineTo, a9 as _updateBezierControlPoints, ax as almostEquals, ay as almostWhole, L as callback, a6 as clearCanvas, k as clipArea, aE as clone, c as color, h as defined, as as distanceBetweenPoints, ah as drawPoint, C as each, e as easingEffects, K as finiteOrDefault, aD as fontString, a8 as getAngleFromPoint, aC as getHoverColor, D as getMaximumSize, y as getRelativePosition, am as getRtlAdapter, aK as getStyle, b as isArray, g as isFinite, Z as isFunction, j as isNullOrUndef, q as isNumber, i as isObject, l as listenArrayEvents, J as log10, W as merge, a2 as mergeIf, av as niceNum, ar as noop, ao as overrideTextDirection, F as readUsedSize, R as renderText, r as requestAnimFrame, a as resolve, f as resolveObjectKey, ap as restoreTextDirection, a5 as retinaScale, s as sign, aI as splineCurve, aJ as splineCurveMonotone, I as supportsEventListenerOptions, M as toDegrees, S as toFont, at as toFontString, aL as toLineHeight, B as toPadding, n as toPercentage, o as toPixels, t as toRadians, ai as toTRBL, aj as toTRBLCorners, a3 as uid, m as unclipArea, u as unlistenArrayEvents, v as valueOrDefault } from './chunks/helpers.segment.js';
export { H as HALF_PI, aO as INFINITY, P as PI, aN as PITAU, aQ as QUARTER_PI, aP as RAD_PER_DEG, T as TAU, aR as TWO_THIRDS_PI, at as _addGrace, Q as _alignPixel, p as _angleBetween, aS as _angleDiff, _ as _arrayUnique, a1 as _attachContext, ai as _bezierCurveTo, af as _bezierInterpolation, am as _boundSegment, ad as _boundSegments, Z as _capitalize, ac as _computeSegments, a2 as _createResolver, ay as _decimalPlaces, aH as _deprecated, a3 as _descriptors, a9 as _elementsEqual, W as _factorize, aA as _filterBetween, E as _getParentNode, O as _int16Range, z as _isPointInArea, w as _limitValue, az as _longestText, aB as _lookup, x as _lookupByKey, N as _measureText, aF as _merger, aG as _mergerIf, an as _normalizeAngle, ag as _pointInLine, A as _rlookupByKey, au as _setMinAndMaxByKey, ae as _steppedInterpolation, ah as _steppedLineTo, ab as _updateBezierControlPoints, ax as almostEquals, aw as almostWhole, L as callback, a8 as clearCanvas, k as clipArea, aE as clone, c as color, h as defined, as as distanceBetweenPoints, aj as drawPoint, C as each, e as easingEffects, K as finiteOrDefault, aD as fontString, aa as getAngleFromPoint, aC as getHoverColor, D as getMaximumSize, y as getRelativePosition, ao as getRtlAdapter, aL as getStyle, b as isArray, g as isFinite, a0 as isFunction, j as isNullOrUndef, q as isNumber, i as isObject, l as listenArrayEvents, J as log10, Y as merge, a4 as mergeIf, av as niceNum, ar as noop, ap as overrideTextDirection, F as readUsedSize, R as renderText, r as requestAnimFrame, a as resolve, f as resolveObjectKey, aq as restoreTextDirection, a7 as retinaScale, s as sign, aJ as splineCurve, aK as splineCurveMonotone, I as supportsEventListenerOptions, M as toDegrees, o as toDimension, S as toFont, aI as toFontString, aM as toLineHeight, B as toPadding, n as toPercentage, t as toRadians, ak as toTRBL, al as toTRBLCorners, a5 as uid, m as unclipArea, u as unlistenArrayEvents, v as valueOrDefault } from './chunks/helpers.segment.js';

@@ -5,3 +5,3 @@ {

"description": "Simple HTML5 charts using the canvas element.",
"version": "3.0.0-beta.13",
"version": "3.0.0-beta.14",
"license": "MIT",

@@ -42,2 +42,3 @@ "jsdelivr": "dist/chart.min.js",

"dev": "karma start --auto-watch --no-single-run --browsers chrome --grep",
"dev:ff": "karma start --auto-watch --no-single-run --browsers firefox --grep",
"docs": "cd docs && npm install && npm run build",

@@ -58,4 +59,4 @@ "lint-js": "eslint \"samples/**/*.html\" \"samples/**/*.js\" \"src/**/*.js\" \"test/**/*.js\"",

"@rollup/plugin-node-resolve": "^11.2.0",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"chartjs-adapter-moment": "^0.1.2",

@@ -66,10 +67,10 @@ "chartjs-test-utils": "^0.2.2",

"cross-env": "^7.0.3",
"eslint": "^7.20.0",
"eslint": "^7.22.0",
"eslint-config-chartjs": "^0.3.0",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-html": "^6.1.1",
"eslint-plugin-html": "^6.1.2",
"glob": "^7.1.6",
"jasmine": "^3.6.4",
"jasmine-core": "^3.6.0",
"karma": "^6.1.1",
"karma": "^6.2.0",
"karma-chrome-launcher": "^3.1.0",

@@ -81,3 +82,3 @@ "karma-coverage": "^2.0.3",

"karma-jasmine-html-reporter": "^1.5.4",
"karma-rollup-preprocessor": "^7.0.5",
"karma-rollup-preprocessor": "^7.0.7",
"karma-safari-private-launcher": "^1.0.0",

@@ -88,8 +89,8 @@ "karma-spec-reporter": "0.0.32",

"pixelmatch": "^5.2.1",
"rollup": "^2.39.0",
"rollup": "^2.41.4",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-dts": "^2.0.1",
"rollup-plugin-dts": "^3.0.1",
"rollup-plugin-istanbul": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"typedoc": "^0.20.27",
"typedoc": "^0.20.32",
"typescript": "^4.1.5",

@@ -96,0 +97,0 @@ "yargs": "^16.2.0"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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