From 3d2749c4cfab93ee34e491559e1419ea7a261a2d Mon Sep 17 00:00:00 2001 From: arobsn <87387688+arobsn@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:42:57 -0300 Subject: [PATCH] remove `feather-icons` and `vue-feather` --- package.json | 2 -- pnpm-lock.yaml | 35 ------------------- src/boot/commonSetup.ts | 2 -- src/components/LedgerDevice.vue | 15 +++----- src/components/SignStateModal.vue | 13 ++----- src/components/TxBoxDetails.vue | 7 ++-- src/components/TxSignView.vue | 6 ++-- src/extension/connector/views/AuthView.vue | 9 ++--- .../connector/views/SignDataView.vue | 10 +++--- src/views/TransactionHistory.vue | 4 +-- 10 files changed, 28 insertions(+), 75 deletions(-) diff --git a/package.json b/package.json index 0778ecf9..df429218 100755 --- a/package.json +++ b/package.json @@ -43,14 +43,12 @@ "dayjs": "^1.11.13", "dexie": "^4.0.10", "ergo-lib-wasm-browser": "^0.28.0", - "feather-icons": "^4.29.2", "ledger-ergo-js": "^0.1.20", "lodash-es": "^4.17.21", "lucide-vue-next": "^0.468.0", "pinia": "^2.3.0", "uqr": "^0.1.2", "vue": "^3.5.13", - "vue-feather": "^2.0.0", "vue-json-pretty": "2.4.0", "vue-router": "^4.5.0", "webext-bridge": "^6.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46614065..15ff4c19 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -73,9 +73,6 @@ importers: ergo-lib-wasm-browser: specifier: ^0.28.0 version: 0.28.0 - feather-icons: - specifier: ^4.29.2 - version: 4.29.2 ledger-ergo-js: specifier: ^0.1.20 version: 0.1.20 @@ -94,9 +91,6 @@ importers: vue: specifier: ^3.5.13 version: 3.5.13(typescript@5.7.2) - vue-feather: - specifier: ^2.0.0 - version: 2.0.0(feather-icons@4.29.2)(vue@3.5.13(typescript@5.7.2)) vue-json-pretty: specifier: 2.4.0 version: 2.4.0(vue@3.5.13(typescript@5.7.2)) @@ -1521,9 +1515,6 @@ packages: cipher-base@1.0.4: resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==} - classnames@2.5.1: - resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==} - cleave.js@1.6.0: resolution: {integrity: sha512-ivqesy3j5hQVG3gywPfwKPbi/7ZSftY/UNp5uphnqjr25yI2CP8FS2ODQPzuLXXnNLi29e2+PgPkkiKUXLs/Nw==} @@ -1583,9 +1574,6 @@ packages: resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==} engines: {node: '>=12.13'} - core-js@3.39.0: - resolution: {integrity: sha512-raM0ew0/jJUqkJ0E6e8UDtl+y/7ktFivgWvqw8dNSQeNWoSDLvQ1H/RN3aPXB9tBd4/FhyR4RDPGhsNIMsAn7g==} - core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -2010,9 +1998,6 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - feather-icons@4.29.2: - resolution: {integrity: sha512-0TaCFTnBTVCz6U+baY2UJNKne5ifGh7sMG4ZC2LoBWCZdIyPa+y6UiR4lEYGws1JOFWdee8KAsAIvu0VcXqiqA==} - file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -3552,12 +3537,6 @@ packages: peerDependencies: eslint: '>=6.0.0' - vue-feather@2.0.0: - resolution: {integrity: sha512-GBvxJWu2ycGTpB8duYWnc5S/TwWPPb2G5Ft2NbkwK1vZkUDUOTYqIb4Nh1HOL6A37Isfrd0Guun0lesS97PfxA==} - peerDependencies: - feather-icons: ^4.28.0 - vue: ^3.0.0 - vue-json-pretty@2.4.0: resolution: {integrity: sha512-e9bP41DYYIc2tWaB6KuwqFJq5odZ8/GkE6vHQuGcbPn37kGk4a3n1RNw3ZYeDrl66NWXgTlOfS+M6NKkowmkWw==} engines: {node: '>= 10.0.0', npm: '>= 5.0.0'} @@ -5049,8 +5028,6 @@ snapshots: inherits: 2.0.4 safe-buffer: 5.2.1 - classnames@2.5.1: {} - cleave.js@1.6.0: {} cli-boxes@3.0.0: {} @@ -5107,8 +5084,6 @@ snapshots: dependencies: is-what: 4.1.16 - core-js@3.39.0: {} - core-util-is@1.0.3: {} create-ecdh@4.0.4: @@ -5654,11 +5629,6 @@ snapshots: dependencies: reusify: 1.0.4 - feather-icons@4.29.2: - dependencies: - classnames: 2.5.1 - core-js: 3.39.0 - file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -7358,11 +7328,6 @@ snapshots: transitivePeerDependencies: - supports-color - vue-feather@2.0.0(feather-icons@4.29.2)(vue@3.5.13(typescript@5.7.2)): - dependencies: - feather-icons: 4.29.2 - vue: 3.5.13(typescript@5.7.2) - vue-json-pretty@2.4.0(vue@3.5.13(typescript@5.7.2)): dependencies: vue: 3.5.13(typescript@5.7.2) diff --git a/src/boot/commonSetup.ts b/src/boot/commonSetup.ts index caba89ff..f51f3c1e 100644 --- a/src/boot/commonSetup.ts +++ b/src/boot/commonSetup.ts @@ -2,7 +2,6 @@ import { Config, Inputitems, Modal, Slider, Switch } from "@oruga-ui/oruga-next" import dayjs from "dayjs"; import relativeTime from "dayjs/plugin/relativeTime"; import { App } from "vue"; -import VueFeather from "vue-feather"; import { createPinia } from "pinia"; import AssetIcon from "@/components/AssetIcon.vue"; import ClickToCopy from "@/components/ClickToCopy.vue"; @@ -36,7 +35,6 @@ export function setupApp(app: App): App { .use(Switch) .use(Config, ORUGA_SETTINGS) .directive("cleave", vueCleave) - .component("vue-feather", VueFeather) .component("click-to-copy", ClickToCopy) .component("tool-tip", ToolTip) .component("loading-indicator", LoadingIndicator) diff --git a/src/components/LedgerDevice.vue b/src/components/LedgerDevice.vue index 209bf1dc..d6b238a1 100644 --- a/src/components/LedgerDevice.vue +++ b/src/components/LedgerDevice.vue @@ -1,6 +1,7 @@