-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix(docz-utils): fix closing tag detection in removeTags
#1696
fix(docz-utils): fix closing tag detection in removeTags
#1696
Conversation
removeTags
behaviorremoveTags
2f56d4a
to
ab16818
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nicolo-ribaudo .
It seems to work properly 🎉 (tested in my project via patch-package).
Great job at this @nicolo-ribaudo 🎉 Also, thanks for testing it @adbayb, we appreciate it! |
Thanks for this update! |
@Elgeneinar I'm scheduling the release to be done between today and tomorrow, but I'll try to let everyone knows in all following corresponded PRs |
Description
I wrote the description of this fix and the reason behind it at #1691 (comment).
I fixed it in different commits:
test(docz-utils): add test for current removeTags behavior
shows the old behavior (one test was correct, the other one was already broken)chore(docz-utils): update @babel/* dependencies
updates@babel/traverse
and the other babel packages, to force the version containing the fix for the bug docz was relying ontest(docz-utils): update removeTags (broken) snapshots
updates the tests to show the new broken behaviorfix(docz-utils): fix closing tag detection in removeTags
fixes both the broken testsFixes #1691