-
-
Notifications
You must be signed in to change notification settings - Fork 6
deps: Switch from json-rpc-engine
to @metamask/json-rpc-engine
#16
deps: Switch from json-rpc-engine
to @metamask/json-rpc-engine
#16
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: [email protected] |
👍 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: Next stepsTake a deeper look at the dependencyTake 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 packageIf 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 riskTo ignore an alert, reply with a comment starting with |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
export function providerFromMiddleware( | ||
middleware: JsonRpcMiddleware<unknown, unknown>, | ||
): SafeEventEmitterProvider { | ||
export function providerFromMiddleware< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, this is much better.
@legobeat It looks like this is causing build failures when upgrading |
Another update that came along with bumping |
Yes, this sounds appropriate |
Dang, should have left it at #17. Yes, sounds right. Perhaps something like https://github.com/devoto13/yarn-plugin-engines is worth considering (until yarnpkg/berry#1177) |
Required by update of `@metamask/json-rpc-engine` (MetaMask#16)
Required by update of `@metamask/json-rpc-engine` (MetaMask#16)
Required by update of `@metamask/json-rpc-engine` (MetaMask#16)
Required by update of `@metamask/json-rpc-engine` (#16)
Required by update of `@metamask/json-rpc-engine` (MetaMask#16)
Required by update of `@metamask/json-rpc-engine` (#16)
json-rpc-engine
to renamed and maintained@metamask/json-rpc-engine
@metamask/utils
for types moved there@metamask/safe-event-emitter
from^2.0.0
to^3.0.0
.This is related to #14 but I don't think either should be blocking the other.