Elliot Winkler
8ffebb294b
Fix 'yarn setup' on M1 Macs ( #11887 )
...
There are a few issues encountered when running `yarn setup` on new
Apple Silicon (aka M1, aka arm64) Macs:
* The script halts when attempting to run the install step for
the `chromedriver` package with the message "Only Mac 64 bits
supported". This is somewhat misleading as it seems to indicate that
chromedriver can only be installed on a 64-bit Mac. However, what I
think is happening is that the installation script for `chromedriver`
is not able to detect that an arm64 CPU *is* a 64-bit CPU. After
looking through the `chromedriver` repo, it appears that 87.0.1 is the
first version that adds a proper check ([1]).
Note that upgrading chromedriver caused the Chrome-specific tests to
fail intermittently on CI. I was not able to 100% work out the reason
for this, but ensuring that X (which provides a way for Chrome to run
in a GUI setting from the command line) is available seems to fix
these issues.
* The script also halts when attempting to run the install step for
the `electron` package. This happens because for the version of
`electron` we are using (9.4.2), there is no available binary for
arm64. It appears that Electron 11.x was the first version to support
arm64 Macs ([2]). This is a bit trickier to resolve because we don't
explicitly rely on `electron` — that's brought in by `react-devtools`.
The first version of `react-devtools` that relies on `electron` 11.x
is 4.11.0 ([3]).
[1]: 469dd0a6ee
[2]: https://www.electronjs.org/blog/apple-silicon
[3]: https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md#4110-april-9-2021
3 years ago
Dan J Miller
a4c0133bc5
1559 ledger ( #11951 )
...
* EIP-1559 - Provide support for Ledger
* Update ui/selectors/selectors.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Add shared constants for hw types
* bump eth-ledger-bridge-keyring to v0.7.0
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Alex <adonesky@gmail.com>
3 years ago
Erik Marks
8a8ce3a0c0
@metamask/controllers@15.0.0 ( #11975 )
...
Adds the latest version of `@metamask/controllers`, and updates our usage of the `ApprovalController`, which has been migrated to `BaseControllerV2`. Of [the new `controllers` release](https://github.com/MetaMask/controllers/releases/tag/v15.0.0 ), only the `ApprovalController` migration should be breaking.
This is the first time we use events on the `ControllerMessenger` to update the badge, so I turned the messenger into a property on the main `MetaMaskController` in order to subscribe to events on it in `background.js`. I confirmed that the badge does indeed update during local QA.
As it turns out, [MetaMask/controllers#571 ](https://github.com/MetaMask/controllers/pull/571 ) was breaking for a single unit test case, which is now handled during setup and teardown for the related test suite (`metamask-controller.test.js`).
3 years ago
dependabot[bot]
b7009ac454
Bump @metamask/contract-metadata from 1.28.0 to 1.29.0 ( #11914 )
...
Bumps [@metamask/contract-metadata ](https://github.com/MetaMask/contract-metadata ) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/MetaMask/contract-metadata/releases )
- [Commits](https://github.com/MetaMask/contract-metadata/compare/v1.28.0...v1.29.0 )
---
updated-dependencies:
- dependency-name: "@metamask/contract-metadata"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
d1e264446d
Bump @metamask/controllers from 14.1.0 to 14.2.0 ( #11825 )
...
Bumps [@metamask/controllers ](https://github.com/MetaMask/controllers ) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/MetaMask/controllers/releases )
- [Changelog](https://github.com/MetaMask/controllers/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/controllers/compare/v14.1.0...v14.2.0 )
---
updated-dependencies:
- dependency-name: "@metamask/controllers"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
1bff9a1e23
Bump @metamask/controllers from 14.0.2 to 14.1.0 ( #11793 )
3 years ago
Alex Donesky
5d056eebed
bump path-parse version to address security vulnerability ( #11807 )
3 years ago
dependabot[bot]
5d785d36fb
Bump @metamask/auto-changelog from 2.4.0 to 2.5.0 ( #11691 )
3 years ago
Alex Donesky
6e9c683f3e
Update out of sync yarn.lock file ( #11815 )
3 years ago
Alex Donesky
6059f997f7
bump path-parse version to address security vulnerability ( #11807 )
3 years ago
dependabot[bot]
ffbd8771b3
Bump tar from 4.4.11 to 4.4.15 ( #11753 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.11 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.11...v4.4.15 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
24d6456aaf
Bump tar from 4.4.11 to 4.4.15 ( #11753 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.11 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.11...v4.4.15 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Mark Stacey
3b8faadaad
Update `eth-phishing-detect` to latest version ( #11756 )
...
This update includes just configuration updates. There are no
functional changes. The updated config is only used as a fallback in
case the config update fails for some reason.
3 years ago
Mark Stacey
d01b702b23
Update `eth-phishing-detect` to latest version ( #11756 )
...
This update includes just configuration updates. There are no
functional changes. The updated config is only used as a fallback in
case the config update fails for some reason.
3 years ago
Alex Donesky
0a8278a16f
Fix ipfs dependency vulernability ( #11745 )
3 years ago
Alex Donesky
a4dda7d79e
Fix ipfs dependency vulernability ( #11745 )
3 years ago
Alex Donesky
1135810699
Bump controllers version from 12.0.0 to 14.0.2 ( #11674 )
3 years ago
kumavis
984b78730f
CI - enforce dep usage with depcheck ( #11518 )
...
* deps - validate with depcheck
* ci - add depcheck + fixes for missing/extra deps
* ci - run depcheck after deps prep install
* deps - add yarn-deduplicate development tool
* Update .circleci/config.yml
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Update .circleci/config.yml
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Removing @lavamoat/preinstall-always-fail
* [depcheck] removing unused dependencies
* Update .depcheckrc.yml
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: ryanml <ryanlanese@gmail.com>
3 years ago
sethkfman
d64d9050b8
bumped contract-metadata to v1.28.0 ( #11625 )
3 years ago
Peter-Jan Brone
3fada25dfc
Add Skylink support to ENS resolver ( #11401 )
...
* Add Skynet support to ENS to IPFS resolver
* Remove newline
* Fix lint
* Fix lint
* Remove mistakenly committed zip file
* Update
3 years ago
kumavis
9f4820ee98
Build - refactor for bundle factoring and swappable runtime ( #11080 )
...
* wip
* build - breakout sentry-install bundle
* deps - move new build sys deps to published versions
* chore: lint fix
* clean - remove unused file
* clean - remove unsused package script
* lavamoat - update build system policy
* build - render html to all platforms
* development - improve sourcemap debugger output
* deps - update lavapack
* lint - fix
* deps - update lavapack for bugfix
* deps - update lavapack for bugfix
* deps - bump lavapack for line ending normalization
* sourcemap explorer - disable boundary validation
* ci - reset normal ci flow
* build - re-enable minification on prod
* build - remove noisy log about html dest
* build - update terser and remove gulp wrapper for sourcemap fix
* Revert "sourcemap explorer - disable boundary validation"
This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162.
* build - reenable react-devtools in dev mode
* wip
* build - breakout sentry-install bundle
* deps - move new build sys deps to published versions
* chore: lint fix
* clean - remove unused file
* clean - remove unsused package script
* lavamoat - update build system policy
* build - render html to all platforms
* development - improve sourcemap debugger output
* deps - update lavapack
* lint - fix
* deps - update lavapack for bugfix
* deps - update lavapack for bugfix
* deps - bump lavapack for line ending normalization
* sourcemap explorer - disable boundary validation
* ci - reset normal ci flow
* build - re-enable minification on prod
* build - remove noisy log about html dest
* build - update terser and remove gulp wrapper for sourcemap fix
* Revert "sourcemap explorer - disable boundary validation"
This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162.
* build - reenable react-devtools in dev mode
* Updating lockfile
* lint fix
* build/dev - patch watchifys incompatible binary stats output
* ui - add comment about conditional import
* build - improve comment
* Update development/stream-flat-map.js
Co-authored-by: Brad Decker <git@braddecker.dev>
* Outputting all bundle file links (metamaskbot)
Co-authored-by: ryanml <ryanlanese@gmail.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
3 years ago
Alex Donesky
ece437b139
Update controllers with conversionRate change with minimal required changes in extension ( #11361 )
...
* updating controllers with conversionRate change with minimal required changes in extension
* swapping showFiat selector in places where possible
* adding invalid conversion protection
* lint fixes
* adjusting list-item styling logic
3 years ago
Brad Decker
68dfc98f40
wire up gasFeeController ( #11421 )
3 years ago
Brad Decker
39906d6124
upgrade @metamask/controllers to v12.0.0 ( #11472 )
3 years ago
ryanml
9e86d417f9
Bumping contract-metadata -> 1.27.0 in package.json ( #11458 )
3 years ago
dependabot[bot]
9889d070cd
Bump @metamask/contract-metadata from 1.26.0 to 1.27.0 ( #11430 )
...
Bumps [@metamask/contract-metadata ](https://github.com/MetaMask/contract-metadata ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/MetaMask/contract-metadata/releases )
- [Commits](https://github.com/MetaMask/contract-metadata/compare/v1.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: "@metamask/contract-metadata"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
0037416251
Bump @metamask/auto-changelog from 2.3.0 to 2.4.0 ( #11422 )
...
Bumps [@metamask/auto-changelog ](https://github.com/MetaMask/auto-changelog ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/MetaMask/auto-changelog/releases )
- [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/auto-changelog/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: "@metamask/auto-changelog"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Alex Donesky
a4a5580785
Update controllers with conversionRate change with minimal required changes in extension ( #11361 )
...
* updating controllers with conversionRate change with minimal required changes in extension
* swapping showFiat selector in places where possible
* adding invalid conversion protection
* lint fixes
* adjusting list-item styling logic
3 years ago
Brad Decker
cf34e64f15
Support EIP-2718 transaction types, EIP-2930 and EIP-1559 support ( #11288 )
3 years ago
ryanml
341b090857
Upgrading eth-ledger-bridge-keyring -> 0.6.0, eth-trezor-keyring -> 0.7.0 ( #11290 )
4 years ago
Mark Stacey
80697f781a
Update `@metamask/contract-metadata` from v1.25 to v1.26 ( #11278 )
...
This update includes various new tokens.
4 years ago
Mark Stacey
108bd7987b
Update `@metamask/contract-metadata` from v1.25 to v1.26 ( #11278 )
...
This update includes various new tokens.
4 years ago
ryanml
b7248f1eee
Fixing normalize-url audit vulnerability ( #11258 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
4 years ago
dependabot[bot]
ad7e64ad91
Bump trim-newlines from 3.0.0 to 3.0.1 ( #11260 )
...
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases )
- [Commits](https://github.com/sindresorhus/trim-newlines/commits )
---
updated-dependencies:
- dependency-name: trim-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
ryanml
282665dd96
Fixing normalize-url audit vulnerability ( #11258 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
4 years ago
Etienne Dusseault
ecf31c39d0
bump allow scripts ( #11134 )
4 years ago
Niranjana Binoy
d4cb403d51
Handling custom token decimal fetch failure due to network error ( #10956 )
4 years ago
David Walsh
440b013d51
Update eth-ledger-bridge-keyring to v0.5.0 ( #11064 )
4 years ago
Etienne Dusseault
fac258a38a
bump allow scripts ( #10822 )
4 years ago
dependabot[bot]
120efc6dab
Bump ssri from 6.0.1 to 6.0.2 ( #10959 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Erik Marks
2007e73747
@metamask/providers@8.1.1 ( #11078 )
...
* @metamask/providers@8.1.1
* Minimize import footprint
4 years ago
dependabot[bot]
c07e45b5e6
Bump hosted-git-info from 2.5.0 to 2.8.9 ( #11034 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.5.0 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.5.0...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Mark Stacey
119693fe05
Update `@metamask/controllers` to v8 ( #11000 )
...
Update `@metamask/controllers` from v6 to v8. The breaking changes were
all in controllers that aren't used by the extension, so no changes
were required.
4 years ago
Mark Stacey
e6fcd3d867
Replace `auto-changelog` script ( #10993 )
...
The `auto-changelog` script has been replaced with the package
`@metamask/auto-changelog`. This package includes a script that has
an `update` command that is roughly equivalent to the old
`auto-changelog.js` script, except better. The script also has a
`validate` command.
The `repository` field was added to `package.json` because it's
utilized by the `auto-changelog` script, and this was easier than
specifying the repository URL with a CLI argument.
4 years ago
Erik Marks
88d85d43bd
@metamask/post-message-stream@4.0.0 ( #10989 )
4 years ago
ricky
10c600589b
Feature/use zeroAddress ( #11205 )
...
* update ethereumjs-util
* Use zeroAddress
4 years ago
Dan J Miller
5d566a483a
Resolve ws dependency to version ^7.4.6 to fix security vulnerability ( #11229 )
4 years ago
Dan J Miller
6040c6ebbb
Resolve ws dependency to version ^7.4.6 to fix security vulnerability ( #11229 )
4 years ago
dependabot[bot]
0dc459e073
Bump @metamask/auto-changelog from 2.2.0 to 2.3.0 ( #11213 )
...
Bumps [@metamask/auto-changelog ](https://github.com/MetaMask/auto-changelog ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/MetaMask/auto-changelog/releases )
- [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md )
- [Commits](https://github.com/MetaMask/auto-changelog/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Dan Miller
e3ed26cc24
Revert "Revert "Implement Ledger Live bridge ( #10293 )""
...
This reverts commit 56db48a1c3
.
4 years ago