Skip to content

Conversation

michal-kurz
Copy link
Collaborator

No description provided.

@dmsnell
Copy link

dmsnell commented Oct 6, 2022

@michal-kurz good catch on this. there's something else to consider here: considering that we're pulling in extra characters into the patch context, I guess there's still a possibility we might crash if the input document contains a series of surrogate halves. it might be that the existing fixup makes the same assumption, that if we shift one character we'll not find another lone low or high surrogate. just wanted to point it out.

@michal-kurz michal-kurz changed the title Fix broken diffs in addContext prefix/suffix Make us Oct 7, 2022
@michal-kurz michal-kurz changed the title Make us Make js version usable in npm Oct 7, 2022
@michal-kurz michal-kurz merged commit e3cdf5d into master Oct 7, 2022
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.

2 participants