Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use definePattern utility function for regex structs #3066

Open
Mrtenz opened this issue Feb 5, 2025 · 0 comments
Open

Use definePattern utility function for regex structs #3066

Mrtenz opened this issue Feb 5, 2025 · 0 comments
Assignees

Comments

@Mrtenz
Copy link
Member

Mrtenz commented Feb 5, 2025

@metamask/[email protected] introduces a new definePattern function which can be used as replacement for the pattern struct from Superstruct, resulting in better error messages. We should replace usage of pattern in the Snaps repo with this new function.

@Mrtenz Mrtenz self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant