flitbit / diff

Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.
MIT License
3k stars 214 forks source link

fix: handle nested arrays in `applyChange` #116

Closed justinlettau closed 6 years ago

justinlettau commented 7 years ago

Fix for the following state:

Also fixes applying a diff of array addition to an empty object.