Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible @intlify/vue-router-bridge and vue-i18n-routing #49

Closed
3 tasks done
padinko opened this issue Nov 30, 2023 · 1 comment
Closed
3 tasks done

Incompatible @intlify/vue-router-bridge and vue-i18n-routing #49

padinko opened this issue Nov 30, 2023 · 1 comment
Labels
feature Includes new features

Comments

@padinko
Copy link

padinko commented Nov 30, 2023

Clear and concise description of the problem

Hello,
i18n for nuxt3 @nuxtjs/i18n@next requires vue-i18n-routing and this modules requires @intlify/vue-router-bridge from this repo

problem is
vue-i18n-routing requires "vue-demi": "^0.14.5"
but @intlify/vue-router-bridge requires "vue-demi": "^0.13.5"

in npm ^ means: update until first non zero version number will change; so with package with zero major (first) version only patch (third) version can update

and this incompatibility cause issues in installing nuxt project with i18n at all
see
nuxt-modules/i18n#1640
nuxt-modules/i18n#2556
and many more issues

Suggested solution

i found this commit 82ef441 already updated vue-demi to ^0.14 which will fix issues

can you release new version of @intlify/vue-router-bridge with this change?

Alternative

maybe you can use ~0.13 instead of ^0.13
~ means that only major (first) version can not change in update, and then ^0.14 and ~0.13 will be compatible

Additional context

No response

Validations

@padinko padinko added the feature Includes new features label Nov 30, 2023
@kazupon
Copy link
Member

kazupon commented Dec 4, 2023

close, so released with #50

@kazupon kazupon closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Includes new features
Projects
None yet
Development

No branches or pull requests

2 participants