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

chore: bump @metmask/json-rpc-middleware and @metamask/eth-block-tracker #4806

Closed

Conversation

cryptodev-2s
Copy link
Contributor

@cryptodev-2s cryptodev-2s commented Oct 17, 2024

Explanation

This PR bumps:

  • @metamask/json-rpc-middleware from ^13.0.0to^14.0.2`
  • @metamask/eth-block-tracker from ``^10.0.0to^11.0.1`

References

Changelog

@metamask/network-controler

  • Changed: @metmask/json-rpc-middleware from ^13.0.0 to ^14.0.2
  • Changed: @metamask/eth-block-tracker from ^10.0.0 to ^11.0.1

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

Copy link

socket-security bot commented Oct 17, 2024

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

Package New capabilities Transitives Size Publisher
npm/@metamask/eth-block-tracker@11.0.1 None 0 63.6 kB mcmire
npm/@metamask/eth-json-rpc-middleware@14.0.2 network 0 157 kB gudahtt

🚮 Removed packages: npm/@metamask/eth-block-tracker@10.0.0

View full report↗︎

@cryptodev-2s
Copy link
Contributor Author

@metamaskbot publish-preview

Copy link
Contributor

Preview builds have been published. See these instructions for more information about preview builds.

Expand for full list of packages and versions.
{
  "@metamask-previews/accounts-controller": "18.2.2-preview-378c1be",
  "@metamask-previews/address-book-controller": "6.0.1-preview-378c1be",
  "@metamask-previews/announcement-controller": "7.0.1-preview-378c1be",
  "@metamask-previews/approval-controller": "7.1.0-preview-378c1be",
  "@metamask-previews/assets-controllers": "38.3.0-preview-378c1be",
  "@metamask-previews/base-controller": "7.0.1-preview-378c1be",
  "@metamask-previews/build-utils": "3.0.1-preview-378c1be",
  "@metamask-previews/chain-controller": "0.1.3-preview-378c1be",
  "@metamask-previews/composable-controller": "9.0.1-preview-378c1be",
  "@metamask-previews/controller-utils": "11.3.0-preview-378c1be",
  "@metamask-previews/ens-controller": "14.0.1-preview-378c1be",
  "@metamask-previews/eth-json-rpc-provider": "4.1.5-preview-378c1be",
  "@metamask-previews/gas-fee-controller": "20.0.1-preview-378c1be",
  "@metamask-previews/json-rpc-engine": "10.0.0-preview-378c1be",
  "@metamask-previews/json-rpc-middleware-stream": "8.0.4-preview-378c1be",
  "@metamask-previews/keyring-controller": "17.2.2-preview-378c1be",
  "@metamask-previews/logging-controller": "6.0.1-preview-378c1be",
  "@metamask-previews/message-manager": "10.1.1-preview-378c1be",
  "@metamask-previews/name-controller": "8.0.1-preview-378c1be",
  "@metamask-previews/network-controller": "21.0.1-preview-378c1be",
  "@metamask-previews/notification-controller": "7.0.0-preview-378c1be",
  "@metamask-previews/notification-services-controller": "0.10.0-preview-378c1be",
  "@metamask-previews/permission-controller": "11.0.2-preview-378c1be",
  "@metamask-previews/permission-log-controller": "3.0.1-preview-378c1be",
  "@metamask-previews/phishing-controller": "12.0.3-preview-378c1be",
  "@metamask-previews/polling-controller": "10.0.1-preview-378c1be",
  "@metamask-previews/preferences-controller": "13.0.3-preview-378c1be",
  "@metamask-previews/profile-sync-controller": "0.9.7-preview-378c1be",
  "@metamask-previews/queued-request-controller": "5.1.0-preview-378c1be",
  "@metamask-previews/rate-limit-controller": "6.0.1-preview-378c1be",
  "@metamask-previews/selected-network-controller": "18.0.1-preview-378c1be",
  "@metamask-previews/signature-controller": "19.1.0-preview-378c1be",
  "@metamask-previews/transaction-controller": "37.2.0-preview-378c1be",
  "@metamask-previews/user-operation-controller": "15.0.1-preview-378c1be"
}

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Deprecated npm/@metamask/eth-block-tracker@10.1.0
  • Reason: This version contains a breaking change. Please use 11.0.0 instead.
⚠︎
New author npm/@metamask/eth-block-tracker@10.1.0 🚫

View full report↗︎

Next steps

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@metamask/eth-block-tracker@10.1.0

@legobeat
Copy link
Contributor

legobeat commented Oct 17, 2024

@legobeat legobeat marked this pull request as draft October 18, 2024 19:15
@legobeat legobeat deleted the chore/bump-json-rpc-middleware-and-eth-block-tracker branch October 23, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants