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

Avoid circular dependency on @metamask/utils #170

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Oct 24, 2023

@metamask/utils has a development dependency on this package (since we need a way to validate its changelog). So, if this package depends on @metamask/utils, then that creates a circular dependency which could potentially cause issues. Since we only use one function from this package, we can just copy it.


See: MetaMask/utils#153 (comment)

`@metamask/utils` has a development dependency on this package (since we
need a way to validate its changelog). So, if this package depends on
`@metamask/utils`, then that creates a circular dependency which could
potentially cause issues. Since we only use one function from this
package, we can just copy it.
Copy link
Contributor

@cryptodev-2s cryptodev-2s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mcmire mcmire merged commit cf631ec into main Oct 24, 2023
19 checks passed
@mcmire mcmire deleted the avoid-circular-dep-with-utils branch October 24, 2023 19:17
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.

3 participants