Closed jolson474 closed 3 months ago
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|
🚮 Removed packages: npm/vue-template-compiler@2.7.16
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.32%. Comparing base (
7e14d85
) to head (a0a960c
). Report is 25 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you! It is now in 9.0.0
Why am I submitting this PR
While investigating how to run i18next-parser on a vue3 code base, I came across this ticket which suggested simply removing
VueLexer
, which would also eliminate the dependency issues withvue-template
: https://github.com/i18next/i18next-parser/issues/617After trying it, this change seemed to meet my needs very nicely, so I thought I would contribute it back to make things easier for other folks using Vue3 (and dropping support for Vue2 didn't seem like it would be a very surprising change going forward).
In addition to removing VueLexer from the code (and its tests) I also updated the documentation and bumped the version to 9.0 since this is a breaking change. The migration documentation is updated to reflect that you need to remove
VueLexer
from any configuration files as well.Let me know if you have any concerns/questions with this approach. Thanks!
Does it fix an existing ticket?
Yes #617
Checklist
yarn test
(see details here)