We use our own fork of the diff-match-patch npm package, which adds an optimization for the semantic alignment loop.