From bc1fc8ee1fdbe4dcfb3a65d500de80f725d5bd58 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 24 Jun 2021 17:40:48 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=8B?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/src/modules/plugin/git/config.js | 2 +- .../core/src/modules/plugin/node/config.js | 2 +- packages/gui/yarn.lock | 82 ++++++++++++++++--- 3 files changed, 72 insertions(+), 14 deletions(-) diff --git a/packages/core/src/modules/plugin/git/config.js b/packages/core/src/modules/plugin/git/config.js index c724ed3..e80e7d9 100644 --- a/packages/core/src/modules/plugin/git/config.js +++ b/packages/core/src/modules/plugin/git/config.js @@ -1,7 +1,7 @@ module.exports = { name: 'Git.exe代理', enabled: false, - tip: '没有安装git.exe,不需要启动', + tip: '如果你没有安装git命令行则不需要启动它', setting: { sslVerify: true // 是否关闭sslVerify } diff --git a/packages/core/src/modules/plugin/node/config.js b/packages/core/src/modules/plugin/node/config.js index fc76a10..1bb175e 100644 --- a/packages/core/src/modules/plugin/node/config.js +++ b/packages/core/src/modules/plugin/node/config.js @@ -1,7 +1,7 @@ module.exports = { name: 'NPM加速', enabled: false, - tip: '没有安装nodejs,不需要启动', + tip: '如果你没有安装nodejs则不需要启动它', startup: { variables: true }, diff --git a/packages/gui/yarn.lock b/packages/gui/yarn.lock index c695155..711b89f 100644 --- a/packages/gui/yarn.lock +++ b/packages/gui/yarn.lock @@ -901,12 +901,12 @@ ajv "^6.12.0" ajv-keywords "^3.4.1" -"@docmirror/dev-sidecar@^1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@docmirror/dev-sidecar/-/dev-sidecar-1.5.0.tgz#cbded77651fc5a8dbee5d84db083a06518928cfd" - integrity sha512-f2eDfOs9PDOBxFpAxo/nImSRfwqVi/tVFdzyv4Bn10kBcBJY8iiqYWpqq+blvgWSO43V+UyG1VNXagqHK37GLQ== +"@docmirror/dev-sidecar@^1.5.1": + version "1.5.1" + resolved "https://registry.nlark.com/@docmirror/dev-sidecar/download/@docmirror/dev-sidecar-1.5.1.tgz#009d79f12a52c4085aa02e29091436e99c672a23" + integrity sha1-AJ158SpSxAhaoC4pCRQ26ZxnKiM= dependencies: - "@docmirror/mitmproxy" "^1.5.0" + "@docmirror/mitmproxy" "^1.5.1" agentkeepalive "^2.1.1" babel-preset-es2020 "^1.0.2" charset "^1.0.0" @@ -916,6 +916,7 @@ debug "^4.1.1" dns-over-http "^0.2.0" dns-over-tls "^0.0.8" + fix-path "^3.0.0" iconv-lite "^0.4.13" is-browser "^2.1.0" jschardet "^1.4.1" @@ -934,10 +935,10 @@ validator "^13.1.17" winreg "^1.2.4" -"@docmirror/mitmproxy@^1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@docmirror/mitmproxy/-/mitmproxy-1.5.0.tgz#16b9a956542a56f9889cd0c69c08a33d06d77ab8" - integrity sha512-H17TAqKmvzCMSTO6VGTC6kKQskjk1gEJZYsU2ijziZU0XEC96ObG0TWOnsdKh2PhmwDLwxS9cUyb1hpYilLreQ== +"@docmirror/mitmproxy@^1.5.1": + version "1.5.1" + resolved "https://registry.nlark.com/@docmirror/mitmproxy/download/@docmirror/mitmproxy-1.5.1.tgz#357142a41b89266491c3519a7528b9b83dc30c85" + integrity sha1-NXFCpBuJJmSRw1GadSi5uD3DDIU= dependencies: agentkeepalive "^2.1.1" axios "^0.21.1" @@ -3847,6 +3848,14 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" +cross-spawn@^4.0.0: + version "4.0.2" + resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41" + integrity sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE= + dependencies: + lru-cache "^4.0.1" + which "^1.2.9" + cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-5.1.0.tgz" @@ -4187,6 +4196,11 @@ default-gateway@^5.0.5: dependencies: execa "^3.3.0" +default-shell@^1.0.0: + version "1.0.1" + resolved "https://registry.npm.taobao.org/default-shell/download/default-shell-1.0.1.tgz#752304bddc6174f49eb29cb988feea0b8813c8bc" + integrity sha1-dSMEvdxhdPSespy5iP7qC4gTyLw= + defaults@^1.0.3: version "1.0.3" resolved "https://registry.npm.taobao.org/defaults/download/defaults-1.0.3.tgz" @@ -4637,10 +4651,10 @@ electron-updater@^4.3.5: lodash.isequal "^4.5.0" semver "^7.3.2" -electron@^10.1.3: +electron@10.4.2: version "10.4.2" - resolved "https://registry.npmjs.org/electron/-/electron-10.4.2.tgz" - integrity sha512-qNd/AJfIpjasf6v7xXrDR9tWy2jmcUco3zdB4iLjxW1eoWL+x+03hlPKUaroAnZZ0KKtXoR1uDK/OLP4btckFg== + resolved "https://registry.nlark.com/electron/download/electron-10.4.2.tgz?cache=0&sync_timestamp=1620442447118&other_urls=https%3A%2F%2Fregistry.nlark.com%2Felectron%2Fdownload%2Felectron-10.4.2.tgz#2322a72f1e653e023250be91f3dd8d27662e3805" + integrity sha1-IyKnLx5lPgIyUL6R892NJ2YuOAU= dependencies: "@electron/get" "^1.0.1" "@types/node" "^12.0.12" @@ -5091,6 +5105,19 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" +execa@^0.5.0: + version "0.5.1" + resolved "https://registry.npm.taobao.org/execa/download/execa-0.5.1.tgz#de3fb85cb8d6e91c85bcbceb164581785cb57b36" + integrity sha1-3j+4XLjW6RyFvLzrFkWBeFy1ezY= + dependencies: + cross-spawn "^4.0.0" + get-stream "^2.2.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + execa@^0.8.0: version "0.8.0" resolved "https://registry.npm.taobao.org/execa/download/execa-0.8.0.tgz" @@ -5475,6 +5502,13 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" +fix-path@^3.0.0: + version "3.0.0" + resolved "https://registry.npm.taobao.org/fix-path/download/fix-path-3.0.0.tgz#c6b82fd5f5928e520b392a63565ebfef0ddf037e" + integrity sha1-xrgv1fWSjlILOSpjVl6/7w3fA34= + dependencies: + shell-path "^2.1.0" + flat-cache@^2.0.1: version "2.0.1" resolved "https://registry.npm.taobao.org/flat-cache/download/flat-cache-2.0.1.tgz" @@ -5691,6 +5725,14 @@ get-ready@^1.0.0: resolved "https://registry.yarnpkg.com/get-ready/-/get-ready-1.0.0.tgz#f91817f1e9adecfea13a562adfc8de883ab34782" integrity sha1-+RgX8emt7P6hOlYq38jeiDqzR4I= +get-stream@^2.2.0: + version "2.3.1" + resolved "https://registry.npm.taobao.org/get-stream/download/get-stream-2.3.1.tgz#5f38f93f346009666ee0150a054167f91bdd95de" + integrity sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4= + dependencies: + object-assign "^4.0.1" + pinkie-promise "^2.0.0" + get-stream@^3.0.0: version "3.0.0" resolved "https://registry.npm.taobao.org/get-stream/download/get-stream-3.0.0.tgz?cache=0&sync_timestamp=1597056502934&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fget-stream%2Fdownload%2Fget-stream-3.0.0.tgz" @@ -9931,6 +9973,22 @@ shebang-regex@^3.0.0: resolved "https://registry.npm.taobao.org/shebang-regex/download/shebang-regex-3.0.0.tgz" integrity sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI= +shell-env@^0.3.0: + version "0.3.0" + resolved "https://registry.npm.taobao.org/shell-env/download/shell-env-0.3.0.tgz#2250339022989165bda4eb7bf383afeaaa92dc34" + integrity sha1-IlAzkCKYkWW9pOt784Ov6qqS3DQ= + dependencies: + default-shell "^1.0.0" + execa "^0.5.0" + strip-ansi "^3.0.0" + +shell-path@^2.1.0: + version "2.1.0" + resolved "https://registry.npm.taobao.org/shell-path/download/shell-path-2.1.0.tgz#ea7d06ae1070874a1bac5c65bb9bdd62e4f67a38" + integrity sha1-6n0GrhBwh0obrFxlu5vdYuT2ejg= + dependencies: + shell-env "^0.3.0" + shell-quote@^1.6.1: version "1.7.2" resolved "https://registry.npm.taobao.org/shell-quote/download/shell-quote-1.7.2.tgz"