chartjs-chart-wordcloud
Advanced tools
Comparing version 3.1.0 to 3.5.0
@@ -10,3 +10,3 @@ /** | ||
interface IWordElementOptions extends FontSpec { | ||
interface IWordElementOptions extends FontSpec, Record<string, unknown> { | ||
color: string; | ||
@@ -108,2 +108,3 @@ strokeStyle: string; | ||
defaultDataPoint: number[]; | ||
metaExtensions: Record<string, never>; | ||
parsedDataType: { | ||
@@ -110,0 +111,0 @@ x: number; |
{ | ||
"name": "chartjs-chart-wordcloud", | ||
"description": "Chart.js module for word clouds", | ||
"version": "3.1.0", | ||
"version": "3.5.0", | ||
"author": { | ||
@@ -37,3 +37,3 @@ "name": "Samuel Gratzl", | ||
"peerDependencies": { | ||
"chart.js": "^3.3.2" | ||
"chart.js": "^3.5.0" | ||
}, | ||
@@ -46,21 +46,21 @@ "browserslist": [ | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^19.0.0", | ||
"@rollup/plugin-node-resolve": "^13.0.0", | ||
"@rollup/plugin-replace": "^2.4.2", | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@types/jest": "^26.0.23", | ||
"@types/jest-image-snapshot": "^4.3.0", | ||
"@types/node": "^15.12.1", | ||
"@types/seedrandom": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.26.0", | ||
"@typescript-eslint/parser": "^4.26.0", | ||
"@rollup/plugin-commonjs": "^20.0.0", | ||
"@rollup/plugin-node-resolve": "^13.0.4", | ||
"@rollup/plugin-replace": "^3.0.0", | ||
"@rollup/plugin-typescript": "^8.2.5", | ||
"@types/jest": "^26.0.24", | ||
"@types/jest-image-snapshot": "^4.3.1", | ||
"@types/node": "^16.4.13", | ||
"@types/seedrandom": "^3.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.29.0", | ||
"@typescript-eslint/parser": "^4.29.0", | ||
"@yarnpkg/pnpify": "^2.4.0", | ||
"canvas": "^2.8.0", | ||
"canvas-5-polyfill": "^0.1.5", | ||
"chart.js": "^3.3.2", | ||
"eslint": "^7.28.0", | ||
"chart.js": "^3.5.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb-typescript": "^12.3.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-config-react-app": "^6.0.0", | ||
"eslint-plugin-flowtype": "^5.7.2", | ||
"eslint-plugin-flowtype": "^5.9.0", | ||
"eslint-plugin-import": "^2.23.4", | ||
@@ -71,8 +71,7 @@ "eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"jest": "^27.0.4", | ||
"jest-image-snapshot": "^4.5.0", | ||
"prettier": "^2.3.1", | ||
"release-it": "^14.7.0", | ||
"jest": "^27.0.6", | ||
"jest-image-snapshot": "^4.5.1", | ||
"prettier": "^2.3.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.50.6", | ||
"rollup": "^2.56.0", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
@@ -82,6 +81,6 @@ "rollup-plugin-dts": "^3.0.2", | ||
"seedrandom": "^3.0.5", | ||
"ts-jest": "^27.0.2", | ||
"tslib": "^2.2.0", | ||
"typedoc": "^0.20.36", | ||
"typescript": "^4.3.2", | ||
"ts-jest": "^27.0.4", | ||
"tslib": "^2.3.0", | ||
"typedoc": "^0.21.5", | ||
"typescript": "^4.3.5", | ||
"us-atlas": "^3.0.0", | ||
@@ -107,10 +106,9 @@ "world-atlas": "^2.0.2" | ||
"docs": "typedoc src/index.ts", | ||
"prepare": "yarn run build", | ||
"release": "release-it --disable-metrics --npm.skipChecks", | ||
"release:pre": "release-it --disable-metrics --npm.skipChecks --preRelease=alpha --npm.tag=next" | ||
"prepare": "yarn run build" | ||
}, | ||
"dependencies": { | ||
"@types/d3-cloud": "^1.2.3", | ||
"@types/d3-cloud": "^1.2.4", | ||
"d3-cloud": "^1.2.5" | ||
} | ||
}, | ||
"packageManager": "yarn@3.0.0" | ||
} |
@@ -115,4 +115,2 @@ # Chart.js Word Clouds | ||
yarn docs | ||
yarn release | ||
yarn release:pre | ||
``` | ||
@@ -119,0 +117,0 @@ |
@@ -199,2 +199,3 @@ import { | ||
defaultDataPoint: number[]; | ||
metaExtensions: Record<string, never>; | ||
parsedDataType: { x: number }; | ||
@@ -201,0 +202,0 @@ scales: keyof CartesianScaleTypeRegistry; |
import { Element, FontSpec, VisualElement, ScriptableAndArrayOptions, ScriptableContext } from 'chart.js'; | ||
import { toFont } from 'chart.js/helpers'; | ||
export interface IWordElementOptions extends FontSpec { | ||
export interface IWordElementOptions extends FontSpec, Record<string, unknown> { | ||
color: string; | ||
@@ -6,0 +6,0 @@ strokeStyle: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
39
1785
174205
124
Updated@types/d3-cloud@^1.2.4