This comes out of the discussion in https://github.com/blitz-js/superjson/pull/267. We can narrow down the cases where an error is thrown. It's only necessary if the polluting key results in an annotation, in all other cases there's no risk for prototype pollution.
This comes out of the discussion in https://github.com/blitz-js/superjson/pull/267. We can narrow down the cases where an error is thrown. It's only necessary if the polluting key results in an annotation, in all other cases there's no risk for prototype pollution.