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(deps): upgrade from json-rpc-engine to @metamask/json-rpc-engine #22875

Merged
merged 18 commits into from
Oct 18, 2024

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Feb 8, 2024

Description

Related issues

Blocked by

Follow-up to

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

github-actions bot commented Feb 8, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@legobeat legobeat changed the title deps: upgrade from json-rpc-engine to @metamask/json-rpc-engine chore(deps): upgrade from json-rpc-engine to @metamask/json-rpc-engine Feb 23, 2024
Copy link

socket-security bot commented Mar 5, 2024

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/eth-rpc-errors@4.0.3, npm/json-rpc-engine@6.1.0

View full report↗︎

@legobeat legobeat force-pushed the deps-json-rpc-engine branch 3 times, most recently from ba6f305 to c2c9351 Compare March 6, 2024 01:06
@legobeat legobeat force-pushed the deps-json-rpc-engine branch 2 times, most recently from 5aaf166 to 2b3ae27 Compare April 22, 2024 10:49
@legobeat legobeat added dependencies Pull requests that update a dependency file team-security labels May 6, 2024
@legobeat legobeat force-pushed the deps-json-rpc-engine branch 14 times, most recently from 9817ec5 to 058be2f Compare May 7, 2024 01:13
Copy link

codecov bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 34.82143% with 73 lines in your changes are missing coverage. Please review.

Project coverage is 65.67%. Comparing base (0dc23ab) to head (0d4602a).

Files Patch % Lines
ui/store/actions.ts 30.95% 29 Missing ⚠️
...method-middleware/handlers/ethereum-chain-utils.js 7.14% 13 Missing ⚠️
ui/store/institutional/institution-background.ts 0.00% 6 Missing ⚠️
shared/modules/error.ts 63.64% 4 Missing ⚠️
ui/ducks/send/helpers.js 0.00% 4 Missing ⚠️
...p/scripts/lib/createRPCMethodTrackingMiddleware.js 25.00% 3 Missing ⚠️
...onents/multichain/import-account/import-account.js 0.00% 3 Missing ⚠️
ui/ducks/send/send.js 40.00% 3 Missing ⚠️
...ontrollers/user-storage/user-storage-controller.ts 33.33% 2 Missing ⚠️
ui/pages/error/error.component.js 0.00% 2 Missing ⚠️
... and 4 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #22875      +/-   ##
===========================================
- Coverage    65.70%   65.67%   -0.03%     
===========================================
  Files         1366     1366              
  Lines        54361    54394      +33     
  Branches     14141    14152      +11     
===========================================
+ Hits         35715    35718       +3     
- Misses       18646    18676      +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@legobeat legobeat force-pushed the deps-json-rpc-engine branch 2 times, most recently from befc171 to 769dff6 Compare May 7, 2024 02:00
Copy link
Contributor

@naugtur naugtur left a comment

Choose a reason for hiding this comment

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

supply-chain wise:
nothing suspicious in policy changes, but it does reveal a lot of duplication of @metamask/utils which would be nice to address in the future.

@legobeat legobeat added this pull request to the merge queue Oct 18, 2024
Merged via the queue into MetaMask:develop with commit eedeb24 Oct 18, 2024
76 checks passed
@legobeat legobeat deleted the deps-json-rpc-engine branch October 18, 2024 11:22
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2024
@metamaskbot metamaskbot added the release-12.6.0 Issue or pull request that will be included in release 12.6.0 label Oct 21, 2024
@metamaskbot
Copy link
Collaborator

No release label on PR. Adding release label release-12.6.0 on PR, as PR was added to branch 12.6.0 when release was cut.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file release-12.6.0 Issue or pull request that will be included in release 12.6.0 team-security
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants