Skip to content

Commit

Permalink
Add babel-runtime dependency required by ethjs-query
Browse files Browse the repository at this point in the history
The version of `ethjs-query` we're using has an unlisted dependency
upon `babel-runtime`, and will crash if it's not present. Currently
it's working because `babel-runtime` is being brought in by another
dependency (`fetch-mock`), but that dependency is removed in another
PR (#340).

Until we can migrate away from using this version of `ethjs-query`,
`babel-runtime` has been added as an explicit dependency to ensure it
is present.

`ethjs-query` is a transitive dependency of `eth-method-registry` via
`ethjs`. There is a PR open on `eth-method-registry` to replace `ethjs`
altogether [1]. Once those are merged and released, we can update
`eth-method-registry` here and remove this `babel-runtime` dependency.
  • Loading branch information
Gudahtt committed Feb 11, 2021
1 parent fca0661 commit 06a9154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"dependencies": {
"@metamask/contract-metadata": "^1.22.0",
"async-mutex": "^0.2.6",
"babel-runtime": "^6.26.0",
"eth-ens-namehash": "^2.0.8",
"eth-json-rpc-infura": "^5.1.0",
"eth-keyring-controller": "^6.1.0",
Expand Down

0 comments on commit 06a9154

Please sign in to comment.