title: Does nodejs have a working diff library or algorithm?
body: <p>I'm looking for a javascript diff algorithm implementation or library, which has been tested on and works with arbitrary utf8 text files. </p>
  
  <p>All of the ones I found so far (say for example, <a href="http://ejohn.org/projects/javascript-diff-algorithm/" rel="noreferrer">http://ejohn.org/projects/javascript-diff-algorithm/</a>) fail on corner cases </p>
  
  <p>(Try using a file which contains the string <code>'__proto__'</code> in my example library.)</p>