From 8b8736fbbda334513db7b95746c16534fc57f362 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Sun, 9 Jul 2023 04:08:56 +0900 Subject: [PATCH] fix: upgrade bundle-utils and unplugin-vue-i18n for fully esm using (#2214) * fix: upgrade bundle-utils and unplugin-vue-i18n for fully esm using * update snapshots --- package.json | 8 +- pnpm-lock.yaml | 114 +++++++++++++--------------- test/__snapshots__/gen.test.ts.snap | 16 ++-- 3 files changed, 63 insertions(+), 75 deletions(-) diff --git a/package.json b/package.json index 904e673b6..843038996 100644 --- a/package.json +++ b/package.json @@ -74,9 +74,9 @@ } }, "dependencies": { - "@intlify/bundle-utils": "^7.0.1", - "@intlify/shared": "9.3.0-beta.22", - "@intlify/unplugin-vue-i18n": "^0.12.1", + "@intlify/bundle-utils": "^7.0.2", + "@intlify/shared": "9.3.0-beta.24", + "@intlify/unplugin-vue-i18n": "^0.12.2", "@mizchi/sucrase": "^4.1.0", "@nuxt/kit": "^3.4.1", "@vue/compiler-sfc": "^3.3.4", @@ -94,7 +94,7 @@ "ufo": "^1.1.2", "unplugin": "^1.3.2", "unstorage": "^1.5.0", - "vue-i18n": "9.3.0-beta.22", + "vue-i18n": "9.3.0-beta.24", "vue-i18n-routing": "^0.13.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b6ac837b8..511e306ff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,14 +10,14 @@ importers: .: dependencies: '@intlify/bundle-utils': - specifier: ^7.0.1 - version: 7.0.1(vue-i18n@9.3.0-beta.22) + specifier: ^7.0.2 + version: 7.0.2(vue-i18n@9.3.0-beta.24) '@intlify/shared': - specifier: 9.3.0-beta.22 - version: 9.3.0-beta.22 + specifier: 9.3.0-beta.24 + version: 9.3.0-beta.24 '@intlify/unplugin-vue-i18n': - specifier: ^0.12.1 - version: 0.12.1(rollup@3.26.2)(vue-i18n@9.3.0-beta.22) + specifier: ^0.12.2 + version: 0.12.2(rollup@3.26.2)(vue-i18n@9.3.0-beta.24) '@mizchi/sucrase': specifier: ^4.1.0 version: 4.1.0 @@ -70,11 +70,11 @@ importers: specifier: ^1.5.0 version: 1.5.0 vue-i18n: - specifier: 9.3.0-beta.22 - version: 9.3.0-beta.22(vue@3.3.4) + specifier: 9.3.0-beta.24 + version: 9.3.0-beta.24(vue@3.3.4) vue-i18n-routing: specifier: ^0.13.0 - version: 0.13.0(vue-i18n@9.3.0-beta.22)(vue@3.3.4) + version: 0.13.0(vue-i18n@9.3.0-beta.24)(vue@3.3.4) devDependencies: '@babel/parser': specifier: ^7.22.7 @@ -1385,8 +1385,8 @@ packages: vue: 3.3.4 dev: true - /@intlify/bundle-utils@7.0.1(vue-i18n@9.3.0-beta.22): - resolution: {integrity: sha512-D7XrFOR8hbKnukGCWFrbz1IJsTQy8VgZ0TIOTQTSQ/bGhRmpyaLMQs44lJqP782mAR0AbumLlF56+oXpZqWuzQ==} + /@intlify/bundle-utils@7.0.2(vue-i18n@9.3.0-beta.24): + resolution: {integrity: sha512-8wbx9xhbawBFTE5LPTECiK26RRqrNS31jyWSur72ZXZZ4it5jiZTcG6eUJlNirr4+jXYio2DGY299JsGVT4cpw==} engines: {node: '>= 14.16'} peerDependencies: petite-vue-i18n: '*' @@ -1397,64 +1397,51 @@ packages: vue-i18n: optional: true dependencies: - '@intlify/message-compiler': 9.3.0-beta.20 - '@intlify/shared': 9.3.0-beta.20 - acorn: 8.8.2 + '@intlify/message-compiler': 9.3.0-beta.24 + '@intlify/shared': 9.3.0-beta.24 + acorn: 8.9.0 escodegen: 2.0.0 estree-walker: 2.0.2 jsonc-eslint-parser: 1.4.1 - magic-string: 0.30.0 + magic-string: 0.30.1 mlly: 1.4.0 source-map-js: 1.0.2 - vue-i18n: 9.3.0-beta.22(vue@3.3.4) + vue-i18n: 9.3.0-beta.24(vue@3.3.4) yaml-eslint-parser: 0.3.2 dev: false - /@intlify/core-base@9.3.0-beta.22: - resolution: {integrity: sha512-Mf+jyneuQxNW7pqLErIzorYrLjWGEGoPDVFrKVQNahdUDnXL/QA0CpvcAltX+Xdmgep+cVMrGD6x99hIF1BfQA==} + /@intlify/core-base@9.3.0-beta.24: + resolution: {integrity: sha512-2R03Swr6pmu3jBCYxCCpHAnuqLpyQZNfQR/Csf9OJBRAFUMvbK6/hqZszQJfEMG8OIyWWSinA4JscvpkDHvEWw==} engines: {node: '>= 16'} dependencies: - '@intlify/devtools-if': 9.3.0-beta.22 - '@intlify/message-compiler': 9.3.0-beta.22 - '@intlify/shared': 9.3.0-beta.22 - '@intlify/vue-devtools': 9.3.0-beta.22 + '@intlify/devtools-if': 9.3.0-beta.24 + '@intlify/message-compiler': 9.3.0-beta.24 + '@intlify/shared': 9.3.0-beta.24 + '@intlify/vue-devtools': 9.3.0-beta.24 dev: false - /@intlify/devtools-if@9.3.0-beta.22: - resolution: {integrity: sha512-9HPcF1wFaH/D++SqUCNQMWBtg+2v2+BLRxuwzgR9d9UGv7iRLZFPtxt51S4epCQdyg3z6GruTRzTJhThUgzTAA==} + /@intlify/devtools-if@9.3.0-beta.24: + resolution: {integrity: sha512-ZpVMduLgOD5DLByBWUSUph3c98kSiiWupRFTsBEDHTZlH80ypyhjH4c3JzVv4ppEH1TRqY/cP3svfee1FFi79w==} engines: {node: '>= 16'} dependencies: - '@intlify/shared': 9.3.0-beta.22 + '@intlify/shared': 9.3.0-beta.24 dev: false - /@intlify/message-compiler@9.3.0-beta.20: - resolution: {integrity: sha512-hwqQXyTnDzAVZ300SU31jO0+3OJbpOdfVU6iBkrmNpS7t2HRnVACo0EwcEXzJa++4EVDreqz5OeqJbt+PeSGGA==} + /@intlify/message-compiler@9.3.0-beta.24: + resolution: {integrity: sha512-prhHATkgp0mpPqoVgiAtLmUc1JMvs8fMH6w53AVEBn+VF87dLhzanfmWY5FoZWORG51ag54gBDBOoM/VFv3m3A==} engines: {node: '>= 16'} dependencies: - '@intlify/shared': 9.3.0-beta.20 + '@intlify/shared': 9.3.0-beta.24 source-map-js: 1.0.2 dev: false - /@intlify/message-compiler@9.3.0-beta.22: - resolution: {integrity: sha512-6X5h2v+RRixdB8qC4QZJpao4/sAP7l1nULK17/m0HuZZcTwWhjXvfSft88UCPHCTSj8rQp8Syr7ksKVhgIteKw==} + /@intlify/shared@9.3.0-beta.24: + resolution: {integrity: sha512-AKxJ8s7eKIQWkNaf4wyyoLRwf4puCuQgjSChlDJm5JBEt6T8HGgnYTJLRXu6LD/JACn3Qwu6hM/XRX1c9yvjmQ==} engines: {node: '>= 16'} - dependencies: - '@intlify/shared': 9.3.0-beta.22 - source-map-js: 1.0.2 dev: false - /@intlify/shared@9.3.0-beta.20: - resolution: {integrity: sha512-RucSPqh8O9FFxlYUysQTerSw0b9HIRpyoN1Zjogpm0qLiHK+lBNSa5sh1nCJ4wSsNcjphzgpLQCyR60GZlRV8g==} - engines: {node: '>= 16'} - dev: false - - /@intlify/shared@9.3.0-beta.22: - resolution: {integrity: sha512-GS+OHgYcHaq7a+zC1dlVvEHUYHVPKPC/tV3OmFyKJ2Lm7qAFmX29MQn9WOG4WtUme86tPp5LRFz6mYL5VQUJqQ==} - engines: {node: '>= 16'} - dev: false - - /@intlify/unplugin-vue-i18n@0.12.1(rollup@3.26.2)(vue-i18n@9.3.0-beta.22): - resolution: {integrity: sha512-gdWRdlOWC8x/OyvVk5qnGnvScMj+PRZaTB4LBf24l7X1dhGYVrQVt2dAZt97tSpEwRRxy4vBaL/qBqKN4kkaRw==} + /@intlify/unplugin-vue-i18n@0.12.2(rollup@3.26.2)(vue-i18n@9.3.0-beta.24): + resolution: {integrity: sha512-IIgzLRSPUKZM1FBdUAZ9NwVPiLUr4ea5g/HLWe2lB7gNtPDz4FOfUNUllIT504hT+3pDoJmjaYJ6pyqT7F4Wuw==} engines: {node: '>= 14.16'} peerDependencies: petite-vue-i18n: '*' @@ -1468,8 +1455,8 @@ packages: vue-i18n-bridge: optional: true dependencies: - '@intlify/bundle-utils': 7.0.1(vue-i18n@9.3.0-beta.22) - '@intlify/shared': 9.3.0-beta.20 + '@intlify/bundle-utils': 7.0.2(vue-i18n@9.3.0-beta.24) + '@intlify/shared': 9.3.0-beta.24 '@rollup/pluginutils': 5.0.2(rollup@3.26.2) '@vue/compiler-sfc': 3.3.4 debug: 4.3.4 @@ -1480,21 +1467,21 @@ packages: picocolors: 1.0.0 source-map-js: 1.0.2 unplugin: 1.3.2 - vue-i18n: 9.3.0-beta.22(vue@3.3.4) + vue-i18n: 9.3.0-beta.24(vue@3.3.4) transitivePeerDependencies: - rollup - supports-color dev: false - /@intlify/vue-devtools@9.3.0-beta.22: - resolution: {integrity: sha512-Qd0kKXsWe1DagjdebFgpbSYe2eWi1rs6fROg8pTbCSqyvOMqsscxMu+Tl+MiXYrZxkfXisR0BefONO7Zpi8UbQ==} + /@intlify/vue-devtools@9.3.0-beta.24: + resolution: {integrity: sha512-ACK+FnGCYEP+d4NVTp/G+ldnZk49kwl7iNKsxBVr31NzzdUd/2m4ANFsuvDSvIYzzIGrDggJFNC+ON4Rl7mm1A==} engines: {node: '>= 16'} dependencies: - '@intlify/core-base': 9.3.0-beta.22 - '@intlify/shared': 9.3.0-beta.22 + '@intlify/core-base': 9.3.0-beta.24 + '@intlify/shared': 9.3.0-beta.24 dev: false - /@intlify/vue-i18n-bridge@0.8.0(vue-i18n@9.3.0-beta.22): + /@intlify/vue-i18n-bridge@0.8.0(vue-i18n@9.3.0-beta.24): resolution: {integrity: sha512-wQ18fSccm9QaWpUW2vq2QHvojgKIog7s+UMj9LeY3pUV3yD9bU4YZI+1PTNoX3tOA+BE71gQyqVGox/TVQKP6Q==} engines: {node: '>= 12'} hasBin: true @@ -1511,7 +1498,7 @@ packages: vue-i18n-bridge: optional: true dependencies: - vue-i18n: 9.3.0-beta.22(vue@3.3.4) + vue-i18n: 9.3.0-beta.24(vue@3.3.4) dev: false /@intlify/vue-router-bridge@0.8.0(vue@3.3.4): @@ -3029,6 +3016,7 @@ packages: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} engines: {node: '>=0.4.0'} hasBin: true + dev: true /acorn@8.9.0: resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==} @@ -10519,7 +10507,7 @@ packages: resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==} dev: true - /vue-i18n-routing@0.13.0(vue-i18n@9.3.0-beta.22)(vue@3.3.4): + /vue-i18n-routing@0.13.0(vue-i18n@9.3.0-beta.24)(vue@3.3.4): resolution: {integrity: sha512-d/WVAZKo68blFqv6BPxFrGy530+FgvXsYVMbuvaICaoFO2CUxuaszF4vPCzCPIi9T68WRzWeUMTUb7vmv2SLyQ==} engines: {node: '>= 14.6'} peerDependencies: @@ -10540,24 +10528,24 @@ packages: vue-router: optional: true dependencies: - '@intlify/shared': 9.3.0-beta.22 - '@intlify/vue-i18n-bridge': 0.8.0(vue-i18n@9.3.0-beta.22) + '@intlify/shared': 9.3.0-beta.24 + '@intlify/vue-i18n-bridge': 0.8.0(vue-i18n@9.3.0-beta.24) '@intlify/vue-router-bridge': 0.8.0(vue@3.3.4) ufo: 1.1.2 vue: 3.3.4 vue-demi: 0.13.11(vue@3.3.4) - vue-i18n: 9.3.0-beta.22(vue@3.3.4) + vue-i18n: 9.3.0-beta.24(vue@3.3.4) dev: false - /vue-i18n@9.3.0-beta.22(vue@3.3.4): - resolution: {integrity: sha512-i/MQ1x5kEXTMzmg5Cg9dnXDaTWv0S+O0ZTf8+qLWhFJDT4ERa5GLh5V+Ya748x1D+kwpStJxIW3kZGESJG7XCg==} + /vue-i18n@9.3.0-beta.24(vue@3.3.4): + resolution: {integrity: sha512-ssfAG66M8w+G2FesolGxiKmjZZ1rVRVSFYcPKPhMeCdnlxfid2DGqOwhwqJT4fyvgGadL1to3KbmHzt5Wu39Ww==} engines: {node: '>= 16'} peerDependencies: vue: ^3.0.0 dependencies: - '@intlify/core-base': 9.3.0-beta.22 - '@intlify/shared': 9.3.0-beta.22 - '@intlify/vue-devtools': 9.3.0-beta.22 + '@intlify/core-base': 9.3.0-beta.24 + '@intlify/shared': 9.3.0-beta.24 + '@intlify/vue-devtools': 9.3.0-beta.24 '@vue/devtools-api': 6.5.0 vue: 3.3.4 dev: false diff --git a/test/__snapshots__/gen.test.ts.snap b/test/__snapshots__/gen.test.ts.snap index db0dd767e..d29853372 100644 --- a/test/__snapshots__/gen.test.ts.snap +++ b/test/__snapshots__/gen.test.ts.snap @@ -164,17 +164,17 @@ export const localeMessages = { } export const additionalMessages = Object({\\"en\\":[() => Promise.resolve({ - \\"foo\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"foo\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"value\\":\\"foo\\"}],\\"static\\":\\"foo\\"}}, - \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello1\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"value\\":\\"hello1\\"}],\\"static\\":\\"hello1\\"}} + \\"foo\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"foo\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}}}],\\"static\\":\\"foo\\"}}, + \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello1\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}}}],\\"static\\":\\"hello1\\"}} }),() => Promise.resolve({ - \\"bar\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"bar\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"value\\":\\"bar\\"}],\\"static\\":\\"bar\\"}}, - \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello2\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"value\\":\\"hello2\\"}],\\"static\\":\\"hello2\\"}} + \\"bar\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"bar\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}}}],\\"static\\":\\"bar\\"}}, + \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello2\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}}}],\\"static\\":\\"hello2\\"}} }),],\\"ja\\":[() => Promise.resolve({ - \\"buz\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"buz\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"value\\":\\"buz\\"}],\\"static\\":\\"buz\\"}}, - \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello3\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"value\\":\\"hello3\\"}],\\"static\\":\\"hello3\\"}} + \\"buz\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"buz\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}}}],\\"static\\":\\"buz\\"}}, + \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello3\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}}}],\\"static\\":\\"hello3\\"}} }),() => Promise.resolve({ - \\"baz\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"baz\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"value\\":\\"baz\\"}],\\"static\\":\\"baz\\"}}, - \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello4\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"value\\":\\"hello4\\"}],\\"static\\":\\"hello4\\"}} + \\"baz\\": {\\"type\\":0,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3},\\"source\\":\\"baz\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":3,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":4,\\"offset\\":3}}}],\\"static\\":\\"baz\\"}}, + \\"hello\\": {\\"type\\":0,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6},\\"source\\":\\"hello4\\"},\\"body\\":{\\"type\\":2,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}},\\"items\\":[{\\"type\\":3,\\"start\\":0,\\"end\\":6,\\"loc\\":{\\"start\\":{\\"line\\":1,\\"column\\":1,\\"offset\\":0},\\"end\\":{\\"line\\":1,\\"column\\":7,\\"offset\\":6}}}],\\"static\\":\\"hello4\\"}} }),],}) export const resolveNuxtI18nOptions = async (context) => {