Explorar o código

升级依赖库

Michael Wang %!s(int64=5) %!d(string=hai) anos
pai
achega
a0eb442943
Modificáronse 4 ficheiros con 581 adicións e 207 borrados
  1. 26 25
      package.json
  2. 1 3
      src/plugins/networkInformationHint.js
  3. 1 1
      vue.config.js
  4. 553 178
      yarn.lock

+ 26 - 25
package.json

@@ -10,42 +10,43 @@
     "test:unit": "vue-cli-service test:unit"
   },
   "dependencies": {
-    "axios": "^0.18.0",
+    "axios": "^0.19.0",
     "axios-progress-bar": "^1.2.0",
-    "bootstrap": "^4.2.1",
-    "element-ui": "^2.4.9",
-    "lodash": "^4.17.11",
-    "moment": "^2.22.2",
-    "print-js": "^1.0.54",
-    "randomcolor": "^0.5.3",
+    "bootstrap": "^4.3.1",
+    "echarts": "^4.2.1",
+    "element-ui": "^2.12.0",
+    "lodash": "^4.17.15",
+    "moment": "^2.24.0",
+    "print-js": "^1.0.61",
+    "randomcolor": "^0.5.4",
     "rasterizehtml": "^1.3.0",
-    "register-service-worker": "^1.5.2",
+    "register-service-worker": "^1.6.2",
     "viewerjs": "^1.3.6",
-    "vue": "^2.5.22",
-    "vue-awesome": "^3.2.0",
-    "vue-echarts": "^3.1.3",
-    "vue-router": "^3.0.2",
-    "vuex": "^3.0.1"
+    "vue": "^2.6.10",
+    "vue-awesome": "^3.5.4",
+    "vue-echarts": "^4.0.3",
+    "vue-router": "^3.1.3",
+    "vuex": "^3.1.1"
   },
   "devDependencies": {
-    "@vue/cli-plugin-babel": "^3.3.0",
-    "@vue/cli-plugin-eslint": "^3.3.0",
-    "@vue/cli-plugin-pwa": "^3.3.0",
-    "@vue/cli-plugin-unit-jest": "^3.3.0",
-    "@vue/cli-service": "^3.3.0",
+    "@vue/cli-plugin-babel": "^3.11.0",
+    "@vue/cli-plugin-eslint": "^3.11.0",
+    "@vue/cli-plugin-pwa": "^3.11.0",
+    "@vue/cli-plugin-unit-jest": "^3.11.0",
+    "@vue/cli-service": "^3.11.0",
     "@vue/eslint-config-prettier": "^4.0.1",
     "@vue/test-utils": "^1.0.0-beta.20",
     "babel-core": "7.0.0-bridge.0",
-    "babel-eslint": "^10.0.1",
-    "babel-jest": "^23.6.0",
-    "eslint": "^5.8.0",
-    "eslint-plugin-vue": "^5.0.0",
-    "lint-staged": "^8.1.5",
+    "babel-eslint": "^10.0.3",
+    "babel-jest": "^24.9.0",
+    "eslint": "^5.16.0",
+    "eslint-plugin-vue": "^5.2.3",
+    "lint-staged": "^9.2.5",
     "node-sass": "^4.12.0",
-    "sass-loader": "^7.0.1",
+    "sass-loader": "^8.0.0",
     "vue-cli-plugin-axios": "0.0.4",
     "vue-cli-plugin-element": "^1.0.0",
-    "vue-template-compiler": "^2.5.22"
+    "vue-template-compiler": "^2.6.10"
   },
   "gitHooks": {
     "pre-commit": "lint-staged"

+ 1 - 3
src/plugins/networkInformationHint.js

@@ -20,9 +20,7 @@ export default function networkInformationHint() {
           showClose: true,
           duration: 2000,
           title: "当前网络状况不佳!",
-          message: `当前网速:下载(${
-            navigator.connection.downlink
-          }Mb) 网络延时(${navigator.connection.rtt}ms) (点击此行可不再提示)`,
+          message: `当前网速:下载(${navigator.connection.downlink}Mb) 网络延时(${navigator.connection.rtt}ms) (点击此行可不再提示)`,
           type: "warning",
           onClick: () => {
             Vue.prototype

+ 1 - 1
vue.config.js

@@ -59,7 +59,7 @@ module.exports = {
   },
   transpileDependencies: [
     /\bvue-awesome\b/,
-    /\bvue-echarts\b/,
+    /\bvue-echarts\/components\b/,
     /\bresize-detector\b/
   ]
 };

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 553 - 178
yarn.lock


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio