From ec2de3b3879d00f455e53d3bac3937ecec7b69cf Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Sun, 11 Feb 2024 21:50:18 +0000 Subject: [PATCH] :fire: (remove victory dependency) (#2356) --- packages/desktop-client/package.json | 1 - upcoming-release-notes/2356.md | 6 + yarn.lock | 451 +-------------------------- 3 files changed, 7 insertions(+), 451 deletions(-) create mode 100644 upcoming-release-notes/2356.md diff --git a/packages/desktop-client/package.json b/packages/desktop-client/package.json index 5ceefb40295..0efbbf8e656 100644 --- a/packages/desktop-client/package.json +++ b/packages/desktop-client/package.json @@ -66,7 +66,6 @@ "swc-loader": "^0.2.3", "terser-webpack-plugin": "^5.3.10", "uuid": "^9.0.1", - "victory": "^36.8.2", "vite": "^5.0.12", "vite-tsconfig-paths": "^4.3.1", "vitest": "^1.2.1", diff --git a/upcoming-release-notes/2356.md b/upcoming-release-notes/2356.md new file mode 100644 index 00000000000..ae7989c27e5 --- /dev/null +++ b/upcoming-release-notes/2356.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +Removed `victory` dependency in favor of `recharts` diff --git a/yarn.lock b/yarn.lock index ada2405ee5b..852a930fd23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -118,7 +118,6 @@ __metadata: swc-loader: "npm:^0.2.3" terser-webpack-plugin: "npm:^5.3.10" uuid: "npm:^9.0.1" - victory: "npm:^36.8.2" vite: "npm:^5.0.12" vite-tsconfig-paths: "npm:^4.3.1" vitest: "npm:^1.2.1" @@ -6673,13 +6672,6 @@ __metadata: languageName: node linkType: hard -"d3-voronoi@npm:^1.1.4": - version: 1.1.4 - resolution: "d3-voronoi@npm:1.1.4" - checksum: e42e68fa7d7923d50b73b204bf6f2ec7a5dd97565db4f8d3d43b8d125deab1da1675240aeefe998578f78f584fe344addc19fb12547834a6becd5df1c42ee476 - languageName: node - linkType: hard - "damerau-levenshtein@npm:^1.0.8": version: 1.0.8 resolution: "damerau-levenshtein@npm:1.0.8" @@ -6967,22 +6959,6 @@ __metadata: languageName: node linkType: hard -"delaunator@npm:^4.0.0": - version: 4.0.1 - resolution: "delaunator@npm:4.0.1" - checksum: b4c1f65a4f0c4e58428725a34edee9089cd72cc3ee998c8b2fa1bc9e8f654ca1afe2fad42607085b15a7dd4dbe71ba2ce75a8c3c867a49fab6e4769b0854189d - languageName: node - linkType: hard - -"delaunay-find@npm:0.0.6": - version: 0.0.6 - resolution: "delaunay-find@npm:0.0.6" - dependencies: - delaunator: "npm:^4.0.0" - checksum: 8f2b994986076700b7f18898494562b9ba6825091b5172d69d141434945c4db26c1494f59f5a6036782ce79e98416b94250d28635fdb83cac96d9262251aea52 - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -13779,13 +13755,6 @@ __metadata: languageName: node linkType: hard -"react-fast-compare@npm:^3.2.0": - version: 3.2.1 - resolution: "react-fast-compare@npm:3.2.1" - checksum: f6394513cdb3f0dd0e54882d039b0f9333100aacdca14817fc9932b979227954a20c78785aa4da69e44de262995f6d34a98168a983d1c8543aed74624e1a7811 - languageName: node - linkType: hard - "react-is@npm:^16.10.2, react-is@npm:^16.13.1, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -16562,345 +16531,7 @@ __metadata: languageName: node linkType: hard -"victory-area@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-area@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - victory-vendor: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: cd4dcfa1052b5dbc5613a805b124acb47441f5a94854e2d757716e5408a13527ee076c121f403639990f5d7da0f1be33c85c7f680479b8b6138f6f15cf50a70c - languageName: node - linkType: hard - -"victory-axis@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-axis@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 11155f61bb44853eaa8f14fa836ae87128d1a6f31de3b2c524ab603edf6c1551b7645857b17a079cd63298659d18a8ce5f0641e4dac6cc1dc9e4e876d26055c1 - languageName: node - linkType: hard - -"victory-bar@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-bar@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - victory-vendor: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: bb108f8e1383f8e945246201ce0e3815bda7c6f7432635da557006269b0ae6744db3d1cf4277633befa406238a175207185677a35bbf08e4376831fac17fae06 - languageName: node - linkType: hard - -"victory-box-plot@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-box-plot@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - victory-vendor: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 762159901ebefc3323c34142d368f4771750e187653fd722a3f36d92d467e67d40b2b7022dcb9b0f2caae0b70c59843b1b63f9b50560b38d45f62f3c5a49a5d5 - languageName: node - linkType: hard - -"victory-brush-container@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-brush-container@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: da00d9f1fac0cba3df04640422cf06828d1ce616cff7eecd5b6424cdaec38f59170fc1e06419f5a4045bab089a237918ff8144bec0e05c9401370e3d9b645d50 - languageName: node - linkType: hard - -"victory-brush-line@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-brush-line@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 57ab52fb16a8739744cd2407a364a151fb994bc21a7d0774dac1e7e14cc914d96c03517a8f946dc207210c1cc47980469c362ce94eaa249029db97b6da65a38e - languageName: node - linkType: hard - -"victory-candlestick@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-candlestick@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 3c8086eecc3134194a5edac334dd4d349a9f63c829851b99ff19c72d48398d688c0bedde339072f2eb8c95827b95471e38608f0c1ade76e84013e3347abb8a5f - languageName: node - linkType: hard - -"victory-canvas@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-canvas@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-bar: "npm:^36.8.2" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: d7086f87e1d0e74924e81024b2570d181104c552a44a60294784f9d20d941e64dd10bb3e147f312fb2be138aeb793117c363deb5ce5015d04b7ff8f924737b9b - languageName: node - linkType: hard - -"victory-chart@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-chart@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-axis: "npm:^36.8.2" - victory-core: "npm:^36.8.2" - victory-polar-axis: "npm:^36.8.2" - victory-shared-events: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 256ea5c0bac20f6a2c72c699f28642fb978fc3f0328b81e97cf89490b062282badbff5a23f1c2a0a552ed79c95a9d0ecc89d05e90a32faa5ddda7f64dabb8d8c - languageName: node - linkType: hard - -"victory-core@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-core@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.21" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-vendor: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 603d5bd3097fc15b01c7f85fea854313b483837c6e4f658c755e0b27556b4a6820dde33e22bdbac28304de10d2b48f521963318302b7ef27863b1f52f0064d7d - languageName: node - linkType: hard - -"victory-create-container@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-create-container@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - victory-brush-container: "npm:^36.8.2" - victory-core: "npm:^36.8.2" - victory-cursor-container: "npm:^36.8.2" - victory-selection-container: "npm:^36.8.2" - victory-voronoi-container: "npm:^36.8.2" - victory-zoom-container: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: f974f4ffdd17ac6a327bebc862d382593f47a2faa777fdffcb1bf6fd4c267bc0149ebb6129695f6c6ee9611a9d0c9d254c7a282e93eb1e8b329ad266c2f01e98 - languageName: node - linkType: hard - -"victory-cursor-container@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-cursor-container@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 61c02fe3bbe0a32378d80436e0c9a02a4db983eb9647f60e4e86e3614422803c1dc165e193164549510e6fb4a848f661f9750bd2ce5fef972b72d70ed9291785 - languageName: node - linkType: hard - -"victory-errorbar@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-errorbar@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 1ab7f703d193071b6e31293e5c70c4c8bdde62af27f9007ceb33e469d289a3f28ebaed5d171d732d61755ae467b354cb6fc8495b4e5d1c7e9f76add1a17b2c3c - languageName: node - linkType: hard - -"victory-group@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-group@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-core: "npm:^36.8.2" - victory-shared-events: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 0ce839f225678c4a5a89a1ee6423c8fde85a217daad7c3ffe4e36494df257f488de535efcabd5ad44f04028bb157572948aefe4cde1a9457bbd90cdc428e1b31 - languageName: node - linkType: hard - -"victory-histogram@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-histogram@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-bar: "npm:^36.8.2" - victory-core: "npm:^36.8.2" - victory-vendor: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: d7f3d9f5ee4ded0aecd8338e77a848845a8ed42ab5d14960bb5c8eed804b4a5c30d92e2c0fda8d7e4d5e7658bf32460743fc816128d55dae07205ffa41460a17 - languageName: node - linkType: hard - -"victory-legend@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-legend@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 186760ee0e45c0a9fc11f80467125f887e2c3b701a90c0ebf855035dd0b8b613fcc0e2b4bb607e39503e8b9fefbbe39bef0f2b1c6ffdb171dcb49cf2b7d5b86b - languageName: node - linkType: hard - -"victory-line@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-line@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - victory-vendor: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 1aadcef821c84c480f3a4b26769dc82ce083d238ad47b055d1373d2b92cab40e77e9184341e0f8e9bbba559a506f342d84621ed74415f462d639978015828180 - languageName: node - linkType: hard - -"victory-pie@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-pie@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - victory-vendor: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 065781a84fc31fe8a7bd351c9a699374f51c5c4361ab0c47be7fcf7ebd71df0abb47ddc35b10bcf49c470beb86f5b2f220bb7bb35b1320c4aca9bc88e46812b6 - languageName: node - linkType: hard - -"victory-polar-axis@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-polar-axis@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: a84e0922bebf5d834a4bb2c77907d174faca570487e09a1d9917e297c56f774448f317f920e9bd4cee254c095bac894466c2204df8e5064eabc872843b0e697f - languageName: node - linkType: hard - -"victory-scatter@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-scatter@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 2f17db8f38492ce8fed99ae5c7d153f3a9bdfd7d520b2cb547fc3ffcae6aa761b3bec9cab5879e043a7fd38b1b0b9ef33fa82773817b82093a2f0f93f3abc20e - languageName: node - linkType: hard - -"victory-selection-container@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-selection-container@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 0e04b6e63063633ce89c1474e3fa849ffa0c70c87beb4d03089f559d37d292723982af6de893a3e85530c46a5012003db281a5c9eb3bec81cd551ef69b4204b8 - languageName: node - linkType: hard - -"victory-shared-events@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-shared-events@npm:36.8.2" - dependencies: - json-stringify-safe: "npm:^5.0.1" - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 5c65f6a6dd901902bde5f7d7b31ec6406d15a33e628c91b42e753b407e0bd9e6f03f96d07a2f814ce7f6d028c4867ab0ea11eb751483f80d1b82da264ceafc31 - languageName: node - linkType: hard - -"victory-stack@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-stack@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-core: "npm:^36.8.2" - victory-shared-events: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: f2ae77fcf250168e3b8cddd3b28d3ceecb6aa4b1788a83291d027af163eb6e13613572159f36e3bce39946d9648c106105628ee21fae1ada13bdad2ccb0fc097 - languageName: node - linkType: hard - -"victory-tooltip@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-tooltip@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: fc640278ad9ae47b570efddc9f90963bad91d4cf84eb9f5b19e7b642a1a8409c057125db78db915f17ac1d475d6f604ca643673cc037bd589516a8109e125a6e - languageName: node - linkType: hard - -"victory-vendor@npm:^36.6.8, victory-vendor@npm:^36.8.2": +"victory-vendor@npm:^36.6.8": version: 36.8.2 resolution: "victory-vendor@npm:36.8.2" dependencies: @@ -16922,86 +16553,6 @@ __metadata: languageName: node linkType: hard -"victory-voronoi-container@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-voronoi-container@npm:36.8.2" - dependencies: - delaunay-find: "npm:0.0.6" - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - react-fast-compare: "npm:^3.2.0" - victory-core: "npm:^36.8.2" - victory-tooltip: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: 5774da22102fbb2948e3360bb5d5a0c20cf9b4cce6db25e73a9f35933bf0846ef1c447694e33f232e09240ae36e6543719a8e54922ef03c419e969c15b88fdce - languageName: node - linkType: hard - -"victory-voronoi@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-voronoi@npm:36.8.2" - dependencies: - d3-voronoi: "npm:^1.1.4" - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: ca72e86950d1f5d68ecbd92c18ec84bb8156c78ada4560d9739595b8500a731379028752fad8ee8be1325bc04da55230335dfa54b03975e9e0a8db803756b1e3 - languageName: node - linkType: hard - -"victory-zoom-container@npm:^36.8.2": - version: 36.8.2 - resolution: "victory-zoom-container@npm:36.8.2" - dependencies: - lodash: "npm:^4.17.19" - prop-types: "npm:^15.8.1" - victory-core: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: c3122cbf76fb353d4e9ff6539687fa858aac2f1b0d7fad3c7461870d64da42c6f2e86b71044095cf0f1a94900db11f2779c4aaef70bd30c9ec87c6202e58b991 - languageName: node - linkType: hard - -"victory@npm:^36.8.2": - version: 36.8.2 - resolution: "victory@npm:36.8.2" - dependencies: - victory-area: "npm:^36.8.2" - victory-axis: "npm:^36.8.2" - victory-bar: "npm:^36.8.2" - victory-box-plot: "npm:^36.8.2" - victory-brush-container: "npm:^36.8.2" - victory-brush-line: "npm:^36.8.2" - victory-candlestick: "npm:^36.8.2" - victory-canvas: "npm:^36.8.2" - victory-chart: "npm:^36.8.2" - victory-core: "npm:^36.8.2" - victory-create-container: "npm:^36.8.2" - victory-cursor-container: "npm:^36.8.2" - victory-errorbar: "npm:^36.8.2" - victory-group: "npm:^36.8.2" - victory-histogram: "npm:^36.8.2" - victory-legend: "npm:^36.8.2" - victory-line: "npm:^36.8.2" - victory-pie: "npm:^36.8.2" - victory-polar-axis: "npm:^36.8.2" - victory-scatter: "npm:^36.8.2" - victory-selection-container: "npm:^36.8.2" - victory-shared-events: "npm:^36.8.2" - victory-stack: "npm:^36.8.2" - victory-tooltip: "npm:^36.8.2" - victory-voronoi: "npm:^36.8.2" - victory-voronoi-container: "npm:^36.8.2" - victory-zoom-container: "npm:^36.8.2" - peerDependencies: - react: ">=16.6.0" - checksum: a5ab49f1ca65856b273384637bd6af25d681d6829b2f55d3ce669cfd82b5073c6d012ad060ce39ec7139b4e813a889732f076e421ce56d77cd03b22dd17f91be - languageName: node - linkType: hard - "vite-node@npm:1.2.1": version: 1.2.1 resolution: "vite-node@npm:1.2.1"