Commit 88451565dbf75522de5c864c7a7dae508aaa0ca7
1 parent
26d9476c
chore: update deps
Showing
3 changed files
with
45 additions
and
72 deletions
build/vite/plugin/index.ts
@@ -37,21 +37,7 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) { | @@ -37,21 +37,7 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) { | ||
37 | !isBuild && vitePlugins.push(configHmrPlugin()); | 37 | !isBuild && vitePlugins.push(configHmrPlugin()); |
38 | 38 | ||
39 | // @vitejs/plugin-legacy | 39 | // @vitejs/plugin-legacy |
40 | - VITE_LEGACY && | ||
41 | - isBuild && | ||
42 | - vitePlugins.push( | ||
43 | - legacy({ | ||
44 | - targets: [ | ||
45 | - 'Android > 39', | ||
46 | - 'Chrome >= 60', | ||
47 | - 'Safari >= 10.1', | ||
48 | - 'iOS >= 10.3', | ||
49 | - 'Firefox >= 54', | ||
50 | - 'Edge >= 15', | ||
51 | - ], | ||
52 | - additionalLegacyPolyfills: ['regenerator-runtime/runtime'], | ||
53 | - }) | ||
54 | - ); | 40 | + VITE_LEGACY && isBuild && vitePlugins.push(legacy()); |
55 | 41 | ||
56 | // vite-plugin-html | 42 | // vite-plugin-html |
57 | vitePlugins.push(configHtmlPlugin(viteEnv, isBuild)); | 43 | vitePlugins.push(configHtmlPlugin(viteEnv, isBuild)); |
package.json
@@ -35,8 +35,8 @@ | @@ -35,8 +35,8 @@ | ||
35 | }, | 35 | }, |
36 | "dependencies": { | 36 | "dependencies": { |
37 | "@iconify/iconify": "^2.0.3", | 37 | "@iconify/iconify": "^2.0.3", |
38 | - "@logicflow/core": "^0.6.4", | ||
39 | - "@logicflow/extension": "^0.6.4", | 38 | + "@logicflow/core": "^0.6.5", |
39 | + "@logicflow/extension": "^0.6.5", | ||
40 | "@vueuse/core": "^5.2.0", | 40 | "@vueuse/core": "^5.2.0", |
41 | "@zxcvbn-ts/core": "^1.0.0-beta.0", | 41 | "@zxcvbn-ts/core": "^1.0.0-beta.0", |
42 | "ant-design-vue": "2.2.2", | 42 | "ant-design-vue": "2.2.2", |
@@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
67 | "devDependencies": { | 67 | "devDependencies": { |
68 | "@commitlint/cli": "^13.1.0", | 68 | "@commitlint/cli": "^13.1.0", |
69 | "@commitlint/config-conventional": "^13.1.0", | 69 | "@commitlint/config-conventional": "^13.1.0", |
70 | - "@iconify/json": "^1.1.380", | 70 | + "@iconify/json": "^1.1.381", |
71 | "@purge-icons/generated": "^0.7.0", | 71 | "@purge-icons/generated": "^0.7.0", |
72 | "@types/codemirror": "^5.60.2", | 72 | "@types/codemirror": "^5.60.2", |
73 | "@types/crypto-js": "^4.0.2", | 73 | "@types/crypto-js": "^4.0.2", |
@@ -77,7 +77,7 @@ | @@ -77,7 +77,7 @@ | ||
77 | "@types/jest": "^26.0.24", | 77 | "@types/jest": "^26.0.24", |
78 | "@types/lodash-es": "^4.17.4", | 78 | "@types/lodash-es": "^4.17.4", |
79 | "@types/mockjs": "^1.0.4", | 79 | "@types/mockjs": "^1.0.4", |
80 | - "@types/node": "^16.4.6", | 80 | + "@types/node": "^16.4.9", |
81 | "@types/nprogress": "^0.2.0", | 81 | "@types/nprogress": "^0.2.0", |
82 | "@types/qrcode": "^1.4.1", | 82 | "@types/qrcode": "^1.4.1", |
83 | "@types/qs": "^6.9.7", | 83 | "@types/qs": "^6.9.7", |
@@ -94,12 +94,12 @@ | @@ -94,12 +94,12 @@ | ||
94 | "conventional-changelog-cli": "^2.1.1", | 94 | "conventional-changelog-cli": "^2.1.1", |
95 | "cross-env": "^7.0.3", | 95 | "cross-env": "^7.0.3", |
96 | "dotenv": "^10.0.0", | 96 | "dotenv": "^10.0.0", |
97 | - "eslint": "^7.31.0", | 97 | + "eslint": "^7.32.0", |
98 | "eslint-config-prettier": "^8.3.0", | 98 | "eslint-config-prettier": "^8.3.0", |
99 | "eslint-define-config": "^1.0.9", | 99 | "eslint-define-config": "^1.0.9", |
100 | "eslint-plugin-jest": "^24.4.0", | 100 | "eslint-plugin-jest": "^24.4.0", |
101 | "eslint-plugin-prettier": "^3.4.0", | 101 | "eslint-plugin-prettier": "^3.4.0", |
102 | - "eslint-plugin-vue": "^7.14.0", | 102 | + "eslint-plugin-vue": "^7.15.0", |
103 | "esno": "^0.8.0", | 103 | "esno": "^0.8.0", |
104 | "fs-extra": "^10.0.0", | 104 | "fs-extra": "^10.0.0", |
105 | "http-server": "^0.12.3", | 105 | "http-server": "^0.12.3", |
@@ -129,7 +129,7 @@ | @@ -129,7 +129,7 @@ | ||
129 | "vite-plugin-imagemin": "^0.4.1", | 129 | "vite-plugin-imagemin": "^0.4.1", |
130 | "vite-plugin-mock": "^2.9.3", | 130 | "vite-plugin-mock": "^2.9.3", |
131 | "vite-plugin-purge-icons": "^0.7.0", | 131 | "vite-plugin-purge-icons": "^0.7.0", |
132 | - "vite-plugin-pwa": "^0.8.2", | 132 | + "vite-plugin-pwa": "^0.9.3", |
133 | "vite-plugin-style-import": "^1.0.1", | 133 | "vite-plugin-style-import": "^1.0.1", |
134 | "vite-plugin-svg-icons": "^1.0.1", | 134 | "vite-plugin-svg-icons": "^1.0.1", |
135 | "vite-plugin-theme": "^0.8.1", | 135 | "vite-plugin-theme": "^0.8.1", |
@@ -139,7 +139,7 @@ | @@ -139,7 +139,7 @@ | ||
139 | "resolutions": { | 139 | "resolutions": { |
140 | "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it", | 140 | "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it", |
141 | "bin-wrapper": "npm:bin-wrapper-china", | 141 | "bin-wrapper": "npm:bin-wrapper-china", |
142 | - "rollup": "^2.55.0" | 142 | + "rollup": "^2.55.1" |
143 | }, | 143 | }, |
144 | "repository": { | 144 | "repository": { |
145 | "type": "git", | 145 | "type": "git", |
yarn.lock
@@ -1322,10 +1322,10 @@ | @@ -1322,10 +1322,10 @@ | ||
1322 | dependencies: | 1322 | dependencies: |
1323 | cross-fetch "^3.0.6" | 1323 | cross-fetch "^3.0.6" |
1324 | 1324 | ||
1325 | -"@iconify/json@^1.1.380": | ||
1326 | - version "1.1.380" | ||
1327 | - resolved "https://registry.yarnpkg.com/@iconify/json/-/json-1.1.380.tgz#e61eac6429c2ed12ccd23d219e63668d5196601e" | ||
1328 | - integrity sha512-DKhpEjG8fc7VwrtoFStY+vHFgMKh8MSmzUG+1SfKjezBbPZI+bb2aVPNpLoHULkSoaV3eFVUw60/cte1iQCljw== | 1325 | +"@iconify/json@^1.1.381": |
1326 | + version "1.1.381" | ||
1327 | + resolved "https://registry.yarnpkg.com/@iconify/json/-/json-1.1.381.tgz#a9a1b06f72bdc7387cc82f3346e8b2520b533f93" | ||
1328 | + integrity sha512-5Eh8r1uw48zgea+jKqrJRA+eA9646Zpxy9Vp0+YCAutkrkWGRkpRZQh/nDlHCq7zL1X0KdHoMprW+1Mne8B9nQ== | ||
1329 | 1329 | ||
1330 | "@intlify/core-base@9.1.7": | 1330 | "@intlify/core-base@9.1.7": |
1331 | version "9.1.7" | 1331 | version "9.1.7" |
@@ -1590,21 +1590,21 @@ | @@ -1590,21 +1590,21 @@ | ||
1590 | "@types/yargs" "^16.0.0" | 1590 | "@types/yargs" "^16.0.0" |
1591 | chalk "^4.0.0" | 1591 | chalk "^4.0.0" |
1592 | 1592 | ||
1593 | -"@logicflow/core@^0.6.4": | ||
1594 | - version "0.6.4" | ||
1595 | - resolved "https://registry.yarnpkg.com/@logicflow/core/-/core-0.6.4.tgz#53312bd80b0bdb3b85e5a7dfb65d2d2a82c8c53c" | ||
1596 | - integrity sha512-9R4t4S70jyfYtyJzaIvwRXqKTMk3CQBU8aik/aNvr1HkjWMqLpS4uLs0pFrCjkBWuYmrBAo0P8gGRkCURI0Sgw== | 1593 | +"@logicflow/core@^0.6.5": |
1594 | + version "0.6.5" | ||
1595 | + resolved "https://registry.yarnpkg.com/@logicflow/core/-/core-0.6.5.tgz#33299df948bf42bef6696829e0bc469b3d327c78" | ||
1596 | + integrity sha512-87wBe6Q0bcPz2Sl+iUwf1YAHNxPRzVR07MN3Kxmz4lobn/6dGfk3atQRPd7Bvrx1q3LVTCE2HATukeJMQfJFCQ== | ||
1597 | dependencies: | 1597 | dependencies: |
1598 | "@types/mousetrap" "^1.6.4" | 1598 | "@types/mousetrap" "^1.6.4" |
1599 | mousetrap "^1.6.5" | 1599 | mousetrap "^1.6.5" |
1600 | preact "^10.4.8" | 1600 | preact "^10.4.8" |
1601 | 1601 | ||
1602 | -"@logicflow/extension@^0.6.4": | ||
1603 | - version "0.6.4" | ||
1604 | - resolved "https://registry.yarnpkg.com/@logicflow/extension/-/extension-0.6.4.tgz#257f17ffce19250c5908a461e40b598b8048c84d" | ||
1605 | - integrity sha512-mJ4VottjZVf811Yw2zHi0Xm5Nji6vIXp1S9rXOXEemKQPAj/PeTg16ChynETN0whV8qBwSS6+rDd0DEbKwDMzw== | 1602 | +"@logicflow/extension@^0.6.5": |
1603 | + version "0.6.5" | ||
1604 | + resolved "https://registry.yarnpkg.com/@logicflow/extension/-/extension-0.6.5.tgz#e5bed9f61673d073adfc8e93511aa1181ebff53c" | ||
1605 | + integrity sha512-BS3F+HK91hsvnFc2LNvlxgGt60MQplbXnbNt5z/LDL04h2tSmmX/dY1k2xkk3+Eq4UccL/qrgDWPylh9ezNcXQ== | ||
1606 | dependencies: | 1606 | dependencies: |
1607 | - "@logicflow/core" "^0.6.4" | 1607 | + "@logicflow/core" "^0.6.5" |
1608 | ids "^1.0.0" | 1608 | ids "^1.0.0" |
1609 | preact "^10.4.8" | 1609 | preact "^10.4.8" |
1610 | 1610 | ||
@@ -2020,10 +2020,10 @@ | @@ -2020,10 +2020,10 @@ | ||
2020 | resolved "https://registry.npmjs.org/@types/node/-/node-14.17.3.tgz#6d327abaa4be34a74e421ed6409a0ae2f47f4c3d" | 2020 | resolved "https://registry.npmjs.org/@types/node/-/node-14.17.3.tgz#6d327abaa4be34a74e421ed6409a0ae2f47f4c3d" |
2021 | integrity sha512-e6ZowgGJmTuXa3GyaPbTGxX17tnThl2aSSizrFthQ7m9uLGZBXiGhgE55cjRZTF5kjZvYn9EOPOMljdjwbflxw== | 2021 | integrity sha512-e6ZowgGJmTuXa3GyaPbTGxX17tnThl2aSSizrFthQ7m9uLGZBXiGhgE55cjRZTF5kjZvYn9EOPOMljdjwbflxw== |
2022 | 2022 | ||
2023 | -"@types/node@^16.4.6": | ||
2024 | - version "16.4.6" | ||
2025 | - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.4.6.tgz#1734d119dfa8fede5606d35ae10f9fc9c84d889b" | ||
2026 | - integrity sha512-FKyawK3o5KL16AwbeFajen8G4K3mmqUrQsehn5wNKs8IzlKHE8TfnSmILXVMVziAEcnB23u1RCFU1NT6hSyr7Q== | 2023 | +"@types/node@^16.4.9": |
2024 | + version "16.4.9" | ||
2025 | + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.4.9.tgz#04eb3da65d08ea377f5e682bf0d22dc1f5e7f19e" | ||
2026 | + integrity sha512-HXhRf581nCItzn8yevv4LYt+bJ5cBbDBAJExbDPMeU/2n5/j0ZemGpayahFBP4xL7RseaCLASLD9i9AYyDe7Nw== | ||
2027 | 2027 | ||
2028 | "@types/normalize-package-data@^2.4.0": | 2028 | "@types/normalize-package-data@^2.4.0": |
2029 | version "2.4.0" | 2029 | version "2.4.0" |
@@ -4805,15 +4805,15 @@ eslint-plugin-prettier@^3.4.0: | @@ -4805,15 +4805,15 @@ eslint-plugin-prettier@^3.4.0: | ||
4805 | dependencies: | 4805 | dependencies: |
4806 | prettier-linter-helpers "^1.0.0" | 4806 | prettier-linter-helpers "^1.0.0" |
4807 | 4807 | ||
4808 | -eslint-plugin-vue@^7.14.0: | ||
4809 | - version "7.14.0" | ||
4810 | - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.14.0.tgz#8c00f211064bd2708fc1aa4abd0592538fbb2cb1" | ||
4811 | - integrity sha512-IW5A2Td0wEWjFGaGVEO24JNXa8cVFzAQTXrYv/Vu3zyDVS9sjwOpZY0iqub7FOkT2AK3Imtw4U4wg48pP9oWww== | 4808 | +eslint-plugin-vue@^7.15.0: |
4809 | + version "7.15.0" | ||
4810 | + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.15.0.tgz#272318b4aac789ea92e6cd28ef14698e9715ceab" | ||
4811 | + integrity sha512-br58VTAT8JB4Qe7XJVN7fNBqQgclE+hcsievoyQyGtCZsYprFMQYu+c9yHX9XkP55cMnSVZpW5fRgy3n/wZskA== | ||
4812 | dependencies: | 4812 | dependencies: |
4813 | eslint-utils "^2.1.0" | 4813 | eslint-utils "^2.1.0" |
4814 | natural-compare "^1.4.0" | 4814 | natural-compare "^1.4.0" |
4815 | semver "^6.3.0" | 4815 | semver "^6.3.0" |
4816 | - vue-eslint-parser "^7.9.0" | 4816 | + vue-eslint-parser "^7.10.0" |
4817 | 4817 | ||
4818 | eslint-scope@^5.1.1: | 4818 | eslint-scope@^5.1.1: |
4819 | version "5.1.1" | 4819 | version "5.1.1" |
@@ -4847,10 +4847,10 @@ eslint-visitor-keys@^2.0.0: | @@ -4847,10 +4847,10 @@ eslint-visitor-keys@^2.0.0: | ||
4847 | resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" | 4847 | resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" |
4848 | integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== | 4848 | integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== |
4849 | 4849 | ||
4850 | -eslint@^7.31.0: | ||
4851 | - version "7.31.0" | ||
4852 | - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.31.0.tgz#f972b539424bf2604907a970860732c5d99d3aca" | ||
4853 | - integrity sha512-vafgJpSh2ia8tnTkNUkwxGmnumgckLh5aAbLa1xRmIn9+owi8qBNGKL+B881kNKNTy7FFqTEkpNkUvmw0n6PkA== | 4850 | +eslint@^7.32.0: |
4851 | + version "7.32.0" | ||
4852 | + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" | ||
4853 | + integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA== | ||
4854 | dependencies: | 4854 | dependencies: |
4855 | "@babel/code-frame" "7.12.11" | 4855 | "@babel/code-frame" "7.12.11" |
4856 | "@eslint/eslintrc" "^0.4.3" | 4856 | "@eslint/eslintrc" "^0.4.3" |
@@ -9848,10 +9848,10 @@ rollup-plugin-visualizer@5.5.2: | @@ -9848,10 +9848,10 @@ rollup-plugin-visualizer@5.5.2: | ||
9848 | source-map "^0.7.3" | 9848 | source-map "^0.7.3" |
9849 | yargs "^16.2.0" | 9849 | yargs "^16.2.0" |
9850 | 9850 | ||
9851 | -rollup@^2.38.5, rollup@^2.43.1, rollup@^2.51.2, rollup@^2.55.0: | ||
9852 | - version "2.55.0" | ||
9853 | - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.55.0.tgz#e23bb51194d9706b4661515a14feeefaaa1830c2" | ||
9854 | - integrity sha512-Atc3QqelKzrKwRkqnSdq0d2Mi8e0iGuL+kZebKMZ4ysyWHD5hw9VfVCAuODIW5837RENV8LXcbAEHurYf+ArvA== | 9851 | +rollup@^2.38.5, rollup@^2.43.1, rollup@^2.55.1: |
9852 | + version "2.55.1" | ||
9853 | + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.55.1.tgz#66a444648e2fb603d8e329e77a61c608a6510fda" | ||
9854 | + integrity sha512-1P9w5fpb6b4qroePh8vHKGIvPNxwoCQhjJpIqfZGHLKpZ0xcU2/XBmFxFbc9697/6bmHpmFTLk5R1dAQhFSo0g== | ||
9855 | optionalDependencies: | 9855 | optionalDependencies: |
9856 | fsevents "~2.3.2" | 9856 | fsevents "~2.3.2" |
9857 | 9857 | ||
@@ -11456,15 +11456,15 @@ vite-plugin-purge-icons@^0.7.0: | @@ -11456,15 +11456,15 @@ vite-plugin-purge-icons@^0.7.0: | ||
11456 | "@purge-icons/generated" "^0.7.0" | 11456 | "@purge-icons/generated" "^0.7.0" |
11457 | rollup-plugin-purge-icons "^0.7.0" | 11457 | rollup-plugin-purge-icons "^0.7.0" |
11458 | 11458 | ||
11459 | -vite-plugin-pwa@^0.8.2: | ||
11460 | - version "0.8.2" | ||
11461 | - resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.8.2.tgz#2789a157e2f71faf834d968945efc22eee9ad64a" | ||
11462 | - integrity sha512-DuhFaTTV+a7FczxtKMgBEsaCOifJT5Kpe1KhHL72exb2buPkJ3Na+hoy6akAFDp7T3JuAvH0CAO9kivwbp0MPQ== | 11459 | +vite-plugin-pwa@^0.9.3: |
11460 | + version "0.9.3" | ||
11461 | + resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.9.3.tgz#3c03df1e7b8c9a6406882b2f475d3920fecd2da9" | ||
11462 | + integrity sha512-o7UD6zMssH60dblwcTKqPeESlv1iF6tPQq2dx2N9smYMh5e5A6rlwWivV4fN8Nq2PVj82itcGRycIHDT+j32vg== | ||
11463 | dependencies: | 11463 | dependencies: |
11464 | debug "^4.3.2" | 11464 | debug "^4.3.2" |
11465 | - fast-glob "^3.2.5" | 11465 | + fast-glob "^3.2.7" |
11466 | pretty-bytes "^5.6.0" | 11466 | pretty-bytes "^5.6.0" |
11467 | - rollup "^2.51.2" | 11467 | + rollup "^2.55.1" |
11468 | workbox-build "^6.1.5" | 11468 | workbox-build "^6.1.5" |
11469 | workbox-window "^6.1.5" | 11469 | workbox-window "^6.1.5" |
11470 | 11470 | ||
@@ -11683,19 +11683,6 @@ vue-eslint-parser@^7.10.0: | @@ -11683,19 +11683,6 @@ vue-eslint-parser@^7.10.0: | ||
11683 | lodash "^4.17.21" | 11683 | lodash "^4.17.21" |
11684 | semver "^6.3.0" | 11684 | semver "^6.3.0" |
11685 | 11685 | ||
11686 | -vue-eslint-parser@^7.9.0: | ||
11687 | - version "7.9.0" | ||
11688 | - resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.9.0.tgz#5eeedc71f22ebc7b18b957d1ab171acf29a41e64" | ||
11689 | - integrity sha512-QBlhZ5LteDRVy2dISfQhNEmmcqph+GTaD4SH41bYzXcVHFPJ9p34zCG6QAqOZVa8PKaVgbomFnoZpGJRZi14vg== | ||
11690 | - dependencies: | ||
11691 | - debug "^4.1.1" | ||
11692 | - eslint-scope "^5.1.1" | ||
11693 | - eslint-visitor-keys "^1.1.0" | ||
11694 | - espree "^6.2.1" | ||
11695 | - esquery "^1.4.0" | ||
11696 | - lodash "^4.17.21" | ||
11697 | - semver "^6.3.0" | ||
11698 | - | ||
11699 | vue-i18n@9.1.7: | 11686 | vue-i18n@9.1.7: |
11700 | version "9.1.7" | 11687 | version "9.1.7" |
11701 | resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.1.7.tgz#6f28dd2135197066508e2e65ab204a019750d773" | 11688 | resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.1.7.tgz#6f28dd2135197066508e2e65ab204a019750d773" |