flitbit / diff

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

remove the source dependency from the revertChange function #175

Open chris-revops opened 3 years ago

chris-revops commented 3 years ago

source was required in the revertChange function but unused. This is in conflict with README which says

NOTE: source is unused and may be removed.

However, when falsely the function will short circuit and never execute