deserializeError
serializes/destroys properties unnecessarily
#76
Labels
deserializeError
serializes/destroys properties unnecessarily
#76
This module is set up in a weird way.
destroyCircular
is called both when serializing and deserializing and it's doing two separate things:The second part part is particularly problematic because during deserialization, this module is potentially dropping functions and all other "supported" types like buffer. This is unexpected:
I'd expect the string
"[object Buffer]"
when serializing an error, not during deserialization.The text was updated successfully, but these errors were encountered: