A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
chore(deps): update dependency recharts to v3 (#4302)
homarr-renovate[bot]036f6aa1858a
diff --git a/packages/widgets/src/speedtest-tracker/recent-results.tsx b/packages/widgets/src/speedtest-tracker/recent-results.tsxindex 286baffc6..5d2328563 100644--- a/packages/widgets/src/speedtest-tracker/recent-results.tsx+++ b/packages/widgets/src/speedtest-tracker/recent-results.tsx@@ -46,7 +46,7 @@ function buildXAxisTicks(data: { ts: number }[]): XAxisTicks {}function makeXTickRenderer(midnightTs: number | null) {- return ({ x, y, payload }: { x: number; y: number; payload: { value: number } }) => {+ return ({ x, y, payload }: { x: number | string; y: number | string; payload: { value: number } }) => {const date = new Date(payload.value);const timeStr = date.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });const isMidnight = midnightTs !== null && payload.value === midnightTs;@@ -67,7 +67,12 @@ function makeXTickRenderer(midnightTs: number | null) {};}-function renderTopDateTick(props: { x: number; y: number; payload: { value: number }; index: number }) {+function renderTopDateTick(props: {+ x: number | string;+ y: number | string;+ payload: { value: number };+ index: number;+}) {const { x, y, payload, index } = props;const date = new Date(payload.value);const dateStr = date.toLocaleDateString([], { weekday: "short", month: "short", day: "numeric" });diff --git a/packages/widgets/src/system-resources/chart/combined-network-traffic.tsx b/packages/widgets/src/system-resources/chart/combined-network-traffic.tsxindex 38c72c72c..6cfee0eaa 100644--- a/packages/widgets/src/system-resources/chart/combined-network-traffic.tsx+++ b/packages/widgets/src/system-resources/chart/combined-network-traffic.tsx@@ -37,9 +37,6 @@ export const CombinedNetworkTrafficChart = ({labelDisplayMode={labelDisplayMode}tooltipProps={{content: ({ payload }) => {- if (!payload) {- return null;- }return (<Paper px={3} py={2} withBorder shadow="md" radius="md"><Stack gap={0}>@@ -50,7 +47,7 @@ export const CombinedNetworkTrafficChart = ({{payloadData.value === undefined ? (<>N/A</>) : (- <>{humanFileSize(Math.round(payloadData.value))}/s</>+ <>{humanFileSize(Math.round(Number(payloadData.value)))}/s</>)}</Text></Group>diff --git a/packages/widgets/src/system-resources/chart/cpu-chart.tsx b/packages/widgets/src/system-resources/chart/cpu-chart.tsxindex ceb6ba547..7006728d5 100644--- a/packages/widgets/src/system-resources/chart/cpu-chart.tsx+++ b/packages/widgets/src/system-resources/chart/cpu-chart.tsx@@ -34,9 +34,6 @@ export const SystemResourceCPUChart = ({labelDisplayMode={labelDisplayMode}tooltipProps={{content: ({ payload }) => {- if (!payload) {- return null;- }const value = payload[0] ? Number(payload[0].value) : 0;return (<Paper px={3} py={2} withBorder shadow="md" radius="md">diff --git a/packages/widgets/src/system-resources/chart/gpu-chart.tsx b/packages/widgets/src/system-resources/chart/gpu-chart.tsxindex e1f7daa2c..bf2d34b40 100644--- a/packages/widgets/src/system-resources/chart/gpu-chart.tsx+++ b/packages/widgets/src/system-resources/chart/gpu-chart.tsx@@ -34,9 +34,6 @@ export const SystemResourceGPUChart = ({labelDisplayMode={labelDisplayMode}tooltipProps={{content: ({ payload }) => {- if (!payload) {- return null;- }const value = payload[0] ? Number(payload[0].value) : 0;return (<Paper px={3} py={2} withBorder shadow="md" radius="md">diff --git a/packages/widgets/src/system-resources/chart/memory-chart.tsx b/packages/widgets/src/system-resources/chart/memory-chart.tsxindex ac265db8a..54c2e347c 100644--- a/packages/widgets/src/system-resources/chart/memory-chart.tsx+++ b/packages/widgets/src/system-resources/chart/memory-chart.tsx@@ -40,9 +40,6 @@ export const SystemResourceMemoryChart = ({chartType={hasShadow ? "area" : "line"}tooltipProps={{content: ({ payload }) => {- if (!payload) {- return null;- }const value = payload[0] ? Number(payload[0].value) : 0;return (<Paper px={3} py={2} withBorder shadow="md" radius="md">diff --git a/packages/widgets/src/system-resources/chart/network-traffic.tsx b/packages/widgets/src/system-resources/chart/network-traffic.tsxindex 5edbabd61..02747b86d 100644--- a/packages/widgets/src/system-resources/chart/network-traffic.tsx+++ b/packages/widgets/src/system-resources/chart/network-traffic.tsx@@ -37,9 +37,6 @@ export const NetworkTrafficChart = ({labelDisplayMode={labelDisplayMode}tooltipProps={{content: ({ payload }) => {- if (!payload) {- return null;- }const value = payload[0] ? Number(payload[0].value) : 0;return (<Paper px={3} py={2} withBorder shadow="md" radius="md">diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex b33836c1b..6873a362e 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -481,8 +481,8 @@ catalogs:specifier: ^0.14.1version: 0.14.1recharts:- specifier: ^2.15.4- version: 2.15.4+ specifier: ^3.8.1+ version: 3.8.1sass:specifier: ^1.99.0version: 1.99.0@@ -2798,7 +2798,7 @@ importers:version: link:../validation'@mantine/charts':specifier: 'catalog:'- version: 8.3.18(@mantine/[email protected](@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]))(@mantine/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]([email protected]([email protected]))([email protected]))+ version: 8.3.18(@mantine/[email protected](@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]))(@mantine/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))'@mantine/core':specifier: 'catalog:'version: 8.3.18(@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -2885,7 +2885,7 @@ importers:recharts:specifier: 'catalog:'+ version: 3.8.1(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])video.js:specifier: 'catalog:'version: 8.23.7@@ -4703,6 +4703,17 @@ packages:'@protobufjs/[email protected]':resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}+ '@reduxjs/[email protected]':+ resolution: {integrity: sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ==}+ peerDependencies:+ react: ^16.9.0 || ^17.0.0 || ^18 || ^19+ react-redux: ^7.2.1 || ^8.1.3 || ^9.0.0+ peerDependenciesMeta:+ react:+ optional: true+ react-redux:+ optional: true+'@rolldown/[email protected]':resolution: {integrity: sha512-eybk3TjzzzV97Dlj5c+XrBFW57eTNhzod66y9HrBlzJ6NsCrWCp/2kaPS3K9wJmurBC0Tdw4yPjXKZqlznim3Q==}@@ -4938,6 +4949,9 @@ packages:'@standard-schema/[email protected]':resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}+ '@standard-schema/[email protected]':+ resolution: {integrity: sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==}+'@swagger-api/[email protected]':resolution: {integrity: sha512-poLd6eNipLCFCrxjZD+E9E0Z85CLfFzueNiVcYj86rwMp2OszYsTzZS2jz82yR/usNCjXCpkQ2xEXWSmDhefPg==}@@ -6872,9 +6886,6 @@ packages:resolution: {integrity: sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==}- resolution: {integrity: sha512-JahakDAIg1gyOm7dlgWSDjV4n7Ip2PKR55NIT6jrMfIgLFgWo81vdr1/QGqWtFNRqXP9UV71oVePtjqS2ebnPw==}-resolution: {integrity: sha512-lHeS9SA/IKeIFFyYciHBr2n0v1VMPlSj843HdLOwjb2OxNwdq9Xykxqhk+FE42MzAdHvInbAolSE4mhahPpjXA==}@@ -7121,6 +7132,9 @@ packages:resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-5eNtXOs3tbfxXOj04tjjseeWkRWaoCjdEI+96DgwzZoe6c9juL49pXlzAFTI72aWC9Y8p7168g6XIKjh7k6pyQ==}+resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==}engines: {node: '>=18'}@@ -7300,9 +7314,6 @@ packages:resolution: {integrity: sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg==}- resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}-resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==}@@ -7801,6 +7812,12 @@ packages:resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==}engines: {node: '>= 4'}+ resolution: {integrity: sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==}++ resolution: {integrity: sha512-XREFCPo6ksxVzP4E0ekD5aMdf8WMwmdNaz6vuvxgI40UaEiu6q3p8X52aU6GdyvLY3XXX/8R7JOTXStz/nBbRw==}+resolution: {integrity: sha512-15gZoQ38eYjEjxkorfbcgBKBL6R7T459OuK+CpcWt7O3KF4uPCx2tD0uFETlUDIyo+1789crbMhTvQBSR5yBMg==}engines: {node: '>=0.10.0'}@@ -8353,10 +8370,6 @@ packages:resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}- resolution: {integrity: sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==}- engines: {node: 20 || >=22}-resolution: {integrity: sha512-NxVFwLAnrd9i7KUBxC4DrUhmgjzOs+1Qm50D3oF1/oL+r1NpZ4gA7xvG0/zJ8evR7zIKn4vLf7qTNduWFtCrRw==}engines: {node: 20 || >=22}@@ -8565,10 +8578,6 @@ packages:resolution: {integrity: sha512-bjdr2xW1dBCMsMGGsUeqM4eFI60m94+szhxWys+B1ztIt6gWSfeGBdSVCIawezeHYLYn0j6zrsXdQS/JllBzww==}engines: {node: '>=6'}- resolution: {integrity: sha512-+G4CpNBxa5MprY+04MbgOw1v7So6n5JY166pFi9KfYwT78fxScCeSNQSNzp6dpPSW2rONOps6Ocam1wFhCgoVw==}- engines: {node: 18 || 20 || >=22}-resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==}engines: {node: 18 || 20 || >=22}@@ -9557,12 +9566,6 @@ packages:react: '>=16.8.0'react-dom: '>=16.8.0'- resolution: {integrity: sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==}- peerDependencies:- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}engines: {node: '>=10'}@@ -9637,15 +9640,13 @@ packages:resolution: {integrity: sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==}engines: {node: '>= 4'}- resolution: {integrity: sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==}-- resolution: {integrity: sha512-UT/q6fwS3c1dHbXv2uFgYJ9BMFHu3fwnd7AYZaEQhXuYQ4hgsxLvsUXzGdKeZrW5xopzDCvuA2N41WJ88I7zIw==}- engines: {node: '>=14'}+ resolution: {integrity: sha512-mwzmO1s9sFL0TduUpwndxCUNoXsBw3u3E/0+A+cLcrSfQitSG62L32N69GhqUrrT5qKcAE3pCGVINC6pqkBBQg==}+ engines: {node: '>=18'}peerDependencies:- react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-is: ^19.2.5resolution: {integrity: sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==}@@ -9660,6 +9661,11 @@ packages:peerDependencies:immutable: ^3.8.1 || ^4.0.0-rc.1+ resolution: {integrity: sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==}+ peerDependencies:+ redux: ^5.0.0+resolution: {integrity: sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==}@@ -10762,8 +10768,8 @@ packages:resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}- resolution: {integrity: sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==}+ resolution: {integrity: sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ==}resolution: {integrity: sha512-cG4HOygYt+Z8j6Sf5DuK6OgEOoM+g9oGP6vpqoZRaD13aHE4PMITbyjJUXZcIQbgB0wJEadBRaVm5lJIzo2jAA==}@@ -12264,13 +12270,13 @@ snapshots:transitivePeerDependencies:- supports-color- '@mantine/[email protected](@mantine/[email protected](@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]))(@mantine/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]([email protected]([email protected]))([email protected]))':+ '@mantine/[email protected](@mantine/[email protected](@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]))(@mantine/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))':dependencies:'@mantine/core': 8.3.18(@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@mantine/hooks': 8.3.18([email protected])react: 19.2.5react-dom: 19.2.5([email protected])+ recharts: 3.8.1(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])'@mantine/[email protected]([email protected])':dependencies:@@ -12710,6 +12716,18 @@ snapshots:'@protobufjs/[email protected]': {}+ '@reduxjs/[email protected]([email protected](@types/[email protected])([email protected])([email protected]))([email protected])':+ dependencies:+ '@standard-schema/spec': 1.1.0+ '@standard-schema/utils': 0.3.0+ immer: 11.1.4+ redux: 5.0.1+ redux-thunk: 3.1.0([email protected])+ reselect: 5.1.1+ optionalDependencies:+ react: 19.2.5+'@rolldown/[email protected]': {}'@rollup/[email protected]':@@ -12868,7 +12886,7 @@ snapshots:p-filter: 4.1.0semantic-release: 25.0.3([email protected])tinyglobby: 0.2.15- undici: 7.24.6+ undici: 7.25.0url-join: 5.0.0transitivePeerDependencies:- supports-color@@ -12921,6 +12939,8 @@ snapshots:'@standard-schema/[email protected]': {}+ '@standard-schema/[email protected]': {}+'@swagger-api/[email protected]':dependencies:'@babel/runtime-corejs3': 7.27.1@@ -15200,7 +15220,7 @@ snapshots:dependencies:- lru-cache: 11.2.7+ lru-cache: 11.3.5dependencies:@@ -15249,10 +15269,6 @@ snapshots:- optionalDependencies:- '@types/trusted-types': 2.0.7-optionalDependencies:'@types/trusted-types': 2.0.7@@ -15493,6 +15509,8 @@ snapshots:is-date-object: 1.1.0is-symbol: 1.1.1+ [email protected]: {}+optionalDependencies:'@esbuild/aix-ppc64': 0.25.12@@ -15791,8 +15809,6 @@ snapshots:- [email protected]: {}-@@ -16137,7 +16153,7 @@ snapshots:dependencies:- minimatch: 10.2.2+ minimatch: 10.2.5minipass: 7.1.3path-scurry: 2.0.2@@ -16337,6 +16353,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -16869,8 +16889,6 @@ snapshots:- [email protected]: {}-@@ -17198,10 +17216,6 @@ snapshots:dependencies:lodash: 4.18.1- dependencies:- brace-expansion: 5.0.5-dependencies:brace-expansion: 5.0.5@@ -18182,14 +18196,6 @@ snapshots:react: 19.2.5react-dom: 19.2.5([email protected])- dependencies:- fast-equals: 5.3.3- prop-types: 15.8.1- react: 19.2.5- react-dom: 19.2.5([email protected])-dependencies:get-nonce: 1.0.1@@ -18296,22 +18302,25 @@ snapshots:tiny-invariant: 1.3.3tslib: 2.8.1- dependencies:- decimal.js-light: 2.5.1-+ [email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]):dependencies:+ '@reduxjs/toolkit': 2.11.2([email protected](@types/[email protected])([email protected])([email protected]))([email protected])clsx: 2.1.1- eventemitter3: 4.0.7- lodash: 4.18.1+ decimal.js-light: 2.5.1+ es-toolkit: 1.46.1+ eventemitter3: 5.0.4+ immer: 10.2.0react: 19.2.5react-dom: 19.2.5([email protected])react-is: 19.2.5- recharts-scale: 0.4.5+ reselect: 5.1.1tiny-invariant: 1.3.3- victory-vendor: 36.9.2+ use-sync-external-store: 1.4.0([email protected])+ victory-vendor: 37.3.6+ transitivePeerDependencies:+ - '@types/react'+ - redux@@ -18323,6 +18332,10 @@ snapshots:dependencies:immutable: 3.8.2+ dependencies:+ redux: 5.0.1+@@ -19091,7 +19104,7 @@ snapshots:classnames: 2.5.1css.escape: 1.5.1deep-extend: 0.6.0- dompurify: 3.4.1+ dompurify: 3.4.2ieee754: 1.2.1immutable: 3.8.2js-file-download: 0.4.12@@ -19203,7 +19216,7 @@ snapshots:ssh-remote-port-forward: 1.0.4tar-fs: 3.1.2tmp: 0.2.5- undici: 7.24.6+ undici: 7.25.0transitivePeerDependencies:- bare-buffer- supports-color@@ -19677,7 +19690,7 @@ snapshots:'@types/unist': 3.0.3vfile-message: 4.0.2dependencies:'@types/d3-array': 3.2.1'@types/d3-ease': 3.0.2diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 4f7576ad6..ce173e1db 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -177,7 +177,7 @@ catalog:react-markdown: ^10.1.0react-quill-new: ^3.8.3react-simple-code-editor: ^0.14.1- recharts: ^2.15.4+ recharts: ^3.8.1sass: ^1.99.0semantic-release: ^25.0.3semver-parser: ^4.1.8