From c180922f18a765c7255f1fe3064020efc2a9a564 Mon Sep 17 00:00:00 2001 From: baiy Date: Tue, 26 Oct 2021 16:37:40 +0800 Subject: [PATCH] =?UTF-8?q?diff=20=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 7 +- package.json | 1 - src/views/tool/components/diffEditor.vue | 98 +++++++++++++++++------- src/views/tool/diffs.vue | 65 +++++++++------- 4 files changed, 106 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index f453f6a..3a1fb62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "c-tool", - "version": "1.7.10", + "version": "1.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -4505,11 +4505,6 @@ "integrity": "sha512-qi86tE6hRcFHy8jI1m2VG+LaPUR1LhqDa5G8tVjuUXmOrpuAgqsA1pN0+ldgr3aKUH+QLI9hCY/OcRYisERejw==", "dev": true }, - "diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==" - }, "diffie-hellman": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", diff --git a/package.json b/package.json index 7218f05..2c36269 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "cron-parser": "^2.16.3", "cronstrue": "^1.122.0", "crypto-js": "^3.3.0", - "diff": "^4.0.2", "file": "^0.2.2", "http-build-query": "^0.7.0", "ipinyinjs": "^1.0.0", diff --git a/src/views/tool/components/diffEditor.vue b/src/views/tool/components/diffEditor.vue index 9c24178..a2a0dee 100644 --- a/src/views/tool/components/diffEditor.vue +++ b/src/views/tool/components/diffEditor.vue @@ -1,8 +1,8 @@ - - diff --git a/src/views/tool/diffs.vue b/src/views/tool/diffs.vue index 0a92506..1218a90 100644 --- a/src/views/tool/diffs.vue +++ b/src/views/tool/diffs.vue @@ -1,43 +1,47 @@