Skip to content

Conversation

@GuillaumeRx
Copy link
Contributor

@metamask/utils introduced a new definePattern superstruct helper to have better error messages for pattern. This updates the repo to use it.

Fixes: #3066

@GuillaumeRx GuillaumeRx requested a review from a team as a code owner February 21, 2025 10:46
Mrtenz
Mrtenz previously approved these changes Feb 21, 2025
@GuillaumeRx GuillaumeRx requested a review from Mrtenz February 21, 2025 13:45
@codecov
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.91%. Comparing base (f5e359f) to head (619df7f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3142   +/-   ##
=======================================
  Coverage   94.90%   94.91%           
=======================================
  Files         504      504           
  Lines       11119    11133   +14     
  Branches     1708     1711    +3     
=======================================
+ Hits        10553    10567   +14     
  Misses        566      566           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GuillaumeRx GuillaumeRx merged commit 70a83bd into main Feb 21, 2025
121 checks passed
@GuillaumeRx GuillaumeRx deleted the gr/use-define-pattern branch February 21, 2025 13:52
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

Successfully merging this pull request may close these issues.

Use definePattern utility function for regex structs

3 participants