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 last output is wrong. Note that deserialisation is without usemap in all examples; the issue is only at the serialization side (where, ideally, you'd not have to specify usemap at all, there is no reason you can't automatically detect that an object is a Map object just like you detect that it's a UInt8Array and handle it specially).
The text was updated successfully, but these errors were encountered:
I'm also facing the same issue. Though, this is happening only if i use webpack5 to build my webapp.
It works fine when I use webpack3. Not sure about the reason yet.
Nope, just worked around the issue (accepted that keys are garbled and recurse over object and ungarble them; all of mine are byte arrays, so the string representation of them are deterministic and the mapping reversable). But far from ideal.
The last output is wrong. Note that deserialisation is without usemap in all examples; the issue is only at the serialization side (where, ideally, you'd not have to specify usemap at all, there is no reason you can't automatically detect that an object is a Map object just like you detect that it's a UInt8Array and handle it specially).
The text was updated successfully, but these errors were encountered: