From c75bb79786d064890014c0abd95ebd563f279de9 Mon Sep 17 00:00:00 2001 From: Martin DONADIEU Date: Mon, 27 Mar 2023 18:17:23 +0800 Subject: [PATCH] feat: i18n locales lazy loading (#482) Co-authored-by: Anthony Fu --- package.json | 4 +- pnpm-lock.yaml | 873 +++++++++++++++-------------------- src/components/TheFooter.vue | 10 +- src/modules/i18n.ts | 53 ++- 4 files changed, 429 insertions(+), 511 deletions(-) diff --git a/package.json b/package.json index b54ec89..202e77a 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "test:unit": "vitest", "typecheck": "vue-tsc --noEmit", "up": "taze major -I", - "postinstall": "npx simple-git-hooks" + "postinstall": "npx simple-git-hooks", + "sizecheck": "npx vite-bundle-visualizer" }, "dependencies": { "@unocss/reset": "^0.50.6", @@ -55,6 +56,7 @@ "unplugin-vue-components": "^0.24.1", "unplugin-vue-macros": "^1.10.1", "vite": "^4.2.0", + "vite-bundle-visualizer": "^0.6.0", "vite-plugin-inspect": "^0.7.17", "vite-plugin-pages": "^0.29.0", "vite-plugin-pwa": "^0.14.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7a83f7..af44932 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,6 +34,7 @@ specifiers: unplugin-vue-components: ^0.24.1 unplugin-vue-macros: ^1.10.1 vite: ^4.2.0 + vite-bundle-visualizer: ^0.6.0 vite-plugin-inspect: ^0.7.17 vite-plugin-pages: ^0.29.0 vite-plugin-pwa: ^0.14.4 @@ -68,40 +69,41 @@ devDependencies: '@intlify/unplugin-vue-i18n': 0.9.2_vue-i18n@9.2.2 '@types/markdown-it-link-attributes': 3.0.1 '@types/nprogress': 0.2.0 - '@vitejs/plugin-vue': 4.1.0_vite@4.2.1+vue@3.2.47 + '@vitejs/plugin-vue': 4.1.0_vite@4.2.0+vue@3.2.47 '@vue-macros/volar': 0.9.0_vue-tsc@1.2.0+vue@3.2.47 - '@vue/test-utils': 2.3.2_vue@3.2.47 + '@vue/test-utils': 2.3.1_vue@3.2.47 critters: 0.0.16 cross-env: 7.0.3 cypress: 12.8.1 - cypress-vite: 1.3.1_vite@4.2.1 + cypress-vite: 1.3.1_vite@4.2.0 eslint: 8.36.0 eslint-plugin-cypress: 2.12.1_eslint@8.36.0 https-localhost: 4.7.1 lint-staged: 13.2.0 markdown-it-link-attributes: 4.0.1 markdown-it-shiki: 0.8.0 - pnpm: 7.30.3 + pnpm: 7.30.0 shiki: 0.14.1 simple-git-hooks: 2.8.1 taze: 0.9.1 typescript: 4.9.5 - unocss: 0.50.6_vite@4.2.1 + unocss: 0.50.6_vite@4.2.0 unplugin-auto-import: 0.15.1_@vueuse+core@9.13.0 unplugin-vue-components: 0.24.1_vue@3.2.47 - unplugin-vue-macros: 1.10.1_aeurc5btel4k37vmechrre3xm4 - vite: 4.2.1 - vite-plugin-inspect: 0.7.18_vite@4.2.1 - vite-plugin-pages: 0.29.0_vite@4.2.1 - vite-plugin-pwa: 0.14.4_vite@4.2.1 - vite-plugin-vue-component-preview: 1.1.5_vite@4.2.1+vue@3.2.47 - vite-plugin-vue-inspector: 3.4.0_vite@4.2.1 - vite-plugin-vue-layouts: 0.8.0_asesa6ksds7mbxqm7d5qamvm34 - vite-plugin-vue-markdown: 0.22.4_vite@4.2.1 - vite-plugin-webfont-dl: 3.6.4_vite@4.2.1 - vite-ssg: 0.22.1_5yp5ffmexyoplwevzih2hx4gpy + unplugin-vue-macros: 1.10.1_2czchvey3hiidu3aznpuei4mem + vite: 4.2.0 + vite-bundle-visualizer: 0.6.0 + vite-plugin-inspect: 0.7.17_vite@4.2.0 + vite-plugin-pages: 0.29.0_vite@4.2.0 + vite-plugin-pwa: 0.14.4_vite@4.2.0 + vite-plugin-vue-component-preview: 1.1.5_vite@4.2.0+vue@3.2.47 + vite-plugin-vue-inspector: 3.4.0_vite@4.2.0 + vite-plugin-vue-layouts: 0.8.0_m3uvdxdk7hj6rhgyd3bnmiarxm + vite-plugin-vue-markdown: 0.22.4_vite@4.2.0 + vite-plugin-webfont-dl: 3.6.4_vite@4.2.0 + vite-ssg: 0.22.1_sko5ykgkgm7crz47mqa6e35k6y vite-ssg-sitemap: 0.4.3 - vitest: 0.29.7 + vitest: 0.29.3 vue-tsc: 1.2.0_typescript@4.9.5 packages: @@ -111,10 +113,10 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.1.1 - '@jridgewell/trace-mapping': 0.3.14 + '@jridgewell/trace-mapping': 0.3.17 dev: true - /@antfu/eslint-config-basic/0.37.0_cpj4tv3hntrcia52vnrrg3eslq: + /@antfu/eslint-config-basic/0.37.0_haq6ulc3vui3hbw2ow7npojefi: resolution: {integrity: sha512-iBj6qjAOQr+WMhK38lfR2/xdIY81qUk4i6tHhwmcxXi4GEf2HF6I4Cgeu9SyIlTxOw8AP1CVqdUNzUbmYSaMZg==} peerDependencies: eslint: '>=7.4.0' @@ -123,14 +125,14 @@ packages: eslint-plugin-antfu: 0.37.0_vgl77cfdswitgr47lm5swmv43m eslint-plugin-eslint-comments: 3.2.0_eslint@8.36.0 eslint-plugin-html: 7.1.0 - eslint-plugin-import: 2.27.5_cnkxirszkzb4o6ts7gbclno24e + eslint-plugin-import: 2.27.5_a7er6olmtneep4uytpot6gt7wu eslint-plugin-jsonc: 2.7.0_eslint@8.36.0 eslint-plugin-markdown: 3.0.0_eslint@8.36.0 eslint-plugin-n: 15.6.1_eslint@8.36.0 eslint-plugin-no-only-tests: 3.1.0 eslint-plugin-promise: 6.1.1_eslint@8.36.0 eslint-plugin-unicorn: 46.0.0_eslint@8.36.0 - eslint-plugin-unused-imports: 2.0.0_pjgbsoxltfjhart6hcjsvw66hu + eslint-plugin-unused-imports: 2.0.0_dchlkxfdm6cbfc25bfo3oeha6e eslint-plugin-yml: 1.5.0_eslint@8.36.0 jsonc-eslint-parser: 2.2.0 yaml-eslint-parser: 1.2.0 @@ -149,11 +151,11 @@ packages: eslint: '>=7.4.0' typescript: '>=3.9' dependencies: - '@antfu/eslint-config-basic': 0.37.0_cpj4tv3hntrcia52vnrrg3eslq - '@typescript-eslint/eslint-plugin': 5.56.0_iskin7c6dxqunwflhstekcjqmq - '@typescript-eslint/parser': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@antfu/eslint-config-basic': 0.37.0_haq6ulc3vui3hbw2ow7npojefi + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 - eslint-plugin-jest: 27.2.1_t2az3euonckxht7o3xjedcge5q + eslint-plugin-jest: 27.2.1_77hzc3m4z2zccvz4y3m32ao6om typescript: 4.9.5 transitivePeerDependencies: - eslint-import-resolver-typescript @@ -162,15 +164,15 @@ packages: - supports-color dev: true - /@antfu/eslint-config-vue/0.37.0_cpj4tv3hntrcia52vnrrg3eslq: + /@antfu/eslint-config-vue/0.37.0_haq6ulc3vui3hbw2ow7npojefi: resolution: {integrity: sha512-d7n4+7f6YMizE1HDEOtIBJGruFuIeqrNF+ZjHM8o6+isMrJkvdjVx6nHtHVtoWNYW6jiRJ5AW+nkfo2aoNGUyA==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-basic': 0.37.0_cpj4tv3hntrcia52vnrrg3eslq + '@antfu/eslint-config-basic': 0.37.0_haq6ulc3vui3hbw2ow7npojefi '@antfu/eslint-config-ts': 0.37.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 - eslint-plugin-vue: 9.10.0_eslint@8.36.0 + eslint-plugin-vue: 9.9.0_eslint@8.36.0 local-pkg: 0.4.3 transitivePeerDependencies: - '@typescript-eslint/eslint-plugin' @@ -187,18 +189,18 @@ packages: peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-vue': 0.37.0_cpj4tv3hntrcia52vnrrg3eslq - '@typescript-eslint/eslint-plugin': 5.56.0_iskin7c6dxqunwflhstekcjqmq - '@typescript-eslint/parser': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@antfu/eslint-config-vue': 0.37.0_haq6ulc3vui3hbw2ow7npojefi + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.36.0 eslint-plugin-html: 7.1.0 - eslint-plugin-import: 2.27.5_cnkxirszkzb4o6ts7gbclno24e + eslint-plugin-import: 2.27.5_a7er6olmtneep4uytpot6gt7wu eslint-plugin-jsonc: 2.7.0_eslint@8.36.0 eslint-plugin-n: 15.6.1_eslint@8.36.0 eslint-plugin-promise: 6.1.1_eslint@8.36.0 eslint-plugin-unicorn: 46.0.0_eslint@8.36.0 - eslint-plugin-vue: 9.10.0_eslint@8.36.0 + eslint-plugin-vue: 9.9.0_eslint@8.36.0 eslint-plugin-yml: 1.5.0_eslint@8.36.0 jsonc-eslint-parser: 2.2.0 yaml-eslint-parser: 1.2.0 @@ -526,13 +528,6 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser/7.20.7: - resolution: {integrity: sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.21.3 - /@babel/parser/7.21.3: resolution: {integrity: sha512-lobG0d7aOfQRXh8AyklEAgZGvA4FShxo6xQbUrrT/cNBPUdIDojlokwJsQyCC/eKia7ifqM0yP+2DRZ4WKw2RQ==} engines: {node: '>=6.0.0'} @@ -1502,8 +1497,8 @@ packages: dev: true optional: true - /@esbuild/android-arm/0.17.14: - resolution: {integrity: sha512-0CnlwnjDU8cks0yJLXfkaU/uoLyRf9VZJs4p1PskBr2AlAHeEsFEwJEo0of/Z3g+ilw5mpyDwThlxzNEIxOE4g==} + /@esbuild/android-arm/0.17.12: + resolution: {integrity: sha512-E/sgkvwoIfj4aMAPL2e35VnUJspzVYl7+M1B2cqeubdBhADV4uPon0KCc8p2G+LqSJ6i8ocYPCqY3A4GGq0zkQ==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -1511,8 +1506,8 @@ packages: dev: true optional: true - /@esbuild/android-arm64/0.17.14: - resolution: {integrity: sha512-eLOpPO1RvtsP71afiFTvS7tVFShJBCT0txiv/xjFBo5a7R7Gjw7X0IgIaFoLKhqXYAXhahoXm7qAmRXhY4guJg==} + /@esbuild/android-arm64/0.17.12: + resolution: {integrity: sha512-WQ9p5oiXXYJ33F2EkE3r0FRDFVpEdcDiwNX3u7Xaibxfx6vQE0Sb8ytrfQsA5WO6kDn6mDfKLh6KrPBjvkk7xA==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -1520,8 +1515,8 @@ packages: dev: true optional: true - /@esbuild/android-x64/0.17.14: - resolution: {integrity: sha512-nrfQYWBfLGfSGLvRVlt6xi63B5IbfHm3tZCdu/82zuFPQ7zez4XjmRtF/wIRYbJQ/DsZrxJdEvYFE67avYXyng==} + /@esbuild/android-x64/0.17.12: + resolution: {integrity: sha512-m4OsaCr5gT+se25rFPHKQXARMyAehHTQAz4XX1Vk3d27VtqiX0ALMBPoXZsGaB6JYryCLfgGwUslMqTfqeLU0w==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -1529,8 +1524,8 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64/0.17.14: - resolution: {integrity: sha512-eoSjEuDsU1ROwgBH/c+fZzuSyJUVXQTOIN9xuLs9dE/9HbV/A5IqdXHU1p2OfIMwBwOYJ9SFVGGldxeRCUJFyw==} + /@esbuild/darwin-arm64/0.17.12: + resolution: {integrity: sha512-O3GCZghRIx+RAN0NDPhyyhRgwa19MoKlzGonIb5hgTj78krqp9XZbYCvFr9N1eUxg0ZQEpiiZ4QvsOQwBpP+lg==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -1538,8 +1533,8 @@ packages: dev: true optional: true - /@esbuild/darwin-x64/0.17.14: - resolution: {integrity: sha512-zN0U8RWfrDttdFNkHqFYZtOH8hdi22z0pFm0aIJPsNC4QQZv7je8DWCX5iA4Zx6tRhS0CCc0XC2m7wKsbWEo5g==} + /@esbuild/darwin-x64/0.17.12: + resolution: {integrity: sha512-5D48jM3tW27h1qjaD9UNRuN+4v0zvksqZSPZqeSWggfMlsVdAhH3pwSfQIFJwcs9QJ9BRibPS4ViZgs3d2wsCA==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -1547,8 +1542,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64/0.17.14: - resolution: {integrity: sha512-z0VcD4ibeZWVQCW1O7szaLxGsx54gcCnajEJMdYoYjLiq4g1jrP2lMq6pk71dbS5+7op/L2Aod+erw+EUr28/A==} + /@esbuild/freebsd-arm64/0.17.12: + resolution: {integrity: sha512-OWvHzmLNTdF1erSvrfoEBGlN94IE6vCEaGEkEH29uo/VoONqPnoDFfShi41Ew+yKimx4vrmmAJEGNoyyP+OgOQ==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -1556,8 +1551,8 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64/0.17.14: - resolution: {integrity: sha512-hd9mPcxfTgJlolrPlcXkQk9BMwNBvNBsVaUe5eNUqXut6weDQH8whcNaKNF2RO8NbpT6GY8rHOK2A9y++s+ehw==} + /@esbuild/freebsd-x64/0.17.12: + resolution: {integrity: sha512-A0Xg5CZv8MU9xh4a+7NUpi5VHBKh1RaGJKqjxe4KG87X+mTjDE6ZvlJqpWoeJxgfXHT7IMP9tDFu7IZ03OtJAw==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -1565,8 +1560,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm/0.17.14: - resolution: {integrity: sha512-BNTl+wSJ1omsH8s3TkQmIIIQHwvwJrU9u1ggb9XU2KTVM4TmthRIVyxSp2qxROJHhZuW/r8fht46/QE8hU8Qvg==} + /@esbuild/linux-arm/0.17.12: + resolution: {integrity: sha512-WsHyJ7b7vzHdJ1fv67Yf++2dz3D726oO3QCu8iNYik4fb5YuuReOI9OtA+n7Mk0xyQivNTPbl181s+5oZ38gyA==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -1574,8 +1569,8 @@ packages: dev: true optional: true - /@esbuild/linux-arm64/0.17.14: - resolution: {integrity: sha512-FhAMNYOq3Iblcj9i+K0l1Fp/MHt+zBeRu/Qkf0LtrcFu3T45jcwB6A1iMsemQ42vR3GBhjNZJZTaCe3VFPbn9g==} + /@esbuild/linux-arm64/0.17.12: + resolution: {integrity: sha512-cK3AjkEc+8v8YG02hYLQIQlOznW+v9N+OI9BAFuyqkfQFR+DnDLhEM5N8QRxAUz99cJTo1rLNXqRrvY15gbQUg==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -1583,8 +1578,8 @@ packages: dev: true optional: true - /@esbuild/linux-ia32/0.17.14: - resolution: {integrity: sha512-91OK/lQ5y2v7AsmnFT+0EyxdPTNhov3y2CWMdizyMfxSxRqHazXdzgBKtlmkU2KYIc+9ZK3Vwp2KyXogEATYxQ==} + /@esbuild/linux-ia32/0.17.12: + resolution: {integrity: sha512-jdOBXJqcgHlah/nYHnj3Hrnl9l63RjtQ4vn9+bohjQPI2QafASB5MtHAoEv0JQHVb/xYQTFOeuHnNYE1zF7tYw==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -1601,8 +1596,8 @@ packages: dev: true optional: true - /@esbuild/linux-loong64/0.17.14: - resolution: {integrity: sha512-vp15H+5NR6hubNgMluqqKza85HcGJgq7t6rMH7O3Y6ApiOWPkvW2AJfNojUQimfTp6OUrACUXfR4hmpcENXoMQ==} + /@esbuild/linux-loong64/0.17.12: + resolution: {integrity: sha512-GTOEtj8h9qPKXCyiBBnHconSCV9LwFyx/gv3Phw0pa25qPYjVuuGZ4Dk14bGCfGX3qKF0+ceeQvwmtI+aYBbVA==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -1610,8 +1605,8 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el/0.17.14: - resolution: {integrity: sha512-90TOdFV7N+fgi6c2+GO9ochEkmm9kBAKnuD5e08GQMgMINOdOFHuYLPQ91RYVrnWwQ5683sJKuLi9l4SsbJ7Hg==} + /@esbuild/linux-mips64el/0.17.12: + resolution: {integrity: sha512-o8CIhfBwKcxmEENOH9RwmUejs5jFiNoDw7YgS0EJTF6kgPgcqLFjgoc5kDey5cMHRVCIWc6kK2ShUePOcc7RbA==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -1619,8 +1614,8 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64/0.17.14: - resolution: {integrity: sha512-NnBGeoqKkTugpBOBZZoktQQ1Yqb7aHKmHxsw43NddPB2YWLAlpb7THZIzsRsTr0Xw3nqiPxbA1H31ZMOG+VVPQ==} + /@esbuild/linux-ppc64/0.17.12: + resolution: {integrity: sha512-biMLH6NR/GR4z+ap0oJYb877LdBpGac8KfZoEnDiBKd7MD/xt8eaw1SFfYRUeMVx519kVkAOL2GExdFmYnZx3A==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -1628,8 +1623,8 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64/0.17.14: - resolution: {integrity: sha512-0qdlKScLXA8MGVy21JUKvMzCYWovctuP8KKqhtE5A6IVPq4onxXhSuhwDd2g5sRCzNDlDjitc5sX31BzDoL5Fw==} + /@esbuild/linux-riscv64/0.17.12: + resolution: {integrity: sha512-jkphYUiO38wZGeWlfIBMB72auOllNA2sLfiZPGDtOBb1ELN8lmqBrlMiucgL8awBw1zBXN69PmZM6g4yTX84TA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -1637,8 +1632,8 @@ packages: dev: true optional: true - /@esbuild/linux-s390x/0.17.14: - resolution: {integrity: sha512-Hdm2Jo1yaaOro4v3+6/zJk6ygCqIZuSDJHdHaf8nVH/tfOuoEX5Riv03Ka15LmQBYJObUTNS1UdyoMk0WUn9Ww==} + /@esbuild/linux-s390x/0.17.12: + resolution: {integrity: sha512-j3ucLdeY9HBcvODhCY4b+Ds3hWGO8t+SAidtmWu/ukfLLG/oYDMaA+dnugTVAg5fnUOGNbIYL9TOjhWgQB8W5g==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -1646,8 +1641,8 @@ packages: dev: true optional: true - /@esbuild/linux-x64/0.17.14: - resolution: {integrity: sha512-8KHF17OstlK4DuzeF/KmSgzrTWQrkWj5boluiiq7kvJCiQVzUrmSkaBvcLB2UgHpKENO2i6BthPkmUhNDaJsVw==} + /@esbuild/linux-x64/0.17.12: + resolution: {integrity: sha512-uo5JL3cgaEGotaqSaJdRfFNSCUJOIliKLnDGWaVCgIKkHxwhYMm95pfMbWZ9l7GeW9kDg0tSxcy9NYdEtjwwmA==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -1655,8 +1650,8 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64/0.17.14: - resolution: {integrity: sha512-nVwpqvb3yyXztxIT2+VsxJhB5GCgzPdk1n0HHSnchRAcxqKO6ghXwHhJnr0j/B+5FSyEqSxF4q03rbA2fKXtUQ==} + /@esbuild/netbsd-x64/0.17.12: + resolution: {integrity: sha512-DNdoRg8JX+gGsbqt2gPgkgb00mqOgOO27KnrWZtdABl6yWTST30aibGJ6geBq3WM2TIeW6COs5AScnC7GwtGPg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -1664,8 +1659,8 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64/0.17.14: - resolution: {integrity: sha512-1RZ7uQQ9zcy/GSAJL1xPdN7NDdOOtNEGiJalg/MOzeakZeTrgH/DoCkbq7TaPDiPhWqnDF+4bnydxRqQD7il6g==} + /@esbuild/openbsd-x64/0.17.12: + resolution: {integrity: sha512-aVsENlr7B64w8I1lhHShND5o8cW6sB9n9MUtLumFlPhG3elhNWtE7M1TFpj3m7lT3sKQUMkGFjTQBrvDDO1YWA==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -1673,8 +1668,8 @@ packages: dev: true optional: true - /@esbuild/sunos-x64/0.17.14: - resolution: {integrity: sha512-nqMjDsFwv7vp7msrwWRysnM38Sd44PKmW8EzV01YzDBTcTWUpczQg6mGao9VLicXSgW/iookNK6AxeogNVNDZA==} + /@esbuild/sunos-x64/0.17.12: + resolution: {integrity: sha512-qbHGVQdKSwi0JQJuZznS4SyY27tYXYF0mrgthbxXrZI3AHKuRvU+Eqbg/F0rmLDpW/jkIZBlCO1XfHUBMNJ1pg==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -1682,8 +1677,8 @@ packages: dev: true optional: true - /@esbuild/win32-arm64/0.17.14: - resolution: {integrity: sha512-xrD0mccTKRBBIotrITV7WVQAwNJ5+1va6L0H9zN92v2yEdjfAN7864cUaZwJS7JPEs53bDTzKFbfqVlG2HhyKQ==} + /@esbuild/win32-arm64/0.17.12: + resolution: {integrity: sha512-zsCp8Ql+96xXTVTmm6ffvoTSZSV2B/LzzkUXAY33F/76EajNw1m+jZ9zPfNJlJ3Rh4EzOszNDHsmG/fZOhtqDg==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -1691,8 +1686,8 @@ packages: dev: true optional: true - /@esbuild/win32-ia32/0.17.14: - resolution: {integrity: sha512-nXpkz9bbJrLLyUTYtRotSS3t5b+FOuljg8LgLdINWFs3FfqZMtbnBCZFUmBzQPyxqU87F8Av+3Nco/M3hEcu1w==} + /@esbuild/win32-ia32/0.17.12: + resolution: {integrity: sha512-FfrFjR4id7wcFYOdqbDfDET3tjxCozUgbqdkOABsSFzoZGFC92UK7mg4JKRc/B3NNEf1s2WHxJ7VfTdVDPN3ng==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -1700,8 +1695,8 @@ packages: dev: true optional: true - /@esbuild/win32-x64/0.17.14: - resolution: {integrity: sha512-gPQmsi2DKTaEgG14hc3CHXHp62k8g6qr0Pas+I4lUxRMugGSATh/Bi8Dgusoz9IQ0IfdrvLpco6kujEIBoaogA==} + /@esbuild/win32-x64/0.17.12: + resolution: {integrity: sha512-JOOxw49BVZx2/5tW3FqkdjSD/5gXYeVGPDcB0lvap0gLQshkh1Nyel1QazC+wNxus3xPlsYAgqU1BUmrmCvWtw==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -1709,8 +1704,8 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils/4.4.0_eslint@8.36.0: - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + /@eslint-community/eslint-utils/4.3.0_eslint@8.36.0: + resolution: {integrity: sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 @@ -1719,8 +1714,8 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@eslint-community/regexpp/4.4.1: - resolution: {integrity: sha512-BISJ6ZE4xQsuL/FmsyRaiffpq977bMlsKfGHTQrOGFErfByxIe6iZTxPf/00Zon9b9a7iUykfQwejN3s2ZW/Bw==} + /@eslint-community/regexpp/4.4.0: + resolution: {integrity: sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true @@ -1732,7 +1727,7 @@ packages: debug: 4.3.4 espree: 9.5.0 globals: 13.19.0 - ignore: 5.2.0 + ignore: 5.2.4 import-fresh: 3.3.0 js-yaml: 4.1.0 minimatch: 3.1.2 @@ -1878,7 +1873,7 @@ packages: fast-glob: 3.2.12 js-yaml: 4.1.0 json5: 2.2.3 - pathe: 1.0.0 + pathe: 1.1.0 picocolors: 1.0.0 source-map: 0.6.1 unplugin: 1.3.1 @@ -1933,13 +1928,6 @@ packages: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} dev: true - /@jridgewell/trace-mapping/0.3.14: - resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==} - dependencies: - '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.14 - dev: true - /@jridgewell/trace-mapping/0.3.17: resolution: {integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==} dependencies: @@ -2143,7 +2131,7 @@ packages: rollup: 2.79.1 dev: true - /@rollup/plugin-replace/5.0.1_rollup@3.20.2: + /@rollup/plugin-replace/5.0.1_rollup@3.18.0: resolution: {integrity: sha512-Z3MfsJ4CK17BfGrZgvrcp/l6WXoKb0kokULO+zt/7bmcyayokDaQ2K3eDJcRLCTAlp5FPI4/gz9MHAsosz4Rag==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2152,9 +2140,9 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2_rollup@3.20.2 + '@rollup/pluginutils': 5.0.2_rollup@3.18.0 magic-string: 0.26.7 - rollup: 3.20.2 + rollup: 3.18.0 dev: true /@rollup/pluginutils/3.1.0_rollup@2.79.1: @@ -2183,7 +2171,7 @@ packages: picomatch: 2.3.1 dev: true - /@rollup/pluginutils/5.0.2_rollup@3.20.2: + /@rollup/pluginutils/5.0.2_rollup@3.18.0: resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2195,7 +2183,7 @@ packages: '@types/estree': 1.0.0 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.20.2 + rollup: 3.18.0 dev: true /@surma/rollup-plugin-off-main-thread/2.2.3: @@ -2328,8 +2316,8 @@ packages: dev: true optional: true - /@typescript-eslint/eslint-plugin/5.56.0_iskin7c6dxqunwflhstekcjqmq: - resolution: {integrity: sha512-ZNW37Ccl3oMZkzxrYDUX4o7cnuPgU+YrcaYXzsRtLB16I1FR5SHMqga3zGsaSliZADCWo2v8qHWqAYIj8nWCCg==} + /@typescript-eslint/eslint-plugin/5.55.0_342y7v4tc7ytrrysmit6jo4wri: + resolution: {integrity: sha512-IZGc50rtbjk+xp5YQoJvmMPmJEYoC53SiKPXyqWfv15XoD2Y5Kju6zN0DwlmaGJp1Iw33JsWJcQ7nw0lGCGjVg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -2339,15 +2327,15 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.4.1 - '@typescript-eslint/parser': 5.56.0_vgl77cfdswitgr47lm5swmv43m - '@typescript-eslint/scope-manager': 5.56.0 - '@typescript-eslint/type-utils': 5.56.0_vgl77cfdswitgr47lm5swmv43m - '@typescript-eslint/utils': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@eslint-community/regexpp': 4.4.0 + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/scope-manager': 5.55.0 + '@typescript-eslint/type-utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m debug: 4.3.4 eslint: 8.36.0 grapheme-splitter: 1.0.4 - ignore: 5.2.0 + ignore: 5.2.4 natural-compare-lite: 1.4.0 semver: 7.3.8 tsutils: 3.21.0_typescript@4.9.5 @@ -2356,8 +2344,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.56.0_vgl77cfdswitgr47lm5swmv43m: - resolution: {integrity: sha512-sn1OZmBxUsgxMmR8a8U5QM/Wl+tyqlH//jTqCg8daTAmhAk26L2PFhcqPLlYBhYUJMZJK276qLXlHN3a83o2cg==} + /@typescript-eslint/parser/5.55.0_vgl77cfdswitgr47lm5swmv43m: + resolution: {integrity: sha512-ppvmeF7hvdhUUZWSd2EEWfzcFkjJzgNQzVST22nzg958CR+sphy8A6K7LXQZd6V75m1VKjp+J4g/PCEfSCmzhw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2366,9 +2354,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.56.0 - '@typescript-eslint/types': 5.56.0 - '@typescript-eslint/typescript-estree': 5.56.0_typescript@4.9.5 + '@typescript-eslint/scope-manager': 5.55.0 + '@typescript-eslint/types': 5.55.0 + '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5 debug: 4.3.4 eslint: 8.36.0 typescript: 4.9.5 @@ -2376,16 +2364,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager/5.56.0: - resolution: {integrity: sha512-jGYKyt+iBakD0SA5Ww8vFqGpoV2asSjwt60Gl6YcO8ksQ8s2HlUEyHBMSa38bdLopYqGf7EYQMUIGdT/Luw+sw==} + /@typescript-eslint/scope-manager/5.55.0: + resolution: {integrity: sha512-OK+cIO1ZGhJYNCL//a3ROpsd83psf4dUJ4j7pdNVzd5DmIk+ffkuUIX2vcZQbEW/IR41DYsfJTB19tpCboxQuw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.56.0 - '@typescript-eslint/visitor-keys': 5.56.0 + '@typescript-eslint/types': 5.55.0 + '@typescript-eslint/visitor-keys': 5.55.0 dev: true - /@typescript-eslint/type-utils/5.56.0_vgl77cfdswitgr47lm5swmv43m: - resolution: {integrity: sha512-8WxgOgJjWRy6m4xg9KoSHPzBNZeQbGlQOH7l2QEhQID/+YseaFxg5J/DLwWSsi9Axj4e/cCiKx7PVzOq38tY4A==} + /@typescript-eslint/type-utils/5.55.0_vgl77cfdswitgr47lm5swmv43m: + resolution: {integrity: sha512-ObqxBgHIXj8rBNm0yh8oORFrICcJuZPZTqtAFh0oZQyr5DnAHZWfyw54RwpEEH+fD8suZaI0YxvWu5tYE/WswA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -2394,8 +2382,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.56.0_typescript@4.9.5 - '@typescript-eslint/utils': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5 + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m debug: 4.3.4 eslint: 8.36.0 tsutils: 3.21.0_typescript@4.9.5 @@ -2404,13 +2392,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types/5.56.0: - resolution: {integrity: sha512-JyAzbTJcIyhuUhogmiu+t79AkdnqgPUEsxMTMc/dCZczGMJQh1MK2wgrju++yMN6AWroVAy2jxyPcPr3SWCq5w==} + /@typescript-eslint/types/5.55.0: + resolution: {integrity: sha512-M4iRh4AG1ChrOL6Y+mETEKGeDnT7Sparn6fhZ5LtVJF1909D5O4uqK+C5NPbLmpfZ0XIIxCdwzKiijpZUOvOug==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.56.0_typescript@4.9.5: - resolution: {integrity: sha512-41CH/GncsLXOJi0jb74SnC7jVPWeVJ0pxQj8bOjH1h2O26jXN3YHKDT1ejkVz5YeTEQPeLCCRY0U2r68tfNOcg==} + /@typescript-eslint/typescript-estree/5.55.0_typescript@4.9.5: + resolution: {integrity: sha512-I7X4A9ovA8gdpWMpr7b1BN9eEbvlEtWhQvpxp/yogt48fy9Lj3iE3ild/1H3jKBBIYj5YYJmS2+9ystVhC7eaQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -2418,8 +2406,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.56.0 - '@typescript-eslint/visitor-keys': 5.56.0 + '@typescript-eslint/types': 5.55.0 + '@typescript-eslint/visitor-keys': 5.55.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -2430,18 +2418,18 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.56.0_vgl77cfdswitgr47lm5swmv43m: - resolution: {integrity: sha512-XhZDVdLnUJNtbzaJeDSCIYaM+Tgr59gZGbFuELgF7m0IY03PlciidS7UQNKLE0+WpUTn1GlycEr6Ivb/afjbhA==} + /@typescript-eslint/utils/5.55.0_vgl77cfdswitgr47lm5swmv43m: + resolution: {integrity: sha512-FkW+i2pQKcpDC3AY6DU54yl8Lfl14FVGYDgBTyGKB75cCwV3KpkpTMFi9d9j2WAJ4271LR2HeC5SEWF/CZmmfw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.36.0 + '@eslint-community/eslint-utils': 4.3.0_eslint@8.36.0 '@types/json-schema': 7.0.11 '@types/semver': 7.3.13 - '@typescript-eslint/scope-manager': 5.56.0 - '@typescript-eslint/types': 5.56.0 - '@typescript-eslint/typescript-estree': 5.56.0_typescript@4.9.5 + '@typescript-eslint/scope-manager': 5.55.0 + '@typescript-eslint/types': 5.55.0 + '@typescript-eslint/typescript-estree': 5.55.0_typescript@4.9.5 eslint: 8.36.0 eslint-scope: 5.1.1 semver: 7.3.8 @@ -2450,67 +2438,54 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys/5.56.0: - resolution: {integrity: sha512-1mFdED7u5bZpX6Xxf5N9U2c18sb+8EvU3tyOIj6LQZ5OOvnmj8BVeNNP603OFPm5KkS1a7IvCIcwrdHXaEMG/Q==} + /@typescript-eslint/visitor-keys/5.55.0: + resolution: {integrity: sha512-q2dlHHwWgirKh1D3acnuApXG+VNXpEY5/AwRxDVuEQpxWaB0jCDe0jFMVMALJ3ebSfuOVE8/rMS+9ZOYGg1GWw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.56.0 + '@typescript-eslint/types': 5.55.0 eslint-visitor-keys: 3.3.0 dev: true - /@unhead/dom/1.0.13: - resolution: {integrity: sha512-ErfhK3Nwk3kpxnPEOrkruKAdS3/TrNlKs0nYtKgFJ1ywJYg+uNwRFDe82v4JdUMhnfmbgL/qcO3PTx3Dv09IEQ==} + /@unhead/dom/1.1.23: + resolution: {integrity: sha512-Ofa427IF7tMhL/Qw4JzlAbRVBnQjURZONcjhGHVOCoNLU+GAKfbDLBpR2r3kXQFFcv2aDKygoSVyxU6R0cLptw==} dependencies: - '@unhead/schema': 1.0.13 - dev: true + '@unhead/schema': 1.1.23 + '@unhead/shared': 1.1.23 - /@unhead/dom/1.1.25: - resolution: {integrity: sha512-kJ5jhJFNQCyNENSw+mtmzgulA0kqUuXS3SRPl1umpofc8PH8tblSzXwqStxTj9r6E4wxJbEuygT/aHFJVioizw==} + /@unhead/schema/1.1.23: + resolution: {integrity: sha512-ens8dY3ji8xLVutrcLnNmWq4dpBQIzvSHBr6yZqj7mF8RORXYNwJsY0LRAyAgTyv9aD5aEVpQIiz9s4f2+Nncg==} dependencies: - '@unhead/schema': 1.1.25 - '@unhead/shared': 1.1.25 - - /@unhead/schema/1.0.13: - resolution: {integrity: sha512-K8SiAEkM8G7GaF1QvsKlthLmRqGB8R9SvZXMCucZqb2VQ6bU4IFSs/4q6dKxmV0fXb5AHdKUL9+rX/4rQ6FsZg==} - dependencies: - '@zhead/schema': 1.0.7 - hookable: 5.5.2 - dev: true - - /@unhead/schema/1.1.25: - resolution: {integrity: sha512-ygmaxWgGTAq9CcB6zGY4+0HlGdQt/oMq+CM18tTnvOBY0Og/uPGt7roW8eH717GpTPibKRTpagSYzZYdL0tWeg==} - dependencies: - hookable: 5.5.2 + hookable: 5.4.2 zhead: 2.0.4 - /@unhead/shared/1.1.25: - resolution: {integrity: sha512-KptKbk4py1MFYHYwDJ/0kPOs+95dYMrWIT1fCV9lGcVAwu20wIHh+WX18s+iEWhc66xkGRxgC/xsl4wJJFPE+w==} + /@unhead/shared/1.1.23: + resolution: {integrity: sha512-6uFEn/DRainxc3IE+RTMV6AK4Xi8osg7qAUAVMz3KpF0EoHzGbBjVBuSrkf7CnrE9Eg+/QYGLdwTvONJHCcYOA==} dependencies: - '@unhead/schema': 1.1.25 + '@unhead/schema': 1.1.23 - /@unhead/ssr/1.1.25: - resolution: {integrity: sha512-2S3tiajy6n3D1WY2pVkRLr74WGaHD08w0+nFaQGNy0LszPlkWUuAmYYqDCXdh03ijEl+Tjwqjn+E9w1e3QakuQ==} + /@unhead/ssr/1.1.23: + resolution: {integrity: sha512-msxPjkHG2TtgTCRBFjTTTVHPOgGSmNtQCz3zjN1xxY1BRb7NdUN6Yure85qNt+yNUtcQ5C45NmJIxdNDjrJhlQ==} dependencies: - '@unhead/schema': 1.1.25 - '@unhead/shared': 1.1.25 + '@unhead/schema': 1.1.23 + '@unhead/shared': 1.1.23 - /@unhead/vue/1.1.25_vue@3.2.47: - resolution: {integrity: sha512-ujincFHftg2N2i3G/gVkMyJ7CFzVyZ8SMb5cJCWZEnDBQGjgy3uvWT6EaM0d2jnaeXiYbB+iyY0O1o/H+XlpKQ==} + /@unhead/vue/1.1.23_vue@3.2.47: + resolution: {integrity: sha512-v693TmDYIZyVkZBW+YGyy4Zgl78gQZby84yXpok+E9tmqg2POQ9oG0ILdPNdlwLfWeSrhb8dTahWb68v608LdA==} peerDependencies: vue: '>=2.7 || >=3' dependencies: - '@unhead/schema': 1.1.25 - '@unhead/shared': 1.1.25 - hookable: 5.5.2 - unhead: 1.1.25 + '@unhead/schema': 1.1.23 + '@unhead/shared': 1.1.23 + hookable: 5.4.2 + unhead: 1.1.23 vue: 3.2.47 - /@unocss/astro/0.50.6_vite@4.2.1: + /@unocss/astro/0.50.6_vite@4.2.0: resolution: {integrity: sha512-gSGQIh+hBCor7KbAylu4wBQaMZp3AkT8dW9E6jrecpluVxzGGdar93a79Wqs76OlWiu7hr8zOyRbSDgfkwDung==} dependencies: '@unocss/core': 0.50.6 '@unocss/reset': 0.50.6 - '@unocss/vite': 0.50.6_vite@4.2.1 + '@unocss/vite': 0.50.6_vite@4.2.0 transitivePeerDependencies: - rollup - vite @@ -2658,7 +2633,7 @@ packages: '@unocss/core': 0.50.6 dev: true - /@unocss/vite/0.50.6_vite@4.2.1: + /@unocss/vite/0.50.6_vite@4.2.0: resolution: {integrity: sha512-BBfNHWRTD69ToNX4NlYdORFG6uH51HCjX+vZ8HAVgYHpSeVWziG3srnGYOk5IS0pKPzQGoLBlz8rstMsGhrAjA==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 @@ -2673,46 +2648,46 @@ packages: chokidar: 3.5.3 fast-glob: 3.2.12 magic-string: 0.30.0 - vite: 4.2.1 + vite: 4.2.0 transitivePeerDependencies: - rollup dev: true - /@vitejs/plugin-vue/4.1.0_vite@4.2.1+vue@3.2.47: + /@vitejs/plugin-vue/4.1.0_vite@4.2.0+vue@3.2.47: resolution: {integrity: sha512-++9JOAFdcXI3lyer9UKUV4rfoQ3T1RN8yDqoCLar86s0xQct5yblxAE+yWgRnU5/0FOlVCpTZpYSBV/bGWrSrQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.2.1 + vite: 4.2.0 vue: 3.2.47 dev: true - /@vitest/expect/0.29.7: - resolution: {integrity: sha512-UtG0tW0DP6b3N8aw7PHmweKDsvPv4wjGvrVZW7OSxaFg76ShtVdMiMcUkZJgCE8QWUmhwaM0aQhbbVLo4F4pkA==} + /@vitest/expect/0.29.3: + resolution: {integrity: sha512-z/0JqBqqrdtrT/wzxNrWC76EpkOHdl+SvuNGxWulLaoluygntYyG5wJul5u/rQs5875zfFz/F+JaDf90SkLUIg==} dependencies: - '@vitest/spy': 0.29.7 - '@vitest/utils': 0.29.7 + '@vitest/spy': 0.29.3 + '@vitest/utils': 0.29.3 chai: 4.3.7 dev: true - /@vitest/runner/0.29.7: - resolution: {integrity: sha512-Yt0+csM945+odOx4rjZSjibQfl2ymxqVsmYz6sO2fiO5RGPYDFCo60JF6tLL9pz4G/kjY4irUxadeB1XT+H1jg==} + /@vitest/runner/0.29.3: + resolution: {integrity: sha512-XLi8ctbvOWhUWmuvBUSIBf8POEDH4zCh6bOuVxm/KGfARpgmVF1ku+vVNvyq85va+7qXxtl+MFmzyXQ2xzhAvw==} dependencies: - '@vitest/utils': 0.29.7 + '@vitest/utils': 0.29.3 p-limit: 4.0.0 pathe: 1.1.0 dev: true - /@vitest/spy/0.29.7: - resolution: {integrity: sha512-IalL0iO6A6Xz8hthR8sctk6ZS//zVBX48EiNwQguYACdgdei9ZhwMaBFV70mpmeYAFCRAm+DpoFHM5470Im78A==} + /@vitest/spy/0.29.3: + resolution: {integrity: sha512-LLpCb1oOCOZcBm0/Oxbr1DQTuKLRBsSIHyLYof7z4QVE8/v8NcZKdORjMUq645fcfX55+nLXwU/1AQ+c2rND+w==} dependencies: tinyspy: 1.0.2 dev: true - /@vitest/utils/0.29.7: - resolution: {integrity: sha512-vNgGadp2eE5XKCXtZXL5UyNEDn68npSct75OC9AlELenSK0DiV1Mb9tfkwJHKjRb69iek+e79iipoJx8+s3SdA==} + /@vitest/utils/0.29.3: + resolution: {integrity: sha512-hg4Ff8AM1GtUnLpUJlNMxrf9f4lZr/xRJjh3uJ0QFP+vjaW82HAxKrmeBmLnhc8Os2eRf+f+VBu4ts7TafPPkA==} dependencies: cli-truncate: 3.1.0 diff: 5.1.0 @@ -2751,19 +2726,6 @@ packages: '@volar/language-core': 1.3.0-alpha.0 dev: true - /@volar/vue-language-core/1.0.24: - resolution: {integrity: sha512-2NTJzSgrwKu6uYwPqLiTMuAzi7fAY3yFy5PJ255bGJc82If0Xr+cW8pC80vpjG0D/aVLmlwAdO4+Ya2BI8GdDg==} - dependencies: - '@volar/language-core': 1.0.24 - '@volar/source-map': 1.0.24 - '@vue/compiler-dom': 3.2.47 - '@vue/compiler-sfc': 3.2.47 - '@vue/reactivity': 3.2.45 - '@vue/shared': 3.2.47 - minimatch: 5.1.1 - vue-template-compiler: 2.7.14 - dev: true - /@volar/vue-language-core/1.2.0: resolution: {integrity: sha512-w7yEiaITh2WzKe6u8ZdeLKCUz43wdmY/OqAmsB/PGDvvhTcVhCJ6f0W/RprZL1IhqH8wALoWiwEh/Wer7ZviMQ==} dependencies: @@ -2916,7 +2878,7 @@ packages: - rollup dev: true - /@vue-macros/devtools/0.1.2_vite@4.2.1: + /@vue-macros/devtools/0.1.2_vite@4.2.0: resolution: {integrity: sha512-LhWTb0pPoTcFmK8GZb80+q83ypEK8QS1sS2i+kKbrfvjTYnb4wQ6W3ee53WHX9+sC/Tm3HNmzhjWEBQO0Ybcqg==} engines: {node: '>=14.19.0'} peerDependencies: @@ -2926,7 +2888,7 @@ packages: optional: true dependencies: sirv: 2.0.2 - vite: 4.2.1 + vite: 4.2.0 vue: 3.2.47 dev: true @@ -3105,7 +3067,7 @@ packages: /@vue/compiler-sfc/3.2.47: resolution: {integrity: sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==} dependencies: - '@babel/parser': 7.20.7 + '@babel/parser': 7.21.3 '@vue/compiler-core': 3.2.47 '@vue/compiler-dom': 3.2.47 '@vue/compiler-ssr': 3.2.47 @@ -3122,15 +3084,8 @@ packages: '@vue/compiler-dom': 3.2.47 '@vue/shared': 3.2.47 - /@vue/devtools-api/6.2.1: - resolution: {integrity: sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ==} - - /@vue/devtools-api/6.4.5: - resolution: {integrity: sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ==} - /@vue/devtools-api/6.5.0: resolution: {integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==} - dev: false /@vue/reactivity-transform/3.2.47: resolution: {integrity: sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA==} @@ -3141,12 +3096,6 @@ packages: estree-walker: 2.0.2 magic-string: 0.25.9 - /@vue/reactivity/3.2.45: - resolution: {integrity: sha512-PRvhCcQcyEVohW0P8iQ7HDcIOXRjZfAsOds3N99X/Dzewy8TVhTCT4uXpAHfoKjVTJRA0O0K+6QNkDIZAxNi3A==} - dependencies: - '@vue/shared': 3.2.45 - dev: true - /@vue/reactivity/3.2.47: resolution: {integrity: sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ==} dependencies: @@ -3167,7 +3116,6 @@ packages: /@vue/server-renderer/3.2.47_vue@3.2.47: resolution: {integrity: sha512-dN9gc1i8EvmP9RCzvneONXsKfBRgqFeFZLurmHOveL7oH6HiFXJw5OGu294n1nHc/HMgTy6LulU/tv5/A7f/LA==} - requiresBuild: true peerDependencies: vue: 3.2.47 dependencies: @@ -3175,15 +3123,11 @@ packages: '@vue/shared': 3.2.47 vue: 3.2.47 - /@vue/shared/3.2.45: - resolution: {integrity: sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==} - dev: true - /@vue/shared/3.2.47: resolution: {integrity: sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==} - /@vue/test-utils/2.3.2_vue@3.2.47: - resolution: {integrity: sha512-hJnVaYhbrIm0yBS0+e1Y0Sj85cMyAi+PAbK4JHqMRUZ6S622Goa+G7QzkRSyvCteG8wop7tipuEbHoZo26wsSA==} + /@vue/test-utils/2.3.1_vue@3.2.47: + resolution: {integrity: sha512-tRtHRPEETQSUrqXgAewNZHm5iypxDFxwenfdcvMRm1kbGo4bcqHb1XHHlsaIjoDbLkuE2NYiF8vBQDNYrzlrSA==} peerDependencies: vue: ^3.0.1 dependencies: @@ -3210,10 +3154,10 @@ packages: peerDependencies: vue: '>=2.7 || >=3' dependencies: - '@unhead/dom': 1.1.25 - '@unhead/schema': 1.1.25 - '@unhead/ssr': 1.1.25 - '@unhead/vue': 1.1.25_vue@3.2.47 + '@unhead/dom': 1.1.23 + '@unhead/schema': 1.1.23 + '@unhead/ssr': 1.1.23 + '@unhead/vue': 1.1.23_vue@3.2.47 vue: 3.2.47 /@vueuse/metadata/9.13.0: @@ -3227,10 +3171,6 @@ packages: - '@vue/composition-api' - vue - /@zhead/schema/1.0.7: - resolution: {integrity: sha512-jN2ipkz39YrHd8uulgw/Y7x8iOxvR/cTkin/E9zRQVP5JBIrrJMiGyFFj6JBW4Q029xJ5dKtpwy/3RZWpz+dkQ==} - dev: true - /abab/2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} dev: true @@ -3286,12 +3226,6 @@ packages: hasBin: true dev: true - /acorn/8.8.1: - resolution: {integrity: sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - /acorn/8.8.2: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} engines: {node: '>=0.4.0'} @@ -3432,13 +3366,6 @@ packages: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: true - /array-buffer-byte-length/1.0.0: - resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} - dependencies: - call-bind: 1.0.2 - is-array-buffer: 3.0.2 - dev: true - /array-flatten/1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} dev: true @@ -3449,7 +3376,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 get-intrinsic: 1.2.0 is-string: 1.0.7 dev: true @@ -3465,7 +3392,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 es-shim-unscopables: 1.0.0 dev: true @@ -3475,7 +3402,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 es-shim-unscopables: 1.0.0 dev: true @@ -3694,7 +3621,7 @@ packages: dev: true /bytes/3.0.0: - resolution: {integrity: sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=} + resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} engines: {node: '>= 0.8'} dev: true @@ -3728,7 +3655,7 @@ packages: promise-inflight: 1.0.1 rimraf: 3.0.2 ssri: 9.0.1 - tar: 6.1.11 + tar: 6.1.13 unique-filename: 1.1.1 transitivePeerDependencies: - bluebird @@ -3779,7 +3706,7 @@ packages: check-error: 1.0.2 deep-eql: 4.1.3 get-func-name: 2.0.0 - loupe: 2.3.4 + loupe: 2.3.6 pathval: 1.1.1 type-detect: 4.0.8 dev: true @@ -4073,7 +4000,7 @@ packages: css-select: 4.3.0 parse5: 6.0.1 parse5-htmlparser2-tree-adapter: 6.0.1 - postcss: 8.4.14 + postcss: 8.4.21 pretty-bytes: 5.6.0 dev: true @@ -4146,13 +4073,13 @@ packages: /csstype/2.6.20: resolution: {integrity: sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==} - /cypress-vite/1.3.1_vite@4.2.1: + /cypress-vite/1.3.1_vite@4.2.0: resolution: {integrity: sha512-dgLxSkk+rYOp7L/ngm5q+Ps8LBrDi/69qcZSSoJ9T8HN2XQ08qWZ2XcrdewOqb5+TXFRRBCondB7lOZriG5kHg==} peerDependencies: vite: ^2.9.0 || ^3.0.0 || ^4.0.0 dependencies: debug: 4.3.4 - vite: 4.2.1 + vite: 4.2.0 transitivePeerDependencies: - supports-color dev: true @@ -4345,8 +4272,8 @@ packages: object-keys: 1.1.1 dev: true - /defu/6.1.0: - resolution: {integrity: sha512-pOFYRTIhoKujrmbTRhcW5lYQLBXw/dlTwfI8IguF1QCDJOcJzNH1w+YFjxqy6BAuJrClTy6MUE8q+oKJ2FLsIw==} + /defu/6.1.2: + resolution: {integrity: sha512-+uO4+qr7msjNNWKYPHqN/3+Dx3NFkmIzayk2L1MyZQlvgZb/J1A0fo410dpKrN2SnqFjt8n4JL8fDJE0wIgjFQ==} dev: true /delayed-stream/1.0.0: @@ -4495,7 +4422,7 @@ packages: dev: true /ee-first/1.1.1: - resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true /ejs/3.1.8: @@ -4573,15 +4500,15 @@ packages: is-arrayish: 0.2.1 dev: true - /es-abstract/1.21.2: - resolution: {integrity: sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==} + /es-abstract/1.21.1: + resolution: {integrity: sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg==} engines: {node: '>= 0.4'} dependencies: - array-buffer-byte-length: 1.0.0 available-typed-arrays: 1.0.5 call-bind: 1.0.2 es-set-tostringtag: 2.0.1 es-to-primitive: 1.2.1 + function-bind: 1.1.1 function.prototype.name: 1.1.5 get-intrinsic: 1.2.0 get-symbol-description: 1.0.0 @@ -4592,7 +4519,7 @@ packages: has-proto: 1.0.1 has-symbols: 1.0.3 internal-slot: 1.0.5 - is-array-buffer: 3.0.2 + is-array-buffer: 3.0.1 is-callable: 1.2.7 is-negative-zero: 2.0.2 is-regex: 1.1.4 @@ -4605,7 +4532,6 @@ packages: object.assign: 4.1.4 regexp.prototype.flags: 1.4.3 safe-regex-test: 1.0.0 - string.prototype.trim: 1.2.7 string.prototype.trimend: 1.0.6 string.prototype.trimstart: 1.0.6 typed-array-length: 1.0.4 @@ -4860,34 +4786,34 @@ packages: esbuild-windows-arm64: 0.15.18 dev: true - /esbuild/0.17.14: - resolution: {integrity: sha512-vOO5XhmVj/1XQR9NQ1UPq6qvMYL7QFJU57J5fKBKBKxp17uDt5PgxFDb4A2nEiXhr1qQs4x0F5+66hVVw4ruNw==} + /esbuild/0.17.12: + resolution: {integrity: sha512-bX/zHl7Gn2CpQwcMtRogTTBf9l1nl+H6R8nUbjk+RuKqAE3+8FDulLA+pHvX7aA7Xe07Iwa+CWvy9I8Y2qqPKQ==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': 0.17.14 - '@esbuild/android-arm64': 0.17.14 - '@esbuild/android-x64': 0.17.14 - '@esbuild/darwin-arm64': 0.17.14 - '@esbuild/darwin-x64': 0.17.14 - '@esbuild/freebsd-arm64': 0.17.14 - '@esbuild/freebsd-x64': 0.17.14 - '@esbuild/linux-arm': 0.17.14 - '@esbuild/linux-arm64': 0.17.14 - '@esbuild/linux-ia32': 0.17.14 - '@esbuild/linux-loong64': 0.17.14 - '@esbuild/linux-mips64el': 0.17.14 - '@esbuild/linux-ppc64': 0.17.14 - '@esbuild/linux-riscv64': 0.17.14 - '@esbuild/linux-s390x': 0.17.14 - '@esbuild/linux-x64': 0.17.14 - '@esbuild/netbsd-x64': 0.17.14 - '@esbuild/openbsd-x64': 0.17.14 - '@esbuild/sunos-x64': 0.17.14 - '@esbuild/win32-arm64': 0.17.14 - '@esbuild/win32-ia32': 0.17.14 - '@esbuild/win32-x64': 0.17.14 + '@esbuild/android-arm': 0.17.12 + '@esbuild/android-arm64': 0.17.12 + '@esbuild/android-x64': 0.17.12 + '@esbuild/darwin-arm64': 0.17.12 + '@esbuild/darwin-x64': 0.17.12 + '@esbuild/freebsd-arm64': 0.17.12 + '@esbuild/freebsd-x64': 0.17.12 + '@esbuild/linux-arm': 0.17.12 + '@esbuild/linux-arm64': 0.17.12 + '@esbuild/linux-ia32': 0.17.12 + '@esbuild/linux-loong64': 0.17.12 + '@esbuild/linux-mips64el': 0.17.12 + '@esbuild/linux-ppc64': 0.17.12 + '@esbuild/linux-riscv64': 0.17.12 + '@esbuild/linux-s390x': 0.17.12 + '@esbuild/linux-x64': 0.17.12 + '@esbuild/netbsd-x64': 0.17.12 + '@esbuild/openbsd-x64': 0.17.12 + '@esbuild/sunos-x64': 0.17.12 + '@esbuild/win32-arm64': 0.17.12 + '@esbuild/win32-ia32': 0.17.12 + '@esbuild/win32-x64': 0.17.12 dev: true /escalade/3.1.1: @@ -4937,7 +4863,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.4_tf7h2azriypc3gaglz256o6pea: + /eslint-module-utils/2.7.4_tzfhnsp6rhftjfsbnqrkrbah74: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -4958,7 +4884,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m debug: 3.2.7 eslint: 8.36.0 eslint-import-resolver-node: 0.3.7 @@ -4969,7 +4895,7 @@ packages: /eslint-plugin-antfu/0.37.0_vgl77cfdswitgr47lm5swmv43m: resolution: {integrity: sha512-Tekr9S4fkrmH88RS5XHvs3gQwQIn/2As8gYePzrPHTQEQF00pIx0sa1eQrhmvN50ubUG4WkZnpx/uR3073jLeg==} dependencies: - '@typescript-eslint/utils': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m transitivePeerDependencies: - eslint - supports-color @@ -5004,7 +4930,7 @@ packages: dependencies: escape-string-regexp: 1.0.5 eslint: 8.36.0 - ignore: 5.2.0 + ignore: 5.2.4 dev: true /eslint-plugin-html/7.1.0: @@ -5013,7 +4939,7 @@ packages: htmlparser2: 8.0.1 dev: true - /eslint-plugin-import/2.27.5_cnkxirszkzb4o6ts7gbclno24e: + /eslint-plugin-import/2.27.5_a7er6olmtneep4uytpot6gt7wu: resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: @@ -5023,7 +4949,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 @@ -5031,7 +4957,7 @@ packages: doctrine: 2.1.0 eslint: 8.36.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4_tf7h2azriypc3gaglz256o6pea + eslint-module-utils: 2.7.4_tzfhnsp6rhftjfsbnqrkrbah74 has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 @@ -5046,7 +4972,7 @@ packages: - supports-color dev: true - /eslint-plugin-jest/27.2.1_t2az3euonckxht7o3xjedcge5q: + /eslint-plugin-jest/27.2.1_77hzc3m4z2zccvz4y3m32ao6om: resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -5059,8 +4985,8 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.56.0_iskin7c6dxqunwflhstekcjqmq - '@typescript-eslint/utils': 5.56.0_vgl77cfdswitgr47lm5swmv43m + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 transitivePeerDependencies: - supports-color @@ -5073,7 +4999,7 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.36.0 + '@eslint-community/eslint-utils': 4.3.0_eslint@8.36.0 eslint: 8.36.0 jsonc-eslint-parser: 2.2.0 natural-compare: 1.4.0 @@ -5101,7 +5027,7 @@ packages: eslint: 8.36.0 eslint-plugin-es: 4.1.0_eslint@8.36.0 eslint-utils: 3.0.0_eslint@8.36.0 - ignore: 5.2.0 + ignore: 5.2.4 is-core-module: 2.11.0 minimatch: 3.1.2 resolve: 1.22.1 @@ -5129,7 +5055,7 @@ packages: eslint: '>=8.28.0' dependencies: '@babel/helper-validator-identifier': 7.19.1 - '@eslint-community/eslint-utils': 4.4.0_eslint@8.36.0 + '@eslint-community/eslint-utils': 4.3.0_eslint@8.36.0 ci-info: 3.6.1 clean-regexp: 1.0.0 eslint: 8.36.0 @@ -5147,7 +5073,7 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-unused-imports/2.0.0_pjgbsoxltfjhart6hcjsvw66hu: + /eslint-plugin-unused-imports/2.0.0_dchlkxfdm6cbfc25bfo3oeha6e: resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -5157,19 +5083,19 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.56.0_iskin7c6dxqunwflhstekcjqmq + '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri eslint: 8.36.0 eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vue/9.10.0_eslint@8.36.0: - resolution: {integrity: sha512-2MgP31OBf8YilUvtakdVMc8xVbcMp7z7/iQj8LHVpXrSXHPXSJRUIGSPFI6b6pyCx/buKaFJ45ycqfHvQRiW2g==} + /eslint-plugin-vue/9.9.0_eslint@8.36.0: + resolution: {integrity: sha512-YbubS7eK0J7DCf0U2LxvVP7LMfs6rC6UltihIgval3azO3gyDwEGVgsCMe1TmDiEkl6GdMKfRpaME6QxIYtzDQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.36.0 eslint: 8.36.0 + eslint-utils: 3.0.0_eslint@8.36.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 6.0.10 @@ -5253,8 +5179,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.36.0 - '@eslint-community/regexpp': 4.4.1 + '@eslint-community/eslint-utils': 4.3.0_eslint@8.36.0 + '@eslint-community/regexpp': 4.4.0 '@eslint/eslintrc': 2.0.1 '@eslint/js': 8.36.0 '@humanwhocodes/config-array': 0.11.8 @@ -5277,7 +5203,7 @@ packages: glob-parent: 6.0.2 globals: 13.19.0 grapheme-splitter: 1.0.4 - ignore: 5.2.0 + ignore: 5.2.4 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 @@ -5658,7 +5584,7 @@ packages: dev: true /fresh/0.5.2: - resolution: {integrity: sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=} + resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} dev: true @@ -5710,7 +5636,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 functions-have-names: 1.2.3 dev: true @@ -5867,7 +5793,7 @@ packages: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.2.12 - ignore: 5.2.0 + ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 dev: true @@ -5964,8 +5890,8 @@ packages: hasBin: true dev: true - /hookable/5.5.2: - resolution: {integrity: sha512-9JZdvGuxXswyoT47M0xrg+IabnK76Ppc7qjf8JdFZu/IaCWflTHVf/ln/GzicraEnPONPIfxgk929rdYiOqv9w==} + /hookable/5.4.2: + resolution: {integrity: sha512-6rOvaUiNKy9lET1X0ECnyZ5O5kSV0PJbtA5yZUgdEF7fGJEVwSLSislltyt7nFwVVALYHQJtfGeAR2Y0A0uJkg==} /hosted-git-info/2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} @@ -6016,7 +5942,7 @@ packages: /html5parser/2.0.2: resolution: {integrity: sha512-L0y+IdTVxHsovmye8MBtFgBvWZnq1C9WnI/SmJszxoQjmUH1psX2uzDk21O5k5et6udxdGjwxkbmT9eVRoG05w==} dependencies: - tslib: 2.4.0 + tslib: 2.5.0 dev: true /htmlparser2/8.0.1: @@ -6141,8 +6067,8 @@ packages: minimatch: 5.1.1 dev: true - /ignore/5.2.0: - resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} + /ignore/5.2.4: + resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} dev: true @@ -6238,14 +6164,6 @@ packages: is-typed-array: 1.1.10 dev: true - /is-array-buffer/3.0.2: - resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} - dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.0 - is-typed-array: 1.1.10 - dev: true - /is-arrayish/0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} dev: true @@ -6522,8 +6440,8 @@ packages: supports-color: 7.2.0 dev: true - /jiti/1.16.0: - resolution: {integrity: sha512-L3BJStEf5NAqNuzrpfbN71dp43mYIcBUlCRea/vdyv5dW/AYa1d4bpelko4SHdY3I6eN9Wzyasxirj1/vv5kmg==} + /jiti/1.17.1: + resolution: {integrity: sha512-NZIITw8uZQFuzQimqjUxIrIcEdxYDFIe/0xYfIlVXTkiBjjyBEvgasj5bb0/cHtPRD/NziPbT312sFrkI5ALpw==} hasBin: true dev: true @@ -6575,7 +6493,7 @@ packages: optional: true dependencies: abab: 2.0.6 - acorn: 8.8.1 + acorn: 8.8.2 acorn-globals: 7.0.1 cssom: 0.5.0 cssstyle: 2.3.0 @@ -6728,10 +6646,6 @@ packages: engines: {node: '>=6'} dev: true - /kolorist/1.6.0: - resolution: {integrity: sha512-dLkz37Ab97HWMx9KTes3Tbi3D1ln9fCAy2zr2YVExJasDRPGRaKcoE4fycWNtnCAJfjFqe0cnY+f8KT2JePEXQ==} - dev: true - /kolorist/1.7.0: resolution: {integrity: sha512-ymToLHqL02udwVdbkowNpzjFd6UzozMtshPQKVi5k1EjKRqKqBrOnE9QbLEb0/pV76SAiIT13hdL8R6suc+f3g==} dev: true @@ -6788,7 +6702,7 @@ packages: debug: 4.3.4 execa: 7.1.1 lilconfig: 2.1.0 - listr2: 5.0.8 + listr2: 5.0.7 micromatch: 4.0.5 normalize-path: 3.0.0 object-inspect: 1.12.3 @@ -6815,13 +6729,13 @@ packages: log-update: 4.0.0 p-map: 4.0.0 rfdc: 1.3.0 - rxjs: 7.5.6 + rxjs: 7.8.0 through: 2.3.8 wrap-ansi: 7.0.0 dev: true - /listr2/5.0.8: - resolution: {integrity: sha512-mC73LitKHj9w6v30nLNGPetZIlfpUniNSsxxrbaPcWOjDb92SHPzJPi/t+v1YC/lxKz/AJ9egOjww0qUuFxBpA==} + /listr2/5.0.7: + resolution: {integrity: sha512-MD+qXHPmtivrHIDRwPYdfNkrzqDiuaKU/rfBcec3WMyMF3xylQj3jMq344OtvQxz7zaCFViRAeqlr2AFhPvXHw==} engines: {node: ^14.13.1 || >=16.0.0} peerDependencies: enquirer: '>= 2.3.0 < 3' @@ -6896,12 +6810,6 @@ packages: wrap-ansi: 6.2.0 dev: true - /loupe/2.3.4: - resolution: {integrity: sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==} - dependencies: - get-func-name: 2.0.0 - dev: true - /loupe/2.3.6: resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} dependencies: @@ -7035,12 +6943,12 @@ packages: dev: true /media-typer/0.3.0: - resolution: {integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=} + resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} dev: true /merge-descriptors/1.0.1: - resolution: {integrity: sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=} + resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} dev: true /merge-stream/2.0.0: @@ -7131,8 +7039,8 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch/7.4.3: - resolution: {integrity: sha512-5UB4yYusDtkRPbRiy1cqZ1IpGNcJCGlEMG17RKzPddpyiPKoCdwohbED8g4QXT0ewCt8LTkQXuljsUfQ3FKM4A==} + /minimatch/7.4.2: + resolution: {integrity: sha512-xy4q7wou3vUoC9k1xGTXc+awNdGaGVHtFUaey8tiX4H1QRc04DZ/rmDFwNm2EBsuYEhAZ6SgMmYf3InGY6OauA==} engines: {node: '>=10'} dependencies: brace-expansion: 2.0.1 @@ -7195,6 +7103,11 @@ packages: yallist: 4.0.0 dev: true + /minipass/4.2.4: + resolution: {integrity: sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ==} + engines: {node: '>=8'} + dev: true + /minizlib/2.1.2: resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} engines: {node: '>= 8'} @@ -7209,8 +7122,8 @@ packages: hasBin: true dev: true - /mlly/1.2.0: - resolution: {integrity: sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==} + /mlly/1.1.1: + resolution: {integrity: sha512-Jnlh4W/aI4GySPo6+DyTN17Q75KKbLTyFK8BrGhjNP4rxuUjbRWhE6gHg3bs33URWAF44FRm7gdQA348i3XxRw==} dependencies: acorn: 8.8.2 pathe: 1.1.0 @@ -7284,7 +7197,7 @@ packages: npmlog: 6.0.2 rimraf: 3.0.2 semver: 7.3.8 - tar: 6.1.11 + tar: 6.1.13 which: 2.0.2 transitivePeerDependencies: - bluebird @@ -7488,7 +7401,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 dev: true /obuf/1.1.2: @@ -7644,7 +7557,7 @@ packages: read-package-json-fast: 2.0.3 rimraf: 3.0.2 ssri: 9.0.1 - tar: 6.1.11 + tar: 6.1.13 transitivePeerDependencies: - bluebird - supports-color @@ -7743,10 +7656,6 @@ packages: engines: {node: '>=8'} dev: true - /pathe/1.0.0: - resolution: {integrity: sha512-nPdMG0Pd09HuSsr7QOKUXO2Jr9eqaDiZvDwdyIhNG5SHYujkQHYKDfGQkulBxvbDHz8oHLsTgKN86LSwYzSHAg==} - dev: true - /pathe/1.1.0: resolution: {integrity: sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==} dev: true @@ -7808,7 +7717,7 @@ packages: resolution: {integrity: sha512-hM58GKXOcj8WTqUXnsQyJYXdeAPbythQgEF3nTcEo+nkD49chjQ9IKm/QJy9xf6JakXptz86h7ecP2024rrLaQ==} dependencies: jsonc-parser: 3.2.0 - mlly: 1.2.0 + mlly: 1.1.1 pathe: 1.1.0 dev: true @@ -7817,8 +7726,8 @@ packages: engines: {node: '>=4'} dev: true - /pnpm/7.30.3: - resolution: {integrity: sha512-Z/pNEfZF45OwdZSUAeSTYySs27UW+GG4AQ2iXz4u127QVtkCMCeyrMNZmb/17BazaZTtvXqk/+jxTVkyh8apIA==} + /pnpm/7.30.0: + resolution: {integrity: sha512-6SUdrWSZ4qvQ4uBVg7smnabVKOFrT7DgSz2NfViG54nRii4ODB395qmHprBiv5WBdlC/jZYBn99fSfmzIMI3WQ==} engines: {node: '>=14.6'} hasBin: true dev: true @@ -7831,15 +7740,6 @@ packages: util-deprecate: 1.0.2 dev: true - /postcss/8.4.14: - resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.4 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: true - /postcss/8.4.21: resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==} engines: {node: ^10 || ^12 || >=14} @@ -8231,6 +8131,22 @@ packages: terser: 5.14.2 dev: true + /rollup-plugin-visualizer/5.9.0: + resolution: {integrity: sha512-bbDOv47+Bw4C/cgs0czZqfm8L82xOZssk4ayZjG40y9zbXclNk7YikrZTDao6p7+HDiGxrN0b65SgZiVm9k1Cg==} + engines: {node: '>=14'} + hasBin: true + peerDependencies: + rollup: 2.x || 3.x + peerDependenciesMeta: + rollup: + optional: true + dependencies: + open: 8.4.0 + picomatch: 2.3.1 + source-map: 0.7.4 + yargs: 17.7.1 + dev: true + /rollup/2.79.1: resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} engines: {node: '>=10.0.0'} @@ -8239,8 +8155,8 @@ packages: fsevents: 2.3.2 dev: true - /rollup/3.20.2: - resolution: {integrity: sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==} + /rollup/3.18.0: + resolution: {integrity: sha512-J8C6VfEBjkvYPESMQYxKHxNOh4A5a3FlP+0BETGo34HEcE4eTlgCrO2+eWzlu2a/sHs2QUkZco+wscH7jhhgWg==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -8253,12 +8169,6 @@ packages: queue-microtask: 1.2.3 dev: true - /rxjs/7.5.6: - resolution: {integrity: sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==} - dependencies: - tslib: 2.5.0 - dev: true - /rxjs/7.8.0: resolution: {integrity: sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==} dependencies: @@ -8518,6 +8428,11 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + /source-map/0.7.4: + resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} + engines: {node: '>= 8'} + dev: true + /source-map/0.8.0-beta.0: resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} engines: {node: '>= 8'} @@ -8645,7 +8560,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 get-intrinsic: 1.2.0 has-symbols: 1.0.3 internal-slot: 1.0.5 @@ -8653,21 +8568,12 @@ packages: side-channel: 1.0.4 dev: true - /string.prototype.trim/1.2.7: - resolution: {integrity: sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.21.2 - dev: true - /string.prototype.trimend/1.0.6: resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 dev: true /string.prototype.trimstart/1.0.6: @@ -8675,7 +8581,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.21.2 + es-abstract: 1.21.1 dev: true /string_decoder/1.1.1: @@ -8750,12 +8656,6 @@ packages: engines: {node: '>=8'} dev: true - /strip-literal/1.0.0: - resolution: {integrity: sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ==} - dependencies: - acorn: 8.8.2 - dev: true - /strip-literal/1.0.1: resolution: {integrity: sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q==} dependencies: @@ -8804,13 +8704,13 @@ packages: tslib: 2.5.0 dev: true - /tar/6.1.11: - resolution: {integrity: sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==} - engines: {node: '>= 10'} + /tar/6.1.13: + resolution: {integrity: sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==} + engines: {node: '>=10'} dependencies: chownr: 2.0.0 fs-minipass: 2.1.0 - minipass: 3.3.4 + minipass: 4.2.4 minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 @@ -8882,8 +8782,8 @@ packages: resolution: {integrity: sha512-hGYWYBMPr7p4g5IarQE7XhlyWveh1EKhy4wUBS1LrHXCKYgvz+4/jCqgmJqZxxldesn05vccrtME2RLLZNW7iA==} dev: true - /tinypool/0.4.0: - resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} + /tinypool/0.3.1: + resolution: {integrity: sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==} engines: {node: '>=14.0.0'} dev: true @@ -8964,10 +8864,6 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true - /tslib/2.4.0: - resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} - dev: true - /tslib/2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} dev: true @@ -9095,17 +8991,17 @@ packages: resolution: {integrity: sha512-1589b7oGa8ILBYpta7TndM5mLHLzHUqBfhszeZxuUBrjO/RoQ52VGVWsS3w0C0GLNxO9RPmqkf6BmIvBApaRdA==} dependencies: '@antfu/utils': 0.5.2 - defu: 6.1.0 - jiti: 1.16.0 + defu: 6.1.2 + jiti: 1.17.1 dev: true - /unhead/1.1.25: - resolution: {integrity: sha512-KtTBgtQjxICoOjA4dyxJfj5fYoYJeYFUt/J8ulaTzbvTsXM9K+ztYjI65nf2CPYYXRCRz/iEt8trqcsGlsB5TQ==} + /unhead/1.1.23: + resolution: {integrity: sha512-nM74sM3+puqhHLC9cbwk0rOsjZR41aP0UJeQcoYVuzFlX0+abECgPkpkSI+/HZsXeRVTGxs9WWmjiFHaG18DrQ==} dependencies: - '@unhead/dom': 1.1.25 - '@unhead/schema': 1.1.25 - '@unhead/shared': 1.1.25 - hookable: 5.5.2 + '@unhead/dom': 1.1.23 + '@unhead/schema': 1.1.23 + '@unhead/shared': 1.1.23 + hookable: 5.4.2 /unicode-canonical-property-names-ecmascript/2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} @@ -9130,15 +9026,15 @@ packages: engines: {node: '>=4'} dev: true - /unimport/3.0.4: - resolution: {integrity: sha512-eoof/HLiNJcIkVpnqc7sJbzKSLx39J6xTaP7E4ElgVQKeq2t9fPTkvJKcA55IJTaRPkEkDq8kcc/IZPmrypnFg==} + /unimport/3.0.2: + resolution: {integrity: sha512-OQ0hShpcerS1PSsISsyn/NV2dGe5xfdUn4p5nwOodq0iqq5xxYQrTidHqlFGjxIliPDtDJp80OeySzyPTjYHmA==} dependencies: '@rollup/pluginutils': 5.0.2 escape-string-regexp: 5.0.0 fast-glob: 3.2.12 local-pkg: 0.4.3 magic-string: 0.30.0 - mlly: 1.2.0 + mlly: 1.1.1 pathe: 1.1.0 pkg-types: 1.0.2 scule: 1.0.0 @@ -9183,7 +9079,7 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss/0.50.6_vite@4.2.1: + /unocss/0.50.6_vite@4.2.0: resolution: {integrity: sha512-7cKiIB/ssAPvCDUcFMs0jm0FzIyQKfgIjUzBYZ5dVFthOvN5dcFh7bCZE9dIM862n7oW8FjbkTxwdTbRqqJQVQ==} engines: {node: '>=14'} peerDependencies: @@ -9192,7 +9088,7 @@ packages: '@unocss/webpack': optional: true dependencies: - '@unocss/astro': 0.50.6_vite@4.2.1 + '@unocss/astro': 0.50.6_vite@4.2.0 '@unocss/cli': 0.50.6 '@unocss/core': 0.50.6 '@unocss/postcss': 0.50.6 @@ -9209,7 +9105,7 @@ packages: '@unocss/transformer-compile-class': 0.50.6 '@unocss/transformer-directives': 0.50.6 '@unocss/transformer-variant-group': 0.50.6 - '@unocss/vite': 0.50.6_vite@4.2.1 + '@unocss/vite': 0.50.6_vite@4.2.0 transitivePeerDependencies: - rollup - supports-color @@ -9238,14 +9134,14 @@ packages: '@vueuse/core': 9.13.0_vue@3.2.47 local-pkg: 0.4.3 magic-string: 0.30.0 - minimatch: 7.4.3 - unimport: 3.0.4 + minimatch: 7.4.2 + unimport: 3.0.2 unplugin: 1.3.1 transitivePeerDependencies: - rollup dev: true - /unplugin-combine/0.6.0_vite@4.2.1: + /unplugin-combine/0.6.0_vite@4.2.0: resolution: {integrity: sha512-cZkTg2Z3CcScyRi6QtpVxBZoCMsPaEHyKNh7HyqMkfWV7sKNwHllYezVOFINOGNzqSS1+xWLY3iDCiTVoH3oaA==} engines: {node: '>=14.19.0'} peerDependencies: @@ -9265,7 +9161,7 @@ packages: dependencies: '@antfu/utils': 0.7.2 unplugin: 1.3.1 - vite: 4.2.1 + vite: 4.2.0 dev: true /unplugin-vue-components/0.24.1_vue@3.2.47: @@ -9288,7 +9184,7 @@ packages: fast-glob: 3.2.12 local-pkg: 0.4.3 magic-string: 0.30.0 - minimatch: 7.4.3 + minimatch: 7.4.2 resolve: 1.22.1 unplugin: 1.3.1 vue: 3.2.47 @@ -9310,7 +9206,7 @@ packages: - vue dev: true - /unplugin-vue-macros/1.10.1_aeurc5btel4k37vmechrre3xm4: + /unplugin-vue-macros/1.10.1_2czchvey3hiidu3aznpuei4mem: resolution: {integrity: sha512-f5s+ar8vs5lxJgIKJGEqirgjQi7FwzNtqQKwPMLVakr4qAAELguSd3aG/nHzcMlUuVUDaT+LDi+RTDP6EgOb+g==} engines: {node: '>=14.19.0'} peerDependencies: @@ -9324,7 +9220,7 @@ packages: '@vue-macros/define-props-refs': 0.2.3_vue@3.2.47 '@vue-macros/define-render': 1.2.4_vue@3.2.47 '@vue-macros/define-slots': 0.2.4_vue@3.2.47 - '@vue-macros/devtools': 0.1.2_vite@4.2.1 + '@vue-macros/devtools': 0.1.2_vite@4.2.0 '@vue-macros/export-props': 0.2.3_vue@3.2.47 '@vue-macros/hoist-static': 1.2.3_vue@3.2.47 '@vue-macros/named-template': 0.2.4_vue@3.2.47 @@ -9334,7 +9230,7 @@ packages: '@vue-macros/setup-sfc': 0.14.3_vue@3.2.47 '@vue-macros/short-emits': 1.2.4_vue@3.2.47 unplugin: 1.3.1 - unplugin-combine: 0.6.0_vite@4.2.1 + unplugin-combine: 0.6.0_vite@4.2.0 unplugin-vue-define-options: 1.2.4_vue@3.2.47 vue: 3.2.47 transitivePeerDependencies: @@ -9397,7 +9293,7 @@ packages: dev: true /utils-merge/1.0.1: - resolution: {integrity: sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=} + resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} dev: true @@ -9434,17 +9330,27 @@ packages: extsprintf: 1.3.0 dev: true - /vite-node/0.29.7_@types+node@18.6.1: - resolution: {integrity: sha512-PakCZLvz37yFfUPWBnLa1OYHPCGm5v4pmRrTcFN4V/N/T3I6tyP3z07S//9w+DdeL7vVd0VSeyMZuAh+449ZWw==} + /vite-bundle-visualizer/0.6.0: + resolution: {integrity: sha512-FubYa69t5SHD0sT2naUGpRaOlKMlDqlJkWcqxR+1NJVwt8zYBdBg/mKI1dG4xelnd6c7TLC9BXOAB1nM6rD0XA==} + hasBin: true + dependencies: + cac: 6.7.14 + rollup-plugin-visualizer: 5.9.0 + transitivePeerDependencies: + - rollup + dev: true + + /vite-node/0.29.3_@types+node@18.6.1: + resolution: {integrity: sha512-QYzYSA4Yt2IiduEjYbccfZQfxKp+T1Do8/HEpSX/G5WIECTFKJADwLs9c94aQH4o0A+UtCKU61lj1m5KvbxxQA==} engines: {node: '>=v14.16.0'} hasBin: true dependencies: cac: 6.7.14 debug: 4.3.4 - mlly: 1.2.0 + mlly: 1.1.1 pathe: 1.1.0 picocolors: 1.0.0 - vite: 4.2.1_@types+node@18.6.1 + vite: 4.2.0_@types+node@18.6.1 transitivePeerDependencies: - '@types/node' - less @@ -9455,8 +9361,8 @@ packages: - terser dev: true - /vite-plugin-inspect/0.7.18_vite@4.2.1: - resolution: {integrity: sha512-hyIxg2qJaRs0LoB3Tqy9ML8yEublIzTzFVXmNhgw2jsjETJUXeR6iQ4YPHk3Q6kTbbiwgoPPyXimlAfEwektnA==} + /vite-plugin-inspect/0.7.17_vite@4.2.0: + resolution: {integrity: sha512-0z33Z7ap6DOzOO3iulGROWZq9oUbarmMKHtdVbCMJ3OL0JOd8UvEqnTazU/2Y8Y2WpOyaZuEV6USJ9KHoZ7f+A==} engines: {node: '>=14'} peerDependencies: vite: ^3.1.0 || ^4.0.0 @@ -9468,13 +9374,13 @@ packages: kolorist: 1.7.0 sirv: 2.0.2 ufo: 1.1.1 - vite: 4.2.1 + vite: 4.2.0 transitivePeerDependencies: - rollup - supports-color dev: true - /vite-plugin-pages/0.29.0_vite@4.2.1: + /vite-plugin-pages/0.29.0_vite@4.2.0: resolution: {integrity: sha512-vRgLflQNMs8QnDB8A5XwX8b2XYSIN1Mdy3Bx7A7N9NTFeybRj/zpvoosdbMgJ3LsJ84AznHC3GytWQZGNpE5BA==} peerDependencies: '@vue/compiler-sfc': ^2.7.0 || ^3.0.0 @@ -9491,23 +9397,23 @@ packages: json5: 2.2.3 local-pkg: 0.4.3 picocolors: 1.0.0 - vite: 4.2.1 + vite: 4.2.0 yaml: 2.2.1 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-pwa/0.14.4_vite@4.2.1: + /vite-plugin-pwa/0.14.4_vite@4.2.0: resolution: {integrity: sha512-M7Ct0so8OlouMkTWgXnl8W1xU95glITSKIe7qswZf1tniAstO2idElGCnsrTJ5NPNSx1XqfTCOUj8j94S6FD7Q==} peerDependencies: vite: ^3.1.0 || ^4.0.0 dependencies: - '@rollup/plugin-replace': 5.0.1_rollup@3.20.2 + '@rollup/plugin-replace': 5.0.1_rollup@3.18.0 debug: 4.3.4 fast-glob: 3.2.12 pretty-bytes: 6.0.0 - rollup: 3.20.2 - vite: 4.2.1 + rollup: 3.18.0 + vite: 4.2.0 workbox-build: 6.5.4 workbox-window: 6.5.4 transitivePeerDependencies: @@ -9515,21 +9421,21 @@ packages: - supports-color dev: true - /vite-plugin-vue-component-preview/1.1.5_vite@4.2.1+vue@3.2.47: + /vite-plugin-vue-component-preview/1.1.5_vite@4.2.0+vue@3.2.47: resolution: {integrity: sha512-5aSYDIM/e+JG4d3Rpgr6kS3zdD2fKmpYKs3BSuSyVZwcCY2XMRJj3GVCl4eM4UWqsLT2/z7T6Xpe8QADEJIiJg==} peerDependencies: vue: '>=3.0.0' dependencies: - '@volar/vue-language-core': 1.0.24 + '@volar/vue-language-core': 1.2.0 magic-string: 0.27.0 - vite-plugin-vue-markdown: 0.22.4_vite@4.2.1 + vite-plugin-vue-markdown: 0.22.4_vite@4.2.0 vue: 3.2.47 transitivePeerDependencies: - rollup - vite dev: true - /vite-plugin-vue-inspector/3.4.0_vite@4.2.1: + /vite-plugin-vue-inspector/3.4.0_vite@4.2.0: resolution: {integrity: sha512-gAdJ6fCPO7+PcUZJexgdOz27yuzQfEviBSS4c+zLLsItHdUq79oYgoWpPZwIYcE0FDFcAtz8dfG6I1ugWuykrw==} peerDependencies: vite: ^3.0.0-0 || ^4.0.0-0 @@ -9543,12 +9449,12 @@ packages: kolorist: 1.7.0 magic-string: 0.30.0 shell-quote: 1.8.0 - vite: 4.2.1 + vite: 4.2.0 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-vue-layouts/0.8.0_asesa6ksds7mbxqm7d5qamvm34: + /vite-plugin-vue-layouts/0.8.0_m3uvdxdk7hj6rhgyd3bnmiarxm: resolution: {integrity: sha512-UZW2nSV2LraTSe7gsAL46hfdi7a0X1RvkGGoJVtA2O8beu7anzpXFwQLou8+kHy31CzVycT4gIPySBsHhtBN5g==} peerDependencies: vite: ^2.5.0 || ^3.0.0-0 || ^4.0.0 @@ -9558,14 +9464,14 @@ packages: '@vue/compiler-sfc': 3.2.47 debug: 4.3.4 fast-glob: 3.2.12 - vite: 4.2.1 + vite: 4.2.0 vue: 3.2.47 vue-router: 4.1.6_vue@3.2.47 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-vue-markdown/0.22.4_vite@4.2.1: + /vite-plugin-vue-markdown/0.22.4_vite@4.2.0: resolution: {integrity: sha512-+kDzqGI5Lq0Wa6M4EJtV7cqOIHgGp6g4jcazXljQKLl9Og4fRs6FuGAPa2HiJ44Z9es85LAPiPbTjwrZEGEUKA==} peerDependencies: vite: ^2.0.0 || ^3.0.0-0 || ^4.0.0 @@ -9577,12 +9483,12 @@ packages: '@rollup/pluginutils': 5.0.2 '@types/markdown-it': 12.2.3 markdown-it: 13.0.1 - vite: 4.2.1 + vite: 4.2.0 transitivePeerDependencies: - rollup dev: true - /vite-plugin-webfont-dl/3.6.4_vite@4.2.1: + /vite-plugin-webfont-dl/3.6.4_vite@4.2.0: resolution: {integrity: sha512-It7kCDI3tLM3++VIQ+S2ARHLNHcpUZRUMo5tpUvIXYFQDkpx7/6p28tKCKiwijkpA7t2yiXhbRfF1ySKx043EQ==} peerDependencies: vite: ^2 || ^3 || ^4 @@ -9591,7 +9497,7 @@ packages: clean-css: 5.3.2 flat-cache: 3.0.4 picocolors: 1.0.0 - vite: 4.2.1 + vite: 4.2.0 transitivePeerDependencies: - debug dev: true @@ -9600,7 +9506,7 @@ packages: resolution: {integrity: sha512-9ZIRBRCgM1Q4RtXXEBHIu8gotbx9LCnHZOZXtdSzR0DnjN9H5IYGY3yGoxI6VX8dScXiluxOODFlNlr7ydyI9A==} dev: true - /vite-ssg/0.22.1_5yp5ffmexyoplwevzih2hx4gpy: + /vite-ssg/0.22.1_sko5ykgkgm7crz47mqa6e35k6y: resolution: {integrity: sha512-aiFbedElOR/amu0VPfWNj2oR7V9zX6oS4jzWEkOe5fJuZIV2+FnUyiupoyoo3lv3njgS2GENNpmxijN6tpJsTA==} engines: {node: '>=14.0.0'} hasBin: true @@ -9616,19 +9522,19 @@ packages: vue-router: optional: true dependencies: - '@unhead/dom': 1.0.13 + '@unhead/dom': 1.1.23 '@vueuse/head': 1.1.23_vue@3.2.47 critters: 0.0.16 fs-extra: 11.1.0 html-minifier: 4.0.0 html5parser: 2.0.2 jsdom: 20.0.3 - kolorist: 1.6.0 + kolorist: 1.7.0 prettier: 2.8.1 - vite: 4.2.1 + vite: 4.2.0 vue: 3.2.47 vue-router: 4.1.6_vue@3.2.47 - yargs: 17.6.2 + yargs: 17.7.1 transitivePeerDependencies: - bufferutil - canvas @@ -9636,8 +9542,8 @@ packages: - utf-8-validate dev: true - /vite/4.2.1: - resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} + /vite/4.2.0: + resolution: {integrity: sha512-AbDTyzzwuKoRtMIRLGNxhLRuv1FpRgdIw+1y6AQG73Q5+vtecmvzKo/yk8X/vrHDpETRTx01ABijqUHIzBXi0g==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -9661,16 +9567,16 @@ packages: terser: optional: true dependencies: - esbuild: 0.17.14 + esbuild: 0.17.12 postcss: 8.4.21 resolve: 1.22.1 - rollup: 3.20.2 + rollup: 3.18.0 optionalDependencies: fsevents: 2.3.2 dev: true - /vite/4.2.1_@types+node@18.6.1: - resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} + /vite/4.2.0_@types+node@18.6.1: + resolution: {integrity: sha512-AbDTyzzwuKoRtMIRLGNxhLRuv1FpRgdIw+1y6AQG73Q5+vtecmvzKo/yk8X/vrHDpETRTx01ABijqUHIzBXi0g==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -9695,16 +9601,16 @@ packages: optional: true dependencies: '@types/node': 18.6.1 - esbuild: 0.17.14 + esbuild: 0.17.12 postcss: 8.4.21 resolve: 1.22.1 - rollup: 3.20.2 + rollup: 3.18.0 optionalDependencies: fsevents: 2.3.2 dev: true - /vitest/0.29.7: - resolution: {integrity: sha512-aWinOSOu4jwTuZHkb+cCyrqQ116Q9TXaJrNKTHudKBknIpR0VplzeaOUuDF9jeZcrbtQKZQt6yrtd+eakbaxHg==} + /vitest/0.29.3: + resolution: {integrity: sha512-muMsbXnZsrzDGiyqf/09BKQsGeUxxlyLeLK/sFFM4EXdURPQRv8y7dco32DXaRORYP0bvyN19C835dT23mL0ow==} engines: {node: '>=v14.16.0'} hasBin: true peerDependencies: @@ -9713,8 +9619,6 @@ packages: '@vitest/ui': '*' happy-dom: '*' jsdom: '*' - safaridriver: '*' - webdriverio: '*' peerDependenciesMeta: '@edge-runtime/vm': optional: true @@ -9726,19 +9630,15 @@ packages: optional: true jsdom: optional: true - safaridriver: - optional: true - webdriverio: - optional: true dependencies: '@types/chai': 4.3.4 '@types/chai-subset': 1.3.3 '@types/node': 18.6.1 - '@vitest/expect': 0.29.7 - '@vitest/runner': 0.29.7 - '@vitest/spy': 0.29.7 - '@vitest/utils': 0.29.7 - acorn: 8.8.1 + '@vitest/expect': 0.29.3 + '@vitest/runner': 0.29.3 + '@vitest/spy': 0.29.3 + '@vitest/utils': 0.29.3 + acorn: 8.8.2 acorn-walk: 8.2.0 cac: 6.7.14 chai: 4.3.7 @@ -9748,12 +9648,12 @@ packages: picocolors: 1.0.0 source-map: 0.6.1 std-env: 3.3.2 - strip-literal: 1.0.0 + strip-literal: 1.0.1 tinybench: 2.3.1 - tinypool: 0.4.0 + tinypool: 0.3.1 tinyspy: 1.0.2 - vite: 4.2.1_@types+node@18.6.1 - vite-node: 0.29.7_@types+node@18.6.1 + vite: 4.2.0_@types+node@18.6.1 + vite-node: 0.29.3_@types+node@18.6.1 why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -9813,7 +9713,7 @@ packages: '@intlify/core-base': 9.2.2 '@intlify/shared': 9.2.2 '@intlify/vue-devtools': 9.2.2 - '@vue/devtools-api': 6.2.1 + '@vue/devtools-api': 6.5.0 vue: 3.2.47 /vue-router/4.1.6_vue@3.2.47: @@ -9821,7 +9721,7 @@ packages: peerDependencies: vue: ^3.2.0 dependencies: - '@vue/devtools-api': 6.4.5 + '@vue/devtools-api': 6.5.0 vue: 3.2.47 /vue-template-compiler/2.7.14: @@ -10212,19 +10112,6 @@ packages: engines: {node: '>=12'} dev: true - /yargs/17.6.2: - resolution: {integrity: sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==} - engines: {node: '>=12'} - dependencies: - cliui: 8.0.1 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - dev: true - /yargs/17.7.1: resolution: {integrity: sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==} engines: {node: '>=12'} diff --git a/src/components/TheFooter.vue b/src/components/TheFooter.vue index d1c827c..bc75b74 100644 --- a/src/components/TheFooter.vue +++ b/src/components/TheFooter.vue @@ -1,10 +1,14 @@ diff --git a/src/modules/i18n.ts b/src/modules/i18n.ts index 5d34801..16bc3ab 100644 --- a/src/modules/i18n.ts +++ b/src/modules/i18n.ts @@ -1,3 +1,4 @@ +import type { Locale } from 'vue-i18n' import { createI18n } from 'vue-i18n' import { type UserModule } from '~/types' @@ -5,21 +6,45 @@ import { type UserModule } from '~/types' // https://vitejs.dev/guide/features.html#glob-import // // Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite -const messages = Object.fromEntries( - Object.entries( - import.meta.glob<{ default: any }>('../../locales/*.y(a)?ml', { eager: true })) - .map(([key, value]) => { - const yaml = key.endsWith('.yaml') - return [key.slice(14, yaml ? -5 : -4), value.default] - }), -) +const i18n = createI18n({ + legacy: false, + locale: '', + messages: {}, +}) + +const localesMap = Object.fromEntries( + Object.entries(import.meta.glob('../../locales/*.yml')) + .map(([path, loadLocale]) => [path.match(/([\w-]*)\.yml$/)?.[1], loadLocale]), +) as Record Promise<{ default: Record }>> + +export const availableLocales = Object.keys(localesMap) + +const loadedLanguages: string[] = [] + +function setI18nLanguage(lang: Locale) { + i18n.global.locale.value = lang as any + if (typeof document !== 'undefined') + document.querySelector('html')?.setAttribute('lang', lang) + return lang +} + +export async function loadLanguageAsync(lang: string): Promise { + // If the same language + if (i18n.global.locale.value === lang) + return setI18nLanguage(lang) + + // If the language was already loaded + if (loadedLanguages.includes(lang)) + return setI18nLanguage(lang) + + // If the language hasn't been loaded yet + const messages = await localesMap[lang]() + i18n.global.setLocaleMessage(lang, messages.default) + loadedLanguages.push(lang) + return setI18nLanguage(lang) +} export const install: UserModule = ({ app }) => { - const i18n = createI18n({ - legacy: false, - locale: 'en', - messages, - }) - app.use(i18n) + loadLanguageAsync('en') }