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

deps: Replace ethjs packages with @metamask/ forks #115

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Nov 21, 2023

  • Replace ethjs with bn.js - it was only used for re-export
  • ethjs-contract@^0.2.3 -> @metamask/ethjs-contract@^0.3.1
  • [email protected] -> @metamask/ethjs-query@^0.5.0

@legobeat legobeat added the dependencies Pull requests that update a dependency file label Nov 21, 2023
Copy link

socket-security bot commented Nov 21, 2023

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

Packages Version New capabilities Transitives Size Publisher
@metamask/ethjs-contract 0.3.4 environment +3 1.3 MB
@metamask/ethjs-query 0.5.2 environment +3 1.44 MB lgbot
bn.js 4.12.0 None +0 95.7 kB fanatid

🚮 Removed packages: [email protected], [email protected], [email protected]

- Replace ethjs with bn.js - it was only used for re-export
- ethjs-contract@^0.2.3 -> @metamask/ethjs-contract@^0.3.1
- [email protected] -> @metamask/ethjs-query@^0.5.0
@legobeat legobeat force-pushed the deps-metamask-ethjs branch from 75c71ed to e5aa483 Compare November 21, 2023 05:18
@legobeat legobeat marked this pull request as ready for review November 21, 2023 05:20
@legobeat legobeat requested a review from a team as a code owner November 21, 2023 05:20
@legobeat legobeat requested review from a team November 22, 2023 00:29
@legobeat legobeat requested a review from a team November 29, 2023 02:48
Copy link

socket-security bot commented Nov 29, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: @metamask/[email protected]

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

@legobeat legobeat requested a review from danjm November 29, 2023 02:49
@legobeat
Copy link
Contributor Author

@SocketSecurity ignore @metamask/[email protected]

Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Looks good.

@legobeat legobeat merged commit 8e9405c into MetaMask:main Nov 29, 2023
15 checks passed
@legobeat
Copy link
Contributor Author

Looks good.

Thanks! RC: #116

@legobeat legobeat deleted the deps-metamask-ethjs branch November 29, 2023 23:58
@legobeat legobeat restored the deps-metamask-ethjs branch November 29, 2023 23:58
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.

2 participants