vueuse / vue-demi

🎩 Creates Universal Library for Vue 2 & 3
MIT License
2.98k stars 155 forks source link

Not compatible with `vue` 2.7 #215

Closed theKashey closed 1 year ago

theKashey commented 1 year ago

👋 thanks for the beautiful adapter.

Look like with vue 2.7 release, now containing composition API and general deprecation of @vue/composition-api it's no longer working. For now I know that watch fails with

errorHandler TypeError: vm._watchers is undefined
    createWatcher vue-composition-api.mjs:1395
    watch vue-composition-api.mjs:1442

Reporting issue to vue-demi as it has change to change in order to fix the problem.

The issue was originally reported at https://github.com/theKashey/vue-focus-lock/issues/25, reproducible example - https://github.com/theKashey/vue-demi-focus-lock

theKashey commented 1 year ago

The issue has been resolved. Look like the root cause is the way semantic versions are handling 0 majors, not updating ^ ranges to the last available ones.