npm / @metamask/superstruct
@metamask/superstruct
What changed in @metamask/superstruct 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
2 security1 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@metamask/superstruct 33 changes
Security 2
Fixes deep sensitive redaction.
Adds a struct for redacting secret values from validation errors.
New APIs and options 1
The type struct now supports exactOptional.