incorrect checks for an object-like value
Opened this issue · 1 comments
thealjey commented
throughout the code there are checks like;
const value = typeof variable === "object" ? variable.value : variable;
however, typeof
will also result in "object"
if value
is null
in which case the above code will simply fail
I'm considering making a PR in a few days to address this issue