fix: input escape mapping
Closes https://github.com/flightcontrolhq/superjson/issues/310
There's a bug in the path escaping logic where meta was applied to the wrong values. This PR fixes the escape bug. It also introduces a version tag to toggle the path escaping when deserializing. This ensures backwards compatibility for SuperJSON results that were created on a version with the bug.
Is there any schedule to publish this? Thank you very much
Hello @Skn0tt @flybayer, thanks for implementing this amazing fix. It works great for my use case (deserializing dot string property names combined with custom classes). I see the pr is already merged into main. Would it be possible to publish a new npm version of superjson soon with this fix included?
cc @flybayer