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

Bump MetaMask dependencies #351

Merged
merged 4 commits into from
Dec 19, 2024
Merged

Bump MetaMask dependencies #351

merged 4 commits into from
Dec 19, 2024

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Dec 18, 2024

This contains the following bumps:

  • @metamask/eth-block-tracker from ^11.0.3 to ^11.0.4.
  • @metamask/eth-json-rpc-provider from ^4.1.5 to ^4.1.7.
  • @metamask/eth-sig-util from ^7.0.3 to ^8.1.2.
  • @metamask/json-rpc-engine from ^10.0.0 to ^10.0.2.
  • @metamask/rpc-errors from ^7.0.0 to ^7.0.2.
  • @metamask/utils from ^9.1.0 to ^11.0.1.

This removes previous major versions of @metamask/utils from the dependency tree.

Copy link

socket-security bot commented Dec 18, 2024

👍 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: npm/@metamask/[email protected]

View full report↗︎

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 ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@Mrtenz
Copy link
Member Author

Mrtenz commented Dec 18, 2024

@SocketSecurity ignore npm/@metamask/[email protected]

This is ours.

Mrtenz added a commit to MetaMask/core that referenced this pull request Dec 19, 2024
….0.2` (#5080)

## Explanation

This bumps `@metamask/utils` from `^10.0.0` to `^11.0.1`, in an effort
to bump all packages using `@metamask/utils` to use v11. Unfortunately
there are some circular dependencies, so this does not completely
eliminate previous versions yet, but this is required to bump
`@metamask/utils` in other packages, such as:

- MetaMask/eth-json-rpc-middleware#351

## Changelog

<!--
If you're making any consumer-facing changes, list those changes here as
if you were updating a changelog, using the template below as a guide.

(CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or
FIXED. For security-related issues, follow the Security Advisory
process.)

Please take care to name the exact pieces of the API you've added or
changed (e.g. types, interfaces, functions, or methods).

If there are any breaking changes, make sure to offer a solution for
consumers to follow once they upgrade to the changes.

Finally, if you're only making changes to development scripts or tests,
you may replace the template below with "None".
-->

- **CHANGED**: Bump `@metamask/utils` from `^10.0.0` to `^11.0.1`
- **CHANGED**: Bump `@metamask/rpc-errors` from `^7.0.1` to `^7.0.2`

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
@Mrtenz Mrtenz marked this pull request as ready for review December 19, 2024 12:02
@Mrtenz Mrtenz requested a review from a team as a code owner December 19, 2024 12:02
Copy link
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

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

LGTM!

@Mrtenz Mrtenz merged commit ae19e06 into main Dec 19, 2024
19 checks passed
@Mrtenz Mrtenz deleted the mrtenz/bump-metamask-dependencies branch December 19, 2024 13:08
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.

2 participants