Skip to content

Commit c324521

Browse files
authored
Merge pull request #84 from sgratzl/release/v4.2.4
Release v4.2.4
2 parents cf57622 + f039df2 commit c324521

File tree

6 files changed

+2373
-1852
lines changed

6 files changed

+2373
-1852
lines changed

.yarn/releases/yarn-3.6.1.cjs renamed to .yarn/releases/yarn-3.6.3.cjs

Lines changed: 201 additions & 201 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ packageExtensions:
33
dependencies:
44
eslint-import-resolver-node: "*"
55

6-
yarnPath: .yarn/releases/yarn-3.6.1.cjs
6+
yarnPath: .yarn/releases/yarn-3.6.3.cjs

package.json

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "chartjs-chart-graph",
33
"description": "Chart.js module for charting graphs",
4-
"version": "4.2.3",
4+
"version": "4.2.4",
55
"author": {
66
"name": "Samuel Gratzl",
77
"email": "sam@sgratzl.com",
@@ -54,8 +54,8 @@
5454
"last 2 Firefox versions"
5555
],
5656
"dependencies": {
57-
"@types/d3-force": "^3.0.4",
58-
"@types/d3-hierarchy": "^3.1.2",
57+
"@types/d3-force": "^3.0.5",
58+
"@types/d3-hierarchy": "^3.1.3",
5959
"d3-dispatch": "^3.0.1",
6060
"d3-force": "^3.0.0",
6161
"d3-hierarchy": "^3.1.2",
@@ -64,53 +64,57 @@
6464
},
6565
"devDependencies": {
6666
"@chiogen/rollup-plugin-terser": "^7.1.3",
67-
"@rollup/plugin-commonjs": "^25.0.2",
68-
"@rollup/plugin-node-resolve": "^15.1.0",
67+
"@rollup/plugin-commonjs": "^25.0.4",
68+
"@rollup/plugin-node-resolve": "^15.2.1",
6969
"@rollup/plugin-replace": "^5.0.2",
70-
"@rollup/plugin-typescript": "^11.1.1",
71-
"@types/jest": "^29.5.2",
72-
"@types/jest-image-snapshot": "^6.1.0",
73-
"@types/node": "^20.3.1",
70+
"@rollup/plugin-typescript": "^11.1.3",
71+
"@types/jest": "^29.5.5",
72+
"@types/jest-image-snapshot": "^6.2.1",
73+
"@types/node": "^20.6.2",
7474
"@types/seedrandom": "^3.0.5",
75-
"@typescript-eslint/eslint-plugin": "^5.60.0",
76-
"@typescript-eslint/parser": "^5.60.0",
75+
"@typescript-eslint/eslint-plugin": "^6.7.0",
76+
"@typescript-eslint/parser": "^6.7.0",
7777
"@yarnpkg/sdks": "^2.7.1",
7878
"canvas": "^2.11.2",
7979
"canvas-5-polyfill": "^0.1.5",
80-
"chart.js": "^4.3.0",
80+
"chart.js": "^4.4.0",
8181
"chartjs-plugin-datalabels": "^2.2.0",
8282
"chartjs-plugin-zoom": "^2.0.1",
83-
"eslint": "^8.43.0",
84-
"eslint-config-airbnb-typescript": "^17.0.0",
85-
"eslint-config-prettier": "^8.8.0",
83+
"eslint": "^8.49.0",
84+
"eslint-config-airbnb-typescript": "^17.1.0",
85+
"eslint-config-prettier": "^9.0.0",
8686
"eslint-config-react-app": "^7.0.1",
8787
"eslint-plugin-flowtype": "^8.0.3",
88-
"eslint-plugin-import": "^2.27.5",
88+
"eslint-plugin-import": "^2.28.1",
8989
"eslint-plugin-jsx-a11y": "^6.7.1",
90-
"eslint-plugin-prettier": "^4.2.1",
91-
"eslint-plugin-react": "^7.32.2",
90+
"eslint-plugin-prettier": "^5.0.0",
91+
"eslint-plugin-react": "^7.33.2",
9292
"eslint-plugin-react-hooks": "^4.6.0",
93-
"jest": "^29.5.0",
94-
"jest-environment-jsdom": "^29.5.0",
95-
"jest-image-snapshot": "^6.1.0",
96-
"prettier": "^2.8.8",
93+
"jest": "^29.7.0",
94+
"jest-environment-jsdom": "^29.7.0",
95+
"jest-image-snapshot": "^6.2.0",
96+
"prettier": "^3.0.3",
9797
"rimraf": "^5.0.1",
98-
"rollup": "~3.25.1",
98+
"rollup": "~3.29.2",
9999
"rollup-plugin-cleanup": "^3.2.1",
100-
"rollup-plugin-dts": "^5.3.0",
100+
"rollup-plugin-dts": "^6.0.2",
101101
"seedrandom": "^3.0.5",
102-
"ts-jest": "^29.1.0",
103-
"tslib": "^2.5.3",
104-
"typedoc": "^0.24.8",
102+
"ts-jest": "^29.1.1",
103+
"tslib": "^2.6.2",
104+
"typedoc": "^0.25.1",
105105
"typedoc-plugin-markdown": "^4.0.0-next.16",
106-
"typedoc-vitepress-theme": "^1.0.0-next.2",
107-
"typescript": "^5.1.6",
108-
"vitepress": "^1.0.0-beta.5",
106+
"typedoc-vitepress-theme": "^1.0.0-next.3",
107+
"typescript": "^5.2.2",
108+
"vitepress": "^1.0.0-rc.14",
109109
"vue": "^3.3.4",
110110
"vue-chartjs": "^5.2.0"
111111
},
112+
"resolutions": {
113+
"@typescript-eslint/eslint-plugin": "^6.7.0",
114+
"@typescript-eslint/parser": "^6.7.0"
115+
},
112116
"scripts": {
113-
"clean": "rimraf --glob build docs node_modules \"*.tgz\" \"*.tsbuildinfo\"",
117+
"clean": "rimraf --glob build node_modules \"*.tgz\" \"*.tsbuildinfo\"",
114118
"compile": "tsc -b tsconfig.c.json",
115119
"start": "yarn run watch",
116120
"watch": "rollup -c -w",
@@ -130,5 +134,5 @@
130134
"docs:build": "yarn run docs:api && vitepress build docs",
131135
"docs:preview": "vitepress preview docs"
132136
},
133-
"packageManager": "yarn@3.6.1"
137+
"packageManager": "yarn@3.6.3"
134138
}

samples/graphChange.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<script src=" https://cdn.jsdelivr.net/npm/chart.js@~4.3.0"></script>

src/__tests__/createChart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface ChartHelper<TYPE extends ChartType, DATA extends unknown[] = De
3333
export default function createChart<
3434
TYPE extends ChartType,
3535
DATA extends unknown[] = DefaultDataPoint<TYPE>,
36-
LABEL = string
36+
LABEL = string,
3737
>(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 800, height = 600): ChartHelper<TYPE, DATA, LABEL> {
3838
const canvas = document.createElement('canvas');
3939
canvas.width = width;

0 commit comments

Comments
 (0)