Skip to content

0.7.3: Fix array-of-array diff

Latest
Compare
Choose a tag to compare
@briancavalier briancavalier released this 18 Jan 15:54
· 5 commits to master since this release
  • Make diffing arrays of arrays generate smaller patches by default.
    • Previously, diffing arrays of arrays could generate larger than expected patches because the array identity was used as the hash function. It now uses JSON.stringify by default, as is done for arrays of objects. The hash can still be overridden when calling jiff.diff--this just makes the default more sane.