Skip to content

chore(deps): update dependency typescript to v5 #1256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sandboxes/bar/grouped/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/bar/horizontal/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/bar/stacked/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/bar/vertical/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/bubble/default/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/chart/canvas/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/chart/events/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/chart/multitype/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/chart/ref/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/doughnut/default/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/line/area/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/line/default/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/line/multiaxis/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/pie/default/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/polarArea/default/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/radar/default/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion sandboxes/scatter/default/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "^4.0.0",
"typescript": "4.9.5",
"typescript": "5.8.3",
"vite": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@
"@docusaurus/module-type-aliases": "2.0.0-beta.14",
"@tsconfig/docusaurus": "^1.0.4",
"@types/react": "^18.0.0",
"typescript": "^4.3.5",
"typescript": "^5.0.0",
"webpack": "^5.64.2"
},
"browserslist": {
168 changes: 84 additions & 84 deletions website/pnpm-lock.yaml

Large diffs are not rendered by default.


Unchanged files with check annotations Beta

xMin: 1,
xMax: 2,
yMin: 50,
yMax: yMax,

Check warning on line 178 in stories/Chart.stories.tsx

GitHub Actions / Tests

Expected property shorthand
backgroundColor: 'rgba(255, 99, 132, 0.25)',
},
},
if (!redraw && chartRef.current && data.datasets) {
setDatasets(chartRef.current.config.data, data.datasets, datasetIdKey);
}
}, [redraw, data.datasets]);

Check warning on line 76 in src/chart.tsx

GitHub Actions / Tests

React Hook useEffect has a missing dependency: 'datasetIdKey'. Either include it or remove the dependency array
useEffect(() => {
if (!chartRef.current) return;
} else {
chartRef.current.update(updateMode);
}
}, [redraw, options, data.labels, data.datasets, updateMode]);

Check warning on line 87 in src/chart.tsx

GitHub Actions / Tests

React Hook useEffect has missing dependencies: 'destroyChart' and 'renderChart'. Either include them or remove the dependency array
useEffect(() => {
if (!chartRef.current) return;
destroyChart();
setTimeout(renderChart);
}, [type]);

Check warning on line 94 in src/chart.tsx

GitHub Actions / Tests

React Hook useEffect has missing dependencies: 'destroyChart' and 'renderChart'. Either include them or remove the dependency array
useEffect(() => {
renderChart();
return () => destroyChart();
}, []);

Check warning on line 100 in src/chart.tsx

GitHub Actions / Tests

React Hook useEffect has missing dependencies: 'destroyChart' and 'renderChart'. Either include them or remove the dependency array
return (
<canvas