Skip to content

Conversation

@legobeat
Copy link
Contributor

@legobeat legobeat commented Feb 16, 2024

Deprecated ethereumjs-util is only used for its library function addHexPrefix. The add0x function from @metamask/utils provides equivalent functionality.

  • fix: Remove dependency ethereumjs-util
    • Replace usage of addHexPrefix with add0x from @metamask/utils

@legobeat legobeat force-pushed the deps-remove-ethereumjs-util branch from 205cab7 to 86a7954 Compare February 16, 2024 10:28
@socket-security
Copy link

socket-security bot commented Feb 16, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/ethjs-query@0.5.3 Transitive: environment, eval, filesystem +13 4.32 MB lgbot

🚮 Removed packages: npm/@types/ethereumjs-util@6.1.0

View full report↗︎

@legobeat legobeat marked this pull request as ready for review February 16, 2024 10:29
@legobeat legobeat requested a review from dan437 as a code owner February 16, 2024 10:29
@legobeat legobeat requested review from a team, infiniteflower and nikoferro February 16, 2024 10:29
@legobeat legobeat added the dependencies Pull requests that update a dependency file label Feb 16, 2024
@legobeat legobeat force-pushed the deps-remove-ethereumjs-util branch from 86a7954 to 7ad66da Compare February 21, 2024 03:52
- replace `addHexPrefix` with `add0x` from `@metamask/utils`
@legobeat legobeat force-pushed the deps-remove-ethereumjs-util branch from 7ad66da to 7aabc36 Compare February 27, 2024 08:53
nikoferro
nikoferro previously approved these changes Apr 16, 2024
Copy link

@nikoferro nikoferro left a comment

Choose a reason for hiding this comment

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

LGTM

@nikoferro nikoferro self-requested a review April 16, 2024 13:07
Copy link

@nikoferro nikoferro left a comment

Choose a reason for hiding this comment

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

LGTM

@nikoferro nikoferro merged commit 00411fd into main Apr 16, 2024
@nikoferro nikoferro deleted the deps-remove-ethereumjs-util branch April 16, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants