From a504bf3141f6641ae767d2d227bcb5295016c530 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 2 Sep 2024 14:33:23 +0200 Subject: [PATCH] fix packages and add cards back again --- package-lock.json | 12 +++++++----- package.json | 2 +- src/lib/components/Sidecard.svelte | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index b68201e5..d12cd1f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,6 @@ "greeks": "^1.0.0", "html2canvas": "^1.4.1", "https": "^1.0.0", - "lightweight-charts": "^4.2.0", "marked": "^12.0.2", "mode-watcher": "^0.3.1", "ua-parser-js": "^1.0.37" @@ -46,6 +45,7 @@ "jsonwebtoken": "^9.0.2", "katex": "^0.16.11", "layercake": "^8.4.0-beta.1", + "lightweight-charts": "^4.1.3", "lodash-es": "^4.17.21", "lucide-svelte": "^0.438.0", "luxon": "^3.5.0", @@ -4752,7 +4752,8 @@ "node_modules/fancy-canvas": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fancy-canvas/-/fancy-canvas-2.1.0.tgz", - "integrity": "sha512-nifxXJ95JNLFR2NgRV4/MxVP45G9909wJTEKz5fg/TZS20JJZA6hfgRVh/bC9bwl2zBtBNcYPjiBE4njQHVBwQ==" + "integrity": "sha512-nifxXJ95JNLFR2NgRV4/MxVP45G9909wJTEKz5fg/TZS20JJZA6hfgRVh/bC9bwl2zBtBNcYPjiBE4njQHVBwQ==", + "dev": true }, "node_modules/fast-diff": { "version": "1.3.0", @@ -5715,9 +5716,10 @@ } }, "node_modules/lightweight-charts": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lightweight-charts/-/lightweight-charts-4.2.0.tgz", - "integrity": "sha512-TRC61cI6bEKBEHcpqawL0KP8Rwos9b2OcdyeQ4Ri7Zybf8NvrRYmNcJV+2a2rMo7VZp1NhVWURuNEskjc+wm4A==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lightweight-charts/-/lightweight-charts-4.1.3.tgz", + "integrity": "sha512-SJacmEyx3LmT2Qsc7Kq7cEX7nEHtQv0MOlujhRlcDxhW62pG6nkBlcM52/jNqkq8B28KQeVmgOQ7zrdJ4BCPDw==", + "dev": true, "dependencies": { "fancy-canvas": "2.1.0" } diff --git a/package.json b/package.json index 4e76d8b7..fa65bdcf 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "jsonwebtoken": "^9.0.2", "katex": "^0.16.11", "layercake": "^8.4.0-beta.1", + "lightweight-charts": "^4.1.3", "lodash-es": "^4.17.21", "lucide-svelte": "^0.438.0", "luxon": "^3.5.0", @@ -99,7 +100,6 @@ "greeks": "^1.0.0", "html2canvas": "^1.4.1", "https": "^1.0.0", - "lightweight-charts": "^4.2.0", "marked": "^12.0.2", "mode-watcher": "^0.3.1", "ua-parser-js": "^1.0.37" diff --git a/src/lib/components/Sidecard.svelte b/src/lib/components/Sidecard.svelte index d9fe6d35..51c8c9a5 100644 --- a/src/lib/components/Sidecard.svelte +++ b/src/lib/components/Sidecard.svelte @@ -3,8 +3,8 @@ import TickerInfoCard from '$lib/components/TickerInfoCard.svelte'; import AnalystCard from '$lib/components/AnalystCard.svelte'; //import ESGCard from '$lib/components/ESGCard.svelte'; -//import SimilarTickerCard from '$lib/components/SimilarTickerCard.svelte'; -//import TopETFTickerHolder from '$lib/components/TopETFTickerHolder.svelte'; +import SimilarTickerCard from '$lib/components/SimilarTickerCard.svelte'; +import TopETFTickerHolder from '$lib/components/TopETFTickerHolder.svelte'; export let data; export let stockDeck; @@ -26,6 +26,6 @@ export let analystRating - + - +