diff --git a/.gitignore b/.gitignore index e1e6686..c0348c7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,8 @@ node_modules src/auto-imports.d.ts src/components.d.ts .eslintcache +build/* +!build/.gitkeep **/test_data.ts **/TestPanel.vue diff --git a/.vscode/settings.json b/.vscode/settings.json index 4463aef..45d947c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,5 +7,6 @@ "*.css": "postcss" }, "prettier.tabWidth": 2, - "prettier.printWidth": 100 + "prettier.printWidth": 100, + "editor.tabSize": 2 } diff --git a/src/composables/useCloudCommit.ts b/build/.gitkeep similarity index 100% rename from src/composables/useCloudCommit.ts rename to build/.gitkeep diff --git a/package.json b/package.json index ddfa1b9..d49be92 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,9 @@ "pack": "cross-env NODE_ENV=production run-p pack:*", "pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./extension.zip", "pack:crx": "crx pack extension -o ./extension.crx", - "pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename extension.xpi --overwrite-dest", - "start:chromium": "web-ext run --source-dir ./extension --target=chromium", - "start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop", + "pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension-firefox --filename extension.xpi --overwrite-dest", + "start:chromium": "web-ext run --source-dir ./extension --target=chromium --chromium-binary 'C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe'", + "start:firefox": "web-ext run --source-dir ./extension-firefox --target=firefox-desktop", "clear": "rimraf --glob extension/dist extension/manifest.json extension.* ", "clear-firefox": "rimraf --glob extension-firefox/dist extension-firefox/manifest.json extension.*", "test": "vitest test", @@ -39,6 +39,7 @@ "@vitejs/plugin-vue-jsx": "^4.2.0", "@vue/test-utils": "^2.4.6", "@vueuse/core": "^12.3.0", + "alova": "^3.3.4", "chokidar": "^4.0.3", "cross-env": "^7.0.3", "crx": "^5.0.1", @@ -66,7 +67,7 @@ "vue": "^3.5.13", "vue-demi": "^0.14.10", "vue-router": "^4.5.1", - "web-ext": "^8.5.0", + "web-ext": "^8.8.0", "webext-bridge": "link:webext-bridge", "webextension-polyfill": "^0.12.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4b560ff..1915f79 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,6 +34,9 @@ importers: '@vueuse/core': specifier: ^12.3.0 version: 12.4.0(typescript@5.8.2) + alova: + specifier: ^3.3.4 + version: 3.3.4 chokidar: specifier: ^4.0.3 version: 4.0.3 @@ -116,8 +119,8 @@ importers: specifier: ^4.5.1 version: 4.5.1(vue@3.5.13(typescript@5.8.2)) web-ext: - specifier: ^8.5.0 - version: 8.5.0 + specifier: ^8.8.0 + version: 8.8.0 webext-bridge: specifier: link:webext-bridge version: link:webext-bridge @@ -126,6 +129,12 @@ importers: version: 0.12.0 packages: + '@alova/shared@1.3.1': + resolution: + { + integrity: sha512-ijSOaFLUFcVzMKSY3avoEE5C03/p9atjMDPBwvNkwnzaCrhv6/m4A121NdadF8YlHCRuifyYfz90IyEdMXTsJg==, + } + '@ampproject/remapping@2.3.0': resolution: { @@ -347,10 +356,10 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/runtime@7.26.10': + '@babel/runtime@7.27.6': resolution: { - integrity: sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==, + integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==, } engines: { node: '>=6.9.0' } @@ -1066,10 +1075,10 @@ packages: integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==, } - '@mdn/browser-compat-data@5.7.3': + '@mdn/browser-compat-data@6.0.23': resolution: { - integrity: sha512-ckygcngv0i7Qe0yOzzge/K7Gr5dnk2jNm/AYdqUd1ZTGa9pIEdDuVyWmL3bDU/NdJ8FtdSAjng98YfUuou9Csw==, + integrity: sha512-LdoI2lPd0bHn3IL4kJ2hxmh4kLE59GarffTR2oqllXc/LIWJNolznUk2lmzUxfColwM07Q3PbN38+ZqHdzmf3A==, } '@nodelib/fs.scandir@2.1.5': @@ -1599,10 +1608,18 @@ packages: engines: { node: '>=0.4.0' } hasBin: true - addons-linter@7.9.0: + acorn@8.15.0: resolution: { - integrity: sha512-ehoh43VG+DGOVxdT0XsO6camSMaHRCJf7shHX2qtKMRQo/29M1fGwZ+ssRTL0SucqLCvsmu3hmv13fEhC+79aA==, + integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==, + } + engines: { node: '>=0.4.0' } + hasBin: true + + addons-linter@7.15.0: + resolution: + { + integrity: sha512-Q8obxw1vrud4jcbLP4VWhJL5JS/JrC2ohZVh3NqJ98byPs71Hw+2Yq4Lqt+OpMov60uSS7BC1mdy3LloQ2KlYA==, } engines: { node: '>=18.0.0' } hasBin: true @@ -1613,14 +1630,14 @@ packages: integrity: sha512-/rXpQeaY0nOKhNx00pmZXdk5Mu+KhVlL3/pSBuAYwrxRrNiTvI/9xfQI8Lmm7DMMl+PDhtfAHY/0ibTpdeoQQQ==, } - addons-scanner-utils@9.12.0: + addons-scanner-utils@9.13.0: resolution: { - integrity: sha512-Nn+mOgJhdSZKkycXd5GYfSfoyT1lEGbCVoCBKriEFceuP0dJxVBuFwuRD8+PuXegQQBw7COTS5DwM4nj+bK8Mg==, + integrity: sha512-8OnHK/pbvgbCejGlnEYw+V3URSTVHLkMZmV270QtNh8N9pAgK10IaiJ9DcL0FsrufZ9HxRcR8/wkavh1FgK6Kg==, } peerDependencies: body-parser: 1.20.3 - express: 4.21.0 + express: 4.21.2 node-fetch: 2.6.11 safe-compare: 1.1.4 peerDependenciesMeta: @@ -1659,6 +1676,13 @@ packages: integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==, } + alova@3.3.4: + resolution: + { + integrity: sha512-UKKqXdvf8aQ4C7m3brO77YWe5CDz8N59PdAUz7M8gowKUUXTutbk0Vk5DRBrCe0hMUyyNMUhdCZ38llGxCViyQ==, + } + engines: { node: '>= 18.0.0' } + ansi-align@3.0.1: resolution: { @@ -1896,13 +1920,6 @@ packages: } engines: { node: '>=18' } - bplist-parser@0.2.0: - resolution: - { - integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==, - } - engines: { node: '>= 5.10.0' } - brace-expansion@1.1.11: resolution: { @@ -1974,12 +1991,12 @@ packages: } engines: { node: '>=0.2.0' } - bundle-name@3.0.0: + bundle-name@4.1.0: resolution: { - integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==, + integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==, } - engines: { node: '>=12' } + engines: { node: '>=18' } cac@6.7.14: resolution: @@ -2097,10 +2114,10 @@ packages: } engines: { node: '>= 14.16.0' } - chrome-launcher@1.1.2: + chrome-launcher@1.2.0: resolution: { - integrity: sha512-YclTJey34KUm5jB1aEJCq807bSievi7Nb/TU4Gu504fUYi3jw3KCIaH6L7nFWQhdEgH3V+wCh+kKD1P5cXnfxw==, + integrity: sha512-JbuGuBNss258bvGil7FT4HKdC3SC2K7UAEUqiPy3ACS3Yxo3hAW6bvFpCu2HsIJLgTqxgEX6BkujvzZfLpUD0Q==, } engines: { node: '>=12.13.0' } hasBin: true @@ -2540,19 +2557,19 @@ packages: } engines: { node: '>=0.10.0' } - default-browser-id@3.0.0: + default-browser-id@5.0.0: resolution: { - integrity: sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==, + integrity: sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==, } - engines: { node: '>=12' } + engines: { node: '>=18' } - default-browser@4.0.0: + default-browser@5.2.1: resolution: { - integrity: sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==, + integrity: sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==, } - engines: { node: '>=14.16' } + engines: { node: '>=18' } defaults@1.0.4: resolution: @@ -2845,10 +2862,10 @@ packages: } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } - eslint-visitor-keys@4.2.0: + eslint-visitor-keys@4.2.1: resolution: { - integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==, + integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==, } engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } @@ -2868,10 +2885,10 @@ packages: } hasBin: true - espree@10.3.0: + espree@10.4.0: resolution: { - integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==, + integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==, } engines: { node: ^18.18.0 || ^20.9.0 || >=21.1.0 } @@ -2963,20 +2980,6 @@ packages: } engines: { node: '>=8.3.0' } - execa@5.1.1: - resolution: - { - integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, - } - engines: { node: '>=10' } - - execa@7.2.0: - resolution: - { - integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==, - } - engines: { node: ^14.18.0 || ^16.14.0 || >=18.0.0 } - execa@8.0.1: resolution: { @@ -3229,13 +3232,6 @@ packages: } engines: { node: '>= 0.4' } - get-stream@6.0.1: - resolution: - { - integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, - } - engines: { node: '>=10' } - get-stream@8.0.1: resolution: { @@ -3479,20 +3475,6 @@ packages: } engines: { node: '>= 14' } - human-signals@2.1.0: - resolution: - { - integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, - } - engines: { node: '>=10.17.0' } - - human-signals@4.3.1: - resolution: - { - integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==, - } - engines: { node: '>=14.18.0' } - human-signals@5.0.0: resolution: { @@ -3528,10 +3510,10 @@ packages: } engines: { node: '>= 4' } - image-size@2.0.1: + image-size@2.0.2: resolution: { - integrity: sha512-NI6NK/2zchlZopsQrcVIS7jxA0/rtIy74B+/rx5s7rKQyFebmQjZVhzxXgRZJROk+WhhOq+S6sUaODxp0L5hfg==, + integrity: sha512-IRqXKlaXwgSMAMtpNzZa1ZAe8m+Sa1770Dhk8VkSsP9LS+iHD62Zd8FQKs8fbPiagBE7BzoFX23cxFnwshpV6w==, } engines: { node: '>=16.x' } hasBin: true @@ -3842,13 +3824,6 @@ packages: } engines: { node: '>= 0.4' } - is-stream@2.0.1: - resolution: - { - integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, - } - engines: { node: '>=8' } - is-stream@3.0.0: resolution: { @@ -3911,6 +3886,13 @@ packages: } engines: { node: '>=8' } + is-wsl@3.1.0: + resolution: + { + integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==, + } + engines: { node: '>=16' } + isarray@1.0.0: resolution: { @@ -4391,13 +4373,6 @@ packages: } engines: { node: '>= 0.6' } - mimic-fn@2.1.0: - resolution: - { - integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, - } - engines: { node: '>=6' } - mimic-fn@4.0.0: resolution: { @@ -4573,13 +4548,6 @@ packages: engines: { node: '>= 4' } hasBin: true - npm-run-path@4.0.1: - resolution: - { - integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, - } - engines: { node: '>=8' } - npm-run-path@5.3.0: resolution: { @@ -4633,13 +4601,6 @@ packages: integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, } - onetime@5.1.2: - resolution: - { - integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, - } - engines: { node: '>=6' } - onetime@6.0.0: resolution: { @@ -4654,12 +4615,12 @@ packages: } engines: { node: '>=18' } - open@9.1.0: + open@10.1.2: resolution: { - integrity: sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==, + integrity: sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw==, } - engines: { node: '>=14.16' } + engines: { node: '>=18' } optionator@0.9.4: resolution: @@ -4904,6 +4865,12 @@ packages: integrity: sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==, } + pino-abstract-transport@2.0.0: + resolution: + { + integrity: sha512-F63x5tizV6WCh4R6RHyi2Ml+M70DNRXt/+HANowMflpgGFMAym/VKm6G7ZOQRjqN7XbGxK1Lg9t6ZrtzOaivMw==, + } + pino-std-serializers@6.2.2: resolution: { @@ -4923,10 +4890,10 @@ packages: } hasBin: true - pino@9.4.0: + pino@9.7.0: resolution: { - integrity: sha512-nbkQb5+9YPhQRz/BeQmrWpEknAaqjpAqRK8NwJpmrX/JHu7JuZC5G1CeAwJDJfGes4h+YihC6in3Q2nGb+Y09w==, + integrity: sha512-vnMCM6xZTb1WDmLvtG2lE/2p+t9hDEIvTWJsu6FejkE62vB7gDhvzrpFR4Cw2to+9JNQxVnkAKVPA1KPB98vWg==, } hasBin: true @@ -4983,10 +4950,10 @@ packages: integrity: sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==, } - process-warning@4.0.1: + process-warning@5.0.0: resolution: { - integrity: sha512-3c2LzQ3rY9d0hc1emcsHhfT9Jwz0cChib/QN89oME2R451w5fy3f0afAhERFZAwrbDU43wk12d0ORBpDVME50Q==, + integrity: sha512-a39t9ApHNx2L4+HBnQKqxxHNs1r7KF+Intd8Q/g1bUh6q0WIp9voPXJ/x0j+ZL45KF1pJd9+q2jLIRMfvEshkA==, } process@0.11.10: @@ -5054,6 +5021,12 @@ packages: integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, } + rate-limiter-flexible@5.0.5: + resolution: + { + integrity: sha512-+/dSQfo+3FYwYygUs/V2BBdwGa9nFtakDwKt4l0bnvNB53TNT++QSFewwHX9qXrZJuMe9j+TUaU21lm5ARgqdQ==, + } + rc@1.2.8: resolution: { @@ -5122,12 +5095,6 @@ packages: } engines: { node: '>= 0.4' } - regenerator-runtime@0.14.1: - resolution: - { - integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==, - } - regexp.prototype.flags@1.5.4: resolution: { @@ -5248,12 +5215,12 @@ packages: integrity: sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==, } - run-applescript@5.0.0: + run-applescript@7.0.0: resolution: { - integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==, + integrity: sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==, } - engines: { node: '>=12' } + engines: { node: '>=18' } run-parallel@1.2.0: resolution: @@ -5563,6 +5530,14 @@ packages: engines: { node: '>=10' } hasBin: true + semver@7.7.2: + resolution: + { + integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==, + } + engines: { node: '>=10' } + hasBin: true + set-function-length@1.2.2: resolution: { @@ -5671,12 +5646,6 @@ packages: integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==, } - signal-exit@3.0.7: - resolution: - { - integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==, - } - signal-exit@4.1.0: resolution: { @@ -5895,13 +5864,6 @@ packages: } engines: { node: '>=12' } - strip-final-newline@2.0.0: - resolution: - { - integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, - } - engines: { node: '>=6' } - strip-final-newline@3.0.0: resolution: { @@ -5923,10 +5885,10 @@ packages: } engines: { node: '>=8' } - strip-json-comments@5.0.1: + strip-json-comments@5.0.2: resolution: { - integrity: sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==, + integrity: sha512-4X2FR3UwhNUE9G49aIsJW5hRRR3GXGTBTZRMfv568O60ojM8HcWjV/VxAxCDW3SUND33O6ZY66ZuRcdkj73q2g==, } engines: { node: '>=14.16' } @@ -6061,13 +6023,6 @@ packages: } engines: { node: '>=14.0.0' } - titleize@3.0.0: - resolution: - { - integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==, - } - engines: { node: '>=12' } - tldts-core@6.1.71: resolution: { @@ -6309,13 +6264,6 @@ packages: } engines: { node: '>=18.12.0' } - untildify@4.0.0: - resolution: - { - integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==, - } - engines: { node: '>=8' } - unzipper@0.10.14: resolution: { @@ -6528,10 +6476,10 @@ packages: } engines: { node: '>=18' } - watchpack@2.4.2: + watchpack@2.4.4: resolution: { - integrity: sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==, + integrity: sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==, } engines: { node: '>=10.13.0' } @@ -6541,10 +6489,10 @@ packages: integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==, } - web-ext@8.5.0: + web-ext@8.8.0: resolution: { - integrity: sha512-Cf7MLD4GDBLapBojGCywcDuScm7hi+M8n7JzqDYX1oNTrVvFirfWcu+A6RCqRyu1siMu3jY4ul/hAu9Chkf1Aw==, + integrity: sha512-8ecasYMN3zsGUq5ZT73cRrwffDffGC7jnaKKXnZFDSEArWqCf/GNc6/IkvKLDStUocB3CSW5hGffAUHKKi1VrA==, } engines: { node: '>=18.0.0', npm: '>=8.0.0' } hasBin: true @@ -6721,21 +6669,6 @@ packages: utf-8-validate: optional: true - ws@8.18.1: - resolution: - { - integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==, - } - engines: { node: '>=10.0.0' } - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - xdg-basedir@5.1.0: resolution: { @@ -6839,6 +6772,8 @@ packages: engines: { node: '>= 10' } snapshots: + '@alova/shared@1.3.1': {} + '@ampproject/remapping@2.3.0': dependencies: '@jridgewell/gen-mapping': 0.3.8 @@ -7015,9 +6950,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/runtime@7.26.10': - dependencies: - regenerator-runtime: 0.14.1 + '@babel/runtime@7.27.6': {} '@babel/template@7.27.2': dependencies: @@ -7360,7 +7293,7 @@ snapshots: '@juggle/resize-observer@3.4.0': {} - '@mdn/browser-compat-data@5.7.3': {} + '@mdn/browser-compat-data@6.0.23': {} '@nodelib/fs.scandir@2.1.5': dependencies: @@ -7665,15 +7598,21 @@ snapshots: dependencies: acorn: 8.14.1 + acorn-jsx@5.3.2(acorn@8.15.0): + dependencies: + acorn: 8.15.0 + acorn@8.14.1: {} - addons-linter@7.9.0: + acorn@8.15.0: {} + + addons-linter@7.15.0: dependencies: '@fluent/syntax': 0.19.0 '@fregante/relaxed-json': 2.0.0 - '@mdn/browser-compat-data': 5.7.3 + '@mdn/browser-compat-data': 6.0.23 addons-moz-compare: 1.3.0 - addons-scanner-utils: 9.12.0 + addons-scanner-utils: 9.13.0 ajv: 8.17.1 chalk: 4.1.2 cheerio: 1.0.0-rc.12 @@ -7682,14 +7621,14 @@ snapshots: deepmerge: 4.3.1 eslint: 8.57.1 eslint-plugin-no-unsanitized: 4.1.2(eslint@8.57.1) - eslint-visitor-keys: 4.2.0 - espree: 10.3.0 + eslint-visitor-keys: 4.2.1 + espree: 10.4.0 esprima: 4.0.1 fast-json-patch: 3.1.1 - image-size: 2.0.1 + image-size: 2.0.2 json-merge-patch: 1.0.2 pino: 8.20.0 - semver: 7.7.1 + semver: 7.7.2 source-map-support: 0.5.21 upath: 2.0.1 yargs: 17.7.2 @@ -7703,7 +7642,7 @@ snapshots: addons-moz-compare@1.3.0: {} - addons-scanner-utils@9.12.0: + addons-scanner-utils@9.13.0: dependencies: '@types/yauzl': 2.10.3 common-tags: 1.8.2 @@ -7730,6 +7669,11 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 + alova@3.3.4: + dependencies: + '@alova/shared': 1.3.1 + rate-limiter-flexible: 5.0.5 + ansi-align@3.0.1: dependencies: string-width: 4.2.3 @@ -7887,10 +7831,6 @@ snapshots: widest-line: 5.0.0 wrap-ansi: 9.0.0 - bplist-parser@0.2.0: - dependencies: - big-integer: 1.6.52 - brace-expansion@1.1.11: dependencies: balanced-match: 1.0.2 @@ -7931,9 +7871,9 @@ snapshots: buffers@0.1.1: {} - bundle-name@3.0.0: + bundle-name@4.1.0: dependencies: - run-applescript: 5.0.0 + run-applescript: 7.0.0 cac@6.7.14: {} @@ -8022,7 +7962,7 @@ snapshots: dependencies: readdirp: 4.0.2 - chrome-launcher@1.1.2: + chrome-launcher@1.2.0: dependencies: '@types/node': 22.10.5 escape-string-regexp: 4.0.0 @@ -8265,17 +8205,12 @@ snapshots: deepmerge@4.3.1: {} - default-browser-id@3.0.0: - dependencies: - bplist-parser: 0.2.0 - untildify: 4.0.0 + default-browser-id@5.0.0: {} - default-browser@4.0.0: + default-browser@5.2.1: dependencies: - bundle-name: 3.0.0 - default-browser-id: 3.0.0 - execa: 7.2.0 - titleize: 3.0.0 + bundle-name: 4.1.0 + default-browser-id: 5.0.0 defaults@1.0.4: dependencies: @@ -8521,7 +8456,7 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.2.0: {} + eslint-visitor-keys@4.2.1: {} eslint@8.57.1: dependencies: @@ -8570,11 +8505,11 @@ snapshots: dependencies: tsx: 4.19.2 - espree@10.3.0: + espree@10.4.0: dependencies: - acorn: 8.14.1 - acorn-jsx: 5.3.2(acorn@8.14.1) - eslint-visitor-keys: 4.2.0 + acorn: 8.15.0 + acorn-jsx: 5.3.2(acorn@8.15.0) + eslint-visitor-keys: 4.2.1 espree@9.6.1: dependencies: @@ -8622,30 +8557,6 @@ snapshots: unzipper: 0.10.14 uuid: 8.3.2 - execa@5.1.1: - dependencies: - cross-spawn: 7.0.6 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.7 - strip-final-newline: 2.0.0 - - execa@7.2.0: - dependencies: - cross-spawn: 7.0.6 - get-stream: 6.0.1 - human-signals: 4.3.1 - is-stream: 3.0.0 - merge-stream: 2.0.0 - npm-run-path: 5.3.0 - onetime: 6.0.0 - signal-exit: 3.0.7 - strip-final-newline: 3.0.0 - execa@8.0.1: dependencies: cross-spawn: 7.0.6 @@ -8803,8 +8714,6 @@ snapshots: dunder-proto: 1.0.1 es-object-atoms: 1.0.0 - get-stream@6.0.1: {} - get-stream@8.0.1: {} get-symbol-description@1.1.0: @@ -8947,10 +8856,6 @@ snapshots: transitivePeerDependencies: - supports-color - human-signals@2.1.0: {} - - human-signals@4.3.1: {} - human-signals@5.0.0: {} husky@9.1.7: {} @@ -8963,7 +8868,7 @@ snapshots: ignore@5.3.2: {} - image-size@2.0.1: {} + image-size@2.0.2: {} immediate@3.0.6: {} @@ -9116,8 +9021,6 @@ snapshots: dependencies: call-bound: 1.0.3 - is-stream@2.0.1: {} - is-stream@3.0.0: {} is-string@1.1.1: @@ -9152,6 +9055,10 @@ snapshots: dependencies: is-docker: 2.2.1 + is-wsl@3.1.0: + dependencies: + is-inside-container: 1.0.0 + isarray@1.0.0: {} isarray@2.0.5: {} @@ -9415,8 +9322,6 @@ snapshots: dependencies: mime-db: 1.52.0 - mimic-fn@2.1.0: {} - mimic-fn@4.0.0: {} mimic-function@5.0.1: {} @@ -9502,7 +9407,7 @@ snapshots: dependencies: growly: 1.3.0 is-wsl: 2.2.0 - semver: 7.6.3 + semver: 7.7.1 shellwords: 0.1.1 uuid: 8.3.2 which: 2.0.2 @@ -9538,10 +9443,6 @@ snapshots: shell-quote: 1.8.2 string.prototype.padend: 3.1.6 - npm-run-path@4.0.1: - dependencies: - path-key: 3.1.1 - npm-run-path@5.3.0: dependencies: path-key: 4.0.0 @@ -9571,10 +9472,6 @@ snapshots: dependencies: wrappy: 1.0.2 - onetime@5.1.2: - dependencies: - mimic-fn: 2.1.0 - onetime@6.0.0: dependencies: mimic-fn: 4.0.0 @@ -9583,12 +9480,12 @@ snapshots: dependencies: mimic-function: 5.0.1 - open@9.1.0: + open@10.1.2: dependencies: - default-browser: 4.0.0 + default-browser: 5.2.1 define-lazy-prop: 3.0.0 is-inside-container: 1.0.0 - is-wsl: 2.2.0 + is-wsl: 3.1.0 optionator@0.9.4: dependencies: @@ -9622,7 +9519,7 @@ snapshots: ky: 1.7.4 registry-auth-token: 5.0.3 registry-url: 6.0.1 - semver: 7.6.3 + semver: 7.7.1 package-manager-detector@0.2.11: dependencies: @@ -9648,7 +9545,7 @@ snapshots: parse-json@7.1.1: dependencies: - '@babel/code-frame': 7.26.2 + '@babel/code-frame': 7.27.1 error-ex: 1.3.2 json-parse-even-better-errors: 3.0.2 lines-and-columns: 2.0.4 @@ -9719,6 +9616,10 @@ snapshots: readable-stream: 4.7.0 split2: 4.2.0 + pino-abstract-transport@2.0.0: + dependencies: + split2: 4.2.0 + pino-std-serializers@6.2.2: {} pino-std-serializers@7.0.0: {} @@ -9737,14 +9638,14 @@ snapshots: sonic-boom: 3.8.1 thread-stream: 2.7.0 - pino@9.4.0: + pino@9.7.0: dependencies: atomic-sleep: 1.0.0 fast-redact: 3.5.0 on-exit-leak-free: 2.1.2 - pino-abstract-transport: 1.2.0 + pino-abstract-transport: 2.0.0 pino-std-serializers: 7.0.0 - process-warning: 4.0.1 + process-warning: 5.0.0 quick-format-unescaped: 4.0.4 real-require: 0.2.0 safe-stable-stringify: 2.5.0 @@ -9779,7 +9680,7 @@ snapshots: process-warning@3.0.0: {} - process-warning@4.0.1: {} + process-warning@5.0.0: {} process@0.11.10: {} @@ -9805,6 +9706,8 @@ snapshots: quick-format-unescaped@4.0.4: {} + rate-limiter-flexible@5.0.5: {} + rc@1.2.8: dependencies: deep-extend: 0.6.0 @@ -9865,8 +9768,6 @@ snapshots: get-proto: 1.0.1 which-builtin-type: 1.2.1 - regenerator-runtime@0.14.1: {} - regexp.prototype.flags@1.5.4: dependencies: call-bind: 1.0.8 @@ -9952,9 +9853,7 @@ snapshots: rrweb-cssom@0.8.0: {} - run-applescript@5.0.0: - dependencies: - execa: 5.1.1 + run-applescript@7.0.0: {} run-parallel@1.2.0: dependencies: @@ -10105,6 +10004,8 @@ snapshots: semver@7.7.1: {} + semver@7.7.2: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 @@ -10177,8 +10078,6 @@ snapshots: siginfo@2.0.0: {} - signal-exit@3.0.7: {} - signal-exit@4.1.0: {} slice-ansi@5.0.0: @@ -10316,15 +10215,13 @@ snapshots: strip-bom@5.0.0: {} - strip-final-newline@2.0.0: {} - strip-final-newline@3.0.0: {} strip-json-comments@2.0.1: {} strip-json-comments@3.1.1: {} - strip-json-comments@5.0.1: {} + strip-json-comments@5.0.2: {} strip-literal@3.0.0: dependencies: @@ -10389,8 +10286,6 @@ snapshots: tinyspy@3.0.2: {} - titleize@3.0.0: {} - tldts-core@6.1.71: {} tldts@6.1.71: @@ -10550,8 +10445,6 @@ snapshots: acorn: 8.14.1 webpack-virtual-modules: 0.6.2 - untildify@4.0.0: {} - unzipper@0.10.14: dependencies: big-integer: 1.6.52 @@ -10583,7 +10476,7 @@ snapshots: is-npm: 6.0.0 latest-version: 9.0.0 pupa: 3.1.0 - semver: 7.6.3 + semver: 7.7.1 xdg-basedir: 5.1.0 uri-js@4.4.1: @@ -10719,7 +10612,7 @@ snapshots: dependencies: xml-name-validator: 5.0.0 - watchpack@2.4.2: + watchpack@2.4.4: dependencies: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 @@ -10728,13 +10621,13 @@ snapshots: dependencies: defaults: 1.0.4 - web-ext@8.5.0: + web-ext@8.8.0: dependencies: - '@babel/runtime': 7.26.10 + '@babel/runtime': 7.27.6 '@devicefarmer/adbkit': 3.3.8 - addons-linter: 7.9.0 + addons-linter: 7.15.0 camelcase: 8.0.0 - chrome-launcher: 1.1.2 + chrome-launcher: 1.2.0 debounce: 1.2.1 decamelize: 6.0.0 es6-error: 4.1.1 @@ -10745,27 +10638,24 @@ snapshots: jszip: 3.10.1 multimatch: 6.0.0 node-notifier: 10.0.1 - open: 9.1.0 + open: 10.1.2 parse-json: 7.1.1 - pino: 9.4.0 + pino: 9.7.0 promise-toolbox: 0.21.0 source-map-support: 0.5.21 strip-bom: 5.0.0 - strip-json-comments: 5.0.1 + strip-json-comments: 5.0.2 tmp: 0.2.3 update-notifier: 7.3.1 - watchpack: 2.4.2 - ws: 8.18.1 + watchpack: 2.4.4 yargs: 17.7.2 zip-dir: 2.0.0 transitivePeerDependencies: - body-parser - - bufferutil - express - node-fetch - safe-compare - supports-color - - utf-8-validate webextension-polyfill@0.12.0: {} @@ -10876,8 +10766,6 @@ snapshots: ws@8.18.0: {} - ws@8.18.1: {} - xdg-basedir@5.1.0: {} xml-name-validator@5.0.0: {} diff --git a/src/components/ExportPanel.vue b/src/components/ExportPanel.vue index 7480079..dbdc125 100644 --- a/src/components/ExportPanel.vue +++ b/src/components/ExportPanel.vue @@ -3,12 +3,12 @@ import { useExcelHelper } from '~/composables/useExcelHelper'; const excelHelper = useExcelHelper(); -const emit = defineEmits<{ ['export']: [opt: 'local' | 'cloud'] }>(); +const emit = defineEmits<{ exportFile: [opt: 'local' | 'cloud'] }>();