You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behavior of a detailedDiff result changed from [email protected] and [email protected]. Based on my interpretation of the README.md example for detailedDiff, neither 1.1.0 nor 1.17 behavior matches the documentation ( See issue #74 ).
In version 1.1.0, if the last item in the array is deleted, then the change is indicated in the deleted section of the diff results.
In the current version, 1.1.7, if the last item in the array is deleted, then the change is indicated in both the deleted section and the updated section of the diff results.
Hi @NanoDylan you're correct there has been a change in behaviour around diff and updatedDiff (which is used in detailedDiff) when comparing a nested value that has become an empty object / array. This change is a bugfix for: #66
Previously deep-object-diff would incorrectly consider values on the rhs of the diff that are empty to have no difference but in actuality they do.
The behavior of a detailedDiff result changed from [email protected] and [email protected]. Based on my interpretation of the README.md example for detailedDiff, neither 1.1.0 nor 1.17 behavior matches the documentation ( See issue #74 ).
In version 1.1.0, if the last item in the array is deleted, then the change is indicated in the deleted section of the diff results.
In the current version, 1.1.7, if the last item in the array is deleted, then the change is indicated in both the deleted section and the updated section of the diff results.
The text was updated successfully, but these errors were encountered: