·6 min read
Your Standard Schema check passes, then crashes on the next line
Standard Schema grew from one spec into three, and all three use the same ~standard key. So 'does it have ~standard' no longer tells you what the schema can actually do. Here is a crash you can reproduce with Zod and Valibot, and the two-line check that fixes it.