Open KeenS opened 3 years ago
I had stumbled upon the same bug and did exactly this fix. Please merge & release.
@KeenS I am not sure what are you willing to test here.
!_.isUndefined(null)
is a completely useless expression that would always yield true
. It's obvious that we are trying to test the condition about node
instead.
I want to test this patch surely fix #39. You're right, this fix is obvious, but writing tests when you submit a patch is a good practice.
Is there any plans to merge this PR? I'm facing the same issue here.
ping @cvent
fix #39. As you cannot write undefined in JSON, I have no idea to test this patch. @sanjulr do you have any example?