Closed leslc closed 6 years ago
Reporting an issue.
In 0.3.6, it was possible to diff an object against a null without throwing an error. In 0.3.8, we get an error:
"Cannot read property 'lhs' of undefined" at deepDiff (deep-diff/index.js:156:76)
Actually, it will crash when lhs or rhs is undefined and just in unix-based OS. Windows works fine. XD
Also happens when comparing with undefined:
undefined
TypeError: Cannot read property 'rhs' of undefined
Reporting an issue.
In 0.3.6, it was possible to diff an object against a null without throwing an error. In 0.3.8, we get an error:
"Cannot read property 'lhs' of undefined" at deepDiff (deep-diff/index.js:156:76)