diff --git a/build/plugins.ts b/build/plugins.ts index 37c8278a4f..ede613e4d1 100644 --- a/build/plugins.ts +++ b/build/plugins.ts @@ -26,7 +26,6 @@ export function getPluginsList( // jsx、tsx语法支持 vueJsx(), VueI18nPlugin({ - jitCompilation: false, include: [pathResolve("../locales/**")] }), checker({ diff --git a/package.json b/package.json index 0c2ed6dfad..621f9d3733 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "v3-infinite-loading": "^1.3.2", "version-rocket": "^1.7.3", "vue": "^3.5.7", - "vue-i18n": "^9.14.0", + "vue-i18n": "^10.0.1", "vue-json-pretty": "^2.4.0", "vue-pdf-embed": "^2.1.0", "vue-router": "^4.4.5", @@ -117,7 +117,7 @@ "@iconify-icons/ep": "^1.2.12", "@iconify-icons/ri": "^1.2.10", "@iconify/vue": "^4.1.2", - "@intlify/unplugin-vue-i18n": "^4.0.0", + "@intlify/unplugin-vue-i18n": "^5.0.0", "@pureadmin/theme": "^3.2.0", "@types/dagre": "^0.7.52", "@types/gradient-string": "^1.1.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 69ffaa2d0b..24dd1c2a4b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,7 +43,7 @@ importers: version: 11.1.0(vue@3.5.7(typescript@5.6.2)) '@vueuse/motion': specifier: ^2.2.5 - version: 2.2.5(rollup@4.22.2)(vue@3.5.7(typescript@5.6.2)) + version: 2.2.5(rollup@4.22.4)(vue@3.5.7(typescript@5.6.2)) '@wangeditor/editor': specifier: ^5.1.23 version: 5.1.23 @@ -144,8 +144,8 @@ importers: specifier: ^3.5.7 version: 3.5.7(typescript@5.6.2) vue-i18n: - specifier: ^9.14.0 - version: 9.14.0(vue@3.5.7(typescript@5.6.2)) + specifier: ^10.0.1 + version: 10.0.1(vue@3.5.7(typescript@5.6.2)) vue-json-pretty: specifier: ^2.4.0 version: 2.4.0(vue@3.5.7(typescript@5.6.2)) @@ -214,8 +214,8 @@ importers: specifier: ^4.1.2 version: 4.1.2(vue@3.5.7(typescript@5.6.2)) '@intlify/unplugin-vue-i18n': - specifier: ^4.0.0 - version: 4.0.0(rollup@4.22.2)(vue-i18n@9.14.0(vue@3.5.7(typescript@5.6.2))) + specifier: ^5.0.0 + version: 5.0.0(@vue/compiler-dom@3.5.7)(eslint@9.11.0(jiti@1.21.6))(rollup@4.22.4)(typescript@5.6.2)(vue-i18n@10.0.1(vue@3.5.7(typescript@5.6.2)))(vue@3.5.7(typescript@5.6.2)) '@pureadmin/theme': specifier: ^3.2.0 version: 3.2.0 @@ -314,7 +314,7 @@ importers: version: 6.0.1 rollup-plugin-visualizer: specifier: ^5.12.0 - version: 5.12.0(rollup@4.22.2) + version: 5.12.0(rollup@4.22.4) sass: specifier: 1.77.8 version: 1.77.8 @@ -347,7 +347,7 @@ importers: version: 5.4.7(@types/node@20.16.5)(sass@1.77.8) vite-plugin-cdn-import: specifier: ^1.0.1 - version: 1.0.1(rollup@4.22.2)(vite@5.4.7(@types/node@20.16.5)(sass@1.77.8)) + version: 1.0.1(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(sass@1.77.8)) vite-plugin-checker: specifier: ^0.8.0 version: 0.8.0(eslint@9.11.0(jiti@1.21.6))(optionator@0.9.4)(stylelint@16.9.0(typescript@5.6.2))(typescript@5.6.2)(vite@5.4.7(@types/node@20.16.5)(sass@1.77.8))(vue-tsc@2.1.6(typescript@5.6.2)) @@ -1068,9 +1068,9 @@ packages: dayjs: ^1.11.5 vue: ^3.2.40 - '@intlify/bundle-utils@8.0.0': - resolution: {integrity: sha512-1B++zykRnMwQ+20SpsZI1JCnV/YJt9Oq7AGlEurzkWJOFtFAVqaGc/oV36PBRYeiKnTbY9VYfjBimr2Vt42wLQ==} - engines: {node: '>= 14.16'} + '@intlify/bundle-utils@9.0.0-beta.0': + resolution: {integrity: sha512-xVaMrgbr60fYE1Jkq+k6grs2ZoXqh1EU71RVKkHkKh3KP7T6OYtG1Vbp1T09/jCUbv1GBd8Ir5WdZDyN+e8BpQ==} + engines: {node: '>= 18'} peerDependencies: petite-vue-i18n: '*' vue-i18n: '*' @@ -1080,31 +1080,55 @@ packages: vue-i18n: optional: true - '@intlify/core-base@9.14.0': - resolution: {integrity: sha512-zJn0imh9HIsZZUtt9v8T16PeVstPv6bP2YzlrYJwoF8F30gs4brZBwW2KK6EI5WYKFi3NeqX6+UU4gniz5TkGg==} + '@intlify/core-base@10.0.1': + resolution: {integrity: sha512-6kpRGjhos95ph7QmEtP4tnWFTW102s71CLQAQwfsIGqOAcoJhzcYFpzIQ0gKXzqAIXsMD/hwM5qJ4ewqMHw3gg==} engines: {node: '>= 16'} - '@intlify/message-compiler@9.14.0': - resolution: {integrity: sha512-sXNsoMI0YsipSXW8SR75drmVK56tnJHoYbPXUv2Cf9lz6FzvwsosFm6JtC1oQZI/kU+n7qx0qRrEWkeYFTgETA==} + '@intlify/message-compiler@10.0.0': + resolution: {integrity: sha512-OcaWc63NC/9p1cMdgoNKBj4d61BH8sUW1Hfs6YijTd9656ZR4rNqXAlRnBrfS5ABq0vjQjpa8VnyvH9hK49yBw==} engines: {node: '>= 16'} - '@intlify/shared@9.14.0': - resolution: {integrity: sha512-r+N8KRQL7LgN1TMTs1A2svfuAU0J94Wu9wWdJVJqYsoMMLIeJxrPjazihfHpmJqfgZq0ah3Y9Q4pgWV2O90Fyg==} + '@intlify/message-compiler@10.0.1': + resolution: {integrity: sha512-fPeykrcgVT5eOIlshTHiPCN8FV3AZyBOdMS3XaXzfQ6eL5wqfc29I/EdIv5YXVW5X8e/BgYeWjBC0Cuznsl/2g==} engines: {node: '>= 16'} - '@intlify/unplugin-vue-i18n@4.0.0': - resolution: {integrity: sha512-q2Mhqa/mLi0tulfLFO4fMXXvEbkSZpI5yGhNNsLTNJJ41icEGUuyDe+j5zRZIKSkOJRgX6YbCyibTDJdRsukmw==} - engines: {node: '>= 14.16'} + '@intlify/shared@10.0.0': + resolution: {integrity: sha512-6ngLfI7DOTew2dcF9WMJx+NnMWghMBhIiHbGg+wRvngpzD5KZJZiJVuzMsUQE1a5YebEmtpTEfUrDp/NqVGdiw==} + engines: {node: '>= 16'} + + '@intlify/shared@10.0.1': + resolution: {integrity: sha512-b4h7IWdZl710DnAhET8lgfgZ4Y9A2IZx/gbli3Ec/zHtYCoPqLHmiM7kUNBrSZj7d/SSjcMMZHuz5I09x3PYZw==} + engines: {node: '>= 16'} + + '@intlify/unplugin-vue-i18n@5.0.0': + resolution: {integrity: sha512-bIK9DGirnD4lrcTB8aVRIfjafJuXtsRO4uisMC+AmkoQCyFgtgG5eUxzKZ7SCwLd81Y0iWbr2FdSeHJfby369w==} + engines: {node: '>= 18'} peerDependencies: petite-vue-i18n: '*' + vue: ^3.2.25 vue-i18n: '*' - vue-i18n-bridge: '*' peerDependenciesMeta: petite-vue-i18n: optional: true vue-i18n: optional: true - vue-i18n-bridge: + + '@intlify/vue-i18n-extensions@6.2.0': + resolution: {integrity: sha512-RN6Jg80NxY/yv408zFQz/pSLh6mw7cFU/WoykzNsb24L8H0YvktOkdLtJSZcKgRiAlbK0MpK4n4nG2n8FxHiNw==} + engines: {node: '>= 18'} + peerDependencies: + '@intlify/shared': ^9.0.0 || ^10.0.0 + '@vue/compiler-dom': ^3.0.0 + vue: ^3.0.0 + vue-i18n: ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + '@intlify/shared': + optional: true + '@vue/compiler-dom': + optional: true + vue: + optional: true + vue-i18n: optional: true '@isaacs/cliui@8.0.2': @@ -1265,92 +1289,92 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.22.2': - resolution: {integrity: sha512-8Ao+EDmTPjZ1ZBABc1ohN7Ylx7UIYcjReZinigedTOnGFhIctyGPxY2II+hJ6gD2/vkDKZTyQ0e7++kwv6wDrw==} + '@rollup/rollup-android-arm-eabi@4.22.4': + resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.22.2': - resolution: {integrity: sha512-I+B1v0a4iqdS9DvYt1RJZ3W+Oh9EVWjbY6gp79aAYipIbxSLEoQtFQlZEnUuwhDXCqMxJ3hluxKAdPD+GiluFQ==} + '@rollup/rollup-android-arm64@4.22.4': + resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.22.2': - resolution: {integrity: sha512-BTHO7rR+LC67OP7I8N8GvdvnQqzFujJYWo7qCQ8fGdQcb8Gn6EQY+K1P+daQLnDCuWKbZ+gHAQZuKiQkXkqIYg==} + '@rollup/rollup-darwin-arm64@4.22.4': + resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.22.2': - resolution: {integrity: sha512-1esGwDNFe2lov4I6GsEeYaAMHwkqk0IbuGH7gXGdBmd/EP9QddJJvTtTF/jv+7R8ZTYPqwcdLpMTxK8ytP6k6Q==} + '@rollup/rollup-darwin-x64@4.22.4': + resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.22.2': - resolution: {integrity: sha512-GBHuY07x96OTEM3OQLNaUSUwrOhdMea/LDmlFHi/HMonrgF6jcFrrFFwJhhe84XtA1oK/Qh4yFS+VMREf6dobg==} + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==} cpu: [arm] os: [linux] libc: [glibc] - '@rollup/rollup-linux-arm-musleabihf@4.22.2': - resolution: {integrity: sha512-Dbfa9Sc1G1lWxop0gNguXOfGhaXQWAGhZUcqA0Vs6CnJq8JW/YOw/KvyGtQFmz4yDr0H4v9X248SM7bizYj4yQ==} + '@rollup/rollup-linux-arm-musleabihf@4.22.4': + resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==} cpu: [arm] os: [linux] libc: [musl] - '@rollup/rollup-linux-arm64-gnu@4.22.2': - resolution: {integrity: sha512-Z1YpgBvFYhZIyBW5BoopwSg+t7yqEhs5HCei4JbsaXnhz/eZehT18DaXl957aaE9QK7TRGFryCAtStZywcQe1A==} + '@rollup/rollup-linux-arm64-gnu@4.22.4': + resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==} cpu: [arm64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-arm64-musl@4.22.2': - resolution: {integrity: sha512-66Zszr7i/JaQ0u/lefcfaAw16wh3oT72vSqubIMQqWzOg85bGCPhoeykG/cC5uvMzH80DQa2L539IqKht6twVA==} + '@rollup/rollup-linux-arm64-musl@4.22.4': + resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==} cpu: [arm64] os: [linux] libc: [musl] - '@rollup/rollup-linux-powerpc64le-gnu@4.22.2': - resolution: {integrity: sha512-HpJCMnlMTfEhwo19bajvdraQMcAq3FX08QDx3OfQgb+414xZhKNf3jNvLFYKbbDSGBBrQh5yNwWZrdK0g0pokg==} + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==} cpu: [ppc64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-riscv64-gnu@4.22.2': - resolution: {integrity: sha512-/egzQzbOSRef2vYCINKITGrlwkzP7uXRnL+xU2j75kDVp3iPdcF0TIlfwTRF8woBZllhk3QaxNOEj2Ogh3t9hg==} + '@rollup/rollup-linux-riscv64-gnu@4.22.4': + resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==} cpu: [riscv64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-s390x-gnu@4.22.2': - resolution: {integrity: sha512-qgYbOEbrPfEkH/OnUJd1/q4s89FvNJQIUldx8X2F/UM5sEbtkqZpf2s0yly2jSCKr1zUUOY1hnTP2J1WOzMAdA==} + '@rollup/rollup-linux-s390x-gnu@4.22.4': + resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==} cpu: [s390x] os: [linux] libc: [glibc] - '@rollup/rollup-linux-x64-gnu@4.22.2': - resolution: {integrity: sha512-a0lkvNhFLhf+w7A95XeBqGQaG0KfS3hPFJnz1uraSdUe/XImkp/Psq0Ca0/UdD5IEAGoENVmnYrzSC9Y2a2uKQ==} + '@rollup/rollup-linux-x64-gnu@4.22.4': + resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==} cpu: [x64] os: [linux] libc: [glibc] - '@rollup/rollup-linux-x64-musl@4.22.2': - resolution: {integrity: sha512-sSWBVZgzwtsuG9Dxi9kjYOUu/wKW+jrbzj4Cclabqnfkot8Z3VEHcIgyenA3lLn/Fu11uDviWjhctulkhEO60g==} + '@rollup/rollup-linux-x64-musl@4.22.4': + resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==} cpu: [x64] os: [linux] libc: [musl] - '@rollup/rollup-win32-arm64-msvc@4.22.2': - resolution: {integrity: sha512-t/YgCbZ638R/r7IKb9yCM6nAek1RUvyNdfU0SHMDLOf6GFe/VG1wdiUAsxTWHKqjyzkRGg897ZfCpdo1bsCSsA==} + '@rollup/rollup-win32-arm64-msvc@4.22.4': + resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.22.2': - resolution: {integrity: sha512-kTmX5uGs3WYOA+gYDgI6ITkZng9SP71FEMoHNkn+cnmb9Zuyyay8pf0oO5twtTwSjNGy1jlaWooTIr+Dw4tIbw==} + '@rollup/rollup-win32-ia32-msvc@4.22.4': + resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.22.2': - resolution: {integrity: sha512-Yy8So+SoRz8I3NS4Bjh91BICPOSVgdompTIPYTByUqU66AXSIOgmW3Lv1ke3NORPqxdF+RdrZET+8vYai6f4aA==} + '@rollup/rollup-win32-x64-msvc@4.22.4': + resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==} cpu: [x64] os: [win32] @@ -4637,8 +4661,8 @@ packages: rollup: optional: true - rollup@4.22.2: - resolution: {integrity: sha512-JWWpTrZmqQGQWt16xvNn6KVIUz16VtZwl984TKw0dfqqRpFwtLJYYk1/4BTgplndMQKWUk/yB4uOShYmMzA2Vg==} + rollup@4.22.4: + resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -5350,8 +5374,8 @@ packages: peerDependencies: eslint: '>=6.0.0' - vue-i18n@9.14.0: - resolution: {integrity: sha512-LxmpRuCt2rI8gqU+kxeflRZMQn4D5+4M3oP3PWZdowW/ePJraHqhF7p4CuaME52mUxdw3Mmy2yAUKgfZYgCRjA==} + vue-i18n@10.0.1: + resolution: {integrity: sha512-SQVlSm/1S6AaG1wexvwq3ebXUrrkx75ZHD78UAs4/rYD/X3tsQxfm6ElpT4ZPegJQEgRtOJjGripqSrfqAENtg==} engines: {node: '>= 16'} peerDependencies: vue: ^3.0.0 @@ -6282,10 +6306,10 @@ snapshots: transitivePeerDependencies: - '@vue/composition-api' - '@intlify/bundle-utils@8.0.0(vue-i18n@9.14.0(vue@3.5.7(typescript@5.6.2)))': + '@intlify/bundle-utils@9.0.0-beta.0(vue-i18n@10.0.1(vue@3.5.7(typescript@5.6.2)))': dependencies: - '@intlify/message-compiler': 9.14.0 - '@intlify/shared': 9.14.0 + '@intlify/message-compiler': 10.0.0 + '@intlify/shared': 10.0.0 acorn: 8.12.1 escodegen: 2.1.0 estree-walker: 2.0.2 @@ -6294,41 +6318,65 @@ snapshots: source-map-js: 1.2.1 yaml-eslint-parser: 1.2.3 optionalDependencies: - vue-i18n: 9.14.0(vue@3.5.7(typescript@5.6.2)) + vue-i18n: 10.0.1(vue@3.5.7(typescript@5.6.2)) - '@intlify/core-base@9.14.0': + '@intlify/core-base@10.0.1': dependencies: - '@intlify/message-compiler': 9.14.0 - '@intlify/shared': 9.14.0 + '@intlify/message-compiler': 10.0.1 + '@intlify/shared': 10.0.1 - '@intlify/message-compiler@9.14.0': + '@intlify/message-compiler@10.0.0': dependencies: - '@intlify/shared': 9.14.0 + '@intlify/shared': 10.0.0 source-map-js: 1.2.1 - '@intlify/shared@9.14.0': {} + '@intlify/message-compiler@10.0.1': + dependencies: + '@intlify/shared': 10.0.1 + source-map-js: 1.2.1 - '@intlify/unplugin-vue-i18n@4.0.0(rollup@4.22.2)(vue-i18n@9.14.0(vue@3.5.7(typescript@5.6.2)))': + '@intlify/shared@10.0.0': {} + + '@intlify/shared@10.0.1': {} + + '@intlify/unplugin-vue-i18n@5.0.0(@vue/compiler-dom@3.5.7)(eslint@9.11.0(jiti@1.21.6))(rollup@4.22.4)(typescript@5.6.2)(vue-i18n@10.0.1(vue@3.5.7(typescript@5.6.2)))(vue@3.5.7(typescript@5.6.2))': dependencies: - '@intlify/bundle-utils': 8.0.0(vue-i18n@9.14.0(vue@3.5.7(typescript@5.6.2))) - '@intlify/shared': 9.14.0 - '@rollup/pluginutils': 5.1.0(rollup@4.22.2) - '@vue/compiler-sfc': 3.5.7 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@intlify/bundle-utils': 9.0.0-beta.0(vue-i18n@10.0.1(vue@3.5.7(typescript@5.6.2))) + '@intlify/shared': 10.0.0 + '@intlify/vue-i18n-extensions': 6.2.0(@intlify/shared@10.0.0)(@vue/compiler-dom@3.5.7)(vue-i18n@10.0.1(vue@3.5.7(typescript@5.6.2)))(vue@3.5.7(typescript@5.6.2)) + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.2) debug: 4.3.7 fast-glob: 3.3.2 js-yaml: 4.1.0 json5: 2.2.3 + mlly: 1.7.1 pathe: 1.1.2 picocolors: 1.1.0 source-map-js: 1.2.1 unplugin: 1.14.1 + vue: 3.5.7(typescript@5.6.2) optionalDependencies: - vue-i18n: 9.14.0(vue@3.5.7(typescript@5.6.2)) + vue-i18n: 10.0.1(vue@3.5.7(typescript@5.6.2)) transitivePeerDependencies: + - '@vue/compiler-dom' + - eslint - rollup - supports-color + - typescript - webpack-sources + '@intlify/vue-i18n-extensions@6.2.0(@intlify/shared@10.0.0)(@vue/compiler-dom@3.5.7)(vue-i18n@10.0.1(vue@3.5.7(typescript@5.6.2)))(vue@3.5.7(typescript@5.6.2))': + dependencies: + '@babel/parser': 7.25.6 + optionalDependencies: + '@intlify/shared': 10.0.0 + '@vue/compiler-dom': 3.5.7 + vue: 3.5.7(typescript@5.6.2) + vue-i18n: 10.0.1(vue@3.5.7(typescript@5.6.2)) + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -6561,9 +6609,9 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@nuxt/kit@3.13.2(rollup@4.22.2)': + '@nuxt/kit@3.13.2(rollup@4.22.4)': dependencies: - '@nuxt/schema': 3.13.2(rollup@4.22.2) + '@nuxt/schema': 3.13.2(rollup@4.22.4) c12: 1.11.2 consola: 3.2.3 defu: 6.1.4 @@ -6581,7 +6629,7 @@ snapshots: semver: 7.6.3 ufo: 1.5.4 unctx: 2.3.1 - unimport: 3.12.0(rollup@4.22.2) + unimport: 3.12.0(rollup@4.22.4) untyped: 1.4.2 transitivePeerDependencies: - magicast @@ -6590,7 +6638,7 @@ snapshots: - webpack-sources optional: true - '@nuxt/schema@3.13.2(rollup@4.22.2)': + '@nuxt/schema@3.13.2(rollup@4.22.4)': dependencies: compatx: 0.1.8 consola: 3.2.3 @@ -6602,7 +6650,7 @@ snapshots: std-env: 3.7.0 ufo: 1.5.4 uncrypto: 0.1.3 - unimport: 3.12.0(rollup@4.22.2) + unimport: 3.12.0(rollup@4.22.4) untyped: 1.4.2 transitivePeerDependencies: - rollup @@ -6645,60 +6693,60 @@ snapshots: echarts: 5.5.1 vue: 3.5.7(typescript@5.6.2) - '@rollup/pluginutils@5.1.0(rollup@4.22.2)': + '@rollup/pluginutils@5.1.0(rollup@4.22.4)': dependencies: '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.22.2 + rollup: 4.22.4 - '@rollup/rollup-android-arm-eabi@4.22.2': + '@rollup/rollup-android-arm-eabi@4.22.4': optional: true - '@rollup/rollup-android-arm64@4.22.2': + '@rollup/rollup-android-arm64@4.22.4': optional: true - '@rollup/rollup-darwin-arm64@4.22.2': + '@rollup/rollup-darwin-arm64@4.22.4': optional: true - '@rollup/rollup-darwin-x64@4.22.2': + '@rollup/rollup-darwin-x64@4.22.4': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.22.2': + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.22.2': + '@rollup/rollup-linux-arm-musleabihf@4.22.4': optional: true - '@rollup/rollup-linux-arm64-gnu@4.22.2': + '@rollup/rollup-linux-arm64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-arm64-musl@4.22.2': + '@rollup/rollup-linux-arm64-musl@4.22.4': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.22.2': + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.22.2': + '@rollup/rollup-linux-riscv64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-s390x-gnu@4.22.2': + '@rollup/rollup-linux-s390x-gnu@4.22.4': optional: true - '@rollup/rollup-linux-x64-gnu@4.22.2': + '@rollup/rollup-linux-x64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-x64-musl@4.22.2': + '@rollup/rollup-linux-x64-musl@4.22.4': optional: true - '@rollup/rollup-win32-arm64-msvc@4.22.2': + '@rollup/rollup-win32-arm64-msvc@4.22.4': optional: true - '@rollup/rollup-win32-ia32-msvc@4.22.2': + '@rollup/rollup-win32-ia32-msvc@4.22.4': optional: true - '@rollup/rollup-win32-x64-msvc@4.22.2': + '@rollup/rollup-win32-x64-msvc@4.22.4': optional: true '@sindresorhus/merge-streams@2.3.0': @@ -7107,7 +7155,7 @@ snapshots: '@vueuse/metadata@9.13.0': {} - '@vueuse/motion@2.2.5(rollup@4.22.2)(vue@3.5.7(typescript@5.6.2))': + '@vueuse/motion@2.2.5(rollup@4.22.4)(vue@3.5.7(typescript@5.6.2))': dependencies: '@vueuse/core': 10.11.1(vue@3.5.7(typescript@5.6.2)) '@vueuse/shared': 10.11.1(vue@3.5.7(typescript@5.6.2)) @@ -7117,7 +7165,7 @@ snapshots: style-value-types: 5.1.2 vue: 3.5.7(typescript@5.6.2) optionalDependencies: - '@nuxt/kit': 3.13.2(rollup@4.22.2) + '@nuxt/kit': 3.13.2(rollup@4.22.4) transitivePeerDependencies: - '@vue/composition-api' - magicast @@ -10445,43 +10493,43 @@ snapshots: glob: 11.0.0 package-json-from-dist: 1.0.0 - rollup-plugin-external-globals@0.10.0(rollup@4.22.2): + rollup-plugin-external-globals@0.10.0(rollup@4.22.4): dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.22.2) + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) estree-walker: 3.0.3 is-reference: 3.0.2 magic-string: 0.30.11 - rollup: 4.22.2 + rollup: 4.22.4 - rollup-plugin-visualizer@5.12.0(rollup@4.22.2): + rollup-plugin-visualizer@5.12.0(rollup@4.22.4): dependencies: open: 8.4.2 picomatch: 2.3.1 source-map: 0.7.4 yargs: 17.7.2 optionalDependencies: - rollup: 4.22.2 + rollup: 4.22.4 - rollup@4.22.2: + rollup@4.22.4: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.22.2 - '@rollup/rollup-android-arm64': 4.22.2 - '@rollup/rollup-darwin-arm64': 4.22.2 - '@rollup/rollup-darwin-x64': 4.22.2 - '@rollup/rollup-linux-arm-gnueabihf': 4.22.2 - '@rollup/rollup-linux-arm-musleabihf': 4.22.2 - '@rollup/rollup-linux-arm64-gnu': 4.22.2 - '@rollup/rollup-linux-arm64-musl': 4.22.2 - '@rollup/rollup-linux-powerpc64le-gnu': 4.22.2 - '@rollup/rollup-linux-riscv64-gnu': 4.22.2 - '@rollup/rollup-linux-s390x-gnu': 4.22.2 - '@rollup/rollup-linux-x64-gnu': 4.22.2 - '@rollup/rollup-linux-x64-musl': 4.22.2 - '@rollup/rollup-win32-arm64-msvc': 4.22.2 - '@rollup/rollup-win32-ia32-msvc': 4.22.2 - '@rollup/rollup-win32-x64-msvc': 4.22.2 + '@rollup/rollup-android-arm-eabi': 4.22.4 + '@rollup/rollup-android-arm64': 4.22.4 + '@rollup/rollup-darwin-arm64': 4.22.4 + '@rollup/rollup-darwin-x64': 4.22.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.22.4 + '@rollup/rollup-linux-arm-musleabihf': 4.22.4 + '@rollup/rollup-linux-arm64-gnu': 4.22.4 + '@rollup/rollup-linux-arm64-musl': 4.22.4 + '@rollup/rollup-linux-powerpc64le-gnu': 4.22.4 + '@rollup/rollup-linux-riscv64-gnu': 4.22.4 + '@rollup/rollup-linux-s390x-gnu': 4.22.4 + '@rollup/rollup-linux-x64-gnu': 4.22.4 + '@rollup/rollup-linux-x64-musl': 4.22.4 + '@rollup/rollup-win32-arm64-msvc': 4.22.4 + '@rollup/rollup-win32-ia32-msvc': 4.22.4 + '@rollup/rollup-win32-x64-msvc': 4.22.4 fsevents: 2.3.3 run-parallel@1.2.0: @@ -11047,9 +11095,9 @@ snapshots: unicorn-magic@0.1.0: {} - unimport@3.12.0(rollup@4.22.2): + unimport@3.12.0(rollup@4.22.4): dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.22.2) + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) acorn: 8.12.1 escape-string-regexp: 5.0.0 estree-walker: 3.0.3 @@ -11131,9 +11179,9 @@ snapshots: transitivePeerDependencies: - debug - vite-plugin-cdn-import@1.0.1(rollup@4.22.2)(vite@5.4.7(@types/node@20.16.5)(sass@1.77.8)): + vite-plugin-cdn-import@1.0.1(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(sass@1.77.8)): dependencies: - rollup-plugin-external-globals: 0.10.0(rollup@4.22.2) + rollup-plugin-external-globals: 0.10.0(rollup@4.22.4) vite-plugin-externals: 0.6.2(vite@5.4.7(@types/node@20.16.5)(sass@1.77.8)) transitivePeerDependencies: - rollup @@ -11216,7 +11264,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.47 - rollup: 4.22.2 + rollup: 4.22.4 optionalDependencies: '@types/node': 20.16.5 fsevents: 2.3.3 @@ -11262,10 +11310,10 @@ snapshots: transitivePeerDependencies: - supports-color - vue-i18n@9.14.0(vue@3.5.7(typescript@5.6.2)): + vue-i18n@10.0.1(vue@3.5.7(typescript@5.6.2)): dependencies: - '@intlify/core-base': 9.14.0 - '@intlify/shared': 9.14.0 + '@intlify/core-base': 10.0.1 + '@intlify/shared': 10.0.1 '@vue/devtools-api': 6.6.4 vue: 3.5.7(typescript@5.6.2) diff --git a/src/plugins/i18n.ts b/src/plugins/i18n.ts index 0e0ae1e1cb..0615cf80cd 100644 --- a/src/plugins/i18n.ts +++ b/src/plugins/i18n.ts @@ -50,7 +50,7 @@ function getObjectKeys(obj) { if (obj[k] && isObject(obj[k])) { stack.push({ obj: obj[k], key: newKey }); } else { - keys.add(newKey); + keys.add(key); } } }