From dc21ae3ac9b61c0c657be9cfdc5aefe97f8ff9a2 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Tue, 24 Nov 2020 12:35:00 -0800 Subject: [PATCH] Upgrade ledger dependencies to match `stellar/account-viewer-next`'s. (#184) --- package.json | 4 +-- yarn.lock | 84 ++++++++++++++++++++++++++++++++-------------------- 2 files changed, 54 insertions(+), 34 deletions(-) diff --git a/package.json b/package.json index 0bff2209..6cd63df3 100644 --- a/package.json +++ b/package.json @@ -79,8 +79,8 @@ }, "dependencies": { "@albedo-link/intent": "^0.9.2", - "@ledgerhq/hw-app-str": "^4.48.0", - "@ledgerhq/hw-transport-u2f": "^4.48.0", + "@ledgerhq/hw-app-str": "^5.28.0", + "@ledgerhq/hw-transport-u2f": "^5.26.0", "@stellar/freighter-api": "^1.0.0-beta.0", "@types/jest": "^24.0.11", "change-case": "^3.1.0", diff --git a/yarn.lock b/yarn.lock index 08c2b476..76939ba3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -837,45 +837,53 @@ "@types/istanbul-lib-coverage" "^2.0.0" "@types/yargs" "^12.0.9" -"@ledgerhq/devices@^4.48.0": - version "4.48.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-4.48.0.tgz#b62cce08dd49a8bd4cbf0eda0e09bf8610e42b56" - integrity sha512-Rs0zhkjzJTps1hoHlwGLhPM8Poo8EzE55QGLWk4Q6oXoO/Nk6MRUrFaz2UuCBVQU5RaI2JPhDbwO9bPd9cVH1Q== - dependencies: - "@ledgerhq/errors" "^4.48.0" - -"@ledgerhq/errors@^4.48.0": - version "4.48.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-4.48.0.tgz#3a2a65862de72641095db8ef72739d105524a68f" - integrity sha512-MM5Tvo+KBr+dQyc6F2d93eyepZdHCmrR9KjwuB2W8pjPBG9jYmtPM/+I72k9o22YXQ9FIyd1WJJaARJoOzWXOA== - -"@ledgerhq/hw-app-str@^4.48.0": - version "4.48.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-str/-/hw-app-str-4.48.0.tgz#b8a8f1b8f3277340b033415cdb70d453a1994494" - integrity sha512-hFiZt3ZnoShhGIQReCAouER60ucgdPjYh3Gnp0Ckl+M/x8aA4FlcTGg/AJQpYjdh3GktZCd5cjLADLORbqoasQ== - dependencies: - "@ledgerhq/hw-transport" "^4.48.0" +"@ledgerhq/devices@^5.30.0": + version "5.30.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-5.30.0.tgz#0e81970988a033316fc936517d4191fe75cde589" + integrity sha512-2ubefpOcw7SpU/6E1MM7JNLihOuwvQ73dCSPmxLloxPf1T4S6gOBh4RgB9mal/gwoOwWGVNaR3wGHvqJI8z1Gg== + dependencies: + "@ledgerhq/errors" "^5.30.0" + "@ledgerhq/logs" "^5.30.0" + rxjs "^6.6.3" + +"@ledgerhq/errors@^5.30.0": + version "5.30.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-5.30.0.tgz#f8baaf9d0a326abc567f66bbdb0b740674143182" + integrity sha512-pSX50OEQqK56WiZG2lIxGijy5QUwiWNDFXzAoPCh2BOGGWhBq6LaYSKQyQaRIpUXzAubt0s1lUj3sHNYTOA9vg== + +"@ledgerhq/hw-app-str@^5.28.0": + version "5.30.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-str/-/hw-app-str-5.30.0.tgz#af4b8f0ddcf55e65e51c409a3e9e4fa6336ebb7a" + integrity sha512-DsoC/e5Jebh+KanGeCukuiGrHogOck0/jW2oygSi+QoR3leqGqdf0B2+QoQobQyhYh2BYCy9NbUZVZS/8i0/6g== + dependencies: + "@ledgerhq/hw-transport" "^5.30.0" base32.js "^0.1.0" sha.js "^2.3.6" - tweetnacl "^1.0.0" + tweetnacl "^1.0.3" -"@ledgerhq/hw-transport-u2f@^4.48.0": - version "4.48.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-u2f/-/hw-transport-u2f-4.48.0.tgz#0419f7d54c989d6119450d9e505aa54a5d701c1f" - integrity sha512-qqKlLWDDibwKGWIcL3c9DLr9DdA+71AS5GwWGIJaKaOyGYeMK6uuJrqPphXO2xvHkPNG1B56vpAFy3ojp1mtMA== +"@ledgerhq/hw-transport-u2f@^5.26.0": + version "5.30.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-u2f/-/hw-transport-u2f-5.30.0.tgz#2a1cfeaa596eac82f02d29ffde187f9bbf0cc06a" + integrity sha512-d0EIpnHy468BvUq+JkjOzWXHtFxh6JDlRAy8jrzgPO9u1LLs6lhd6koeq4LVbpqC+hxb32ZvoArcmp+5lj4jzg== dependencies: - "@ledgerhq/errors" "^4.48.0" - "@ledgerhq/hw-transport" "^4.48.0" + "@ledgerhq/errors" "^5.30.0" + "@ledgerhq/hw-transport" "^5.30.0" + "@ledgerhq/logs" "^5.30.0" u2f-api "0.2.7" -"@ledgerhq/hw-transport@^4.48.0": - version "4.48.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-4.48.0.tgz#8fa09e46d9d9aab35db5679e0970e7fed2ee73bf" - integrity sha512-dZH/3dTXlhe3IFl+MRFePcC0TnSeQcaBuiq5t3yDA68qw7WZCbON9GKSO5Rex4yNx5v6BCHyzz1myBFJ7895iw== +"@ledgerhq/hw-transport@^5.30.0": + version "5.30.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-5.30.0.tgz#6c98c00a5594dc38f4046e2ebdd342f6b14e57b7" + integrity sha512-86cKX9yIHP9C/wnVRhm5QnaBPqTWaSxb0Z2BlMLT0xWqQf0RVb9e4pUtfAsGNDhTyN2exQF54+G4IkspsplnKg== dependencies: - "@ledgerhq/devices" "^4.48.0" - "@ledgerhq/errors" "^4.48.0" - events "^3.0.0" + "@ledgerhq/devices" "^5.30.0" + "@ledgerhq/errors" "^5.30.0" + events "^3.2.0" + +"@ledgerhq/logs@^5.30.0": + version "5.30.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-5.30.0.tgz#76e8d7e5a06a73c9b99da51fa5befd5cfd5309d4" + integrity sha512-wUhg2VTfUrWihjdGqKkH/s7TBzdIM1yyd2LiscYsfTX2I0xYDMnpE+NkMReeGU8PN3QhCPgnlg9/P9V6UWoJBA== "@samverschueren/stream-to-observable@^0.3.0": version "0.3.0" @@ -6140,6 +6148,13 @@ rxjs@^6.3.3: dependencies: tslib "^1.9.0" +rxjs@^6.6.3: + version "6.6.3" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552" + integrity sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ== + dependencies: + tslib "^1.9.0" + safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -7048,6 +7063,11 @@ tweetnacl@^1.0.0, tweetnacl@^1.0.1: resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.1.tgz#2594d42da73cd036bd0d2a54683dd35a6b55ca17" integrity sha512-kcoMoKTPYnoeS50tzoqjPY3Uv9axeuuFAZY9M/9zFnhoVvRfxz9K29IMPD7jGmt2c8SW7i3gT9WqDl2+nV7p4A== +tweetnacl@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" + integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== + type-check@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72"