From 85a68d5fc392acf6051d4887a762ef1b9bdf85ce Mon Sep 17 00:00:00 2001 From: scil Date: Mon, 25 Oct 2021 23:33:11 +0800 Subject: [PATCH 01/15] fix: check if searchText is null (#1301) --- src/components/Tree/src/Tree.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tree/src/Tree.vue b/src/components/Tree/src/Tree.vue index ed8a7287d..8e7f2ad53 100644 --- a/src/components/Tree/src/Tree.vue +++ b/src/components/Tree/src/Tree.vue @@ -399,7 +399,7 @@ const children = get(item, childrenField) || []; const title = get(item, titleField); - const searchIdx = title.indexOf(searchText); + const searchIdx = searchText ? title.indexOf(searchText) : -1; const isHighlight = searchState.startSearch && !isEmpty(searchText) && highlight && searchIdx !== -1; const highlightStyle = `color: ${isBoolean(highlight) ? '#f50' : highlight}`; From 83bce6c1d444945b7c8f79e4d80a8016367f76f9 Mon Sep 17 00:00:00 2001 From: Jungzl <35426360+Jungzl@users.noreply.github.com> Date: Mon, 25 Oct 2021 23:33:24 +0800 Subject: [PATCH 02/15] chore: support for pnpm (#1310) --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 12fa4e67c..788c4df95 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,13 @@ "gen:icon": "esno ./build/generate/icon/index.ts" }, "dependencies": { + "@ant-design/colors": "^6.0.0", + "@ant-design/icons-vue": "^6.0.1", "@iconify/iconify": "^2.0.4", "@logicflow/core": "^0.7.0", "@logicflow/extension": "^0.7.0", "@vueuse/core": "^6.6.2", + "@vueuse/shared": "^6.7.3", "@zxcvbn-ts/core": "^1.0.0-beta.0", "ant-design-vue": "2.2.8", "axios": "^0.23.0", @@ -48,11 +51,13 @@ "intro.js": "^4.2.2", "lodash-es": "^4.17.21", "mockjs": "^1.1.0", + "moment": "^2.29.1", "nprogress": "^0.2.0", "path-to-regexp": "^6.2.0", "pinia": "2.0.0-rc.14", "print-js": "^1.6.0", "qrcode": "^1.4.4", + "qs": "^6.10.1", "resize-observer-polyfill": "^1.5.1", "showdown": "^1.9.1", "sortablejs": "^1.14.0", From 0f44291c5cfcff2423c6179b381e17c8595c950a Mon Sep 17 00:00:00 2001 From: vben Date: Mon, 25 Oct 2021 23:45:58 +0800 Subject: [PATCH 03/15] chore: update deps --- package.json | 35 +- stylelint.config.js | 20 ++ tests/server/package.json | 4 +- yarn.lock | 728 ++++++++++++-------------------------- 4 files changed, 265 insertions(+), 522 deletions(-) diff --git a/package.json b/package.json index 788c4df95..66556e0f1 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,9 @@ "@ant-design/colors": "^6.0.0", "@ant-design/icons-vue": "^6.0.1", "@iconify/iconify": "^2.0.4", - "@logicflow/core": "^0.7.0", - "@logicflow/extension": "^0.7.0", - "@vueuse/core": "^6.6.2", + "@logicflow/core": "^0.7.2", + "@logicflow/extension": "^0.7.1", + "@vueuse/core": "^6.7.3", "@vueuse/shared": "^6.7.3", "@zxcvbn-ts/core": "^1.0.0-beta.0", "ant-design-vue": "2.2.8", @@ -73,7 +73,7 @@ "devDependencies": { "@commitlint/cli": "^13.2.1", "@commitlint/config-conventional": "^13.2.0", - "@iconify/json": "^1.1.416", + "@iconify/json": "^1.1.417", "@purge-icons/generated": "^0.7.0", "@types/codemirror": "^5.60.5", "@types/crypto-js": "^4.0.2", @@ -83,7 +83,7 @@ "@types/jest": "^27.0.2", "@types/lodash-es": "^4.17.5", "@types/mockjs": "^1.0.4", - "@types/node": "^16.11.1", + "@types/node": "^16.11.4", "@types/nprogress": "^0.2.0", "@types/qrcode": "^1.4.1", "@types/qs": "^6.9.7", @@ -101,35 +101,38 @@ "conventional-changelog-cli": "^2.1.1", "cross-env": "^7.0.3", "dotenv": "^10.0.0", - "eslint": "^8.0.1", + "eslint": "^8.1.0", "eslint-config-prettier": "^8.3.0", "eslint-define-config": "^1.1.1", "eslint-plugin-jest": "^25.2.2", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-vue": "^7.19.1", + "eslint-plugin-vue": "^7.20.0", "esno": "^0.10.1", "fs-extra": "^10.0.0", "http-server": "^14.0.0", - "husky": "^7.0.2", + "husky": "^7.0.4", "inquirer": "^8.2.0", "is-ci": "^3.0.0", "jest": "^27.3.1", "less": "^4.1.2", - "lint-staged": "^11.2.3", + "lint-staged": "11.2.3", "npm-run-all": "^4.1.5", - "postcss": "^8.3.9", + "postcss": "^8.3.11", + "postcss-html": "^1.1.0", + "postcss-less": "^5.0.0", "prettier": "^2.4.1", "pretty-quick": "^3.1.1", "rimraf": "^3.0.2", "rollup-plugin-visualizer": "^5.5.2", - "stylelint": "^13.13.1", + "stylelint": "^14.0.0", + "stylelint-config-html": "^1.0.0", "stylelint-config-prettier": "^9.0.3", - "stylelint-config-standard": "^22.0.0", - "stylelint-order": "^4.1.0", + "stylelint-config-standard": "^23.0.0", + "stylelint-order": "^5.0.0", "ts-jest": "^27.0.7", - "ts-node": "^10.3.0", + "ts-node": "^10.4.0", "typescript": "^4.4.4", - "vite": "^2.6.10", + "vite": "^2.6.11", "vite-plugin-compression": "^0.3.5", "vite-plugin-html": "^2.1.1", "vite-plugin-imagemin": "^0.4.6", @@ -142,7 +145,7 @@ "vite-plugin-vue-setup-extend": "^0.1.0", "vite-plugin-windicss": "^1.4.12", "vue-eslint-parser": "^8.0.0", - "vue-tsc": "^0.28.7" + "vue-tsc": "^0.28.8" }, "resolutions": { "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it", diff --git a/stylelint.config.js b/stylelint.config.js index 06951edde..73ce06542 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -67,4 +67,24 @@ module.exports = { ], }, ignoreFiles: ['**/*.js', '**/*.jsx', '**/*.tsx', '**/*.ts'], + overrides: [ + { + files: ['*.vue', '**/*.vue'], + extends: ['stylelint-config-recommended', 'stylelint-config-html'], + rules: { + 'selector-pseudo-class-no-unknown': [ + true, + { + ignorePseudoClasses: ['deep', 'global'], + }, + ], + 'selector-pseudo-element-no-unknown': [ + true, + { + ignorePseudoElements: ['v-deep', 'v-global', 'v-slotted'], + }, + ], + }, + }, + ], }; diff --git a/tests/server/package.json b/tests/server/package.json index ffdac555a..88816f87e 100644 --- a/tests/server/package.json +++ b/tests/server/package.json @@ -24,11 +24,11 @@ "@types/koa": "^2.13.4", "@types/koa-bodyparser": "^5.0.2", "@types/koa-router": "^7.4.4", - "@types/node": "^16.11.1", + "@types/node": "^16.11.4", "nodemon": "^2.0.14", "pm2": "^5.1.2", "rimraf": "^3.0.2", - "ts-node": "^10.3.0", + "ts-node": "^10.4.0", "tsconfig-paths": "^3.11.0", "tsup": "^5.4.2", "typescript": "^4.4.4" diff --git a/yarn.lock b/yarn.lock index 068a542ef..574046ad8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,14 +9,21 @@ dependencies: "@ctrl/tinycolor" "^3.3.1" +"@ant-design/colors@^6.0.0": + version "6.0.0" + resolved "https://registry.npmmirror.com/@ant-design/colors/download/@ant-design/colors-6.0.0.tgz#9b9366257cffcc47db42b9d0203bb592c13c0298" + integrity sha1-m5NmJXz/zEfbQrnQIDu1ksE8Apg= + dependencies: + "@ctrl/tinycolor" "^3.4.0" + "@ant-design/icons-svg@^4.0.0": version "4.1.0" resolved "https://registry.nlark.com/@ant-design/icons-svg/download/@ant-design/icons-svg-4.1.0.tgz#480b025f4b20ef7fe8f47d4a4846e4fee84ea06c" integrity sha1-SAsCX0sg73/o9H1KSEbk/uhOoGw= -"@ant-design/icons-vue@^6.0.0": +"@ant-design/icons-vue@^6.0.0", "@ant-design/icons-vue@^6.0.1": version "6.0.1" - resolved "https://registry.nlark.com/@ant-design/icons-vue/download/@ant-design/icons-vue-6.0.1.tgz#9d804c3c74d2cfaf97cb18e582d3b9400934f5fd" + resolved "https://registry.npm.taobao.org/@ant-design/icons-vue/download/@ant-design/icons-vue-6.0.1.tgz?cache=0&sync_timestamp=1611990940571&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40ant-design%2Ficons-vue%2Fdownload%2F%40ant-design%2Ficons-vue-6.0.1.tgz#9d804c3c74d2cfaf97cb18e582d3b9400934f5fd" integrity sha1-nYBMPHTSz6+XyxjlgtO5QAk09f0= dependencies: "@ant-design/colors" "^5.0.0" @@ -52,7 +59,7 @@ resolved "https://registry.nlark.com/@babel/compat-data/download/@babel/compat-data-7.15.0.tgz#2dbaf8b85334796cafbb0f5793a90a2fc010b176" integrity sha1-Lbr4uFM0eWyvuw9Xk6kKL8AQsXY= -"@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.15.5", "@babel/core@^7.7.2", "@babel/core@^7.7.5": +"@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.15.5", "@babel/core@^7.7.2", "@babel/core@^7.7.5": version "7.15.5" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.5.tgz#f8ed9ace730722544609f90c9bb49162dc3bf5b9" integrity sha512-pYgXxiwAgQpgM1bNkZsDEq85f0ggXMA5L7c+o3tskGMh2BunCI9QUwB9Z4jpvXUOuMdyGKiGKQiRe11VS6Jzvg== @@ -1140,9 +1147,9 @@ dependencies: "@cspotcode/source-map-consumer" "0.8.0" -"@ctrl/tinycolor@^3.3.1": +"@ctrl/tinycolor@^3.3.1", "@ctrl/tinycolor@^3.4.0": version "3.4.0" - resolved "https://registry.nlark.com/@ctrl/tinycolor/download/@ctrl/tinycolor-3.4.0.tgz#c3c5ae543c897caa9c2a68630bed355be5f9990f" + resolved "https://registry.npm.taobao.org/@ctrl/tinycolor/download/@ctrl/tinycolor-3.4.0.tgz#c3c5ae543c897caa9c2a68630bed355be5f9990f" integrity sha1-w8WuVDyJfKqcKmhjC+01W+X5mQ8= "@emmetio/abbreviation@^2.2.2": @@ -1222,10 +1229,10 @@ dependencies: cross-fetch "^3.0.6" -"@iconify/json@^1.1.416": - version "1.1.416" - resolved "https://registry.yarnpkg.com/@iconify/json/-/json-1.1.416.tgz#00365977c86da14a08f6a3b1a8a293393d7e55f9" - integrity sha512-MuVOHTBviQXRArn2IONwgsQX7lloi8fUk69/Mhg7ZV0S0ZvG8s7aKZrNaZYIzf7mIKnEJ90FjS+hyu91fj0vTA== +"@iconify/json@^1.1.417": + version "1.1.417" + resolved "https://registry.npmmirror.com/@iconify/json/download/@iconify/json-1.1.417.tgz?cache=0&sync_timestamp=1634710878873&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40iconify%2Fjson%2Fdownload%2F%40iconify%2Fjson-1.1.417.tgz#4851ff65bb1791450b1bbb9769b49934f2c05432" + integrity sha1-SFH/ZbsXkUULG7uXabSZNPLAVDI= "@intlify/core-base@9.1.9": version "9.1.9" @@ -1479,30 +1486,20 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" -"@logicflow/core@^0.6.16": - version "0.6.16" - resolved "https://registry.nlark.com/@logicflow/core/download/@logicflow/core-0.6.16.tgz#1a64a573b2ee826578bbea12fa330d990dbc1e08" - integrity sha1-GmSlc7LugmV4u+oS+jMNmQ28Hgg= +"@logicflow/core@^0.7.2": + version "0.7.2" + resolved "https://registry.npmmirror.com/@logicflow/core/download/@logicflow/core-0.7.2.tgz#e00b8b437c5dd2447a7acc4b7ed13ca5ea2bbf7d" + integrity sha1-4AuLQ3xd0kR6esxLftE8peorv30= dependencies: "@types/mousetrap" "^1.6.4" mousetrap "^1.6.5" preact "^10.4.8" -"@logicflow/core@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@logicflow/core/-/core-0.7.0.tgz#174827d8007457a1f4aad066773d677cf59def68" - integrity sha512-T2SH72K+YCzWwVHp5RvMe5oHcLz3E6l2FmcSGJED1ZxGco5TLw3tT2hVsbSC87Vd116JqYra8rI8DyHdPGdMDQ== - dependencies: - "@types/mousetrap" "^1.6.4" - mousetrap "^1.6.5" - preact "^10.4.8" - -"@logicflow/extension@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@logicflow/extension/-/extension-0.7.0.tgz#24344bf6da8742de1670eb455553e400f4b2d832" - integrity sha512-6Cl34ttzM+7eurfcXbe7KYn05/iNrAq7cFPRDFdtwIYhZu1d9Mp4kaxnZAR7YlymzKLlIJilPqIo1uhkTki7AA== +"@logicflow/extension@^0.7.1": + version "0.7.1" + resolved "https://registry.npmmirror.com/@logicflow/extension/download/@logicflow/extension-0.7.1.tgz#7887a4c0da9529c2f7cd81e9cc7084ddb2162bb6" + integrity sha1-eIekwNqVKcL3zYHpzHCE3bIWK7Y= dependencies: - "@logicflow/core" "^0.6.16" ids "^1.0.0" preact "^10.4.8" @@ -1629,21 +1626,6 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@stylelint/postcss-css-in-js@^0.37.2": - version "0.37.2" - resolved "https://registry.nlark.com/@stylelint/postcss-css-in-js/download/@stylelint/postcss-css-in-js-0.37.2.tgz#7e5a84ad181f4234a2480803422a47b8749af3d2" - integrity sha1-flqErRgfQjSiSAgDQipHuHSa89I= - dependencies: - "@babel/core" ">=7.9.0" - -"@stylelint/postcss-markdown@^0.36.2": - version "0.36.2" - resolved "https://registry.nlark.com/@stylelint/postcss-markdown/download/@stylelint/postcss-markdown-0.36.2.tgz#0a540c4692f8dcdfc13c8e352c17e7bfee2bb391" - integrity sha1-ClQMRpL43N/BPI41LBfnv+4rs5E= - dependencies: - remark "^13.0.0" - unist-util-find-all-after "^3.0.2" - "@surma/rollup-plugin-off-main-thread@^1.4.1": version "1.4.2" resolved "https://registry.nlark.com/@surma/rollup-plugin-off-main-thread/download/@surma/rollup-plugin-off-main-thread-1.4.2.tgz?cache=0&sync_timestamp=1621527269616&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40surma%2Frollup-plugin-off-main-thread%2Fdownload%2F%40surma%2Frollup-plugin-off-main-thread-1.4.2.tgz#e6786b6af5799f82f7ab3a82e53f6182d2b91a58" @@ -1871,13 +1853,6 @@ resolved "https://registry.nlark.com/@types/lodash/download/@types/lodash-4.14.173.tgz#9d3b674c67a26cf673756f6aca7b429f237f91ed" integrity sha1-nTtnTGeibPZzdW9qyntCnyN/ke0= -"@types/mdast@^3.0.0": - version "3.0.10" - resolved "https://registry.nlark.com/@types/mdast/download/@types/mdast-3.0.10.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fmdast%2Fdownload%2F%40types%2Fmdast-3.0.10.tgz#4724244a82a4598884cbbe9bcfd73dff927ee8af" - integrity sha1-RyQkSoKkWYiEy76bz9c9/5J+6K8= - dependencies: - "@types/unist" "*" - "@types/minimatch@*", "@types/minimatch@^3.0.3": version "3.0.5" resolved "https://registry.nlark.com/@types/minimatch/download/@types/minimatch-3.0.5.tgz?cache=0&sync_timestamp=1629708301760&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fminimatch%2Fdownload%2F%40types%2Fminimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" @@ -1908,10 +1883,10 @@ resolved "https://registry.nlark.com/@types/node/download/@types/node-14.17.17.tgz?cache=0&sync_timestamp=1631828244883&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-14.17.17.tgz#4ec7b71bbcb01a4e55455b60b18b1b6a783fe31d" integrity sha1-Tse3G7ywGk5VRVtgsYsbang/4x0= -"@types/node@^16.11.1": - version "16.11.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.1.tgz#2e50a649a50fc403433a14f829eface1a3443e97" - integrity sha512-PYGcJHL9mwl1Ek3PLiYgyEKtwTMmkMw4vbiyz/ps3pfdRYLVv+SN7qHVAImrjdAXxgluDEw6Ph4lyv+m9UpRmA== +"@types/node@^16.11.4": + version "16.11.4" + resolved "https://registry.npmmirror.com/@types/node/download/@types/node-16.11.4.tgz#90771124822d6663814f7c1c9b45a6654d8fd964" + integrity sha1-kHcRJIItZmOBT3wcm0WmZU2P2WQ= "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -2008,11 +1983,6 @@ resolved "https://registry.nlark.com/@types/trusted-types/download/@types/trusted-types-2.0.2.tgz?cache=0&sync_timestamp=1629710736958&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Ftrusted-types%2Fdownload%2F%40types%2Ftrusted-types-2.0.2.tgz#fc25ad9943bcac11cceb8168db4f275e0e72e756" integrity sha1-/CWtmUO8rBHM64Fo208nXg5y51Y= -"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": - version "2.0.6" - resolved "https://registry.nlark.com/@types/unist/download/@types/unist-2.0.6.tgz?cache=0&sync_timestamp=1629709560180&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Funist%2Fdownload%2F%40types%2Funist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" - integrity sha1-JQp7FsO5H2cqJFUuxkZ47rHToI0= - "@types/yargs-parser@*": version "20.2.1" resolved "https://registry.nlark.com/@types/yargs-parser/download/@types/yargs-parser-20.2.1.tgz?cache=0&sync_timestamp=1629709781719&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fyargs-parser%2Fdownload%2F%40types%2Fyargs-parser-20.2.1.tgz#3b9ce2489919d9e4fea439b76916abc34b2df129" @@ -2169,46 +2139,46 @@ resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-1.9.3.tgz#93d61893ce6c723d0209af0483ec8b91a2cd811f" integrity sha512-yW6H/q+4Mc2PcVjSOelcsMrg/k15DnMUz8jyCFsI04emc3aLwo4AoofUfGnjHUkgirrDxSJLVqQVGhonQ3yykA== -"@volar/code-gen@0.28.7": - version "0.28.7" - resolved "https://registry.yarnpkg.com/@volar/code-gen/-/code-gen-0.28.7.tgz#8b4108b59cdae987c71378a6f91dc35ac07b5dbe" - integrity sha512-cprWUzpGVCPsBpTKVUhfHEYpJBsjLYe/quvtU+PLAsXS7EcxSG+jMPNXWUyB6IhBcW5hrgMhIYfuWzhOvEESxQ== +"@volar/code-gen@0.28.8": + version "0.28.8" + resolved "https://registry.npmmirror.com/@volar/code-gen/download/@volar/code-gen-0.28.8.tgz#6675c261317ef10cb56d4ccaadb50dc04c862548" + integrity sha1-ZnXCYTF+8Qy1bUzKrbUNwEyGJUg= dependencies: - "@volar/shared" "0.28.7" - "@volar/source-map" "0.28.7" + "@volar/shared" "0.28.8" + "@volar/source-map" "0.28.8" -"@volar/html2pug@0.28.7": - version "0.28.7" - resolved "https://registry.yarnpkg.com/@volar/html2pug/-/html2pug-0.28.7.tgz#a8e359d6e6e574386ed6ac23b89c46658d91750b" - integrity sha512-HdxZYKVJJv3lRJfOB1sbyAdqyowVRMbvQtCejcvqEvAjaU7PYJLd974RMKf9eSpalFXtnRwXRZKKlNz18jicsQ== +"@volar/html2pug@0.28.8": + version "0.28.8" + resolved "https://registry.npmmirror.com/@volar/html2pug/download/@volar/html2pug-0.28.8.tgz#37233d3d15a8b5308900778520ae6e52d53d8135" + integrity sha1-NyM9PRWotTCJAHeFIK5uUtU9gTU= dependencies: domelementtype "^2.2.0" domhandler "^4.2.2" htmlparser2 "^7.1.2" pug "^3.0.2" -"@volar/shared@0.28.7": - version "0.28.7" - resolved "https://registry.yarnpkg.com/@volar/shared/-/shared-0.28.7.tgz#8b6804a6298f0ffca6fd311cfa4aa14cc1105874" - integrity sha512-binrWo2vjrQhUSBc7f/cn3Jq/qTLz+2kc13R+htWPxEBXPHcAqOspkOzLN9J3jQ4q4TA4kK1ZiSKGdIz4e41Tg== +"@volar/shared@0.28.8": + version "0.28.8" + resolved "https://registry.npmmirror.com/@volar/shared/download/@volar/shared-0.28.8.tgz#f0efebe4d555ac94127dd6e1366e377cd1ecaf35" + integrity sha1-8O/r5NVVrJQSfdbhNm43fNHsrzU= dependencies: upath "^2.0.1" vscode-jsonrpc "^8.0.0-next.2" vscode-uri "^3.0.2" -"@volar/source-map@0.28.7": - version "0.28.7" - resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-0.28.7.tgz#73980c89aec2dd360b20d0e2fb46dfe1b2f76250" - integrity sha512-cjF0Em5MXtG687eenrURqJMNE6sN/MQzUtrrCsEp+bvP7Eaje0ugdhV9IZo0Q3aufbhtyUU7MOezptvhEiP+YA== +"@volar/source-map@0.28.8": + version "0.28.8" + resolved "https://registry.npmmirror.com/@volar/source-map/download/@volar/source-map-0.28.8.tgz#2cd2b853d959b91eaa35a62cbc0926e2e94ee102" + integrity sha1-LNK4U9lZuR6qNaYsvAkm4ulO4QI= dependencies: - "@volar/shared" "0.28.7" + "@volar/shared" "0.28.8" -"@volar/transforms@0.28.7": - version "0.28.7" - resolved "https://registry.yarnpkg.com/@volar/transforms/-/transforms-0.28.7.tgz#a31464e8f53f365bb16fab34c2b629a26c6ea360" - integrity sha512-0quLXRC8rxHb/Ptmp8qr730cE8gCGZrJuoDEQ1+XE0IKGyF+jhvqJsdjh5JL8vdBQbkV5Vpo7pSo5mwUPAarSQ== +"@volar/transforms@0.28.8": + version "0.28.8" + resolved "https://registry.npmmirror.com/@volar/transforms/download/@volar/transforms-0.28.8.tgz#1635d7e3f22bea546ab92125f751555a23fe7abe" + integrity sha1-FjXX4/Ir6lRquSEl91FVWiP+er4= dependencies: - "@volar/shared" "0.28.7" + "@volar/shared" "0.28.8" vscode-languageserver "^8.0.0-next.2" "@vscode/emmet-helper@^2.8.0": @@ -2415,18 +2385,18 @@ resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.0.0-rc.16.tgz#59380f02870f856ac002a29c02681d3f3fcbafeb" integrity sha512-TubikDVkI2LuRKRPSLv3lYpbpvvucT2DIcGqfBVpvYs4W19u0EBTJEdmfwmSuLY7H1TyAr9Stur3PI1sWWvTGQ== -"@vueuse/core@^6.6.2": - version "6.6.2" - resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-6.6.2.tgz#f19b852856e1212856c81e61a7c5cf3618c92b96" - integrity sha512-AUB7WVYFwMPeNtC99m1j3PWf+45EyNWJ78VDaB9F/6LCYeKlcG/6aACL9xWSPslZUz9OsYTO9ZfPhNgv2YqxVw== +"@vueuse/core@^6.7.3": + version "6.7.3" + resolved "https://registry.npmmirror.com/@vueuse/core/download/@vueuse/core-6.7.3.tgz#1a827ee3be55a98c932f716467337a0826d54993" + integrity sha1-GoJ+475VqYyTL3FkZzN6CCbVSZM= dependencies: - "@vueuse/shared" "6.6.2" + "@vueuse/shared" "6.7.3" vue-demi "*" -"@vueuse/shared@6.6.2": - version "6.6.2" - resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-6.6.2.tgz#0cc10f81172fd34d7476dfd7f1784c8a37bef05b" - integrity sha512-wY4GAM5G1vlLRS4O71vw7PH5G5/Yub0xb2+OyIyDjZW/1S5J6bdkpFBp6AJbZ5k3ACtjTDxlUYhPQnrdJTwzTA== +"@vueuse/shared@6.7.3", "@vueuse/shared@^6.7.3": + version "6.7.3" + resolved "https://registry.npmmirror.com/@vueuse/shared/download/@vueuse/shared-6.7.3.tgz#92ed69b3e79e1a30936fc1f1d39a0107e8d522e0" + integrity sha1-ku1ps+eeGjCTb8Hx05oBB+jVIuA= dependencies: vue-demi "*" @@ -2797,19 +2767,6 @@ autoprefixer@^10.3.7: picocolors "^0.2.1" postcss-value-parser "^4.1.0" -autoprefixer@^9.8.6: - version "9.8.6" - resolved "https://registry.nlark.com/autoprefixer/download/autoprefixer-9.8.6.tgz#3b73594ca1bf9266320c5acf1588d74dea74210f" - integrity sha1-O3NZTKG/kmYyDFrPFYjXTep0IQ8= - dependencies: - browserslist "^4.12.0" - caniuse-lite "^1.0.30001109" - colorette "^1.2.1" - normalize-range "^0.1.2" - num2fraction "^1.2.2" - postcss "^7.0.32" - postcss-value-parser "^4.1.0" - axios@^0.21.1: version "0.21.4" resolved "https://registry.nlark.com/axios/download/axios-0.21.4.tgz?cache=0&sync_timestamp=1630942656836&other_urls=https%3A%2F%2Fregistry.nlark.com%2Faxios%2Fdownload%2Faxios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" @@ -2923,11 +2880,6 @@ babel-walk@3.0.0-canary-5: dependencies: "@babel/types" "^7.9.6" -bail@^1.0.0: - version "1.0.5" - resolved "https://registry.nlark.com/bail/download/bail-1.0.5.tgz?cache=0&sync_timestamp=1621397991032&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbail%2Fdownload%2Fbail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776" - integrity sha1-tvoTNASjksvB+MS/Y/WVM1Hnp3Y= - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.npm.taobao.org/balanced-match/download/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -3090,7 +3042,7 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.nlark.com/browser-process-hrtime/download/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha1-PJtLfXgsgSHlbxAQbYTA0P/JRiY= -browserslist@^4.12.0, browserslist@^4.16.6, browserslist@^4.17.0: +browserslist@^4.16.6, browserslist@^4.17.0: version "4.17.0" resolved "https://registry.nlark.com/browserslist/download/browserslist-4.17.0.tgz?cache=0&sync_timestamp=1630836541147&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbrowserslist%2Fdownload%2Fbrowserslist-4.17.0.tgz#1fcd81ec75b41d6d4994fb0831b92ac18c01649c" integrity sha1-H82B7HW0HW1JlPsIMbkqwYwBZJw= @@ -3253,7 +3205,7 @@ camelcase@^6.0.0, camelcase@^6.2.0: resolved "https://registry.nlark.com/camelcase/download/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha1-kkr4gcnVJaydh/QNlk5c6pgqGAk= -caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001254: +caniuse-lite@^1.0.30001254: version "1.0.30001258" resolved "https://registry.nlark.com/caniuse-lite/download/caniuse-lite-1.0.30001258.tgz#b604eed80cc54a578e4bf5a02ae3ed49f869d252" integrity sha1-tgTu2AzFSleOS/WgKuPtSfhp0lI= @@ -3350,16 +3302,6 @@ char-regex@^1.0.2: resolved "https://registry.nlark.com/char-regex/download/char-regex-1.0.2.tgz?cache=0&sync_timestamp=1622809071355&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchar-regex%2Fdownload%2Fchar-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha1-10Q1giYhf5ge1Y9Hmx1rzClUXc8= -character-entities-legacy@^1.0.0: - version "1.1.4" - resolved "https://registry.nlark.com/character-entities-legacy/download/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1" - integrity sha1-lLwYRdznClu50uzHSHJWYSk9j8E= - -character-entities@^1.0.0: - version "1.2.4" - resolved "https://registry.nlark.com/character-entities/download/character-entities-1.2.4.tgz#e12c3939b7eaf4e5b15e7ad4c5e28e1d48c5b16b" - integrity sha1-4Sw5Obfq9OWxXnrUxeKOHUjFsWs= - character-parser@^2.2.0: version "2.2.0" resolved "https://registry.nlark.com/character-parser/download/character-parser-2.2.0.tgz#c7ce28f36d4bcd9744e5ffc2c5fcde1c73261fc0" @@ -3367,11 +3309,6 @@ character-parser@^2.2.0: dependencies: is-regex "^1.0.3" -character-reference-invalid@^1.0.0: - version "1.1.4" - resolved "https://registry.nlark.com/character-reference-invalid/download/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" - integrity sha1-CDMpzaDq4nKrPbvzfpo4LBOvFWA= - chardet@^0.7.0: version "0.7.0" resolved "https://registry.nlark.com/chardet/download/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" @@ -3562,7 +3499,7 @@ color-name@~1.1.4: resolved "https://registry.nlark.com/color-name/download/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha1-wqCah6y95pVD3m9j+jmVyCbFNqI= -colorette@^1.2.1, colorette@^1.2.2, colorette@^1.3.0, colorette@^1.4.0: +colorette@^1.2.2, colorette@^1.3.0, colorette@^1.4.0: version "1.4.0" resolved "https://registry.nlark.com/colorette/download/colorette-1.4.0.tgz?cache=0&sync_timestamp=1631886112969&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcolorette%2Fdownload%2Fcolorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40" integrity sha1-UZD7uHJ2JZqGrXAL/yxtb6o/ykA= @@ -4117,7 +4054,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" -debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2: +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2: version "4.3.2" resolved "https://registry.nlark.com/debug/download/debug-4.3.2.tgz?cache=0&sync_timestamp=1625374675284&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fdebug%2Fdownload%2Fdebug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" integrity sha1-8KScGKyHeeMdSgxgKd+3aHPHQos= @@ -4907,10 +4844,10 @@ eslint-plugin-prettier@^4.0.0: dependencies: prettier-linter-helpers "^1.0.0" -eslint-plugin-vue@^7.19.1: - version "7.19.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.19.1.tgz#435fb2ce712842a9530b28eacb883680e8eaa4f3" - integrity sha512-e2pD7nW2sTY04ThH+66BgToNwC4n6dqfNhKE+ypdJFtZgn3Zn+nP8ZEIFPG0PGqCKQ3qxy8dJk1bzUsuQd3ANA== +eslint-plugin-vue@^7.20.0: + version "7.20.0" + resolved "https://registry.npmmirror.com/eslint-plugin-vue/download/eslint-plugin-vue-7.20.0.tgz?cache=0&sync_timestamp=1634704316860&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-plugin-vue%2Fdownload%2Feslint-plugin-vue-7.20.0.tgz#98c21885a6bfdf0713c3a92957a5afeaaeed9253" + integrity sha1-mMIYhaa/3wcTw6kpV6Wv6q7tklM= dependencies: eslint-utils "^2.1.0" natural-compare "^1.4.0" @@ -4962,10 +4899,10 @@ eslint-visitor-keys@^3.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.0.0.tgz#e32e99c6cdc2eb063f204eda5db67bfe58bb4186" integrity sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q== -eslint@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.0.1.tgz#3610e7fe4a05c2154669515ca60835a76a19f700" - integrity sha512-LsgcwZgQ72vZ+SMp4K6pAnk2yFDWL7Ti4pJaRvsZ0Hsw2h8ZjUIW38a9AFn2cZXdBMlScMFYYgsSp4ttFI/0bA== +eslint@^8.1.0: + version "8.1.0" + resolved "https://registry.npmmirror.com/eslint/download/eslint-8.1.0.tgz?cache=0&sync_timestamp=1634967305049&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint%2Fdownload%2Feslint-8.1.0.tgz#00f1f7dbf4134f26588e6c9f2efe970760f64664" + integrity sha1-APH32/QTTyZYjmyfLv6XB2D2RmQ= dependencies: "@eslint/eslintrc" "^1.0.3" "@humanwhocodes/config-array" "^0.6.0" @@ -5241,11 +5178,6 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -extend@^3.0.0: - version "3.0.2" - resolved "https://registry.nlark.com/extend/download/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo= - external-editor@^3.0.3: version "3.1.0" resolved "https://registry.nlark.com/external-editor/download/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -5907,13 +5839,6 @@ globjoin@^0.1.4: resolved "https://registry.nlark.com/globjoin/download/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43" integrity sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM= -gonzales-pe@^4.3.0: - version "4.3.0" - resolved "https://registry.nlark.com/gonzales-pe/download/gonzales-pe-4.3.0.tgz#fe9dec5f3c557eead09ff868c65826be54d067b3" - integrity sha1-/p3sXzxVfurQn/hoxlgmvlTQZ7M= - dependencies: - minimist "^1.2.5" - got@^7.0.0: version "7.1.0" resolved "https://registry.nlark.com/got/download/got-7.1.0.tgz#05450fd84094e6bbea56f451a43a9c289166385a" @@ -6142,7 +6067,7 @@ html-tags@^3.1.0: resolved "https://registry.npm.taobao.org/html-tags/download/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140" integrity sha1-e15vfmZen7QfMAB+2eDUHpf7IUA= -htmlparser2@^3.10.0, htmlparser2@^3.8.3: +htmlparser2@^3.8.3: version "3.10.1" resolved "https://registry.nlark.com/htmlparser2/download/htmlparser2-3.10.1.tgz?cache=0&sync_timestamp=1631386311915&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhtmlparser2%2Fdownload%2Fhtmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" integrity sha1-vWedw/WYl7ajS7EHSchVu1OpOS8= @@ -6224,10 +6149,10 @@ human-signals@^2.1.0: resolved "https://registry.nlark.com/human-signals/download/human-signals-2.1.0.tgz?cache=0&sync_timestamp=1624364695595&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhuman-signals%2Fdownload%2Fhuman-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha1-3JH8ukLk0G5Kuu0zs+ejwC9RTqA= -husky@^7.0.2: - version "7.0.2" - resolved "https://registry.nlark.com/husky/download/husky-7.0.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhusky%2Fdownload%2Fhusky-7.0.2.tgz#21900da0f30199acca43a46c043c4ad84ae88dff" - integrity sha1-IZANoPMBmazKQ6RsBDxK2Erojf8= +husky@^7.0.4: + version "7.0.4" + resolved "https://registry.npmmirror.com/husky/download/husky-7.0.4.tgz?cache=0&sync_timestamp=1634782457187&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fhusky%2Fdownload%2Fhusky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535" + integrity sha1-JCBIJF3EnI+xvwzHz7mN1yJTFTU= iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: version "0.4.24" @@ -6491,19 +6416,6 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-alphabetical@^1.0.0: - version "1.0.4" - resolved "https://registry.nlark.com/is-alphabetical/download/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" - integrity sha1-nn1rlJFr4iFTdF0YTCmMv5hqaG0= - -is-alphanumerical@^1.0.0: - version "1.0.4" - resolved "https://registry.nlark.com/is-alphanumerical/download/is-alphanumerical-1.0.4.tgz#7eb9a2431f855f6b1ef1a78e326df515696c4dbf" - integrity sha1-frmiQx+FX2se8aeOMm31FWlsTb8= - dependencies: - is-alphabetical "^1.0.0" - is-decimal "^1.0.0" - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.npm.taobao.org/is-arrayish/download/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -6536,11 +6448,6 @@ is-buffer@^1.1.5: resolved "https://registry.nlark.com/is-buffer/download/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" integrity sha1-76ouqdqg16suoTqXsritUf776L4= -is-buffer@^2.0.0: - version "2.0.5" - resolved "https://registry.nlark.com/is-buffer/download/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" - integrity sha1-68JS5ADSL/jXf6CYiIIaJKZYwZE= - is-callable@^1.1.4, is-callable@^1.2.4: version "1.2.4" resolved "https://registry.nlark.com/is-callable/download/is-callable-1.2.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fis-callable%2Fdownload%2Fis-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" @@ -6588,11 +6495,6 @@ is-date-object@^1.0.1: dependencies: has-tostringtag "^1.0.0" -is-decimal@^1.0.0: - version "1.0.4" - resolved "https://registry.npm.taobao.org/is-decimal/download/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" - integrity sha1-ZaOllYocW2OnBuGzM9fNn2MNP6U= - is-descriptor@^0.1.0: version "0.1.6" resolved "https://registry.npm.taobao.org/is-descriptor/download/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" @@ -6682,11 +6584,6 @@ is-glob@^4.0.3: dependencies: is-extglob "^2.1.1" -is-hexadecimal@^1.0.0: - version "1.0.4" - resolved "https://registry.nlark.com/is-hexadecimal/download/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" - integrity sha1-zDXJdYjaS9Saju3WvECC1E3LI6c= - is-interactive@^1.0.0: version "1.0.0" resolved "https://registry.nlark.com/is-interactive/download/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" @@ -6751,17 +6648,12 @@ is-plain-obj@^1.0.0, is-plain-obj@^1.1, is-plain-obj@^1.1.0: resolved "https://registry.npm.taobao.org/is-plain-obj/download/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= -is-plain-obj@^2.0.0: - version "2.1.0" - resolved "https://registry.npm.taobao.org/is-plain-obj/download/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha1-ReQuN/zPH0Dajl927iFRWEDAkoc= - is-plain-object@3.0.1: version "3.0.1" resolved "https://registry.npm.taobao.org/is-plain-object/download/is-plain-object-3.0.1.tgz#662d92d24c0aa4302407b0d45d21f2251c85f85b" integrity sha1-Zi2S0kwKpDAkB7DUXSHyJRyF+Fs= -is-plain-object@5.0.0: +is-plain-object@5.0.0, is-plain-object@^5.0.0: version "5.0.0" resolved "https://registry.npm.taobao.org/is-plain-object/download/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" integrity sha1-RCf1CrNCnpAl6n1S6QQ6nvQVk0Q= @@ -7639,10 +7531,10 @@ kleur@^3.0.3: resolved "https://registry.nlark.com/kleur/download/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha1-p5yezIbuHOP6YgbRIWxQHxR/wH4= -known-css-properties@^0.21.0: - version "0.21.0" - resolved "https://registry.nlark.com/known-css-properties/download/known-css-properties-0.21.0.tgz?cache=0&sync_timestamp=1625523221317&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fknown-css-properties%2Fdownload%2Fknown-css-properties-0.21.0.tgz#15fbd0bbb83447f3ce09d8af247ed47c68ede80d" - integrity sha1-FfvQu7g0R/POCdivJH7UfGjt6A0= +known-css-properties@^0.23.0: + version "0.23.0" + resolved "https://registry.nlark.com/known-css-properties/download/known-css-properties-0.23.0.tgz#e643e1bab2b1f8ba292eea9557121cc02e9846a0" + integrity sha1-5kPhurKx+LopLuqVVxIcwC6YRqA= less@^4.1.2: version "4.1.2" @@ -7687,10 +7579,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.nlark.com/lines-and-columns/download/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= -lint-staged@^11.2.3: +lint-staged@11.2.3: version "11.2.3" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-11.2.3.tgz#fc3f4569cc4f46553309dfc1447b8aef69f744fb" - integrity sha512-Tfmhk8O2XFMD25EswHPv+OYhUjsijy5D7liTdxeXvhG2rsadmOLFtyj8lmlfoFFXY8oXWAIOKpoI+lJe1DB1mw== + resolved "https://registry.npmmirror.com/lint-staged/download/lint-staged-11.2.3.tgz?cache=0&sync_timestamp=1635130462763&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Flint-staged%2Fdownload%2Flint-staged-11.2.3.tgz#fc3f4569cc4f46553309dfc1447b8aef69f744fb" + integrity sha1-/D9FacxPRlUzCd/BRHuK72n3RPs= dependencies: cli-truncate "2.1.0" colorette "^1.4.0" @@ -7866,11 +7758,6 @@ logalot@^2.0.0, logalot@^2.1.0: figures "^1.3.5" squeak "^1.0.0" -longest-streak@^2.0.0: - version "2.0.4" - resolved "https://registry.nlark.com/longest-streak/download/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" - integrity sha1-uFmZV9pbXatk3uP+MW+ndFl9kOQ= - longest@^1.0.0: version "1.0.1" resolved "https://registry.nlark.com/longest/download/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" @@ -8013,34 +7900,6 @@ mathml-tag-names@^2.1.3: resolved "https://registry.npm.taobao.org/mathml-tag-names/download/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha1-TdrdZzCOeAzxakdoWHjuJ7c2oKM= -mdast-util-from-markdown@^0.8.0: - version "0.8.5" - resolved "https://registry.nlark.com/mdast-util-from-markdown/download/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c" - integrity sha1-0e8spCvDd+ywRjqYeRDa6JvZoow= - dependencies: - "@types/mdast" "^3.0.0" - mdast-util-to-string "^2.0.0" - micromark "~2.11.0" - parse-entities "^2.0.0" - unist-util-stringify-position "^2.0.0" - -mdast-util-to-markdown@^0.6.0: - version "0.6.5" - resolved "https://registry.nlark.com/mdast-util-to-markdown/download/mdast-util-to-markdown-0.6.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fmdast-util-to-markdown%2Fdownload%2Fmdast-util-to-markdown-0.6.5.tgz#b33f67ca820d69e6cc527a93d4039249b504bebe" - integrity sha1-sz9nyoINaebMUnqT1AOSSbUEvr4= - dependencies: - "@types/unist" "^2.0.0" - longest-streak "^2.0.0" - mdast-util-to-string "^2.0.0" - parse-entities "^2.0.0" - repeat-string "^1.0.0" - zwitch "^1.0.0" - -mdast-util-to-string@^2.0.0: - version "2.0.0" - resolved "https://registry.nlark.com/mdast-util-to-string/download/mdast-util-to-string-2.0.0.tgz?cache=0&sync_timestamp=1619426294961&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fmdast-util-to-string%2Fdownload%2Fmdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b" - integrity sha1-uM/mpxPhCRy1tyj8SIhaR2f4uXs= - mdn-data@2.0.14: version "2.0.14" resolved "https://registry.nlark.com/mdn-data/download/mdn-data-2.0.14.tgz?cache=0&sync_timestamp=1631835908136&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fmdn-data%2Fdownload%2Fmdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" @@ -8131,14 +7990,6 @@ merge@^2.1.0: resolved "https://registry.nlark.com/merge/download/merge-2.1.1.tgz#59ef4bf7e0b3e879186436e8481c06a6c162ca98" integrity sha1-We9L9+Cz6HkYZDboSBwGpsFiypg= -micromark@~2.11.0: - version "2.11.4" - resolved "https://registry.nlark.com/micromark/download/micromark-2.11.4.tgz?cache=0&sync_timestamp=1629543672165&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fmicromark%2Fdownload%2Fmicromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" - integrity sha1-0TQ2E47qgmOD6CJEnJpcUO5EZlo= - dependencies: - debug "^4.0.0" - parse-entities "^2.0.0" - micromatch@3.1.0: version "3.1.0" resolved "https://registry.nlark.com/micromatch/download/micromatch-3.1.0.tgz#5102d4eaf20b6997d6008e3acfe1c44a3fa815e2" @@ -8256,7 +8107,7 @@ modify-values@^1.0.0: resolved "https://registry.nlark.com/modify-values/download/modify-values-1.0.1.tgz?cache=0&sync_timestamp=1631251237706&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fmodify-values%2Fdownload%2Fmodify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha1-s5OfpgVUZHTj4+PGPWS9Q7TuYCI= -moment@^2.27.0: +moment@^2.27.0, moment@^2.29.1: version "2.29.1" resolved "https://registry.nlark.com/moment/download/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" integrity sha1-sr52n6MZQL6e7qZGnAdeNQBvo9M= @@ -8331,10 +8182,10 @@ nanoid@^3.1.22, nanoid@^3.1.23, nanoid@^3.1.25: resolved "https://registry.nlark.com/nanoid/download/nanoid-3.1.25.tgz?cache=0&sync_timestamp=1628771925127&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fnanoid%2Fdownload%2Fnanoid-3.1.25.tgz#09ca32747c0e543f0e1814b7d3793477f9c8e152" integrity sha1-CcoydHwOVD8OGBS303k0d/nI4VI= -nanoid@^3.1.28: - version "3.1.28" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.28.tgz#3c01bac14cb6c5680569014cc65a2f26424c6bd4" - integrity sha512-gSu9VZ2HtmoKYe/lmyPFES5nknFrHa+/DT9muUFWFMi6Jh9E1I7bkvlQ8xxf1Kos9pi9o8lBnIOkatMhKX/YUw== +nanoid@^3.1.30: + version "3.1.30" + resolved "https://registry.npmmirror.com/nanoid/download/nanoid-3.1.30.tgz?cache=0&sync_timestamp=1634166192601&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fnanoid%2Fdownload%2Fnanoid-3.1.30.tgz#63f93cc548d2a113dc5dfbc63bfa09e2b9b64362" + integrity sha1-Y/k8xUjSoRPcXfvGO/oJ4rm2Q2I= nanomatch@^1.2.1: version "1.2.13" @@ -8508,11 +8359,6 @@ nth-check@^2.0.0: dependencies: boolbase "^1.0.0" -num2fraction@^1.2.2: - version "1.2.2" - resolved "https://registry.npm.taobao.org/num2fraction/download/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" - integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4= - nwsapi@^2.2.0: version "2.2.0" resolved "https://registry.nlark.com/nwsapi/download/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" @@ -8825,18 +8671,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-entities@^2.0.0: - version "2.0.0" - resolved "https://registry.npm.taobao.org/parse-entities/download/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" - integrity sha1-U8brW5MUofTsmfoP33zgHs2gy+g= - dependencies: - character-entities "^1.0.0" - character-entities-legacy "^1.0.0" - character-reference-invalid "^1.0.0" - is-alphanumerical "^1.0.0" - is-decimal "^1.0.0" - is-hexadecimal "^1.0.0" - parse-json@^2.2.0: version "2.2.0" resolved "https://registry.nlark.com/parse-json/download/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" @@ -8976,6 +8810,11 @@ picocolors@^0.2.1: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f" integrity sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA== +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/picocolors/download/picocolors-1.0.0.tgz?cache=0&sync_timestamp=1634093442271&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fpicocolors%2Fdownload%2Fpicocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha1-y1vcdP8/UYkiNur3nWi8RFZKuBw= + picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3: version "2.3.0" resolved "https://registry.nlark.com/picomatch/download/picomatch-2.3.0.tgz?cache=0&sync_timestamp=1621648246651&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpicomatch%2Fdownload%2Fpicomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" @@ -9071,19 +8910,19 @@ posix-character-classes@^0.1.0: resolved "https://registry.nlark.com/posix-character-classes/download/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= -postcss-html@^0.36.0: - version "0.36.0" - resolved "https://registry.nlark.com/postcss-html/download/postcss-html-0.36.0.tgz#b40913f94eaacc2453fd30a1327ad6ee1f88b204" - integrity sha1-tAkT+U6qzCRT/TChMnrW7h+IsgQ= +postcss-html@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/postcss-html/download/postcss-html-1.1.0.tgz#47908bc23aae85fe66036df64a2c3fc849cf2efc" + integrity sha1-R5CLwjquhf5mA232Siw/yEnPLvw= dependencies: - htmlparser2 "^3.10.0" + htmlparser2 "^7.1.2" + postcss "^8.3.11" + postcss-safe-parser "^6.0.0" -postcss-less@^3.1.4: - version "3.1.4" - resolved "https://registry.nlark.com/postcss-less/download/postcss-less-3.1.4.tgz?cache=0&sync_timestamp=1627346587136&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-less%2Fdownload%2Fpostcss-less-3.1.4.tgz#369f58642b5928ef898ffbc1a6e93c958304c5ad" - integrity sha1-Np9YZCtZKO+Jj/vBpuk8lYMExa0= - dependencies: - postcss "^7.0.14" +postcss-less@^5.0.0: + version "5.0.0" + resolved "https://registry.nlark.com/postcss-less/download/postcss-less-5.0.0.tgz?cache=0&sync_timestamp=1627346502477&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-less%2Fdownload%2Fpostcss-less-5.0.0.tgz#3fa361ed8e52a9c3e6e4fdb9bb95fd9032f3c62b" + integrity sha1-P6Nh7Y5SqcPm5P25u5X9kDLzxis= postcss-media-query-parser@^0.2.3: version "0.2.3" @@ -9144,48 +8983,23 @@ postcss-resolve-nested-selector@^0.1.1: resolved "https://registry.npm.taobao.org/postcss-resolve-nested-selector/download/postcss-resolve-nested-selector-0.1.1.tgz#29ccbc7c37dedfac304e9fff0bf1596b3f6a0e4e" integrity sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4= -postcss-safe-parser@^4.0.2: - version "4.0.2" - resolved "https://registry.nlark.com/postcss-safe-parser/download/postcss-safe-parser-4.0.2.tgz#a6d4e48f0f37d9f7c11b2a581bf00f8ba4870b96" - integrity sha1-ptTkjw832ffBGypYG/APi6SHC5Y= - dependencies: - postcss "^7.0.26" - -postcss-sass@^0.4.4: - version "0.4.4" - resolved "https://registry.nlark.com/postcss-sass/download/postcss-sass-0.4.4.tgz#91f0f3447b45ce373227a98b61f8d8f0785285a3" - integrity sha1-kfDzRHtFzjcyJ6mLYfjY8HhShaM= - dependencies: - gonzales-pe "^4.3.0" - postcss "^7.0.21" - -postcss-scss@^2.1.1: - version "2.1.1" - resolved "https://registry.nlark.com/postcss-scss/download/postcss-scss-2.1.1.tgz?cache=0&sync_timestamp=1623651597829&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-scss%2Fdownload%2Fpostcss-scss-2.1.1.tgz#ec3a75fa29a55e016b90bf3269026c53c1d2b383" - integrity sha1-7Dp1+imlXgFrkL8yaQJsU8HSs4M= - dependencies: - postcss "^7.0.6" +postcss-safe-parser@^6.0.0: + version "6.0.0" + resolved "https://registry.nlark.com/postcss-safe-parser/download/postcss-safe-parser-6.0.0.tgz#bb4c29894171a94bc5c996b9a30317ef402adaa1" + integrity sha1-u0wpiUFxqUvFyZa5owMX70Aq2qE= -postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5: +postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.6: version "6.0.6" - resolved "https://registry.nlark.com/postcss-selector-parser/download/postcss-selector-parser-6.0.6.tgz?cache=0&sync_timestamp=1620752939806&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-selector-parser%2Fdownload%2Fpostcss-selector-parser-6.0.6.tgz#2c5bba8174ac2f6981ab631a42ab0ee54af332ea" + resolved "https://registry.nlark.com/postcss-selector-parser/download/postcss-selector-parser-6.0.6.tgz?cache=0&sync_timestamp=1620752924836&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-selector-parser%2Fdownload%2Fpostcss-selector-parser-6.0.6.tgz#2c5bba8174ac2f6981ab631a42ab0ee54af332ea" integrity sha1-LFu6gXSsL2mBq2MaQqsO5UrzMuo= dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" -postcss-sorting@^5.0.1: - version "5.0.1" - resolved "https://registry.nlark.com/postcss-sorting/download/postcss-sorting-5.0.1.tgz#10d5d0059eea8334dacc820c0121864035bc3f11" - integrity sha1-ENXQBZ7qgzTazIIMASGGQDW8PxE= - dependencies: - lodash "^4.17.14" - postcss "^7.0.17" - -postcss-syntax@^0.36.2: - version "0.36.2" - resolved "https://registry.npm.taobao.org/postcss-syntax/download/postcss-syntax-0.36.2.tgz#f08578c7d95834574e5593a82dfbfa8afae3b51c" - integrity sha1-8IV4x9lYNFdOVZOoLfv6ivrjtRw= +postcss-sorting@^7.0.1: + version "7.0.1" + resolved "https://registry.npmmirror.com/postcss-sorting/download/postcss-sorting-7.0.1.tgz#923b5268451cf2d93ebf8835e17a6537757049a5" + integrity sha1-kjtSaEUc8tk+v4g14XplN3VwSaU= postcss-value-parser@^4.1.0: version "4.1.0" @@ -9202,15 +9016,6 @@ postcss@^5.2.17: source-map "^0.5.6" supports-color "^3.2.3" -postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.21, postcss@^7.0.26, postcss@^7.0.31, postcss@^7.0.32, postcss@^7.0.35, postcss@^7.0.6: - version "7.0.36" - resolved "https://registry.nlark.com/postcss/download/postcss-7.0.36.tgz?cache=0&sync_timestamp=1626882960231&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss%2Fdownload%2Fpostcss-7.0.36.tgz#056f8cffa939662a8f5905950c07d5285644dfcb" - integrity sha1-BW+M/6k5ZiqPWQWVDAfVKFZE38s= - dependencies: - chalk "^2.4.2" - source-map "^0.6.1" - supports-color "^6.1.0" - postcss@^8.1.10, postcss@^8.3.6: version "8.3.6" resolved "https://registry.nlark.com/postcss/download/postcss-8.3.6.tgz?cache=0&sync_timestamp=1626882960231&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss%2Fdownload%2Fpostcss-8.3.6.tgz#2730dd76a97969f37f53b9a6096197be311cc4ea" @@ -9220,6 +9025,15 @@ postcss@^8.1.10, postcss@^8.3.6: nanoid "^3.1.23" source-map-js "^0.6.2" +postcss@^8.3.11: + version "8.3.11" + resolved "https://registry.npmmirror.com/postcss/download/postcss-8.3.11.tgz#c3beca7ea811cd5e1c4a3ec6d2e7599ef1f8f858" + integrity sha1-w77KfqgRzV4cSj7G0udZnvH4+Fg= + dependencies: + nanoid "^3.1.30" + picocolors "^1.0.0" + source-map-js "^0.6.2" + postcss@^8.3.8: version "8.3.8" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.8.tgz#9ebe2a127396b4b4570ae9f7770e7fb83db2bac1" @@ -9229,15 +9043,6 @@ postcss@^8.3.8: nanoid "^3.1.25" source-map-js "^0.6.2" -postcss@^8.3.9: - version "8.3.9" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.9.tgz#98754caa06c4ee9eb59cc48bd073bb6bd3437c31" - integrity sha512-f/ZFyAKh9Dnqytx5X62jgjhhzttjZS7hMsohcI7HEI5tjELX/HxCy3EFhsRxyzGvrzFF+82XPvCS8T9TFleVJw== - dependencies: - nanoid "^3.1.28" - picocolors "^0.2.1" - source-map-js "^0.6.2" - posthtml-parser@^0.2.0, posthtml-parser@^0.2.1: version "0.2.1" resolved "https://registry.nlark.com/posthtml-parser/download/posthtml-parser-0.2.1.tgz#35d530de386740c2ba24ff2eb2faf39ccdf271dd" @@ -9549,9 +9354,9 @@ qrcode@^1.4.4: pngjs "^3.3.0" yargs "^13.2.4" -qs@^6.4.0: +qs@^6.10.1, qs@^6.4.0: version "6.10.1" - resolved "https://registry.nlark.com/qs/download/qs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a" + resolved "https://registry.npm.taobao.org/qs/download/qs-6.10.1.tgz?cache=0&sync_timestamp=1616385328325&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqs%2Fdownload%2Fqs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a" integrity sha1-STFIL6jWR6Wqt5nFJx0hM7mB+2o= dependencies: side-channel "^1.0.4" @@ -9759,35 +9564,12 @@ relateurl@^0.2.7: resolved "https://registry.nlark.com/relateurl/download/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= -remark-parse@^9.0.0: - version "9.0.0" - resolved "https://registry.nlark.com/remark-parse/download/remark-parse-9.0.0.tgz?cache=0&sync_timestamp=1627989789864&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fremark-parse%2Fdownload%2Fremark-parse-9.0.0.tgz#4d20a299665880e4f4af5d90b7c7b8a935853640" - integrity sha1-TSCimWZYgOT0r12Qt8e4qTWFNkA= - dependencies: - mdast-util-from-markdown "^0.8.0" - -remark-stringify@^9.0.0: - version "9.0.1" - resolved "https://registry.nlark.com/remark-stringify/download/remark-stringify-9.0.1.tgz?cache=0&sync_timestamp=1627989355617&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fremark-stringify%2Fdownload%2Fremark-stringify-9.0.1.tgz#576d06e910548b0a7191a71f27b33f1218862894" - integrity sha1-V20G6RBUiwpxkacfJ7M/EhiGKJQ= - dependencies: - mdast-util-to-markdown "^0.6.0" - -remark@^13.0.0: - version "13.0.0" - resolved "https://registry.nlark.com/remark/download/remark-13.0.0.tgz#d15d9bf71a402f40287ebe36067b66d54868e425" - integrity sha1-0V2b9xpAL0Aofr42Bntm1Uho5CU= - dependencies: - remark-parse "^9.0.0" - remark-stringify "^9.0.0" - unified "^9.1.0" - repeat-element@^1.1.2: version "1.1.4" resolved "https://registry.nlark.com/repeat-element/download/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" integrity sha1-vmgVIIR6tYx1aKx1+/rSjtQtOek= -repeat-string@^1.0.0, repeat-string@^1.6.1: +repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.npm.taobao.org/repeat-string/download/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= @@ -10465,6 +10247,15 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.npmmirror.com/string-width/download/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha1-JpxxF9J7Ba0uU2gwqOyJXvnG0BA= + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string.prototype.padend@^3.0.0: version "3.1.2" resolved "https://registry.nlark.com/string.prototype.padend/download/string.prototype.padend-3.1.2.tgz#6858ca4f35c5268ebd5e8615e1327d55f59ee311" @@ -10541,6 +10332,13 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/strip-ansi/download/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha1-nibGPTD1NEPpSJSVshBdN7Z6hdk= + dependencies: + ansi-regex "^5.0.1" + strip-bom@4.0.0, strip-bom@^4.0.0: version "4.0.0" resolved "https://registry.nlark.com/strip-bom/download/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" @@ -10621,46 +10419,46 @@ style-search@^0.1.0: resolved "https://registry.npm.taobao.org/style-search/download/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" integrity sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI= +stylelint-config-html@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/stylelint-config-html/download/stylelint-config-html-1.0.0.tgz#172acb996ee4c854e8c670fcff77ff0d98d3bec2" + integrity sha1-FyrLmW7kyFToxnD8/3f/DZjTvsI= + stylelint-config-prettier@^9.0.3: version "9.0.3" resolved "https://registry.yarnpkg.com/stylelint-config-prettier/-/stylelint-config-prettier-9.0.3.tgz#0dccebeff359dcc393c9229184408b08964d561c" integrity sha512-5n9gUDp/n5tTMCq1GLqSpA30w2sqWITSSEiAWQlpxkKGAUbjcemQ0nbkRvRUa0B1LgD3+hCvdL7B1eTxy1QHJg== -stylelint-config-recommended@^5.0.0: - version "5.0.0" - resolved "https://registry.nlark.com/stylelint-config-recommended/download/stylelint-config-recommended-5.0.0.tgz#fb5653f495a60b4938f2ad3e77712d9e1039ae78" - integrity sha1-+1ZT9JWmC0k48q0+d3EtnhA5rng= +stylelint-config-recommended@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/stylelint-config-recommended/download/stylelint-config-recommended-6.0.0.tgz?cache=0&sync_timestamp=1634869999369&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fstylelint-config-recommended%2Fdownload%2Fstylelint-config-recommended-6.0.0.tgz#fd2523a322836005ad9bf473d3e5534719c09f9d" + integrity sha1-/SUjoyKDYAWtm/Rz0+VTRxnAn50= -stylelint-config-standard@^22.0.0: - version "22.0.0" - resolved "https://registry.nlark.com/stylelint-config-standard/download/stylelint-config-standard-22.0.0.tgz#c860be9a13ebbc1b084456fa10527bf13a44addf" - integrity sha1-yGC+mhPrvBsIRFb6EFJ78TpErd8= +stylelint-config-standard@^23.0.0: + version "23.0.0" + resolved "https://registry.npmmirror.com/stylelint-config-standard/download/stylelint-config-standard-23.0.0.tgz#4ad58c74804c544cb4d30667c21a30ab14d1c17d" + integrity sha1-StWMdIBMVEy00wZnwhowqxTRwX0= dependencies: - stylelint-config-recommended "^5.0.0" + stylelint-config-recommended "^6.0.0" -stylelint-order@^4.1.0: - version "4.1.0" - resolved "https://registry.nlark.com/stylelint-order/download/stylelint-order-4.1.0.tgz#692d05b7d0c235ac66fcf5ea1d9e5f08a76747f6" - integrity sha1-aS0Ft9DCNaxm/PXqHZ5fCKdnR/Y= +stylelint-order@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/stylelint-order/download/stylelint-order-5.0.0.tgz?cache=0&sync_timestamp=1634870108691&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fstylelint-order%2Fdownload%2Fstylelint-order-5.0.0.tgz#abd20f6b85ac640774cbe40e70d3fe9c6fdf4400" + integrity sha1-q9IPa4WsZAd0y+QOcNP+nG/fRAA= dependencies: - lodash "^4.17.15" - postcss "^7.0.31" - postcss-sorting "^5.0.1" + postcss "^8.3.11" + postcss-sorting "^7.0.1" -stylelint@^13.13.1: - version "13.13.1" - resolved "https://registry.nlark.com/stylelint/download/stylelint-13.13.1.tgz#fca9c9f5de7990ab26a00f167b8978f083a18f3c" - integrity sha1-/KnJ9d55kKsmoA8We4l48IOhjzw= +stylelint@^14.0.0: + version "14.0.0" + resolved "https://registry.npmmirror.com/stylelint/download/stylelint-14.0.0.tgz?cache=0&sync_timestamp=1634869397910&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fstylelint%2Fdownload%2Fstylelint-14.0.0.tgz#0dc9655bc81378ac9937e6ea2f32704e9c2f92f9" + integrity sha1-DcllW8gTeKyZN+bqLzJwTpwvkvk= dependencies: - "@stylelint/postcss-css-in-js" "^0.37.2" - "@stylelint/postcss-markdown" "^0.36.2" - autoprefixer "^9.8.6" balanced-match "^2.0.0" - chalk "^4.1.1" - cosmiconfig "^7.0.0" - debug "^4.3.1" + cosmiconfig "^7.0.1" + debug "^4.3.2" execall "^2.0.0" - fast-glob "^3.2.5" + fast-glob "^3.2.7" fastest-levenshtein "^1.0.12" file-entry-cache "^6.0.1" get-stdin "^8.0.0" @@ -10671,43 +10469,30 @@ stylelint@^13.13.1: ignore "^5.1.8" import-lazy "^4.0.0" imurmurhash "^0.1.4" - known-css-properties "^0.21.0" - lodash "^4.17.21" - log-symbols "^4.1.0" + is-plain-object "^5.0.0" + known-css-properties "^0.23.0" mathml-tag-names "^2.1.3" meow "^9.0.0" micromatch "^4.0.4" + normalize-path "^3.0.0" normalize-selector "^0.2.0" - postcss "^7.0.35" - postcss-html "^0.36.0" - postcss-less "^3.1.4" + picocolors "^1.0.0" + postcss "^8.3.11" postcss-media-query-parser "^0.2.3" postcss-resolve-nested-selector "^0.1.1" - postcss-safe-parser "^4.0.2" - postcss-sass "^0.4.4" - postcss-scss "^2.1.1" - postcss-selector-parser "^6.0.5" - postcss-syntax "^0.36.2" + postcss-safe-parser "^6.0.0" + postcss-selector-parser "^6.0.6" postcss-value-parser "^4.1.0" resolve-from "^5.0.0" - slash "^3.0.0" specificity "^0.4.1" string-width "^4.2.2" strip-ansi "^6.0.0" style-search "^0.1.0" - sugarss "^2.0.0" svg-tags "^1.0.0" - table "^6.6.0" + table "^6.7.2" v8-compile-cache "^2.3.0" write-file-atomic "^3.0.3" -sugarss@^2.0.0: - version "2.0.0" - resolved "https://registry.nlark.com/sugarss/download/sugarss-2.0.0.tgz?cache=0&sync_timestamp=1623651759407&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsugarss%2Fdownload%2Fsugarss-2.0.0.tgz#ddd76e0124b297d40bf3cca31c8b22ecb43bc61d" - integrity sha1-3dduASSyl9QL88yjHIsi7LQ7xh0= - dependencies: - postcss "^7.0.2" - supports-color@8.1.1, supports-color@^8.0.0: version "8.1.1" resolved "https://registry.nlark.com/supports-color/download/supports-color-8.1.1.tgz?cache=0&sync_timestamp=1626703342506&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsupports-color%2Fdownload%2Fsupports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" @@ -10734,13 +10519,6 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^6.1.0: - version "6.1.0" - resolved "https://registry.nlark.com/supports-color/download/supports-color-6.1.0.tgz?cache=0&sync_timestamp=1626703342506&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsupports-color%2Fdownload%2Fsupports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" - integrity sha1-B2Srxpxj1ayELdSGfo0CXogN+PM= - dependencies: - has-flag "^3.0.0" - supports-color@^7.0.0, supports-color@^7.1.0: version "7.2.0" resolved "https://registry.nlark.com/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1626703342506&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" @@ -10816,17 +10594,17 @@ systemjs@^6.10.3: resolved "https://registry.yarnpkg.com/systemjs/-/systemjs-6.10.3.tgz#7e783fccb58232f1d9eb05c7e1a661268945cade" integrity sha512-mXwfLJdaADqWg1J5+Z0bGQEdcXSe+ePPTfzffMB29aVls5cXveRl0vneSV/19t3SfuUBsAraLP8W/g5u9cmYXA== -table@^6.6.0: - version "6.7.1" - resolved "https://registry.nlark.com/table/download/table-6.7.1.tgz#ee05592b7143831a8c94f3cee6aae4c1ccef33e2" - integrity sha1-7gVZK3FDgxqMlPPO5qrkwczvM+I= +table@^6.7.2: + version "6.7.2" + resolved "https://registry.npmmirror.com/table/download/table-6.7.2.tgz?cache=0&sync_timestamp=1633019371192&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ftable%2Fdownload%2Ftable-6.7.2.tgz#a8d39b9f5966693ca8b0feba270a78722cbaf3b0" + integrity sha1-qNObn1lmaTyosP66Jwp4ciy687A= dependencies: ajv "^8.0.1" lodash.clonedeep "^4.5.0" lodash.truncate "^4.4.2" slice-ansi "^4.0.0" - string-width "^4.2.0" - strip-ansi "^6.0.0" + string-width "^4.2.3" + strip-ansi "^6.0.1" tar-stream@^1.5.2: version "1.6.2" @@ -11066,11 +10844,6 @@ trim-repeated@^1.0.0: dependencies: escape-string-regexp "^1.0.2" -trough@^1.0.0: - version "1.0.5" - resolved "https://registry.nlark.com/trough/download/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" - integrity sha1-uLY5zvrX0LsqvTfUM/+Ck++l9AY= - ts-jest@^27.0.7: version "27.0.7" resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.7.tgz#fb7c8c8cb5526ab371bc1b23d06e745652cca2d0" @@ -11085,10 +10858,10 @@ ts-jest@^27.0.7: semver "7.x" yargs-parser "20.x" -ts-node@^10.3.0: - version "10.3.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.3.0.tgz#a797f2ed3ff50c9a5d814ce400437cb0c1c048b4" - integrity sha512-RYIy3i8IgpFH45AX4fQHExrT8BxDeKTdC83QFJkNzkvt8uFB6QJ8XMyhynYiKMLxt9a7yuXaDBZNOYS3XjDcYw== +ts-node@^10.4.0: + version "10.4.0" + resolved "https://registry.npmmirror.com/ts-node/download/ts-node-10.4.0.tgz?cache=0&sync_timestamp=1634967008919&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fts-node%2Fdownload%2Fts-node-10.4.0.tgz#680f88945885f4e6cf450e7f0d6223dd404895f7" + integrity sha1-aA+IlFiF9ObPRQ5/DWIj3UBIlfc= dependencies: "@cspotcode/source-map-support" "0.7.0" "@tsconfig/node10" "^1.0.7" @@ -11266,18 +11039,6 @@ unicode-property-aliases-ecmascript@^2.0.0: resolved "https://registry.nlark.com/unicode-property-aliases-ecmascript/download/unicode-property-aliases-ecmascript-2.0.0.tgz?cache=0&sync_timestamp=1631609367398&other_urls=https%3A%2F%2Fregistry.nlark.com%2Funicode-property-aliases-ecmascript%2Fdownload%2Funicode-property-aliases-ecmascript-2.0.0.tgz#0a36cb9a585c4f6abd51ad1deddb285c165297c8" integrity sha1-CjbLmlhcT2q9Ua0d7dsoXBZSl8g= -unified@^9.1.0: - version "9.2.2" - resolved "https://registry.nlark.com/unified/download/unified-9.2.2.tgz?cache=0&sync_timestamp=1627639621063&other_urls=https%3A%2F%2Fregistry.nlark.com%2Funified%2Fdownload%2Funified-9.2.2.tgz#67649a1abfc3ab85d2969502902775eb03146975" - integrity sha1-Z2SaGr/Dq4XSlpUCkCd16wMUaXU= - dependencies: - bail "^1.0.0" - extend "^3.0.0" - is-buffer "^2.0.0" - is-plain-obj "^2.0.0" - trough "^1.0.0" - vfile "^4.0.0" - union-value@^1.0.0: version "1.0.1" resolved "https://registry.nlark.com/union-value/download/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" @@ -11302,25 +11063,6 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -unist-util-find-all-after@^3.0.2: - version "3.0.2" - resolved "https://registry.nlark.com/unist-util-find-all-after/download/unist-util-find-all-after-3.0.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Funist-util-find-all-after%2Fdownload%2Funist-util-find-all-after-3.0.2.tgz#fdfecd14c5b7aea5e9ef38d5e0d5f774eeb561f6" - integrity sha1-/f7NFMW3rqXp7zjV4NX3dO61YfY= - dependencies: - unist-util-is "^4.0.0" - -unist-util-is@^4.0.0: - version "4.1.0" - resolved "https://registry.nlark.com/unist-util-is/download/unist-util-is-4.1.0.tgz#976e5f462a7a5de73d94b706bac1b90671b57797" - integrity sha1-l25fRip6Xec9lLcGusG5BnG1d5c= - -unist-util-stringify-position@^2.0.0: - version "2.0.3" - resolved "https://registry.nlark.com/unist-util-stringify-position/download/unist-util-stringify-position-2.0.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Funist-util-stringify-position%2Fdownload%2Funist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da" - integrity sha1-zOO/oc34W6c3XR1bF73Eytqb2do= - dependencies: - "@types/unist" "^2.0.2" - universalify@^0.1.0, universalify@^0.1.2: version "0.1.2" resolved "https://registry.nlark.com/universalify/download/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -11458,24 +11200,6 @@ vditor@^3.8.7: dependencies: diff-match-patch "^1.0.5" -vfile-message@^2.0.0: - version "2.0.4" - resolved "https://registry.nlark.com/vfile-message/download/vfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a" - integrity sha1-W0O4gXHUCerlhHfRPyPdQdUsNxo= - dependencies: - "@types/unist" "^2.0.0" - unist-util-stringify-position "^2.0.0" - -vfile@^4.0.0: - version "4.2.1" - resolved "https://registry.nlark.com/vfile/download/vfile-4.2.1.tgz?cache=0&sync_timestamp=1629479504143&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvfile%2Fdownload%2Fvfile-4.2.1.tgz#03f1dce28fc625c625bc6514350fbdb00fa9e624" - integrity sha1-A/Hc4o/GJcYlvGUUNQ+9sA+p5iQ= - dependencies: - "@types/unist" "^2.0.0" - is-buffer "^2.0.0" - unist-util-stringify-position "^2.0.0" - vfile-message "^2.0.0" - vite-plugin-compression@^0.3.5: version "0.3.5" resolved "https://registry.nlark.com/vite-plugin-compression/download/vite-plugin-compression-0.3.5.tgz#1e5338eb43e60128de6d6f22b2aabf0e3dc0c17f" @@ -11616,10 +11340,10 @@ vite-plugin-windicss@^1.4.12: debug "^4.3.2" windicss "^3.1.9" -vite@^2.6.10: - version "2.6.10" - resolved "https://registry.yarnpkg.com/vite/-/vite-2.6.10.tgz#7a4f420c6e2c7d9062c7f9ce4578a817c72b3842" - integrity sha512-XbevwpDJMs3lKiGEj0UQScsOCpwHIjFgfzPnFVkPgnxsF9oPv1uGyckLg58XkXv6LnO46KN9yZqJzINFmAxtUg== +vite@^2.6.11: + version "2.6.11" + resolved "https://registry.npmmirror.com/vite/download/vite-2.6.11.tgz?cache=0&sync_timestamp=1635159410826&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fvite%2Fdownload%2Fvite-2.6.11.tgz#20d3d8f4b4fe38904a2e425356aab1cb23325e12" + integrity sha1-INPY9LT+OJBKLkJTVqqxyyMyXhI= dependencies: esbuild "^0.13.2" postcss "^8.3.8" @@ -11704,25 +11428,25 @@ vscode-nls@^5.0.0: resolved "https://registry.npm.taobao.org/vscode-nls/download/vscode-nls-5.0.0.tgz#99f0da0bd9ea7cda44e565a74c54b1f2bc257840" integrity sha1-mfDaC9nqfNpE5WWnTFSx8rwleEA= -vscode-pug-languageservice@0.28.7: - version "0.28.7" - resolved "https://registry.yarnpkg.com/vscode-pug-languageservice/-/vscode-pug-languageservice-0.28.7.tgz#096a36cc1db4244e41b5ce21ebc82dbaf708b1c4" - integrity sha512-LMeR/be3qm63xsamMFCn9/fcu0PKeIS1ci7ou9CcOwxIK7Zr/vGAmG2K0uNIKzm/w7I20F6855RVf9Ne2QHb4Q== +vscode-pug-languageservice@0.28.8: + version "0.28.8" + resolved "https://registry.npmmirror.com/vscode-pug-languageservice/download/vscode-pug-languageservice-0.28.8.tgz?cache=0&sync_timestamp=1635125439145&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fvscode-pug-languageservice%2Fdownload%2Fvscode-pug-languageservice-0.28.8.tgz#49bcf0dddfdfc7adecf3e9ebbd45614206bcabe9" + integrity sha1-Sbzw3d/fx63s8+nrvUVhQga8q+k= dependencies: - "@volar/code-gen" "0.28.7" - "@volar/shared" "0.28.7" - "@volar/source-map" "0.28.7" - "@volar/transforms" "0.28.7" + "@volar/code-gen" "0.28.8" + "@volar/shared" "0.28.8" + "@volar/source-map" "0.28.8" + "@volar/transforms" "0.28.8" pug-lexer "^5.0.1" pug-parser "^6.0.0" vscode-languageserver "^8.0.0-next.2" -vscode-typescript-languageservice@0.28.7: - version "0.28.7" - resolved "https://registry.yarnpkg.com/vscode-typescript-languageservice/-/vscode-typescript-languageservice-0.28.7.tgz#28a8f2a790c4bfcd4f4aa2d7ed79af85a6b1d402" - integrity sha512-CLrcnDlISMl9cKLFVubKfaa2fp0Y1sULeCoqUw0JsBRcz+2U67ETalUkolr8iw59oGwINybJ/VyfWnsNFLt9FA== +vscode-typescript-languageservice@0.28.8: + version "0.28.8" + resolved "https://registry.npmmirror.com/vscode-typescript-languageservice/download/vscode-typescript-languageservice-0.28.8.tgz?cache=0&sync_timestamp=1635125438886&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fvscode-typescript-languageservice%2Fdownload%2Fvscode-typescript-languageservice-0.28.8.tgz#97054fd34d716a64bee78fd1fbb3680f104d267c" + integrity sha1-lwVP001xamS+54/R+7NoDxBNJnw= dependencies: - "@volar/shared" "0.28.7" + "@volar/shared" "0.28.8" semver "^7.3.5" upath "^2.0.1" vscode-languageserver "^8.0.0-next.2" @@ -11738,16 +11462,16 @@ vscode-uri@^3.0.2: resolved "https://registry.npm.taobao.org/vscode-uri/download/vscode-uri-3.0.2.tgz#ecfd1d066cb8ef4c3a208decdbab9a8c23d055d0" integrity sha1-7P0dBmy470w6II3s26uajCPQVdA= -vscode-vue-languageservice@0.28.7: - version "0.28.7" - resolved "https://registry.yarnpkg.com/vscode-vue-languageservice/-/vscode-vue-languageservice-0.28.7.tgz#2aeae980da4afacde690323f04e6bd6dbc19192f" - integrity sha512-zguYZIDTqtTL4rPBZewqdTu2wpivlcw/dah6BcRKPSdJIXIncvCy/BoS0mKb+AvME6ltiQBTCAoF98d8XZRfxg== +vscode-vue-languageservice@0.28.8: + version "0.28.8" + resolved "https://registry.npmmirror.com/vscode-vue-languageservice/download/vscode-vue-languageservice-0.28.8.tgz#ba1068b10c7d471533f95db2d1bb8b2e37952066" + integrity sha1-uhBosQx9RxUz+V2y0buLLjeVIGY= dependencies: - "@volar/code-gen" "0.28.7" - "@volar/html2pug" "0.28.7" - "@volar/shared" "0.28.7" - "@volar/source-map" "0.28.7" - "@volar/transforms" "0.28.7" + "@volar/code-gen" "0.28.8" + "@volar/html2pug" "0.28.8" + "@volar/shared" "0.28.8" + "@volar/source-map" "0.28.8" + "@volar/transforms" "0.28.8" "@vscode/emmet-helper" "^2.8.0" "@vue/compiler-dom" "^3.2.20" "@vue/reactivity" "^3.2.20" @@ -11759,8 +11483,8 @@ vscode-vue-languageservice@0.28.7: vscode-json-languageservice "^4.1.8" vscode-languageserver "^8.0.0-next.2" vscode-languageserver-textdocument "^1.0.1" - vscode-pug-languageservice "0.28.7" - vscode-typescript-languageservice "0.28.7" + vscode-pug-languageservice "0.28.8" + vscode-typescript-languageservice "0.28.8" vue-demi@*: version "0.11.4" @@ -11815,12 +11539,13 @@ vue-router@^4.0.12: dependencies: "@vue/devtools-api" "^6.0.0-beta.18" -vue-tsc@^0.28.7: - version "0.28.7" - resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-0.28.7.tgz#a6fa746dd0cafc1aea06cde74d22b3e71ed7266f" - integrity sha512-s3H29Aa2PVpJ0EKPGKllTIwgmcOTNe+Uo3jHkX+F+wSYBmVLt7ZHeYJD5K35PwM6QZ2ryKcaDn5cDIq683Gb1g== +vue-tsc@^0.28.8: + version "0.28.8" + resolved "https://registry.npmmirror.com/vue-tsc/download/vue-tsc-0.28.8.tgz#273e578f9d5eb6889cfa34bf68baef388e98dc3f" + integrity sha1-Jz5Xj51etoic+jS/aLrvOI6Y3D8= dependencies: - vscode-vue-languageservice "0.28.7" + "@volar/shared" "0.28.8" + vscode-vue-languageservice "0.28.8" vue-types@^3.0.0: version "3.0.2" @@ -12370,8 +12095,3 @@ zrender@5.2.1: integrity sha512-M3bPGZuyLTNBC6LiNKXJwSCtglMp8XUEqEBG+2MdICDI3d1s500Y4P0CzldQGsqpRVB7fkvf3BKQQRxsEaTlsw== dependencies: tslib "2.3.0" - -zwitch@^1.0.0: - version "1.0.5" - resolved "https://registry.npm.taobao.org/zwitch/download/zwitch-1.0.5.tgz?cache=0&sync_timestamp=1617357655901&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fzwitch%2Fdownload%2Fzwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920" - integrity sha1-0R1zgf/tFrdC9q97PyI9XNn+mSA= From acea18432024b6210ed3d447dacf05ac74e0601e Mon Sep 17 00:00:00 2001 From: vben Date: Mon, 25 Oct 2021 23:49:03 +0800 Subject: [PATCH 04/15] chore: format code --- src/api/model/baseModel.ts | 2 +- .../Application/src/AppDarkModeToggle.vue | 2 +- .../src/search/AppSearchFooter.vue | 2 +- .../Application/src/search/AppSearchModal.vue | 14 ++++---- .../CodeEditor/src/codemirror/codemirror.css | 32 ++++++------------- .../ContextMenu/src/ContextMenu.vue | 10 +++--- src/components/Cropper/src/CopperModal.vue | 8 ++--- src/components/Cropper/src/CropperAvatar.vue | 7 ++-- src/components/Loading/src/Loading.vue | 2 +- .../Markdown/src/MarkdownViewer.vue | 1 + src/components/Modal/src/index.less | 2 +- src/components/Page/src/PageFooter.vue | 4 +-- src/components/Preview/src/Functional.vue | 14 ++++---- src/components/Preview/src/Preview.vue | 2 +- src/components/Scrollbar/src/Scrollbar.vue | 11 +++---- .../SimpleMenu/src/components/menu.less | 2 +- .../StrengthMeter/src/StrengthMeter.vue | 2 +- src/components/Table/src/BasicTable.vue | 6 ++-- .../Table/src/components/HeaderCell.vue | 2 +- .../src/components/settings/ColumnSetting.vue | 2 +- .../Table/src/hooks/useDataSource.ts | 12 +++++-- src/components/Verify/src/DragVerify.vue | 4 +-- src/components/Verify/src/ImgRotate.vue | 2 +- src/design/ant/btn.less | 4 +-- src/design/ant/index.less | 4 +-- src/design/index.less | 4 +-- src/design/public.less | 8 ++--- src/design/theme.less | 6 ++-- src/design/transition/fade.less | 18 +++++------ src/design/transition/scale.less | 4 +-- src/design/transition/scroll.less | 8 ++--- src/design/transition/slide.less | 8 ++--- src/design/transition/zoom.less | 6 ++-- src/hooks/core/useLockFn.ts | 4 +-- .../default/header/components/Breadcrumb.vue | 8 ++--- .../header/components/lock/LockModal.vue | 2 +- src/layouts/default/header/index.less | 2 +- src/layouts/default/menu/index.vue | 2 +- .../default/setting/components/TypePicker.vue | 2 +- src/layouts/default/sider/DragBar.vue | 2 +- src/layouts/default/sider/MixSider.vue | 28 ++++++++-------- src/layouts/default/tabs/index.less | 8 ++--- src/router/types.ts | 2 +- src/views/demo/comp/lazy/Transition.vue | 8 ++--- src/views/demo/comp/transition/index.vue | 2 +- .../demo/page/account/center/Article.vue | 8 ++--- .../demo/page/account/center/Project.vue | 4 +-- src/views/demo/page/account/center/index.vue | 6 ++-- src/views/demo/page/list/search/index.vue | 2 +- src/views/sys/lock/LockPage.vue | 2 +- stylelint.config.js | 2 ++ 51 files changed, 151 insertions(+), 158 deletions(-) diff --git a/src/api/model/baseModel.ts b/src/api/model/baseModel.ts index 913f2ec84..1a3651182 100644 --- a/src/api/model/baseModel.ts +++ b/src/api/model/baseModel.ts @@ -3,7 +3,7 @@ export interface BasicPageParams { pageSize: number; } -export interface BasicFetchResult { +export interface BasicFetchResult { items: T[]; total: number; } diff --git a/src/components/Application/src/AppDarkModeToggle.vue b/src/components/Application/src/AppDarkModeToggle.vue index 6df9c499d..19ba3b151 100644 --- a/src/components/Application/src/AppDarkModeToggle.vue +++ b/src/components/Application/src/AppDarkModeToggle.vue @@ -39,7 +39,7 @@ html[data-theme='dark'] { .@{prefix-cls} { - border: 1px solid rgb(196, 188, 188); + border: 1px solid rgb(196 188 188); } } diff --git a/src/components/Application/src/search/AppSearchFooter.vue b/src/components/Application/src/search/AppSearchFooter.vue index 62b5870ad..97bd93a93 100644 --- a/src/components/Application/src/search/AppSearchFooter.vue +++ b/src/components/Application/src/search/AppSearchFooter.vue @@ -42,7 +42,7 @@ background-color: linear-gradient(-225deg, #d5dbe4, #f8f8f8); border-radius: 2px; box-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, - 0 1px 2px 1px rgba(30, 35, 90, 0.4); + 0 1px 2px 1px rgb(30 35 90 / 40%); align-items: center; justify-content: center; diff --git a/src/components/Application/src/search/AppSearchModal.vue b/src/components/Application/src/search/AppSearchModal.vue index 975c03ce4..76b788240 100644 --- a/src/components/Application/src/search/AppSearchModal.vue +++ b/src/components/Application/src/search/AppSearchModal.vue @@ -125,7 +125,7 @@ width: 100%; height: 100%; padding-top: 50px; - background-color: rgba(0, 0, 0, 0.25); + background-color: rgb(0 0 0 / 25%); justify-content: center; &--mobile { @@ -159,7 +159,7 @@ &__item { &-enter { - opacity: 0 !important; + opacity: 0% !important; } } } @@ -168,16 +168,16 @@ &-content { position: relative; width: 632px; - margin: 0 auto auto auto; + margin: 0 auto auto; background-color: @component-background; border-radius: 16px; - box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); + box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%); flex-direction: column; } &-input__wrapper { display: flex; - padding: 14px 14px 0 14px; + padding: 14px 14px 0; justify-content: space-between; align-items: center; } @@ -245,7 +245,7 @@ background-color: @primary-color; .@{prefix-cls}-list__item-enter { - opacity: 1; + opacity: 100%; } } @@ -259,7 +259,7 @@ &-enter { width: 30px; - opacity: 0; + opacity: 0%; } } } diff --git a/src/components/CodeEditor/src/codemirror/codemirror.css b/src/components/CodeEditor/src/codemirror/codemirror.css index dc7c681e6..8e9cbd864 100644 --- a/src/components/CodeEditor/src/codemirror/codemirror.css +++ b/src/components/CodeEditor/src/codemirror/codemirror.css @@ -2,7 +2,7 @@ .CodeMirror { --base: #545281; - --comment: hsl(210, 25%, 60%); + --comment: hsl(210deg 25% 60%); --keyword: #af4ab1; --variable: #0055d1; --function: #c25205; @@ -53,7 +53,7 @@ color: var(--comment); text-align: right; white-space: nowrap; - opacity: 0.6; + opacity: 60%; } .CodeMirror-guttermarker { @@ -90,7 +90,7 @@ display: inline-block; font-size: 0.8em; content: '>'; - opacity: 0.8; + opacity: 80%; transform: rotate(90deg); transition: transform 0.2s; } @@ -125,9 +125,7 @@ } .cm-fat-cursor-mark { - background-color: rgba(20, 255, 20, 0.5); - -webkit-animation: blink 1.06s steps(1) infinite; - -moz-animation: blink 1.06s steps(1) infinite; + background-color: rgb(20 255 20 / 50%); animation: blink 1.06s steps(1) infinite; } @@ -135,16 +133,14 @@ width: auto; background-color: #7e7; border: 0; - -webkit-animation: blink 1.06s steps(1) infinite; - -moz-animation: blink 1.06s steps(1) infinite; animation: blink 1.06s steps(1) infinite; } -@-moz-keyframes blink { +@keyframes blink { 50% { background-color: transparent; } } -@-webkit-keyframes blink { +@keyframes blink { 50% { background-color: transparent; } @@ -294,7 +290,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket { } .CodeMirror-matchingtag { - background: rgba(255, 150, 0, 0.3); + background: rgb(255 150 0 / 30%); } .CodeMirror-activeline-background { @@ -394,7 +390,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket { background-color: transparent; } -.CodeMirror-gutter-wrapper ::-moz-selection { +.CodeMirrorwrapper ::selection { background-color: transparent; } @@ -414,11 +410,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket { border-width: 0; /* Reset some styles that the rest of the page might have set */ - -moz-border-radius: 0; - -webkit-border-radius: 0; border-radius: 0; -webkit-tap-highlight-color: transparent; - -webkit-font-variant-ligatures: contextual; font-variant-ligatures: contextual; } @@ -457,7 +450,6 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket { .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber { - -moz-box-sizing: content-box; box-sizing: content-box; } @@ -505,15 +497,9 @@ div.CodeMirror-dragcursors { background: #d7d4f0; } -.CodeMirror-line::-moz-selection, -.CodeMirror-line > span::-moz-selection, -.CodeMirror-line > span > span::-moz-selection { - background: #d7d4f0; -} - .cm-searching { background-color: #ffa; - background-color: rgba(255, 255, 0, 0.4); + background-color: rgb(255 255 0 / 40%); } /* Used to force a border model for a node */ diff --git a/src/components/ContextMenu/src/ContextMenu.vue b/src/components/ContextMenu/src/ContextMenu.vue index 41e49a69e..77f250fd2 100644 --- a/src/components/ContextMenu/src/ContextMenu.vue +++ b/src/components/ContextMenu/src/ContextMenu.vue @@ -178,22 +178,22 @@ margin: 0; list-style: none; background-color: @component-background; - border: 1px solid rgba(0, 0, 0, 0.08); + border: 1px solid rgb(0 0 0 / 8%); border-radius: 0.25rem; - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.1), - 0 1px 5px 0 rgba(0, 0, 0, 0.06); + box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 10%), + 0 1px 5px 0 rgb(0 0 0 / 6%); background-clip: padding-box; user-select: none; .item-style(); .ant-divider { - margin: 0 0; + margin: 0; } &__popup { .ant-divider { - margin: 0 0; + margin: 0; } .item-style(); diff --git a/src/components/Cropper/src/CopperModal.vue b/src/components/Cropper/src/CopperModal.vue index 61b932082..2ec7f4fd0 100644 --- a/src/components/Cropper/src/CopperModal.vue +++ b/src/components/Cropper/src/CopperModal.vue @@ -234,17 +234,17 @@ background: #eee; background-image: linear-gradient( 45deg, - rgba(0, 0, 0, 0.25) 25%, + rgb(0 0 0 / 25%) 25%, transparent 0, transparent 75%, - rgba(0, 0, 0, 0.25) 0 + rgb(0 0 0 / 25%) 0 ), linear-gradient( 45deg, - rgba(0, 0, 0, 0.25) 25%, + rgb(0 0 0 / 25%) 25%, transparent 0, transparent 75%, - rgba(0, 0, 0, 0.25) 0 + rgb(0 0 0 / 25%) 0 ); background-position: 0 0, 12px 12px; background-size: 24px 24px; diff --git a/src/components/Cropper/src/CropperAvatar.vue b/src/components/Cropper/src/CropperAvatar.vue index 5b11d0821..6478e7e4e 100644 --- a/src/components/Cropper/src/CropperAvatar.vue +++ b/src/components/Cropper/src/CropperAvatar.vue @@ -135,15 +135,14 @@ } &-image-mask { - opacity: 0; + opacity: 0%; position: absolute; width: inherit; height: inherit; border-radius: inherit; border: inherit; - background: rgba(0, 0, 0, 0.4); + background: rgb(0 0 0 / 40%); cursor: pointer; - -webkit-transition: opacity 0.4s; transition: opacity 0.4s; ::v-deep(svg) { @@ -152,7 +151,7 @@ } &-image-mask:hover { - opacity: 40; + opacity: 4000%; } &-upload-btn { diff --git a/src/components/Loading/src/Loading.vue b/src/components/Loading/src/Loading.vue index f626b1819..0f52b2893 100644 --- a/src/components/Loading/src/Loading.vue +++ b/src/components/Loading/src/Loading.vue @@ -57,7 +57,7 @@ height: 100%; justify-content: center; align-items: center; - background-color: rgba(240, 242, 245, 0.4); + background-color: rgb(240 242 245 / 40%); &.absolute { position: absolute; diff --git a/src/components/Markdown/src/MarkdownViewer.vue b/src/components/Markdown/src/MarkdownViewer.vue index b453451ea..0091a9094 100644 --- a/src/components/Markdown/src/MarkdownViewer.vue +++ b/src/components/Markdown/src/MarkdownViewer.vue @@ -1,4 +1,5 @@ diff --git a/src/components/Modal/src/index.less b/src/components/Modal/src/index.less index be64b204d..5bd86a25e 100644 --- a/src/components/Modal/src/index.less +++ b/src/components/Modal/src/index.less @@ -54,7 +54,7 @@ } &-content { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); + box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%); } &-footer { diff --git a/src/components/Page/src/PageFooter.vue b/src/components/Page/src/PageFooter.vue index 0db3f743d..e89a6ce97 100644 --- a/src/components/Page/src/PageFooter.vue +++ b/src/components/Page/src/PageFooter.vue @@ -39,8 +39,8 @@ line-height: 44px; background-color: @component-background; border-top: 1px solid @border-color-base; - box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), - 0 -12px 48px 16px rgba(0, 0, 0, 0.03); + box-shadow: 0 -6px 16px -8px rgb(0 0 0 / 8%), 0 -9px 28px 0 rgb(0 0 0 / 5%), + 0 -12px 48px 16px rgb(0 0 0 / 3%); transition: width 0.2s; &__left { diff --git a/src/components/Preview/src/Functional.vue b/src/components/Preview/src/Functional.vue index 8fdab6657..1c9192978 100644 --- a/src/components/Preview/src/Functional.vue +++ b/src/components/Preview/src/Functional.vue @@ -432,7 +432,7 @@ bottom: 0; left: 0; z-index: @preview-comp-z-index; - background: rgba(0, 0, 0, 0.5); + background: rgb(0 0 0 / 50%); user-select: none; &-content { @@ -458,7 +458,7 @@ overflow: hidden; color: @white; cursor: pointer; - background-color: rgba(0, 0, 0, 0.5); + background-color: rgb(0 0 0 / 50%); border-radius: 50%; transition: all 0.2s; @@ -470,7 +470,7 @@ } &:hover { - background-color: rgba(0, 0, 0, 0.8); + background-color: rgb(0 0 0 / 80%); } } @@ -480,7 +480,7 @@ left: 50%; padding: 0 22px; font-size: 16px; - background: rgba(109, 109, 109, 0.6); + background: rgb(109 109 109 / 60%); border-radius: 15px; transform: translateX(-50%); } @@ -494,7 +494,7 @@ height: 44px; padding: 0 22px; margin-left: -139px; - background: rgba(109, 109, 109, 0.6); + background: rgb(109 109 109 / 60%); border-radius: 22px; justify-content: center; @@ -526,12 +526,12 @@ height: 50px; font-size: 28px; cursor: pointer; - background-color: rgba(0, 0, 0, 0.5); + background-color: rgb(0 0 0 / 50%); border-radius: 50%; transition: all 0.2s; &:hover { - background-color: rgba(0, 0, 0, 0.8); + background-color: rgb(0 0 0 / 80%); } &.left { diff --git a/src/components/Preview/src/Preview.vue b/src/components/Preview/src/Preview.vue index 3bb0b1466..9996d0b7b 100644 --- a/src/components/Preview/src/Preview.vue +++ b/src/components/Preview/src/Preview.vue @@ -88,7 +88,7 @@ } .ant-image-preview-operations { - background-color: rgba(0, 0, 0, 0.4); + background-color: rgb(0 0 0 / 40%); } } diff --git a/src/components/Scrollbar/src/Scrollbar.vue b/src/components/Scrollbar/src/Scrollbar.vue index ec5678054..ed08026a2 100644 --- a/src/components/Scrollbar/src/Scrollbar.vue +++ b/src/components/Scrollbar/src/Scrollbar.vue @@ -148,7 +148,7 @@ display: none; width: 0; height: 0; - opacity: 0; + opacity: 0%; } } } @@ -159,12 +159,12 @@ width: 0; height: 0; cursor: pointer; - background-color: rgba(144, 147, 153, 0.3); + background-color: rgb(144 147 153 / 30%); border-radius: inherit; transition: 0.3s background-color; &:hover { - background-color: rgba(144, 147, 153, 0.5); + background-color: rgb(144 147 153 / 50%); } } @@ -174,8 +174,7 @@ bottom: 2px; z-index: 1; border-radius: 4px; - opacity: 0; - -webkit-transition: opacity 80ms ease; + opacity: 0%; transition: opacity 80ms ease; &.is-vertical { @@ -201,7 +200,7 @@ .scrollbar:active > .scrollbar__bar, .scrollbar:focus > .scrollbar__bar, .scrollbar:hover > .scrollbar__bar { - opacity: 1; + opacity: 100%; transition: opacity 340ms ease-out; } diff --git a/src/components/SimpleMenu/src/components/menu.less b/src/components/SimpleMenu/src/components/menu.less index 84ff2dabd..b9ef388ed 100644 --- a/src/components/SimpleMenu/src/components/menu.less +++ b/src/components/SimpleMenu/src/components/menu.less @@ -188,7 +188,7 @@ &-vertical&-collapse &-item, &-vertical&-collapse &-submenu-title { - padding: 0 0; + padding: 0; } &-vertical &-submenu-title-icon { diff --git a/src/components/StrengthMeter/src/StrengthMeter.vue b/src/components/StrengthMeter/src/StrengthMeter.vue index 738a3470d..e0fc33174 100644 --- a/src/components/StrengthMeter/src/StrengthMeter.vue +++ b/src/components/StrengthMeter/src/StrengthMeter.vue @@ -92,7 +92,7 @@ background-color: transparent; border-color: @white; border-style: solid; - border-width: 0 5px 0 5px; + border-width: 0 5px; content: ''; } diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue index 6ba20f289..7fb1071d5 100644 --- a/src/components/Table/src/BasicTable.vue +++ b/src/components/Table/src/BasicTable.vue @@ -357,7 +357,7 @@ padding: 16px; .ant-form { - padding: 12px 10px 6px 10px; + padding: 12px 10px 6px; margin-bottom: 16px; background-color: @component-background; border-radius: 2px; @@ -375,7 +375,7 @@ .ant-table-title { min-height: 40px; - padding: 0 0 8px 0 !important; + padding: 0 0 8px !important; } .ant-table.ant-table-bordered .ant-table-title { @@ -401,7 +401,7 @@ } .ant-pagination { - margin: 10px 0 0 0; + margin: 10px 0 0; } .ant-table-footer { diff --git a/src/components/Table/src/components/HeaderCell.vue b/src/components/Table/src/components/HeaderCell.vue index 4c75682fb..91c637374 100644 --- a/src/components/Table/src/components/HeaderCell.vue +++ b/src/components/Table/src/components/HeaderCell.vue @@ -42,7 +42,7 @@ .@{prefix-cls} { &__help { margin-left: 8px; - color: rgba(0, 0, 0, 0.65) !important; + color: rgb(0 0 0 / 65%) !important; } } diff --git a/src/components/Table/src/components/settings/ColumnSetting.vue b/src/components/Table/src/components/settings/ColumnSetting.vue index 889c82f3e..24e42d4dd 100644 --- a/src/components/Table/src/components/settings/ColumnSetting.vue +++ b/src/components/Table/src/components/settings/ColumnSetting.vue @@ -420,7 +420,7 @@ &__fixed-left, &__fixed-right { - color: rgba(0, 0, 0, 0.45); + color: rgb(0 0 0 / 45%); cursor: pointer; &.active, diff --git a/src/components/Table/src/hooks/useDataSource.ts b/src/components/Table/src/hooks/useDataSource.ts index 81137266b..76cba22aa 100644 --- a/src/components/Table/src/hooks/useDataSource.ts +++ b/src/components/Table/src/hooks/useDataSource.ts @@ -241,8 +241,16 @@ export function useDataSource( } async function fetch(opt?: FetchParams) { - const { api, searchInfo, defSort, fetchSetting, beforeFetch, afterFetch, useSearchForm, pagination } = - unref(propsRef); + const { + api, + searchInfo, + defSort, + fetchSetting, + beforeFetch, + afterFetch, + useSearchForm, + pagination, + } = unref(propsRef); if (!api || !isFunction(api)) return; try { setLoading(true); diff --git a/src/components/Verify/src/DragVerify.vue b/src/components/Verify/src/DragVerify.vue index e1f7d4028..c457bc03c 100644 --- a/src/components/Verify/src/DragVerify.vue +++ b/src/components/Verify/src/DragVerify.vue @@ -292,7 +292,7 @@ position: relative; overflow: hidden; text-align: center; - background-color: rgb(238, 238, 238); + background-color: rgb(238 238 238); border: 1px solid #ddd; border-radius: @radius; @@ -313,7 +313,7 @@ position: absolute; top: 0; font-size: 12px; - -webkit-text-size-adjust: none; + text-size-adjust: none; background-color: -webkit-gradient( linear, left top, diff --git a/src/components/Verify/src/ImgRotate.vue b/src/components/Verify/src/ImgRotate.vue index db44eb4cd..53788ed61 100644 --- a/src/components/Verify/src/ImgRotate.vue +++ b/src/components/Verify/src/ImgRotate.vue @@ -209,7 +209,7 @@ } &.normal { - background-color: rgba(0, 0, 0, 0.3); + background-color: rgb(0 0 0 / 30%); } } diff --git a/src/design/ant/btn.less b/src/design/ant/btn.less index 2659f3971..ab194f16b 100644 --- a/src/design/ant/btn.less +++ b/src/design/ant/btn.less @@ -67,7 +67,7 @@ } [data-theme='light'] &.ant-btn-link.is-disabled { - color: rgba(0, 0, 0, 0.25); + color: rgb(0 0 0 / 25%); text-shadow: none; cursor: not-allowed !important; background-color: transparent !important; @@ -76,7 +76,7 @@ } [data-theme='dark'] &.ant-btn-link.is-disabled { - color: rgba(255, 255, 255, 0.25) !important; + color: rgb(255 255 255 / 25%) !important; text-shadow: none; cursor: not-allowed !important; background-color: transparent !important; diff --git a/src/design/ant/index.less b/src/design/ant/index.less index e9ed4f7d0..fc9349ced 100644 --- a/src/design/ant/index.less +++ b/src/design/ant/index.less @@ -30,12 +30,12 @@ span.anticon:not(.app-iconify) { } .ant-image-preview-operations { - background-color: rgba(0, 0, 0, 0.3); + background-color: rgb(0 0 0 / 30%); } .ant-popover { &-content { - box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); + box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%); } } diff --git a/src/design/index.less b/src/design/index.less index 5e1722723..1d52f05c8 100644 --- a/src/design/index.less +++ b/src/design/index.less @@ -5,7 +5,7 @@ @import './theme.less'; input:-webkit-autofill { - -webkit-box-shadow: 0 0 0 1000px white inset !important; + box-shadow: 0 0 0 1000px white inset !important; } :-webkit-autofill { @@ -14,7 +14,7 @@ input:-webkit-autofill { html { overflow: hidden; - -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; } html, diff --git a/src/design/public.less b/src/design/public.less index 07ce5f654..798fe0220 100644 --- a/src/design/public.less +++ b/src/design/public.less @@ -17,15 +17,15 @@ // } ::-webkit-scrollbar-track { - background-color: rgba(0, 0, 0, 0.05); + background-color: rgb(0 0 0 / 5%); } ::-webkit-scrollbar-thumb { // background: rgba(0, 0, 0, 0.6); - background-color: rgba(144, 147, 153, 0.3); + background-color: rgb(144 147 153 / 30%); // background-color: rgba(144, 147, 153, 0.3); border-radius: 2px; - box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2); + box-shadow: inset 0 0 6px rgb(0 0 0 / 20%); } ::-webkit-scrollbar-thumb:hover { @@ -46,6 +46,6 @@ width: 100%; height: 2px; background-color: @primary-color; - opacity: 0.75; + opacity: 75%; } } diff --git a/src/design/theme.less b/src/design/theme.less index fb1e61e93..aa05033dd 100644 --- a/src/design/theme.less +++ b/src/design/theme.less @@ -4,7 +4,7 @@ html[data-theme='light'] { .text-secondary { - color: rgba(0, 0, 0, 0.45); + color: rgb(0 0 0 / 45%); } .ant-alert-success { @@ -43,10 +43,10 @@ html[data-theme='light'] { } .ant-calendar-selected-day .ant-calendar-date { - color: rgba(0, 0, 0, 0.8); + color: rgb(0 0 0 / 80%); } .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected { - color: rgba(0, 0, 0, 0.9); + color: rgb(0 0 0 / 90%); } } diff --git a/src/design/transition/fade.less b/src/design/transition/fade.less index 1f8e63e8f..420f14419 100644 --- a/src/design/transition/fade.less +++ b/src/design/transition/fade.less @@ -5,7 +5,7 @@ .fade-enter-from, .fade-leave-to { - opacity: 0; + opacity: 0%; } /* fade-slide */ @@ -15,12 +15,12 @@ } .fade-slide-enter-from { - opacity: 0; + opacity: 0%; transform: translateX(-30px); } .fade-slide-leave-to { - opacity: 0; + opacity: 0%; transform: translateX(30px); } @@ -35,12 +35,12 @@ } .fade-bottom-enter-from { - opacity: 0; + opacity: 0%; transform: translateY(-10%); } .fade-bottom-leave-to { - opacity: 0; + opacity: 0%; transform: translateY(10%); } @@ -51,12 +51,12 @@ } .fade-scale-enter-from { - opacity: 0; + opacity: 0%; transform: scale(1.2); } .fade-scale-leave-to { - opacity: 0; + opacity: 0%; transform: scale(0.8); } @@ -71,11 +71,11 @@ } .fade-top-enter-from { - opacity: 0; + opacity: 0%; transform: translateY(8%); } .fade-top-leave-to { - opacity: 0; + opacity: 0%; transform: translateY(-8%); } diff --git a/src/design/transition/scale.less b/src/design/transition/scale.less index c96549357..d5c30b69a 100644 --- a/src/design/transition/scale.less +++ b/src/design/transition/scale.less @@ -4,7 +4,7 @@ &-enter-from, &-leave, &-leave-to { - opacity: 0; + opacity: 0%; transform: scale(0); } } @@ -15,7 +15,7 @@ &-enter-from, &-leave, &-leave-to { - opacity: 0; + opacity: 0%; transform: scale(0) rotate(-45deg); } } diff --git a/src/design/transition/scroll.less b/src/design/transition/scroll.less index a5f45e4cb..10d056701 100644 --- a/src/design/transition/scroll.less +++ b/src/design/transition/scroll.less @@ -3,7 +3,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; } &-enter-from { @@ -20,7 +20,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; } &-enter-from { @@ -37,7 +37,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; } &-enter-from { @@ -54,7 +54,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; } &-enter-from { diff --git a/src/design/transition/slide.less b/src/design/transition/slide.less index 79b00df87..6c3166d14 100644 --- a/src/design/transition/slide.less +++ b/src/design/transition/slide.less @@ -3,7 +3,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; transform: translateY(-15px); } } @@ -13,7 +13,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; transform: translateY(15px); } } @@ -23,7 +23,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; transform: translateX(-15px); } } @@ -33,7 +33,7 @@ &-enter-from, &-leave-to { - opacity: 0; + opacity: 0%; transform: translateX(15px); } } diff --git a/src/design/transition/zoom.less b/src/design/transition/zoom.less index 2ea378ca7..f9b14dde7 100644 --- a/src/design/transition/zoom.less +++ b/src/design/transition/zoom.less @@ -6,7 +6,7 @@ .zoom-out-enter-from, .zoom-out-leave-to { - opacity: 0; + opacity: 0%; transform: scale(0); } @@ -17,11 +17,11 @@ } .zoom-fade-enter-from { - opacity: 0; + opacity: 0%; transform: scale(0.92); } .zoom-fade-leave-to { - opacity: 0; + opacity: 0%; transform: scale(1.06); } diff --git a/src/hooks/core/useLockFn.ts b/src/hooks/core/useLockFn.ts index 13a10612c..0a8b3a79e 100644 --- a/src/hooks/core/useLockFn.ts +++ b/src/hooks/core/useLockFn.ts @@ -1,8 +1,6 @@ import { ref, unref } from 'vue'; -export function useLockFn

( - fn: (...args: P) => Promise, -) { +export function useLockFn

(fn: (...args: P) => Promise) { const lockRef = ref(false); return async function (...args: P) { if (unref(lockRef)) return; diff --git a/src/layouts/default/header/components/Breadcrumb.vue b/src/layouts/default/header/components/Breadcrumb.vue index 8ffd58eee..9f2e77b76 100644 --- a/src/layouts/default/header/components/Breadcrumb.vue +++ b/src/layouts/default/header/components/Breadcrumb.vue @@ -169,7 +169,7 @@ color: @breadcrumb-item-normal-color; a { - color: rgba(0, 0, 0, 0.65); + color: rgb(0 0 0 / 65%); &:hover { color: @primary-color; @@ -184,10 +184,10 @@ &--dark { .ant-breadcrumb-link { - color: rgba(255, 255, 255, 0.6); + color: rgb(255 255 255 / 60%); a { - color: rgba(255, 255, 255, 0.8); + color: rgb(255 255 255 / 80%); &:hover { color: @white; @@ -197,7 +197,7 @@ .ant-breadcrumb-separator, .anticon { - color: rgba(255, 255, 255, 0.8); + color: rgb(255 255 255 / 80%); } } } diff --git a/src/layouts/default/header/components/lock/LockModal.vue b/src/layouts/default/header/components/lock/LockModal.vue index 0a7ba6137..90a3f7c72 100644 --- a/src/layouts/default/header/components/lock/LockModal.vue +++ b/src/layouts/default/header/components/lock/LockModal.vue @@ -95,7 +95,7 @@ &__entry { position: relative; //height: 240px; - padding: 130px 30px 30px 30px; + padding: 130px 30px 30px; border-radius: 10px; } diff --git a/src/layouts/default/header/index.less b/src/layouts/default/header/index.less index 38ca493a1..b16007e77 100644 --- a/src/layouts/default/header/index.less +++ b/src/layouts/default/header/index.less @@ -67,7 +67,7 @@ .@{header-trigger-prefix-cls} { display: flex; height: 100%; - padding: 1px 10px 0 10px; + padding: 1px 10px 0; cursor: pointer; align-items: center; diff --git a/src/layouts/default/menu/index.vue b/src/layouts/default/menu/index.vue index 598a7bead..a6b7dff6d 100644 --- a/src/layouts/default/menu/index.vue +++ b/src/layouts/default/menu/index.vue @@ -189,7 +189,7 @@ &--mobile { .@{logo-prefix-cls} { &__title { - opacity: 1; + opacity: 100%; } } } diff --git a/src/layouts/default/setting/components/TypePicker.vue b/src/layouts/default/setting/components/TypePicker.vue index ab46aa8ba..ce8610a20 100644 --- a/src/layouts/default/setting/components/TypePicker.vue +++ b/src/layouts/default/setting/components/TypePicker.vue @@ -66,7 +66,7 @@ cursor: pointer; background-color: #f0f2f5; border-radius: 4px; - box-shadow: 0 1px 2.5px 0 rgba(0, 0, 0, 0.18); + box-shadow: 0 1px 2.5px 0 rgb(0 0 0 / 18%); &::before, &::after { diff --git a/src/layouts/default/sider/DragBar.vue b/src/layouts/default/sider/DragBar.vue index 3bc6fb9a7..9bae60c1e 100644 --- a/src/layouts/default/sider/DragBar.vue +++ b/src/layouts/default/sider/DragBar.vue @@ -60,7 +60,7 @@ &:hover { background-color: @primary-color; - box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.15); + box-shadow: 0 0 4px 0 rgb(28 36 56 / 15%); } } diff --git a/src/layouts/default/sider/MixSider.vue b/src/layouts/default/sider/MixSider.vue index 5fd37c4b7..2a30c8cef 100644 --- a/src/layouts/default/sider/MixSider.vue +++ b/src/layouts/default/sider/MixSider.vue @@ -362,19 +362,19 @@ &.light { .@{prefix-cls}-logo { - border-bottom: 1px solid rgb(238, 238, 238); + border-bottom: 1px solid rgb(238 238 238); } &.open { > .scrollbar { - border-right: 1px solid rgb(238, 238, 238); + border-right: 1px solid rgb(238 238 238); } } .@{prefix-cls}-module { &__item { font-weight: normal; - color: rgba(0, 0, 0, 0.65); + color: rgb(0 0 0 / 65%); &--active { color: @primary-color; @@ -384,15 +384,15 @@ } .@{prefix-cls}-menu-list { &__content { - box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1); + box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%); } &__title { .pushpin { - color: rgba(0, 0, 0, 0.35); + color: rgb(0 0 0 / 35%); &:hover { - color: rgba(0, 0, 0, 0.85); + color: rgb(0 0 0 / 85%); } } } @@ -442,7 +442,7 @@ &__item { position: relative; padding: 12px 0; - color: rgba(255, 255, 255, 0.65); + color: rgb(255 255 255 / 65%); text-align: center; cursor: pointer; transition: all 0.3s ease; @@ -487,7 +487,7 @@ left: 0; width: 100%; font-size: 14px; - color: rgba(255, 255, 255, 0.65); + color: rgb(255 255 255 / 65%); text-align: center; cursor: pointer; background-color: @trigger-dark-bg-color; @@ -496,7 +496,7 @@ } &.light &-trigger { - color: rgba(0, 0, 0, 0.65); + color: rgb(0 0 0 / 65%); background-color: #fff; border-top: 1px solid #eee; } @@ -515,21 +515,21 @@ // margin-left: -6px; font-size: 18px; color: @primary-color; - border-bottom: 1px solid rgb(238, 238, 238); - opacity: 0; + border-bottom: 1px solid rgb(238 238 238); + opacity: 0%; transition: unset; align-items: center; justify-content: space-between; &.show { min-width: 130px; - opacity: 1; + opacity: 100%; transition: all 0.5s ease; } .pushpin { margin-right: 6px; - color: rgba(255, 255, 255, 0.65); + color: rgb(255 255 255 / 65%); cursor: pointer; &:hover { @@ -572,7 +572,7 @@ background-color: #f8f8f9; border-top: none; border-bottom: none; - box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.15); + box-shadow: 0 0 4px 0 rgb(28 36 56 / 15%); } } diff --git a/src/layouts/default/tabs/index.less b/src/layouts/default/tabs/index.less index 1eb3bc28d..6cc487844 100644 --- a/src/layouts/default/tabs/index.less +++ b/src/layouts/default/tabs/index.less @@ -50,7 +50,7 @@ html[data-theme='light'] { &:hover { .ant-tabs-close-x { - opacity: 1; + opacity: 100%; } } @@ -59,7 +59,7 @@ html[data-theme='light'] { height: 12px; font-size: 12px; color: inherit; - opacity: 0; + opacity: 0%; transition: none; &:hover { @@ -95,7 +95,7 @@ html[data-theme='light'] { transition: none; .ant-tabs-close-x { - opacity: 1; + opacity: 100%; } svg { @@ -135,7 +135,7 @@ html[data-theme='light'] { &--hide-close { .ant-tabs-close-x { - opacity: 0 !important; + opacity: 0% !important; } } diff --git a/src/router/types.ts b/src/router/types.ts index a8d9546a3..082d20840 100644 --- a/src/router/types.ts +++ b/src/router/types.ts @@ -2,7 +2,7 @@ import type { RouteRecordRaw, RouteMeta } from 'vue-router'; import { RoleEnum } from '/@/enums/roleEnum'; import { defineComponent } from 'vue'; -export type Component = +export type Component = | ReturnType | (() => Promise) | (() => Promise); diff --git a/src/views/demo/comp/lazy/Transition.vue b/src/views/demo/comp/lazy/Transition.vue index 420dd9865..b8c69ae11 100644 --- a/src/views/demo/comp/lazy/Transition.vue +++ b/src/views/demo/comp/lazy/Transition.vue @@ -47,12 +47,12 @@ } .custom-enter { - opacity: 0; + opacity: 0%; transform: scale(0.4) translate(100%); } .custom-enter-to { - opacity: 1; + opacity: 100%; } .custom-enter-active { @@ -63,11 +63,11 @@ } .custom-leave { - opacity: 1; + opacity: 100%; } .custom-leave-to { - opacity: 0; + opacity: 0%; transform: scale(0.4) translate(-100%); } diff --git a/src/views/demo/comp/transition/index.vue b/src/views/demo/comp/transition/index.vue index 1d237d090..71c7ca8cd 100644 --- a/src/views/demo/comp/transition/index.vue +++ b/src/views/demo/comp/transition/index.vue @@ -91,6 +91,6 @@ width: 150px; height: 150px; margin-top: 20px; - background-color: rgb(126, 170, 236); + background-color: rgb(126 170 236); } diff --git a/src/views/demo/page/account/center/Article.vue b/src/views/demo/page/account/center/Article.vue index 505f16d5f..bb71cc913 100644 --- a/src/views/demo/page/account/center/Article.vue +++ b/src/views/demo/page/account/center/Article.vue @@ -70,17 +70,17 @@ } &__content { - color: rgba(0, 0, 0, 0.65); + color: rgb(0 0 0 / 65%); } &__action { display: inline-block; padding: 0 16px; - color: rgba(0, 0, 0, 0.45); + color: rgb(0 0 0 / 45%); &:nth-child(1), &:nth-child(2) { - border-right: 1px solid rgba(206, 206, 206, 0.4); + border-right: 1px solid rgb(206 206 206 / 40%); } &-icon { @@ -91,7 +91,7 @@ &__time { position: absolute; right: 20px; - color: rgba(0, 0, 0, 0.45); + color: rgb(0 0 0 / 45%); } } diff --git a/src/views/demo/page/account/center/Project.vue b/src/views/demo/page/account/center/Project.vue index 520ba1313..296cbc7ee 100644 --- a/src/views/demo/page/account/center/Project.vue +++ b/src/views/demo/page/account/center/Project.vue @@ -48,7 +48,7 @@ width: 100%; .ant-card-body { - padding: 0 0 24px 0; + padding: 0 0 24px; } img { @@ -60,7 +60,7 @@ margin: 5px 10px; font-size: 16px; font-weight: 500; - color: rgba(0, 0, 0, 0.85); + color: rgb(0 0 0 / 85%); } &-content { diff --git a/src/views/demo/page/account/center/index.vue b/src/views/demo/page/account/center/index.vue index fc127388a..ae82aeba3 100644 --- a/src/views/demo/page/account/center/index.vue +++ b/src/views/demo/page/account/center/index.vue @@ -98,13 +98,13 @@ padding: 0 10px; &:not(:last-child) { - border-right: 1px dashed rgb(206, 206, 206, 0.5); + border-right: 1px dashed rgb(206 206 206 / 50%); } } &-top { padding: 10px; - margin: 16px 16px 12px 16px; + margin: 16px 16px 12px; background-color: @component-background; border-radius: 3px; @@ -147,7 +147,7 @@ &-bottom { padding: 10px; - margin: 0 16px 16px 16px; + margin: 0 16px 16px; background-color: @component-background; border-radius: 3px; } diff --git a/src/views/demo/page/list/search/index.vue b/src/views/demo/page/list/search/index.vue index cb2258b19..9ada74f31 100644 --- a/src/views/demo/page/list/search/index.vue +++ b/src/views/demo/page/list/search/index.vue @@ -129,7 +129,7 @@ &__time { position: absolute; right: 20px; - color: rgba(0, 0, 0, 0.45); + color: rgb(0 0 0 / 45%); } } diff --git a/src/views/sys/lock/LockPage.vue b/src/views/sys/lock/LockPage.vue index f16bfe238..11037f9f8 100644 --- a/src/views/sys/lock/LockPage.vue +++ b/src/views/sys/lock/LockPage.vue @@ -210,7 +210,7 @@ display: flex; width: 100%; height: 100%; - background-color: rgba(0, 0, 0, 0.5); + background-color: rgb(0 0 0 / 50%); backdrop-filter: blur(8px); justify-content: center; align-items: center; diff --git a/stylelint.config.js b/stylelint.config.js index 73ce06542..26bc40c67 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -1,8 +1,10 @@ module.exports = { root: true, plugins: ['stylelint-order'], + customSyntax: 'postcss-less', extends: ['stylelint-config-standard', 'stylelint-config-prettier'], rules: { + 'selector-class-pattern': null, 'selector-pseudo-class-no-unknown': [ true, { From dbcc40f5ea05ed1d69c61ecb0e60020f6915d61d Mon Sep 17 00:00:00 2001 From: vben Date: Tue, 26 Oct 2021 01:00:49 +0800 Subject: [PATCH 05/15] chore: remove pretty --- .husky/pre-commit | 2 -- package.json | 2 -- yarn.lock | 48 +---------------------------------------------- 3 files changed, 1 insertion(+), 51 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index c7d15f247..35f92427c 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -6,5 +6,3 @@ # Format and submit code according to lintstagedrc.js configuration npm run lint:lint-staged - -npm run lint:pretty diff --git a/package.json b/package.json index 66556e0f1..8a9a283e5 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", - "lint:pretty": "pretty-quick --staged", "test:unit": "jest", "test:unit-coverage": "jest --coverage", "test:gzip": "http-server dist --cors --gzip -c-1", @@ -121,7 +120,6 @@ "postcss-html": "^1.1.0", "postcss-less": "^5.0.0", "prettier": "^2.4.1", - "pretty-quick": "^3.1.1", "rimraf": "^3.0.2", "rollup-plugin-visualizer": "^5.5.2", "stylelint": "^14.0.0", diff --git a/yarn.lock b/yarn.lock index 574046ad8..1f3e29cc2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1853,7 +1853,7 @@ resolved "https://registry.nlark.com/@types/lodash/download/@types/lodash-4.14.173.tgz#9d3b674c67a26cf673756f6aca7b429f237f91ed" integrity sha1-nTtnTGeibPZzdW9qyntCnyN/ke0= -"@types/minimatch@*", "@types/minimatch@^3.0.3": +"@types/minimatch@*": version "3.0.5" resolved "https://registry.nlark.com/@types/minimatch/download/@types/minimatch-3.0.5.tgz?cache=0&sync_timestamp=1629708301760&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fminimatch%2Fdownload%2F%40types%2Fminimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" integrity sha1-EAHMXmo3BLg8I2An538vWOoBD0A= @@ -2663,11 +2663,6 @@ arr-union@^3.1.0: resolved "https://registry.nlark.com/arr-union/download/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= -array-differ@^3.0.0: - version "3.0.0" - resolved "https://registry.nlark.com/array-differ/download/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" - integrity sha1-PLs9DzFoEOr8xHYkc0I31q7krms= - array-find-index@^1.0.1: version "1.0.2" resolved "https://registry.nlark.com/array-find-index/download/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" @@ -2698,11 +2693,6 @@ arrify@^1.0.1: resolved "https://registry.nlark.com/arrify/download/arrify-1.0.1.tgz?cache=0&sync_timestamp=1619599497996&other_urls=https%3A%2F%2Fregistry.nlark.com%2Farrify%2Fdownload%2Farrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.nlark.com/arrify/download/arrify-2.0.1.tgz?cache=0&sync_timestamp=1619599497996&other_urls=https%3A%2F%2Fregistry.nlark.com%2Farrify%2Fdownload%2Farrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha1-yWVekzHgq81YjSp8rX6ZVvZnAfo= - asap@~2.0.3: version "2.0.6" resolved "https://registry.nlark.com/asap/download/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -3263,14 +3253,6 @@ 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.nlark.com/chalk/download/chalk-3.0.0.tgz?cache=0&sync_timestamp=1627646697260&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" - integrity sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ= - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: version "4.1.2" resolved "https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646697260&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" @@ -8126,11 +8108,6 @@ mozjpeg@^7.0.0: bin-wrapper "^4.0.0" logalot "^2.1.0" -mri@^1.1.5: - version "1.2.0" - resolved "https://registry.nlark.com/mri/download/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" - integrity sha1-ZyFID+wqEaSImGERWki2y+fMjws= - ms@2.0.0: version "2.0.0" resolved "https://registry.nlark.com/ms/download/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -8146,17 +8123,6 @@ ms@^2.1.1: resolved "https://registry.nlark.com/ms/download/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha1-V0yBOM4dK1hh8LRFedut1gxmFbI= -multimatch@^4.0.0: - version "4.0.0" - resolved "https://registry.npm.taobao.org/multimatch/download/multimatch-4.0.0.tgz#8c3c0f6e3e8449ada0af3dd29efb491a375191b3" - integrity sha1-jDwPbj6ESa2grz3SnvtJGjdRkbM= - 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.nlark.com/mute-stream/download/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" @@ -9143,18 +9109,6 @@ pretty-format@^27.3.1: ansi-styles "^5.0.0" react-is "^17.0.1" -pretty-quick@^3.1.1: - version "3.1.1" - resolved "https://registry.nlark.com/pretty-quick/download/pretty-quick-3.1.1.tgz#93ca4e2dd38cc4e970e3f54a0ead317a25454688" - integrity sha1-k8pOLdOMxOlw4/VKDq0xeiVFRog= - 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" - print-js@^1.6.0: version "1.6.0" resolved "https://registry.npm.taobao.org/print-js/download/print-js-1.6.0.tgz#692b046cf31992b46afa6c6d8a9db1c69d431d1f" From b7813b9ba86e58a1cc270303d5cf2f1e4b814e14 Mon Sep 17 00:00:00 2001 From: vben Date: Tue, 26 Oct 2021 01:06:35 +0800 Subject: [PATCH 06/15] perf: typo --- .vscode/settings.json | 13 ----- package.json | 6 +- windi.config.ts | 2 +- yarn.lock | 133 ++---------------------------------------- 4 files changed, 9 insertions(+), 145 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e0ed52f3a..ad23d521a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,15 +6,8 @@ //=========================================== //============= Editor ====================== //=========================================== - "explorer.openEditors.visible": 0, "editor.tabSize": 2, "editor.defaultFormatter": "esbenp.prettier-vscode", - "diffEditor.ignoreTrimWhitespace": false, - //=========================================== - //============= Other ======================= - //=========================================== - "breadcrumbs.enabled": true, - "open-in-browser.default": "chrome", //=========================================== //============= files ======================= //=========================================== @@ -69,15 +62,9 @@ }, "stylelint.enable": true, "stylelint.packageManager": "yarn", - "liveServer.settings.donotShowInfoMsg": true, - "telemetry.enableCrashReporter": false, - "workbench.settings.enableNaturalLanguageSearch": false, "path-intellisense.mappings": { "/@/": "${workspaceRoot}/src" }, - "prettier.requireConfig": true, - "typescript.updateImportsOnFileMove.enabled": "always", - "workbench.sideBar.location": "left", "[javascriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, diff --git a/package.json b/package.json index 8a9a283e5..2efdc3764 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", "test:unit": "jest", "test:unit-coverage": "jest --coverage", - "test:gzip": "http-server dist --cors --gzip -c-1", - "test:br": "http-server dist --cors --brotli -c-1", + "test:gzip": "npx http-server dist --cors --gzip -c-1", + "test:br": "npx http-server dist --cors --brotli -c-1", "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", "prepare": "husky install", "gen:icon": "esno ./build/generate/icon/index.ts" @@ -108,10 +108,8 @@ "eslint-plugin-vue": "^7.20.0", "esno": "^0.10.1", "fs-extra": "^10.0.0", - "http-server": "^14.0.0", "husky": "^7.0.4", "inquirer": "^8.2.0", - "is-ci": "^3.0.0", "jest": "^27.3.1", "less": "^4.1.2", "lint-staged": "11.2.3", diff --git a/windi.config.ts b/windi.config.ts index 6d18915b4..ff1aba235 100644 --- a/windi.config.ts +++ b/windi.config.ts @@ -27,7 +27,7 @@ export default defineConfig({ * Used for animation when the element is displayed * @param maxOutput The larger the maxOutput output, the larger the generated css volume */ -function createEnterPlugin(maxOutput = 8) { +function createEnterPlugin(maxOutput = 7) { const createCss = (index: number, d = 'x') => { const upd = d.toUpperCase(); return { diff --git a/yarn.lock b/yarn.lock index 1f3e29cc2..48e4643c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2723,13 +2723,6 @@ async@0.9.x: resolved "https://registry.nlark.com/async/download/async-0.9.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fasync%2Fdownload%2Fasync-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d" integrity sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0= -async@^2.6.2: - version "2.6.3" - resolved "https://registry.nlark.com/async/download/async-2.6.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fasync%2Fdownload%2Fasync-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" - integrity sha1-1yYl4jRKNlbjo61Pp0n6gymdgv8= - dependencies: - lodash "^4.17.14" - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.nlark.com/asynckit/download/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2898,13 +2891,6 @@ base@^0.11.1: mixin-deep "^1.2.0" pascalcase "^0.1.1" -basic-auth@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a" - integrity sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg== - dependencies: - safe-buffer "5.1.2" - big.js@^5.2.2: version "5.2.2" resolved "https://registry.nlark.com/big.js/download/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" @@ -3486,11 +3472,6 @@ colorette@^1.2.2, colorette@^1.3.0, colorette@^1.4.0: resolved "https://registry.nlark.com/colorette/download/colorette-1.4.0.tgz?cache=0&sync_timestamp=1631886112969&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcolorette%2Fdownload%2Fcolorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40" integrity sha1-UZD7uHJ2JZqGrXAL/yxtb6o/ykA= -colors@^1.4.0: - version "1.4.0" - resolved "https://registry.nlark.com/colors/download/colors-1.4.0.tgz?cache=0&sync_timestamp=1622604546780&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcolors%2Fdownload%2Fcolors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha1-xQSRR51MG9rtLJztMs98fcI2D3g= - combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.nlark.com/combined-stream/download/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -3835,11 +3816,6 @@ cors@^2.8.5: object-assign "^4" vary "^1" -corser@^2.0.1: - version "2.0.1" - resolved "https://registry.nlark.com/corser/download/corser-2.0.1.tgz#8eda252ecaab5840dcd975ceb90d9370c819ff87" - integrity sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c= - cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: version "7.0.1" resolved "https://registry.nlark.com/cosmiconfig/download/cosmiconfig-7.0.1.tgz?cache=0&sync_timestamp=1629585969900&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcosmiconfig%2Fdownload%2Fcosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" @@ -4043,7 +4019,7 @@ debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2: dependencies: ms "2.1.2" -debug@^3.1.1, debug@^3.2.6: +debug@^3.2.6: version "3.2.7" resolved "https://registry.nlark.com/debug/download/debug-3.2.7.tgz?cache=0&sync_timestamp=1625374675284&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fdebug%2Fdownload%2Fdebug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha1-clgLfpFF+zm2Z2+cXl+xALk0F5o= @@ -5002,11 +4978,6 @@ etag@^1.8.1: resolved "https://registry.npm.taobao.org/etag/download/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= -eventemitter3@^4.0.0: - version "4.0.7" - resolved "https://registry.npm.taobao.org/eventemitter3/download/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha1-Lem2j2Uo1WRO9cWVJqG0oHMGFp8= - exec-buffer@^3.0.0: version "3.2.0" resolved "https://registry.npm.taobao.org/exec-buffer/download/exec-buffer-3.2.0.tgz#b1686dbd904c7cf982e652c1f5a79b1e5573082b" @@ -5448,7 +5419,7 @@ flatted@^3.1.0: resolved "https://registry.nlark.com/flatted/download/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561" integrity sha1-ZL/tXLaP48p4s+shStl7Y77c5WE= -follow-redirects@^1.0.0, follow-redirects@^1.14.0, follow-redirects@^1.14.4: +follow-redirects@^1.14.0, follow-redirects@^1.14.4: version "1.14.4" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.4.tgz#838fdf48a8bbdd79e52ee51fb1c94e3ed98b9379" integrity sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g== @@ -6019,13 +5990,6 @@ html-encoding-sniffer@^2.0.1: dependencies: whatwg-encoding "^1.0.5" -html-encoding-sniffer@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" - integrity sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA== - dependencies: - whatwg-encoding "^2.0.0" - html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.nlark.com/html-escaper/download/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" @@ -6085,34 +6049,6 @@ http-proxy-agent@^4.0.1: agent-base "6" debug "4" -http-proxy@^1.18.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -http-server@^14.0.0: - version "14.0.0" - resolved "https://registry.yarnpkg.com/http-server/-/http-server-14.0.0.tgz#bd214952a60b93ce8ca9bbe8ba181faf7f9821b0" - integrity sha512-XTePIXAo5x72bI8SlKFSqsg7UuSHwsOa4+RJIe56YeMUvfTvGDy7TxFkTEhfIRmM/Dnf6x29ut541ythSBZdkQ== - dependencies: - basic-auth "^2.0.1" - colors "^1.4.0" - corser "^2.0.1" - he "^1.2.0" - html-encoding-sniffer "^3.0.0" - http-proxy "^1.18.1" - mime "^1.6.0" - minimist "^1.2.5" - opener "^1.5.1" - portfinder "^1.0.28" - secure-compare "3.0.1" - union "~0.5.0" - url-join "^4.0.1" - https-proxy-agent@^5.0.0: version "5.0.0" resolved "https://registry.nlark.com/https-proxy-agent/download/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" @@ -6143,13 +6079,6 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - icss-replace-symbols@^1.1.0: version "1.1.0" resolved "https://registry.npm.taobao.org/icss-replace-symbols/download/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" @@ -7709,7 +7638,7 @@ lodash.truncate@^4.4.2: resolved "https://registry.npm.taobao.org/lodash.truncate/download/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM= -lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: +lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.nlark.com/lodash/download/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw= @@ -8016,7 +7945,7 @@ mime-types@^2.1.12: dependencies: mime-db "1.49.0" -mime@^1.4.1, mime@^1.6.0: +mime@^1.4.1: version "1.6.0" resolved "https://registry.npm.taobao.org/mime/download/mime-1.6.0.tgz?cache=0&sync_timestamp=1615984369368&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime%2Fdownload%2Fmime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE= @@ -8070,13 +7999,6 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@^0.5.5: - version "0.5.5" - resolved "https://registry.npm.taobao.org/mkdirp/download/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" - integrity sha1-2Rzv1i0UNsoPQWIOJRKI1CAJne8= - dependencies: - minimist "^1.2.5" - mockjs@^1.1.0: version "1.1.0" resolved "https://registry.npm.taobao.org/mockjs/download/mockjs-1.1.0.tgz#e6a0c378e91906dbaff20911cc0273b3c7d75b06" @@ -8419,11 +8341,6 @@ open@^7.4.2: is-docker "^2.0.0" is-wsl "^2.1.1" -opener@^1.5.1: - version "1.5.2" - resolved "https://registry.npm.taobao.org/opener/download/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" - integrity sha1-XTfh81B3udysQwE3InGv3rKhNZg= - optionator@^0.8.1: version "0.8.3" resolved "https://registry.nlark.com/optionator/download/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" @@ -8862,15 +8779,6 @@ pngquant-bin@^6.0.0: execa "^4.0.0" logalot "^2.0.0" -portfinder@^1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778" - integrity sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA== - dependencies: - async "^2.6.2" - debug "^3.1.1" - mkdirp "^0.5.5" - posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.nlark.com/posix-character-classes/download/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -9308,7 +9216,7 @@ qrcode@^1.4.4: pngjs "^3.3.0" yargs "^13.2.4" -qs@^6.10.1, qs@^6.4.0: +qs@^6.10.1: version "6.10.1" resolved "https://registry.npm.taobao.org/qs/download/qs-6.10.1.tgz?cache=0&sync_timestamp=1616385328325&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqs%2Fdownload%2Fqs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a" integrity sha1-STFIL6jWR6Wqt5nFJx0hM7mB+2o= @@ -9560,11 +9468,6 @@ require-main-filename@^2.0.0: resolved "https://registry.nlark.com/require-main-filename/download/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" integrity sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs= -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.nlark.com/requires-port/download/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= - resize-observer-polyfill@^1.5.1: version "1.5.1" resolved "https://registry.nlark.com/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" @@ -9745,7 +9648,7 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": +"safer-buffer@>= 2.1.2 < 3": version "2.1.2" resolved "https://registry.nlark.com/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo= @@ -9769,11 +9672,6 @@ scroll-into-view-if-needed@^2.2.25: dependencies: compute-scroll-into-view "^1.0.17" -secure-compare@3.0.1: - version "3.0.1" - resolved "https://registry.npm.taobao.org/secure-compare/download/secure-compare-3.0.1.tgz#f1a0329b308b221fae37b9974f3d578d0ca999e3" - integrity sha1-8aAymzCLIh+uN7mXTz1XjQypmeM= - seek-bzip@^1.0.5: version "1.0.6" resolved "https://registry.npm.taobao.org/seek-bzip/download/seek-bzip-1.0.6.tgz#35c4171f55a680916b52a07859ecf3b5857f21c4" @@ -11003,13 +10901,6 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^2.0.1" -union@~0.5.0: - version "0.5.0" - resolved "https://registry.nlark.com/union/download/union-0.5.0.tgz#b2c11be84f60538537b846edb9ba266ba0090075" - integrity sha1-ssEb6E9gU4U3uEbtuboma6AJAHU= - dependencies: - qs "^6.4.0" - unique-string@^2.0.0: version "2.0.0" resolved "https://registry.npm.taobao.org/unique-string/download/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d" @@ -11076,11 +10967,6 @@ urix@^0.1.0: resolved "https://registry.nlark.com/urix/download/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= -url-join@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/url-join/-/url-join-4.0.1.tgz#b642e21a2646808ffa178c4c5fda39844e12cde7" - integrity sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA== - url-parse-lax@^1.0.0: version "1.0.0" resolved "https://registry.nlark.com/url-parse-lax/download/url-parse-lax-1.0.0.tgz?cache=0&sync_timestamp=1628547550655&other_urls=https%3A%2F%2Fregistry.nlark.com%2Furl-parse-lax%2Fdownload%2Furl-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" @@ -11583,13 +11469,6 @@ whatwg-encoding@^1.0.5: dependencies: iconv-lite "0.4.24" -whatwg-encoding@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz#e7635f597fd87020858626805a2729fa7698ac53" - integrity sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg== - dependencies: - iconv-lite "0.6.3" - whatwg-mimetype@^2.3.0: version "2.3.0" resolved "https://registry.nlark.com/whatwg-mimetype/download/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" From ed40b333f39fea7e3acc67bfa2d88aad9fd0f363 Mon Sep 17 00:00:00 2001 From: vben Date: Tue, 26 Oct 2021 01:11:56 +0800 Subject: [PATCH 07/15] chore: Allow git message to be uppercase --- commitlint.config.js | 1 + prettier.config.js | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index ac977af17..54598876e 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -7,6 +7,7 @@ module.exports = { 'header-max-length': [2, 'always', 108], 'subject-empty': [2, 'never'], 'type-empty': [2, 'never'], + 'subject-case': [0], 'type-enum': [ 2, 'always', diff --git a/prettier.config.js b/prettier.config.js index b5958abb5..51f8d01be 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,17 +1,9 @@ module.exports = { printWidth: 100, - tabWidth: 2, - useTabs: false, semi: true, vueIndentScriptAndStyle: true, singleQuote: true, - quoteProps: 'as-needed', - bracketSpacing: true, trailingComma: 'all', - jsxSingleQuote: false, - arrowParens: 'always', - insertPragma: false, - requirePragma: false, proseWrap: 'never', htmlWhitespaceSensitivity: 'strict', endOfLine: 'auto', From a248e20013d83c4acf01b45816588cd9cf4b8fbd Mon Sep 17 00:00:00 2001 From: vben Date: Tue, 26 Oct 2021 01:19:51 +0800 Subject: [PATCH 08/15] chore: fix type --- src/components/CardList/src/CardList.vue | 6 ++--- .../Form/src/hooks/useFormEvents.ts | 2 +- .../src/components/editable/EditableCell.vue | 2 +- src/components/Tree/src/Tree.vue | 2 +- src/hooks/web/useCopyToClipboard.ts | 2 +- .../setting/components/SettingFooter.vue | 2 +- src/utils/file/download.ts | 27 +++++++++---------- src/utils/http/axios/Axios.ts | 2 ++ src/utils/http/axios/helper.ts | 2 +- 9 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/components/CardList/src/CardList.vue b/src/components/CardList/src/CardList.vue index 310bed89f..b4a207966 100644 --- a/src/components/CardList/src/CardList.vue +++ b/src/components/CardList/src/CardList.vue @@ -1,10 +1,10 @@