Skip to content

Commit

Permalink
deps: eth-json-rpc-middleware@4.3.0->9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Oct 25, 2024
1 parent e0cbf75 commit afaea63
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 335 deletions.
3 changes: 0 additions & 3 deletions .iyarc
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
# ReDoS vulnerability, no impact to this application, and fix not backported yet to the versions we use

GHSA-c2qf-rxjj-qqgw
2 changes: 1 addition & 1 deletion app/core/BackgroundBridge/BackgroundBridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { SubjectType } from '@metamask/permission-controller';

const createFilterMiddleware = require('eth-json-rpc-filters');
const createSubscriptionManager = require('eth-json-rpc-filters/subscriptionManager');
const providerAsMiddleware = require('eth-json-rpc-middleware/providerAsMiddleware');
const { providerAsMiddleware } = require('eth-json-rpc-middleware');
const pump = require('pump');
// eslint-disable-next-line import/no-nodejs-modules
const EventEmitter = require('events').EventEmitter;
Expand Down
2 changes: 1 addition & 1 deletion app/core/Snaps/SnapBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { SubjectType } from '@metamask/permission-controller';
const ObjectMultiplex = require('@metamask/object-multiplex');
const createFilterMiddleware = require('eth-json-rpc-filters');
const createSubscriptionManager = require('eth-json-rpc-filters/subscriptionManager');
const providerAsMiddleware = require('eth-json-rpc-middleware/providerAsMiddleware');
const { providerAsMiddleware } = require('eth-json-rpc-middleware');
const pump = require('pump');

interface ISnapBridgeProps {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"eth-block-tracker": "^7.0.1",
"eth-ens-namehash": "2.0.8",
"eth-json-rpc-filters": "^6.0.1",
"eth-json-rpc-middleware": "4.3.0",
"eth-json-rpc-middleware": "9.0.1",
"eth-url-parser": "1.0.4",
"ethereumjs-abi": "0.6.6",
"ethereumjs-util": "6.1.0",
Expand Down
Loading

0 comments on commit afaea63

Please sign in to comment.