Skip to content

Commit

Permalink
deps(keyring-controller): ethereumjs-wallet@^1.0.1 -> @ethereumjs/wal…
Browse files Browse the repository at this point in the history
…let@^2.0.3
  • Loading branch information
legobeat committed Apr 18, 2024
1 parent 6c07eb7 commit 346de6a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 78 deletions.
2 changes: 1 addition & 1 deletion packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"dependencies": {
"@ethereumjs/util": "^8.1.0",
"@ethereumjs/wallet": "^2.0.3",
"@keystonehq/metamask-airgapped-keyring": "^0.13.1",
"@metamask/base-controller": "^5.0.1",
"@metamask/browser-passworder": "^4.3.0",
Expand All @@ -52,7 +53,6 @@
"@metamask/message-manager": "^8.0.1",
"@metamask/utils": "^8.3.0",
"async-mutex": "^0.2.6",
"ethereumjs-wallet": "^1.0.1",
"immer": "^9.0.6"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring-controller/src/KeyringController.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { TxData, TypedTransaction } from '@ethereumjs/tx';
import { isValidPrivate, toBuffer, getBinarySize } from '@ethereumjs/util';
import { Wallet, thirdparty as importers } from '@ethereumjs/wallet';
import type {
MetaMaskKeyring as QRKeyring,
IKeyringState as IQRKeyringState,
Expand Down Expand Up @@ -40,7 +41,6 @@ import {
} from '@metamask/utils';
import { Mutex } from 'async-mutex';
import type { MutexInterface } from 'async-mutex';
import Wallet, { thirdparty as importers } from 'ethereumjs-wallet';
import type { Patch } from 'immer';

import { KeyringControllerError } from './constants';
Expand Down
145 changes: 69 additions & 76 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,15 @@ __metadata:
languageName: node
linkType: hard

"@ethereumjs/rlp@npm:^5.0.2":
version: 5.0.2
resolution: "@ethereumjs/rlp@npm:5.0.2"
bin:
rlp: bin/rlp.cjs
checksum: b569061ddb1f4cf56a82f7a677c735ba37f9e94e2bbaf567404beb9e2da7aa1f595e72fc12a17c61f7aec67fd5448443efe542967c685a2fe0ffc435793dcbab
languageName: node
linkType: hard

"@ethereumjs/tx@npm:^4.0.2, @ethereumjs/tx@npm:^4.1.2, @ethereumjs/tx@npm:^4.2.0":
version: 4.2.0
resolution: "@ethereumjs/tx@npm:4.2.0"
Expand All @@ -822,6 +831,29 @@ __metadata:
languageName: node
linkType: hard

"@ethereumjs/util@npm:^9.0.3":
version: 9.0.3
resolution: "@ethereumjs/util@npm:9.0.3"
dependencies:
"@ethereumjs/rlp": ^5.0.2
ethereum-cryptography: ^2.1.3
checksum: 231dae61268c84d514a6c992a770559bb94a21c753c02287d08781cbeae01a6e5b5479af9f0d3d412d532fda6e9b1eeb746e617a68b738907a4a8ee4e24d79a6
languageName: node
linkType: hard

"@ethereumjs/wallet@npm:^2.0.3":
version: 2.0.3
resolution: "@ethereumjs/wallet@npm:2.0.3"
dependencies:
"@ethereumjs/util": ^9.0.3
"@scure/base": ^1.1.5
ethereum-cryptography: ^2.1.3
js-md5: ^0.8.3
uuid: ^9.0.1
checksum: 2f813bc229c8ab052c3f2d6210204f316318e26f90b795e154cbfd6fc907a0e59e735745d298d2ad25e696a3a828dd9dcb5467b3e084a4dcd9cfa165933c1893
languageName: node
linkType: hard

"@ethersproject/abi@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/abi@npm:5.7.0"
Expand Down Expand Up @@ -2418,6 +2450,7 @@ __metadata:
"@ethereumjs/common": ^3.2.0
"@ethereumjs/tx": ^4.2.0
"@ethereumjs/util": ^8.1.0
"@ethereumjs/wallet": ^2.0.3
"@keystonehq/bc-ur-registry-eth": ^0.9.0
"@keystonehq/metamask-airgapped-keyring": ^0.13.1
"@lavamoat/allow-scripts": ^3.0.2
Expand All @@ -2434,7 +2467,6 @@ __metadata:
"@types/jest": ^27.4.1
async-mutex: ^0.2.6
deepmerge: ^4.2.2
ethereumjs-wallet: ^1.0.1
immer: ^9.0.6
jest: ^27.5.1
jest-environment-node: ^27.5.1
Expand Down Expand Up @@ -3135,16 +3167,7 @@ __metadata:
languageName: node
linkType: hard

"@noble/curves@npm:1.1.0, @noble/curves@npm:~1.1.0":
version: 1.1.0
resolution: "@noble/curves@npm:1.1.0"
dependencies:
"@noble/hashes": 1.3.1
checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5
languageName: node
linkType: hard

"@noble/curves@npm:^1.2.0":
"@noble/curves@npm:1.3.0, @noble/curves@npm:^1.2.0, @noble/curves@npm:~1.3.0":
version: 1.3.0
resolution: "@noble/curves@npm:1.3.0"
dependencies:
Expand All @@ -3160,14 +3183,7 @@ __metadata:
languageName: node
linkType: hard

"@noble/hashes@npm:1.3.1":
version: 1.3.1
resolution: "@noble/hashes@npm:1.3.1"
checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1
languageName: node
linkType: hard

"@noble/hashes@npm:1.3.3, @noble/hashes@npm:~1.3.0, @noble/hashes@npm:~1.3.1, @noble/hashes@npm:~1.3.2":
"@noble/hashes@npm:1.3.3, @noble/hashes@npm:~1.3.2":
version: 1.3.3
resolution: "@noble/hashes@npm:1.3.3"
checksum: 8a6496d1c0c64797339bc694ad06cdfaa0f9e56cd0c3f68ae3666cfb153a791a55deb0af9c653c7ed2db64d537aa3e3054629740d2f2338bb1dcb7ab60cd205b
Expand Down Expand Up @@ -3409,31 +3425,31 @@ __metadata:
languageName: node
linkType: hard

"@scure/base@npm:^1.0.0, @scure/base@npm:^1.1.1, @scure/base@npm:^1.1.3, @scure/base@npm:~1.1.0, @scure/base@npm:~1.1.3":
version: 1.1.3
resolution: "@scure/base@npm:1.1.3"
checksum: 1606ab8a4db898cb3a1ada16c15437c3bce4e25854fadc8eb03ae93cbbbac1ed90655af4b0be3da37e12056fef11c0374499f69b9e658c9e5b7b3e06353c630c
"@scure/base@npm:^1.0.0, @scure/base@npm:^1.1.1, @scure/base@npm:^1.1.3, @scure/base@npm:^1.1.5, @scure/base@npm:~1.1.3, @scure/base@npm:~1.1.4":
version: 1.1.6
resolution: "@scure/base@npm:1.1.6"
checksum: d6deaae91deba99e87939af9e55d80edba302674983f32bba57f942e22b1726a83c62dc50d8f4370a5d5d35a212dda167fb169f4b0d0c297488d8604608fc3d3
languageName: node
linkType: hard

"@scure/bip32@npm:1.3.1":
version: 1.3.1
resolution: "@scure/bip32@npm:1.3.1"
"@scure/bip32@npm:1.3.3":
version: 1.3.3
resolution: "@scure/bip32@npm:1.3.3"
dependencies:
"@noble/curves": ~1.1.0
"@noble/hashes": ~1.3.1
"@scure/base": ~1.1.0
checksum: 394d65f77a40651eba21a5096da0f4233c3b50d422864751d373fcf142eeedb94a1149f9ab1dbb078086dab2d0bc27e2b1afec8321bf22d4403c7df2fea5bfe2
"@noble/curves": ~1.3.0
"@noble/hashes": ~1.3.2
"@scure/base": ~1.1.4
checksum: f939ca733972622fcc1e61d4fdf170a0ad294b24ddb7ed7cdd4c467e1ef283b970154cb101cf5f1a7b64cf5337e917ad31135911dfc36b1d76625320167df2fa
languageName: node
linkType: hard

"@scure/bip39@npm:1.2.1":
version: 1.2.1
resolution: "@scure/bip39@npm:1.2.1"
"@scure/bip39@npm:1.2.2":
version: 1.2.2
resolution: "@scure/bip39@npm:1.2.2"
dependencies:
"@noble/hashes": ~1.3.0
"@scure/base": ~1.1.0
checksum: c5bd6f1328fdbeae2dcdd891825b1610225310e5e62a4942714db51066866e4f7bef242c7b06a1b9dcc8043a4a13412cf5c5df76d3b10aa9e36b82e9b6e3eeaa
"@noble/hashes": ~1.3.2
"@scure/base": ~1.1.4
checksum: cb99505e6d2deef8e55e81df8c563ce8dbfdf1595596dc912bceadcf366c91b05a98130e928ecb090df74efdb20150b64acc4be55bc42768cab4d39a2833d234
languageName: node
linkType: hard

Expand Down Expand Up @@ -4130,13 +4146,6 @@ __metadata:
languageName: node
linkType: hard

"aes-js@npm:^3.1.2":
version: 3.1.2
resolution: "aes-js@npm:3.1.2"
checksum: 062154d50b1e433cc8c3b8ca7879f3a6375d5e79c2a507b2b6c4ec920b4cd851bf2afa7f65c98761a9da89c0ab618cbe6529e8e9a1c71f93290b53128fb8f712
languageName: node
linkType: hard

"agent-base@npm:6":
version: 6.0.2
resolution: "agent-base@npm:6.0.2"
Expand Down Expand Up @@ -6355,19 +6364,19 @@ __metadata:
languageName: node
linkType: hard

"ethereum-cryptography@npm:^2.0.0, ethereum-cryptography@npm:^2.1.2":
version: 2.1.2
resolution: "ethereum-cryptography@npm:2.1.2"
"ethereum-cryptography@npm:^2.0.0, ethereum-cryptography@npm:^2.1.2, ethereum-cryptography@npm:^2.1.3":
version: 2.1.3
resolution: "ethereum-cryptography@npm:2.1.3"
dependencies:
"@noble/curves": 1.1.0
"@noble/hashes": 1.3.1
"@scure/bip32": 1.3.1
"@scure/bip39": 1.2.1
checksum: 2e8f7b8cc90232ae838ab6a8167708e8362621404d26e79b5d9e762c7b53d699f7520aff358d9254de658fcd54d2d0af168ff909943259ed27dc4cef2736410c
"@noble/curves": 1.3.0
"@noble/hashes": 1.3.3
"@scure/bip32": 1.3.3
"@scure/bip39": 1.2.2
checksum: 7f9c14f868a588641179cace3eb86c332c4743290865db699870710253cabc4dc74bd4bce5e7bc6db667482e032e94d6f79521219eb6be5dc422059d279a27b7
languageName: node
linkType: hard

"ethereumjs-util@npm:^7.0.8, ethereumjs-util@npm:^7.1.2":
"ethereumjs-util@npm:^7.0.8":
version: 7.1.5
resolution: "ethereumjs-util@npm:7.1.5"
dependencies:
Expand All @@ -6380,22 +6389,6 @@ __metadata:
languageName: node
linkType: hard

"ethereumjs-wallet@npm:^1.0.1":
version: 1.0.2
resolution: "ethereumjs-wallet@npm:1.0.2"
dependencies:
aes-js: ^3.1.2
bs58check: ^2.1.2
ethereum-cryptography: ^0.1.3
ethereumjs-util: ^7.1.2
randombytes: ^2.1.0
scrypt-js: ^3.0.1
utf8: ^3.0.0
uuid: ^8.3.2
checksum: 555effe571c633ca9189e08639928e7bfcb601474f5a37653a3d028b06a10fb8577408c32d425ccecb3ac25d7165322cb9786239fa09ce276532d262206feb8c
languageName: node
linkType: hard

"ethjs-abi@npm:^0.2.0":
version: 0.2.1
resolution: "ethjs-abi@npm:0.2.1"
Expand Down Expand Up @@ -8479,6 +8472,13 @@ __metadata:
languageName: node
linkType: hard

"js-md5@npm:^0.8.3":
version: 0.8.3
resolution: "js-md5@npm:0.8.3"
checksum: b8578232d8004978036f114aa4d46ad7c06ca36b2a6889f241762263424cfea6099701ec5394a1b463ad95f18f74a2acb8c6033b5ebd6a188d67a9e704b41e05
languageName: node
linkType: hard

"js-sha3@npm:0.5.5":
version: 0.5.5
resolution: "js-sha3@npm:0.5.5"
Expand Down Expand Up @@ -10454,7 +10454,7 @@ __metadata:
languageName: node
linkType: hard

"scrypt-js@npm:^3.0.0, scrypt-js@npm:^3.0.1":
"scrypt-js@npm:^3.0.0":
version: 3.0.1
resolution: "scrypt-js@npm:3.0.1"
checksum: b7c7d1a68d6ca946f2fbb0778e0c4ec63c65501b54023b2af7d7e9f48fdb6c6580d6f7675cd53bda5944c5ebc057560d5a6365079752546865defb3b79dea454
Expand Down Expand Up @@ -11699,13 +11699,6 @@ __metadata:
languageName: node
linkType: hard

"utf8@npm:^3.0.0":
version: 3.0.0
resolution: "utf8@npm:3.0.0"
checksum: cb89a69ad9ab393e3eae9b25305b3ff08bebca9adc839191a34f90777eb2942f86a96369d2839925fea58f8f722f7e27031d697f10f5f39690f8c5047303e62d
languageName: node
linkType: hard

"util-deprecate@npm:^1.0.1, util-deprecate@npm:~1.0.1":
version: 1.0.2
resolution: "util-deprecate@npm:1.0.2"
Expand Down

0 comments on commit 346de6a

Please sign in to comment.