From 68817445841e646063a8033ecc31b9b854d9eab1 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 28 Jun 2021 12:27:52 -0230 Subject: [PATCH] Update `bip39` from v2.4 to v3.0.4 The package `bip39` has been updated. The breaking change made for v3 was the removal of methods we don't use, as well has a change to another method we don't use [1]. [1]: https://github.com/bitcoinjs/bip39/blob/master/CHANGELOG.md --- package.json | 2 +- yarn.lock | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 34d1171c..ae45f388 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "sinon": "^7.2.7" }, "dependencies": { - "bip39": "^2.4.0", + "bip39": "^3.0.4", "bluebird": "^3.5.0", "browser-passworder": "^2.0.3", "eth-hd-keyring": "^3.6.0", diff --git a/yarn.lock b/yarn.lock index a6d79ee6..66aff7f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -76,6 +76,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.1.tgz#96f606f8cd67fb018847d9b61e93997dabdefc72" integrity sha512-E6M6N0blf/jiZx8Q3nb0vNaswQeEyn0XlupO+xN6DtJ6r6IT4nXrTry7zhIfYvFCl3/8Cu6WIysmUBKiqV0bqQ== +"@types/node@11.11.6": + version "11.11.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + "@types/pbkdf2@^3.0.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@types/pbkdf2/-/pbkdf2-3.1.0.tgz#039a0e9b67da0cdc4ee5dab865caa6b267bb66b1" @@ -295,7 +300,7 @@ bindings@^1.2.1, bindings@^1.5.0: dependencies: file-uri-to-path "1.0.0" -bip39@^2.2.0, bip39@^2.4.0: +bip39@^2.2.0: version "2.6.0" resolved "https://registry.yarnpkg.com/bip39/-/bip39-2.6.0.tgz#9e3a720b42ec8b3fbe4038f1e445317b6a99321c" integrity sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg== @@ -306,6 +311,16 @@ bip39@^2.2.0, bip39@^2.4.0: safe-buffer "^5.0.1" unorm "^1.3.3" +bip39@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" + integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== + dependencies: + "@types/node" "11.11.6" + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + bip66@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/bip66/-/bip66-1.1.5.tgz#01fa8748785ca70955d5011217d1b3139969ca22"