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

Add babel-runtime dependency required by ethjs-query #341

Merged
merged 3 commits into from
Feb 11, 2021

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Feb 11, 2021

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. Once those are merged and released, we can update eth-method-registry here and remove this babel-runtime dependency.

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.

[1]: MetaMask/eth-method-registry#29
@Gudahtt Gudahtt requested a review from a team as a code owner February 11, 2021 14:10
@Gudahtt Gudahtt merged commit fcb2c4a into develop Feb 11, 2021
@Gudahtt Gudahtt deleted the add-babel-runtime branch February 11, 2021 15:58
rickycodes added a commit that referenced this pull request Feb 18, 2021
…ba into feature/migrate-to-etherscan

* 'feature/migrate-to-etherscan' of github.com:MetaMask/gaba:
  Update `sinon` and `@types/sinon` to latest versions (#352)
  Fix `tsconfig.json` indentation (#355)
  Replace `fetch-mock` with `nock` (#340)
  Update `ethereumjs-wallet` from v0.6.5 to v1.0.1 (#347)
  Add `babel-runtime` dependency required by `ethjs-query` (#341)
  Update `@metamask/eslint-config` from v3 to v4.1.0 (#344)
  Add `docs` to list of ignored eslint patterns (#345)
  Update `uuid` from `v3.3.3` to `v8.3.2` (#346)
  Update approval controller test import (#339)
  Add Dependabot config (#343)
  Update `typedoc` (#342)
  Remove unused test module (#338)
  Replace `await-semaphore` with `async-mutex` (#334)
  Update `eth-json-rpc-filters` in lockfile (#336)
@Gudahtt Gudahtt mentioned this pull request Sep 24, 2021
@Gudahtt Gudahtt mentioned this pull request Oct 14, 2022
37 tasks
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
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.

[1]: MetaMask/eth-method-registry#29
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
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.

[1]: MetaMask/eth-method-registry#29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants