Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Remove vue3-clipboard directive, no longer used

天舟31fece44f712
diff --git a/frontend/package.json b/frontend/package.json
index 013a0bfabc..a94e55c2ad 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -26,7 +26,6 @@
"uuid": "^8.3.2",
"vue": "^3.0.11",
"vue-router": "^4.0.8",
- "vue3-clipboard": "^1.0.0",
"vuex": "^4.0.0"
},
"devDependencies": {
diff --git a/frontend/src/main.ts b/frontend/src/main.ts
index 611945fae2..e46819ea4e 100644
--- a/frontend/src/main.ts
+++ b/frontend/src/main.ts
@@ -1,8 +1,6 @@
import { createApp } from "vue";
import axios from "axios";
import moment from "moment";
-// @ts-ignore
-import VueClipboard from "vue3-clipboard";
import App from "./App.vue";
import { store } from "./store";
import { router } from "./router";
@@ -134,7 +132,6 @@ app
.directive("data-source-type", dataSourceType)
.use(store)
.use(router)
- .use(VueClipboard)
.component("BBAlert", BBAlert)
.component("BBAttention", BBAttention)
.component("BBAvatar", BBAvatar)
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index f22f4cac48..27bd438fcf 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -371,7 +371,7 @@ chokidar@^3.5.1:
optionalDependencies:
fsevents "~2.3.2"
-clipboard@^2.0.0, clipboard@^2.0.6:
+clipboard@^2.0.0:
version "2.0.8"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.8.tgz#ffc6c103dd2967a83005f3f61976aa4655a4cdba"
integrity sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==
@@ -1345,13 +1345,6 @@ vue-router@^4.0.8:
dependencies:
"@vue/devtools-api" "^6.0.0-beta.14"
-vue3-clipboard@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/vue3-clipboard/-/vue3-clipboard-1.0.0.tgz#f7d17a00bce6579ba866df825541563b272610f2"
- integrity sha512-GUqKh1oO79xDpq0z+cCv/NDVTpcJGNDzeNgT3PmTdTp/WJh3gcTrDqIYKycKhzMFOtIFJ7hO/+usgyWtT+fNhA==
- dependencies:
- clipboard "^2.0.6"
-
vue@^3.0.11:
version "3.1.1"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.1.1.tgz#9ad655758a0fa6c0dee5b3d2431d3912a9b381aa"