diff --git a/package.json b/package.json index 6eb5975..e5c1786 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "mitt": "^3.0.1", "pinia": "^2.1.3", "pinia-plugin-persistedstate": "^3.1.0", - "quarkd": "^1.0.68", + "quarkd": "^1.0.70", "universal-cookie": "^4.0.4", "vant": "^4.6.1", "vue": "^3.3.1", @@ -55,7 +55,7 @@ "lint-staged": "13.2.3", "mockjs": "^1.1.0", "npm-run-all": "^4.1.5", - "postcss": "^8.4.24", + "postcss": "^8.4.25", "postcss-html": "1.5.0", "postcss-less": "^6.0.0", "prettier": "^3.0.0", @@ -82,7 +82,7 @@ "vite-plugin-restart": "^0.3.1", "vite-plugin-svg-icons": "^2.0.1", "vite-plugin-vue-setup-extend-plus": "^0.1.0", - "vitest": "^0.32.4", + "vitest": "^0.33.0", "vue-eslint-parser": "^9.3.1", "vue-tsc": "^1.8.4" }, diff --git a/src/utils/request/index.ts b/src/utils/request/index.ts index eb5e240..e0a37d1 100644 --- a/src/utils/request/index.ts +++ b/src/utils/request/index.ts @@ -3,7 +3,7 @@ import { showToast } from 'vant'; const service: AxiosInstance = axios.create({ withCredentials: false, - timeout: 5000, + timeout: 10000, }); service.interceptors.request.use( diff --git a/yarn.lock b/yarn.lock index 1f95680..3f7eb0f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1257,6 +1257,13 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== +"@babel/runtime@^7.22.5": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.6.tgz#57d64b9ae3cff1d67eb067ae117dac087f5bd438" + integrity sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ== + dependencies: + regenerator-runtime "^0.13.11" + "@babel/runtime@^7.8.4": version "7.20.13" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b" @@ -2218,44 +2225,44 @@ resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-4.2.3.tgz#ee0b6dfcc62fe65364e6395bf38fa2ba10bb44b6" integrity sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw== -"@vitest/expect@0.32.4": - version "0.32.4" - resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-0.32.4.tgz#4aa4eec78112cdbe299834b965420d4fb3afa91d" - integrity sha512-m7EPUqmGIwIeoU763N+ivkFjTzbaBn0n9evsTOcde03ugy2avPs3kZbYmw3DkcH1j5mxhMhdamJkLQ6dM1bk/A== +"@vitest/expect@0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-0.33.0.tgz#f48652591f3573ad6c2db828ad358d5c078845d3" + integrity sha512-sVNf+Gla3mhTCxNJx+wJLDPp/WcstOe0Ksqz4Vec51MmgMth/ia0MGFEkIZmVGeTL5HtjYR4Wl/ZxBxBXZJTzQ== dependencies: - "@vitest/spy" "0.32.4" - "@vitest/utils" "0.32.4" + "@vitest/spy" "0.33.0" + "@vitest/utils" "0.33.0" chai "^4.3.7" -"@vitest/runner@0.32.4": - version "0.32.4" - resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-0.32.4.tgz#2872c697994745f1b70e2bd6568236ad2d9eade6" - integrity sha512-cHOVCkiRazobgdKLnczmz2oaKK9GJOw6ZyRcaPdssO1ej+wzHVIkWiCiNacb3TTYPdzMddYkCgMjZ4r8C0JFCw== +"@vitest/runner@0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-0.33.0.tgz#0b1a4d04ff8bc5cdad73920eac019d99550edf9d" + integrity sha512-UPfACnmCB6HKRHTlcgCoBh6ppl6fDn+J/xR8dTufWiKt/74Y9bHci5CKB8tESSV82zKYtkBJo9whU3mNvfaisg== dependencies: - "@vitest/utils" "0.32.4" + "@vitest/utils" "0.33.0" p-limit "^4.0.0" pathe "^1.1.1" -"@vitest/snapshot@0.32.4": - version "0.32.4" - resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-0.32.4.tgz#75166b1c772d018278a7f0e79f43f3eae813f5ae" - integrity sha512-IRpyqn9t14uqsFlVI2d7DFMImGMs1Q9218of40bdQQgMePwVdmix33yMNnebXcTzDU5eiV3eUsoxxH5v0x/IQA== +"@vitest/snapshot@0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-0.33.0.tgz#4400a90c48907808122b573053a2112a832b3698" + integrity sha512-tJjrl//qAHbyHajpFvr8Wsk8DIOODEebTu7pgBrP07iOepR5jYkLFiqLq2Ltxv+r0uptUb4izv1J8XBOwKkVYA== dependencies: - magic-string "^0.30.0" + magic-string "^0.30.1" pathe "^1.1.1" pretty-format "^29.5.0" -"@vitest/spy@0.32.4": - version "0.32.4" - resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-0.32.4.tgz#c3212bc60c1430c3b5c39d6a384a75458b8f1e80" - integrity sha512-oA7rCOqVOOpE6rEoXuCOADX7Lla1LIa4hljI2MSccbpec54q+oifhziZIJXxlE/CvI2E+ElhBHzVu0VEvJGQKQ== +"@vitest/spy@0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-0.33.0.tgz#366074d3cf9cf1ed8aeaa76e50e78c799fb242eb" + integrity sha512-Kv+yZ4hnH1WdiAkPUQTpRxW8kGtH8VRTnus7ZTGovFYM1ZezJpvGtb9nPIjPnptHbsyIAxYZsEpVPYgtpjGnrg== dependencies: tinyspy "^2.1.1" -"@vitest/utils@0.32.4": - version "0.32.4" - resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-0.32.4.tgz#36283e3aa3f3b1a378e19493c7b3b9107dc4ea71" - integrity sha512-Gwnl8dhd1uJ+HXrYyV0eRqfmk9ek1ASE/LWfTCuWMw+d07ogHqp4hEAV28NiecimK6UY9DpSEPh+pXBA5gtTBg== +"@vitest/utils@0.33.0": + version "0.33.0" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-0.33.0.tgz#6b9820cb8f128d649da6f78ecaa9b73d6222b277" + integrity sha512-pF1w22ic965sv+EN6uoePkAOTkAPWM03Ri/jXNyMIKBb/XHLDPfhLvf/Fa9g0YECevAIz56oVYXhodLvLQ/awA== dependencies: diff-sequences "^29.4.3" loupe "^2.3.6" @@ -2694,6 +2701,11 @@ astral-regex@^2.0.0: resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== +async-validator@^4.2.5: + version "4.2.5" + resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339" + integrity sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -7327,6 +7339,15 @@ postcss@^8.4.24: picocolors "^1.0.0" source-map-js "^1.0.2" +postcss@^8.4.25: + version "8.4.26" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.26.tgz#1bc62ab19f8e1e5463d98cf74af39702a00a9e94" + integrity sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw== + dependencies: + nanoid "^3.3.6" + picocolors "^1.0.0" + source-map-js "^1.0.2" + posthtml-parser@^0.2.0, posthtml-parser@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/posthtml-parser/-/posthtml-parser-0.2.1.tgz#35d530de386740c2ba24ff2eb2faf39ccdf271dd" @@ -7449,23 +7470,26 @@ punycode@^2.1.1, punycode@^2.3.0: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== -quarkc@^1.0.17: - version "1.0.32" - resolved "https://registry.yarnpkg.com/quarkc/-/quarkc-1.0.32.tgz#c4b8c2a18e831b313801e8ddc98aba6e06c879fc" - integrity sha512-GvVCFR5U/kKIOu643y6Y0sY+oUfOxjil+jztIDWrn/xnOflFDq6ZhcvSAg1lpSEPxY6p7vBplu/s64aaJJLnRA== +quarkc@^1.0.5: + version "1.0.38" + resolved "https://registry.yarnpkg.com/quarkc/-/quarkc-1.0.38.tgz#9fbb9357608102fb12a8395cb541056389147d79" + integrity sha512-6jfzXOqWZQ/2WR0g+BFjQZMIq0PbptlJBDnkIg3DXk7ob7uCL2RTCvUAZ6izch4MF5gvuJMMfIF34kRHCFHdig== + dependencies: + "@babel/runtime" "^7.22.5" -quarkd@^1.0.68: - version "1.0.68" - resolved "https://registry.yarnpkg.com/quarkd/-/quarkd-1.0.68.tgz#10523443a76a15fb925370948d219c961c4cfdbe" - integrity sha512-fT5oGPw+9ZVzlhr8zRlMQe3T6xt7hrD1CIo9g91Gg+B+f4DXwLSvUth9E8muGnhCPt9k/47RYr6un9h6YDi9Zg== +quarkd@^1.0.70: + version "1.1.0" + resolved "https://registry.yarnpkg.com/quarkd/-/quarkd-1.1.0.tgz#fb4d6692a4f8b3205dc1d051275685612c8a7426" + integrity sha512-GPCs431OMfFJbvrFXI/NF9mSkcTXjE2HuEldevOYDIddYA+bzYT/xju0/K/LpbU73ComOHkKuHm/LEVSrYiLOg== dependencies: "@better-scroll/core" "^2.4.2" "@better-scroll/slide" "^2.4.2" "@better-scroll/wheel" "^2.4.2" "@quarkd/icons" "^1.0.4" + async-validator "^4.2.5" body-scroll-lock "3.1.5" lodash.assign "^4.2.0" - quarkc "^1.0.17" + quarkc "^1.0.5" query-string@^4.3.2: version "4.3.4" @@ -8673,10 +8697,10 @@ tinybench@^2.5.0: resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.5.0.tgz#4711c99bbf6f3e986f67eb722fed9cddb3a68ba5" integrity sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA== -tinypool@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-0.5.0.tgz#3861c3069bf71e4f1f5aa2d2e6b3aaacc278961e" - integrity sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ== +tinypool@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-0.6.0.tgz#c3640b851940abe2168497bb6e43b49fafb3ba7b" + integrity sha512-FdswUUo5SxRizcBc6b1GSuLpLjisa8N8qMyYoP3rl+bym+QauhtJP5bvZY1ytt8krKGmMLYIRl36HBZfeAoqhQ== tinyspy@^2.1.1: version "2.1.1" @@ -9100,10 +9124,10 @@ vary@^1: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -vite-node@0.32.4: - version "0.32.4" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.32.4.tgz#7b3f94af5a87c631fbc380ba662914bafbd04d80" - integrity sha512-L2gIw+dCxO0LK14QnUMoqSYpa9XRGnTTTDjW2h19Mr+GR0EFj4vx52W41gFXfMLqpA00eK4ZjOVYo1Xk//LFEw== +vite-node@0.33.0: + version "0.33.0" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.33.0.tgz#c6a3a527e0b8090da7436241bc875760ae0eef28" + integrity sha512-19FpHYbwWWxDr73ruNahC+vtEdza52kA90Qb3La98yZ0xULqV8A5JLNPUff0f5zID4984tW7l3DH2przTJUZSw== dependencies: cac "^6.7.14" debug "^4.3.4" @@ -9242,34 +9266,34 @@ vite@^4.4.0: optionalDependencies: fsevents "~2.3.2" -vitest@^0.32.4: - version "0.32.4" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.32.4.tgz#a0558ae44c2ccdc254eece0365f16c4ffc5231bb" - integrity sha512-3czFm8RnrsWwIzVDu/Ca48Y/M+qh3vOnF16czJm98Q/AN1y3B6PBsyV8Re91Ty5s7txKNjEhpgtGPcfdbh2MZg== +vitest@^0.33.0: + version "0.33.0" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.33.0.tgz#e2be6153aec1d30e3460ac6d64265bf72da2551c" + integrity sha512-1CxaugJ50xskkQ0e969R/hW47za4YXDUfWJDxip1hwbnhUjYolpfUn2AMOulqG/Dtd9WYAtkHmM/m3yKVrEejQ== dependencies: "@types/chai" "^4.3.5" "@types/chai-subset" "^1.3.3" "@types/node" "*" - "@vitest/expect" "0.32.4" - "@vitest/runner" "0.32.4" - "@vitest/snapshot" "0.32.4" - "@vitest/spy" "0.32.4" - "@vitest/utils" "0.32.4" + "@vitest/expect" "0.33.0" + "@vitest/runner" "0.33.0" + "@vitest/snapshot" "0.33.0" + "@vitest/spy" "0.33.0" + "@vitest/utils" "0.33.0" acorn "^8.9.0" acorn-walk "^8.2.0" cac "^6.7.14" chai "^4.3.7" debug "^4.3.4" local-pkg "^0.4.3" - magic-string "^0.30.0" + magic-string "^0.30.1" pathe "^1.1.1" picocolors "^1.0.0" std-env "^3.3.3" strip-literal "^1.0.1" tinybench "^2.5.0" - tinypool "^0.5.0" + tinypool "^0.6.0" vite "^3.0.0 || ^4.0.0" - vite-node "0.32.4" + vite-node "0.33.0" why-is-node-running "^2.2.2" vue-component-type-helpers@1.6.5: