I'm looking at this plugin to replace the decode function in html-entities. Previously, we were able to pass "undefined" values to the function and it would handle them without throwing an error.
Is it expected that parse-entities doesn't check for undefined before it loops through the value?
I can certainly handle it on my own, but I'm wondering if others would find it useful to check for undefined first?
I'm looking at this plugin to replace the decode function in html-entities. Previously, we were able to pass "undefined" values to the function and it would handle them without throwing an error.
Is it expected that parse-entities doesn't check for undefined before it loops through the value?
I can certainly handle it on my own, but I'm wondering if others would find it useful to check for undefined first?