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

Remove VueLexer #1007

Merged
merged 2 commits into from
Jun 9, 2024
Merged

Remove VueLexer #1007

merged 2 commits into from
Jun 9, 2024

Conversation

jolson474
Copy link
Contributor

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 with vue-template:
#617

After 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

  • only relevant code is changed (make a diff before you submit the PR)
  • tests are included and pass: yarn test (see details here)
  • documentation is changed or added

Copy link

socket-security bot commented May 28, 2024

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

View full report↗︎

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.32%. Comparing base (7e14d85) to head (a0a960c).
Report is 25 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1007      +/-   ##
==========================================
+ Coverage   95.16%   95.32%   +0.16%     
==========================================
  Files          11       10       -1     
  Lines        1922     1905      -17     
==========================================
- Hits         1829     1816      -13     
+ Misses         93       89       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@karellm karellm merged commit 7af6ca4 into i18next:master Jun 9, 2024
5 checks passed
@karellm
Copy link
Member

karellm commented Jun 9, 2024

Thank you! It is now in 9.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants