-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
misc: avoid splitting node labels in the middle of unicode surrogate pairs #11698
misc: avoid splitting node labels in the middle of unicode surrogate pairs #11698
Conversation
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.
thanks very much @wildlyinaccurate! 🎉
great find, PR much appreciated :)
Thanks for the suggestions @patrickhulce - much appreciated! |
|
It's actually failing on master too @wildlyinaccurate , so not your doing. We'll let this chill for a bit until we're back up and running 👍 |
Just landed #11702 to fix master. How is |
FWIW I don't think you'll need to run |
I think the other 2 usages of |
Co-authored-by: Patrick Hulce <[email protected]>
There are many usages of |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@@ -20,6 +20,13 @@ set -euxo pipefail | |||
|
|||
# We can always use some more history | |||
git -c protocol.version=2 fetch --deepen=100 | |||
|
|||
# Find out if the PR is coming from a fork |
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.
@paulirish how do you feel about this skipping this check entirely if it's from a fork for now instead and we can sort out the fix later?
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.
that works for me.. though determining that would probably have required almost this much iteration as well... so i think it's all moot.
ALL MOOT!
Co-authored-by: Patrick Hulce <[email protected]>
Hey, uh, does it help if I resubmit this against master as a single commit? |
haha nah man it's all good. we'll just all pretend I never had to make all that noise. the bug i had is fixed (as of my last commit), but it ends up not mattering. This should be good to go once the |
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.
@wildlyinaccurate btw this is a fantastic find and fix. Nice work. :D
Summary
Potential fix for #11697. Takes advantage of the fact that the ES6 string iterator is unicode-aware.
Related Issues/PRs
fix for part of #11697