From 88451565dbf75522de5c864c7a7dae508aaa0ca7 Mon Sep 17 00:00:00 2001 From: vben Date: Sun, 1 Aug 2021 08:46:27 +0800 Subject: [PATCH] chore: update deps --- build/vite/plugin/index.ts | 16 +------ package.json | 16 +++---- yarn.lock | 85 ++++++++++++++++---------------------- 3 files changed, 45 insertions(+), 72 deletions(-) diff --git a/build/vite/plugin/index.ts b/build/vite/plugin/index.ts index d6f2bd9c..94ec6613 100644 --- a/build/vite/plugin/index.ts +++ b/build/vite/plugin/index.ts @@ -37,21 +37,7 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) { !isBuild && vitePlugins.push(configHmrPlugin()); // @vitejs/plugin-legacy - VITE_LEGACY && - isBuild && - vitePlugins.push( - legacy({ - targets: [ - 'Android > 39', - 'Chrome >= 60', - 'Safari >= 10.1', - 'iOS >= 10.3', - 'Firefox >= 54', - 'Edge >= 15', - ], - additionalLegacyPolyfills: ['regenerator-runtime/runtime'], - }) - ); + VITE_LEGACY && isBuild && vitePlugins.push(legacy()); // vite-plugin-html vitePlugins.push(configHtmlPlugin(viteEnv, isBuild)); diff --git a/package.json b/package.json index 5f2026dc..9faee40a 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ }, "dependencies": { "@iconify/iconify": "^2.0.3", - "@logicflow/core": "^0.6.4", - "@logicflow/extension": "^0.6.4", + "@logicflow/core": "^0.6.5", + "@logicflow/extension": "^0.6.5", "@vueuse/core": "^5.2.0", "@zxcvbn-ts/core": "^1.0.0-beta.0", "ant-design-vue": "2.2.2", @@ -67,7 +67,7 @@ "devDependencies": { "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", - "@iconify/json": "^1.1.380", + "@iconify/json": "^1.1.381", "@purge-icons/generated": "^0.7.0", "@types/codemirror": "^5.60.2", "@types/crypto-js": "^4.0.2", @@ -77,7 +77,7 @@ "@types/jest": "^26.0.24", "@types/lodash-es": "^4.17.4", "@types/mockjs": "^1.0.4", - "@types/node": "^16.4.6", + "@types/node": "^16.4.9", "@types/nprogress": "^0.2.0", "@types/qrcode": "^1.4.1", "@types/qs": "^6.9.7", @@ -94,12 +94,12 @@ "conventional-changelog-cli": "^2.1.1", "cross-env": "^7.0.3", "dotenv": "^10.0.0", - "eslint": "^7.31.0", + "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-define-config": "^1.0.9", "eslint-plugin-jest": "^24.4.0", "eslint-plugin-prettier": "^3.4.0", - "eslint-plugin-vue": "^7.14.0", + "eslint-plugin-vue": "^7.15.0", "esno": "^0.8.0", "fs-extra": "^10.0.0", "http-server": "^0.12.3", @@ -129,7 +129,7 @@ "vite-plugin-imagemin": "^0.4.1", "vite-plugin-mock": "^2.9.3", "vite-plugin-purge-icons": "^0.7.0", - "vite-plugin-pwa": "^0.8.2", + "vite-plugin-pwa": "^0.9.3", "vite-plugin-style-import": "^1.0.1", "vite-plugin-svg-icons": "^1.0.1", "vite-plugin-theme": "^0.8.1", @@ -139,7 +139,7 @@ "resolutions": { "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it", "bin-wrapper": "npm:bin-wrapper-china", - "rollup": "^2.55.0" + "rollup": "^2.55.1" }, "repository": { "type": "git", diff --git a/yarn.lock b/yarn.lock index e7e48897..518c8325 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1322,10 +1322,10 @@ dependencies: cross-fetch "^3.0.6" -"@iconify/json@^1.1.380": - version "1.1.380" - resolved "https://registry.yarnpkg.com/@iconify/json/-/json-1.1.380.tgz#e61eac6429c2ed12ccd23d219e63668d5196601e" - integrity sha512-DKhpEjG8fc7VwrtoFStY+vHFgMKh8MSmzUG+1SfKjezBbPZI+bb2aVPNpLoHULkSoaV3eFVUw60/cte1iQCljw== +"@iconify/json@^1.1.381": + version "1.1.381" + resolved "https://registry.yarnpkg.com/@iconify/json/-/json-1.1.381.tgz#a9a1b06f72bdc7387cc82f3346e8b2520b533f93" + integrity sha512-5Eh8r1uw48zgea+jKqrJRA+eA9646Zpxy9Vp0+YCAutkrkWGRkpRZQh/nDlHCq7zL1X0KdHoMprW+1Mne8B9nQ== "@intlify/core-base@9.1.7": version "9.1.7" @@ -1590,21 +1590,21 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" -"@logicflow/core@^0.6.4": - version "0.6.4" - resolved "https://registry.yarnpkg.com/@logicflow/core/-/core-0.6.4.tgz#53312bd80b0bdb3b85e5a7dfb65d2d2a82c8c53c" - integrity sha512-9R4t4S70jyfYtyJzaIvwRXqKTMk3CQBU8aik/aNvr1HkjWMqLpS4uLs0pFrCjkBWuYmrBAo0P8gGRkCURI0Sgw== +"@logicflow/core@^0.6.5": + version "0.6.5" + resolved "https://registry.yarnpkg.com/@logicflow/core/-/core-0.6.5.tgz#33299df948bf42bef6696829e0bc469b3d327c78" + integrity sha512-87wBe6Q0bcPz2Sl+iUwf1YAHNxPRzVR07MN3Kxmz4lobn/6dGfk3atQRPd7Bvrx1q3LVTCE2HATukeJMQfJFCQ== dependencies: "@types/mousetrap" "^1.6.4" mousetrap "^1.6.5" preact "^10.4.8" -"@logicflow/extension@^0.6.4": - version "0.6.4" - resolved "https://registry.yarnpkg.com/@logicflow/extension/-/extension-0.6.4.tgz#257f17ffce19250c5908a461e40b598b8048c84d" - integrity sha512-mJ4VottjZVf811Yw2zHi0Xm5Nji6vIXp1S9rXOXEemKQPAj/PeTg16ChynETN0whV8qBwSS6+rDd0DEbKwDMzw== +"@logicflow/extension@^0.6.5": + version "0.6.5" + resolved "https://registry.yarnpkg.com/@logicflow/extension/-/extension-0.6.5.tgz#e5bed9f61673d073adfc8e93511aa1181ebff53c" + integrity sha512-BS3F+HK91hsvnFc2LNvlxgGt60MQplbXnbNt5z/LDL04h2tSmmX/dY1k2xkk3+Eq4UccL/qrgDWPylh9ezNcXQ== dependencies: - "@logicflow/core" "^0.6.4" + "@logicflow/core" "^0.6.5" ids "^1.0.0" preact "^10.4.8" @@ -2020,10 +2020,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-14.17.3.tgz#6d327abaa4be34a74e421ed6409a0ae2f47f4c3d" integrity sha512-e6ZowgGJmTuXa3GyaPbTGxX17tnThl2aSSizrFthQ7m9uLGZBXiGhgE55cjRZTF5kjZvYn9EOPOMljdjwbflxw== -"@types/node@^16.4.6": - version "16.4.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.4.6.tgz#1734d119dfa8fede5606d35ae10f9fc9c84d889b" - integrity sha512-FKyawK3o5KL16AwbeFajen8G4K3mmqUrQsehn5wNKs8IzlKHE8TfnSmILXVMVziAEcnB23u1RCFU1NT6hSyr7Q== +"@types/node@^16.4.9": + version "16.4.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.4.9.tgz#04eb3da65d08ea377f5e682bf0d22dc1f5e7f19e" + integrity sha512-HXhRf581nCItzn8yevv4LYt+bJ5cBbDBAJExbDPMeU/2n5/j0ZemGpayahFBP4xL7RseaCLASLD9i9AYyDe7Nw== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -4805,15 +4805,15 @@ eslint-plugin-prettier@^3.4.0: dependencies: prettier-linter-helpers "^1.0.0" -eslint-plugin-vue@^7.14.0: - version "7.14.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.14.0.tgz#8c00f211064bd2708fc1aa4abd0592538fbb2cb1" - integrity sha512-IW5A2Td0wEWjFGaGVEO24JNXa8cVFzAQTXrYv/Vu3zyDVS9sjwOpZY0iqub7FOkT2AK3Imtw4U4wg48pP9oWww== +eslint-plugin-vue@^7.15.0: + version "7.15.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.15.0.tgz#272318b4aac789ea92e6cd28ef14698e9715ceab" + integrity sha512-br58VTAT8JB4Qe7XJVN7fNBqQgclE+hcsievoyQyGtCZsYprFMQYu+c9yHX9XkP55cMnSVZpW5fRgy3n/wZskA== dependencies: eslint-utils "^2.1.0" natural-compare "^1.4.0" semver "^6.3.0" - vue-eslint-parser "^7.9.0" + vue-eslint-parser "^7.10.0" eslint-scope@^5.1.1: version "5.1.1" @@ -4847,10 +4847,10 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== -eslint@^7.31.0: - version "7.31.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.31.0.tgz#f972b539424bf2604907a970860732c5d99d3aca" - integrity sha512-vafgJpSh2ia8tnTkNUkwxGmnumgckLh5aAbLa1xRmIn9+owi8qBNGKL+B881kNKNTy7FFqTEkpNkUvmw0n6PkA== +eslint@^7.32.0: + version "7.32.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" + integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA== dependencies: "@babel/code-frame" "7.12.11" "@eslint/eslintrc" "^0.4.3" @@ -9848,10 +9848,10 @@ rollup-plugin-visualizer@5.5.2: source-map "^0.7.3" yargs "^16.2.0" -rollup@^2.38.5, rollup@^2.43.1, rollup@^2.51.2, rollup@^2.55.0: - version "2.55.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.55.0.tgz#e23bb51194d9706b4661515a14feeefaaa1830c2" - integrity sha512-Atc3QqelKzrKwRkqnSdq0d2Mi8e0iGuL+kZebKMZ4ysyWHD5hw9VfVCAuODIW5837RENV8LXcbAEHurYf+ArvA== +rollup@^2.38.5, rollup@^2.43.1, rollup@^2.55.1: + version "2.55.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.55.1.tgz#66a444648e2fb603d8e329e77a61c608a6510fda" + integrity sha512-1P9w5fpb6b4qroePh8vHKGIvPNxwoCQhjJpIqfZGHLKpZ0xcU2/XBmFxFbc9697/6bmHpmFTLk5R1dAQhFSo0g== optionalDependencies: fsevents "~2.3.2" @@ -11456,15 +11456,15 @@ vite-plugin-purge-icons@^0.7.0: "@purge-icons/generated" "^0.7.0" rollup-plugin-purge-icons "^0.7.0" -vite-plugin-pwa@^0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.8.2.tgz#2789a157e2f71faf834d968945efc22eee9ad64a" - integrity sha512-DuhFaTTV+a7FczxtKMgBEsaCOifJT5Kpe1KhHL72exb2buPkJ3Na+hoy6akAFDp7T3JuAvH0CAO9kivwbp0MPQ== +vite-plugin-pwa@^0.9.3: + version "0.9.3" + resolved "https://registry.yarnpkg.com/vite-plugin-pwa/-/vite-plugin-pwa-0.9.3.tgz#3c03df1e7b8c9a6406882b2f475d3920fecd2da9" + integrity sha512-o7UD6zMssH60dblwcTKqPeESlv1iF6tPQq2dx2N9smYMh5e5A6rlwWivV4fN8Nq2PVj82itcGRycIHDT+j32vg== dependencies: debug "^4.3.2" - fast-glob "^3.2.5" + fast-glob "^3.2.7" pretty-bytes "^5.6.0" - rollup "^2.51.2" + rollup "^2.55.1" workbox-build "^6.1.5" workbox-window "^6.1.5" @@ -11683,19 +11683,6 @@ vue-eslint-parser@^7.10.0: lodash "^4.17.21" semver "^6.3.0" -vue-eslint-parser@^7.9.0: - version "7.9.0" - resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.9.0.tgz#5eeedc71f22ebc7b18b957d1ab171acf29a41e64" - integrity sha512-QBlhZ5LteDRVy2dISfQhNEmmcqph+GTaD4SH41bYzXcVHFPJ9p34zCG6QAqOZVa8PKaVgbomFnoZpGJRZi14vg== - dependencies: - debug "^4.1.1" - eslint-scope "^5.1.1" - eslint-visitor-keys "^1.1.0" - espree "^6.2.1" - esquery "^1.4.0" - lodash "^4.17.21" - semver "^6.3.0" - vue-i18n@9.1.7: version "9.1.7" resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.1.7.tgz#6f28dd2135197066508e2e65ab204a019750d773" -- GitLab