You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
deserializeError({name: 'Error'message: '💩',data: newBuffer([1,2,3])});// [Error: 💩] with `data` property of value "[object Buffer]"
I'd expect the string "[object Buffer]" when serializing an error, not during deserialization.
The text was updated successfully, but these errors were encountered:
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: