From 422ea3a765faae2995f7579124206f0d03f1576c Mon Sep 17 00:00:00 2001 From: vben Date: Fri, 19 Feb 2021 22:05:03 +0800 Subject: [PATCH] chore: update deps --- .husky/pre-commit | 2 + .ls-lint.yml | 2 + package.json | 12 +++-- yarn.lock | 132 ++++++++++++++++++++++++++++++++-------------- 4 files changed, 104 insertions(+), 44 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 08d387c2..f688bbb8 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -10,3 +10,5 @@ npm run lint:ls-lint # Format and submit code according to lintstagedrc.js configuration npm run lint:lint-staged + +npm run lint:pretty diff --git a/.ls-lint.yml b/.ls-lint.yml index d8bc94fa..8f73ee92 100644 --- a/.ls-lint.yml +++ b/.ls-lint.yml @@ -17,5 +17,7 @@ ignore: - .circleci - .github - .vscode + - .idea - dist - .local + - .husky diff --git a/package.json b/package.json index d143db57..5152d547 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:ls-lint": "ls-lint", "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", + "lint:pretty": "pretty-quick --staged", "test:gzip": "http-server dist --cors --gzip -c-1", "test:br": "http-server dist --cors --brotli -c-1", "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", @@ -51,7 +52,7 @@ "devDependencies": { "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", - "@iconify/json": "^1.1.303", + "@iconify/json": "^1.1.304", "@ls-lint/ls-lint": "^1.9.2", "@purge-icons/generated": "^0.7.0", "@types/fs-extra": "^9.0.7", @@ -82,14 +83,15 @@ "eslint-config-prettier": "^7.2.0", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.6.0", - "esno": "^0.4.3", + "esno": "^0.4.4", "fs-extra": "^9.1.0", "http-server": "^0.12.3", "husky": "^5.0.9", - "is-ci": "^2.0.0", + "is-ci": "^3.0.0", "less": "^4.1.1", "lint-staged": "^10.5.4", "prettier": "^2.2.1", + "pretty-quick": "^3.1.0", "rimraf": "^3.0.2", "rollup-plugin-visualizer": "^4.2.0", "stylelint": "^13.10.0", @@ -104,10 +106,10 @@ "vite-plugin-imagemin": "^0.2.6", "vite-plugin-mock": "^2.1.4", "vite-plugin-purge-icons": "^0.7.0", - "vite-plugin-pwa": "^0.4.7", + "vite-plugin-pwa": "^0.4.8", "vite-plugin-style-import": "^0.7.2", "vite-plugin-theme": "^0.4.3", - "vite-plugin-windicss": "0.3.3", + "vite-plugin-windicss": "0.3.4", "vue-eslint-parser": "^7.5.0", "yargs": "^16.2.0" }, diff --git a/yarn.lock b/yarn.lock index 6367ec61..4f90b937 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1112,10 +1112,10 @@ dependencies: cross-fetch "^3.0.6" -"@iconify/json@^1.1.303": - version "1.1.303" - resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.303.tgz#364daf69a97c02647227cc0d851a2e79a893e8e3" - integrity sha512-O8KDBcIVQolvUeVL9JiEIc2ifYKWyKu/5cX6PNC4EAPvtfvieOHs1YVPV4tphVhafjTTftR5XbZBmZHKG6uNIA== +"@iconify/json@^1.1.304": + version "1.1.304" + resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.304.tgz#1a0a2ec9cdc243fd8eea529deaf02f106c62ccb4" + integrity sha512-O184NxQVOt8VU3AhcoCqkzqqr3E4ltVZ9qNND458ZKZ0RGY/YyUZfXWSoF6qxTGjjrz8tQe7ar/g3rMIl6RwDA== "@intlify/core-base@9.0.0-beta.16": version "9.0.0-beta.16" @@ -1630,7 +1630,7 @@ resolved "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== -"@types/minimatch@*": +"@types/minimatch@*", "@types/minimatch@^3.0.3": version "3.0.3" resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== @@ -2071,6 +2071,15 @@ dependencies: vue-demi latest +"@windicss/plugin-utils@0.3.4": + version "0.3.4" + resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.3.4.tgz#cba323ffaddb8a0872485ea429fd463cda866c28" + integrity sha512-cd5N5ibxJXaSpSNgmgLy9WZkQ71TEJsD921ZSrBrzzYq39FZOfElZQzUBaROc3nLNOt0ubMi9FS44E1fJzA/3g== + dependencies: + fast-glob "^3.2.5" + micromatch "^4.0.2" + windicss "^2.1.12" + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -2280,6 +2289,11 @@ arr-union@^3.1.0: resolved "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= +array-differ@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" + integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== + array-find-index@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" @@ -2310,6 +2324,11 @@ arrify@^1.0.1: resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" @@ -2757,6 +2776,14 @@ chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + change-case@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/change-case/-/change-case-4.1.2.tgz#fedfc5f136045e2398c0410ee441f95704641e12" @@ -2815,10 +2842,10 @@ chokidar@^3.5.1: optionalDependencies: fsevents "~2.3.1" -ci-info@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" - integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== +ci-info@^3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.1.1.tgz#9a32fcefdf7bcdb6f0a7e1c0f8098ec57897b80a" + integrity sha512-kdRWLBIJwdsYJWYJFtAFFYxybguqeF91qpZaggjG5Nf8QKdizFG2hjqvaTXbxFIcYbSaD74KpAXv6BSm17DHEQ== class-utils@^0.3.5: version "0.3.6" @@ -3963,16 +3990,16 @@ esbuild@^0.8.34: resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.8.34.tgz#16b4ac58f74c821d2c5a8c2f0585ca96a38ab4e6" integrity sha512-tnr0V1ooakYr1aRLXQLzCn2GVG1kBTW3FWpRyC+NgrR3ntsouVpJOlTOV0BS4YLATx3/c+x3h/uBq9lWJlUAtQ== -esbuild@^0.8.37: - version "0.8.38" - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.8.38.tgz#04dc395e15c77bbc9d6798e9b31275546bcf7b9a" - integrity sha512-wSunJl8ujgBs9eVGubc8Y6fn/DkDjNyfQBVOFTY1E7sRxr8KTjmqyLIiE0M3Z4CjMnCu/rttCugwnOzY+HiwIw== - esbuild@^0.8.39: version "0.8.42" resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.8.42.tgz#26101cf17fe4c4602c7c767e3177cf0c538073ac" integrity sha512-zUtj5RMqROCCCH0vV/a7cd8YQg8I0GWBhV3A3PklWRT+oM/YwVbnrtFnITzE1otGdnXplWHWdZ4OcYiV0PN+JQ== +esbuild@^0.8.48: + version "0.8.48" + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.8.48.tgz#a57e4dde84ec56da1c6ecaefee97e9da6c5b00b5" + integrity sha512-lrH8lA8wWQ6Lpe1z6C7ZZaFSmRsUlcQAqe16nf7ITySQ7MV4+vI7qAqQlT/u+c3+9AL3VXmT4MXTxV2e63pO4A== + escalade@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -4078,12 +4105,12 @@ eslint@^7.20.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -esno@^0.4.3: - version "0.4.3" - resolved "https://registry.npmjs.org/esno/-/esno-0.4.3.tgz#65b6c3a5bfd59b8bc75a910d370eae63fe60f3b6" - integrity sha512-s8ZafYl7sK1nlwo5UROb0Q0kc28ou3ebcEgtfMNUEibPeqj4u6e9bkLCZf8Tbopg65vGhojEt7nI4lCWZTZpkw== +esno@^0.4.4: + version "0.4.4" + resolved "https://registry.npmjs.org/esno/-/esno-0.4.4.tgz#88b20add264401321a6545de00c9437edd81ca24" + integrity sha512-YthG7d+wodPWKkJTdQPMrKZCbJgtyWsel6UBekjZw8AahUTtkqvtLXcMnRXeZ5YIcjviLXw3Cmq7hVlvB7dFyw== dependencies: - esbuild "^0.8.37" + esbuild "^0.8.48" esbuild-register "^2.0.0" espree@^6.2.1: @@ -5431,12 +5458,12 @@ is-callable@^1.1.4, is-callable@^1.2.2: resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz#8b1e0500b73a1d76c70487636f368e519de8db8e" integrity sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ== -is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" - integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== +is-ci@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-ci/-/is-ci-3.0.0.tgz#c7e7be3c9d8eef7d0fa144390bd1e4b88dc4c994" + integrity sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ== dependencies: - ci-info "^2.0.0" + ci-info "^3.1.1" is-core-module@^2.1.0: version "2.2.0" @@ -6504,6 +6531,11 @@ mozjpeg@^7.0.0: bin-wrapper "^4.0.0" logalot "^2.1.0" +mri@^1.1.5: + version "1.1.6" + resolved "https://registry.npmjs.org/mri/-/mri-1.1.6.tgz#49952e1044db21dbf90f6cd92bc9c9a777d415a6" + integrity sha512-oi1b3MfbyGa7FJMP9GmLTttni5JoICpYBRlq+x5V16fZbLsnL9N3wFqqIm/nIG43FjUFkFh9Epzp/kzUGUnJxQ== + ms@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -6519,6 +6551,17 @@ ms@^2.1.1: resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== +multimatch@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/multimatch/-/multimatch-4.0.0.tgz#8c3c0f6e3e8449ada0af3dd29efb491a375191b3" + integrity sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ== + dependencies: + "@types/minimatch" "^3.0.3" + array-differ "^3.0.0" + array-union "^2.1.0" + arrify "^2.0.1" + minimatch "^3.0.4" + mute-stream@0.0.7: version "0.0.7" resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" @@ -7406,6 +7449,18 @@ pretty-bytes@^5.3.0, pretty-bytes@^5.5.0: resolved "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.5.0.tgz#0cecda50a74a941589498011cf23275aa82b339e" integrity sha512-p+T744ZyjjiaFlMUZZv6YPC5JrkNj8maRmPaQCWFJFplUAzpIUTRaTcS+7wmZtUoFXHtESJb23ISliaWyz3SHA== +pretty-quick@^3.1.0: + version "3.1.0" + resolved "https://registry.npmjs.org/pretty-quick/-/pretty-quick-3.1.0.tgz#cb172e9086deb57455dea7c7e8f136cd0a4aef6c" + integrity sha512-DtxIxksaUWCgPFN7E1ZZk4+Aav3CCuRdhrDSFZENb404sYMtuo9Zka823F+Mgeyt8Zt3bUiCjFzzWYE9LYqkmQ== + dependencies: + chalk "^3.0.0" + execa "^4.0.0" + find-up "^4.1.0" + ignore "^5.1.4" + mri "^1.1.5" + multimatch "^4.0.0" + printj@~1.1.0, printj@~1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz#d90deb2975a8b9f600fb3a1c94e3f4c53c78a222" @@ -9337,10 +9392,10 @@ vite-plugin-purge-icons@^0.7.0: "@purge-icons/generated" "^0.7.0" rollup-plugin-purge-icons "^0.7.0" -vite-plugin-pwa@^0.4.7: - version "0.4.7" - resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.4.7.tgz#32d934171fc7ec5cada741c559b5fbf2fe5a39af" - integrity sha512-KsC9tenzn1r6AG/Hda4wg9Es6AokVRz2RqQp+R+uM3qvfNDbdDjJWAEhB/2zUx7D0YDu5Y0h+cDC0zD0vxBoog== +vite-plugin-pwa@^0.4.8: + version "0.4.8" + resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.4.8.tgz#201a2766c63ee4c33fd5cf638eba0c7699ea54f9" + integrity sha512-+IFIeEc7FrTZIkVm/Ec8pxgAEF6hmrF+kHSsFxM1aKKXa6GU9bgOMpwDKftfpVjP11gI2XEzJGXhN6+srGg2uw== dependencies: debug "^4.3.2" fast-glob "^3.2.5" @@ -9370,14 +9425,13 @@ vite-plugin-theme@^0.4.3: es-module-lexer "^0.3.26" tinycolor2 "^1.4.2" -vite-plugin-windicss@0.3.3: - version "0.3.3" - resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.3.3.tgz#9ff2fc485dd5cf1717cde6eed462fd9893ea9eab" - integrity sha512-2gm0sTexkmvx9PR4NP1UESly8hX2souOruQztu1qghfw4M3tlUUvwneRpJG5HVJCKCctmAgYRcW4e04TE5R1fA== +vite-plugin-windicss@0.3.4: + version "0.3.4" + resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.3.4.tgz#81e1765de42364dc1b89c3dcab5781b5e4a21e00" + integrity sha512-rIMVdT9ruAx5WhLUiLKhK4DzoL0HEUTavj2v89vqQarJ3tKSUGzwfOg2OmGUDCiFJeUVyTYQIMYROs7ogopJhg== dependencies: - fast-glob "^3.2.5" - micromatch "^4.0.2" - windicss "^2.1.11" + "@windicss/plugin-utils" "0.3.4" + windicss "^2.1.12" vite@2.0.1: version "2.0.1" @@ -9510,10 +9564,10 @@ which@^2.0.1: dependencies: isexe "^2.0.0" -windicss@^2.1.11: - version "2.1.11" - resolved "https://registry.npmjs.org/windicss/-/windicss-2.1.11.tgz#35dc9d683488dcfacf94331967b59765a505f18b" - integrity sha512-79mPoUmvamwdJb+MJ/ug+XILxFzrTNCXo/HmacUn3V9sRQ6w5lA9KkpTrG70N7Oab0hbIFaq+X3Yva+QLSV0Pw== +windicss@^2.1.12: + version "2.1.12" + resolved "https://registry.npmjs.org/windicss/-/windicss-2.1.12.tgz#840b963f03af7a3e31b989d2b51de52dcd57a37a" + integrity sha512-VC057iG65zlvdqUI+1ynzOuKikalvYg6XqPGbG17HEAfwQ0sg1dACTk2plEp1QAEQNtKU3BnLnueWa4oKlltEQ== wmf@~1.0.1: version "1.0.2"