Prerequisites
Issue
safeParse returns null if parsing fails, but it should return undefined, because JSON.parse will never return undefined, but it will return null. 'null' is valid JSON, 'undefined' will throw. With it returning null, there is no way to tell that parsing failed.
You had one job! 😢 Ok, technically that wasn't your one job. But now I guess I'll have to fork it just to change that.