From cf510ed176c3169d2e6b24369a20338985ade6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lloren=C3=A7=20Muntaner?= Date: Wed, 13 Sep 2023 16:00:44 +0200 Subject: [PATCH] Remove buffer dependency (#40) --- package-lock.json | 5 ++++- package.json | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index b62875d..b6d474a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,6 @@ "@ledgerhq/hw-transport-node-hid-noevents": "^6.3.0", "@ledgerhq/hw-transport-webhid": "^6.27.1", "@zondax/ledger-icp": "^0.6.0", - "buffer": "^6.0.3", "chalk": "^4.1.2", "commander": "^9.0.0", "node-fetch": "^2.6.1", @@ -3012,6 +3011,8 @@ "url": "https://feross.org/support" } ], + "optional": true, + "peer": true, "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" @@ -7046,6 +7047,8 @@ "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "optional": true, + "peer": true, "requires": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" diff --git a/package.json b/package.json index 150655e..155a87c 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "@ledgerhq/hw-transport-node-hid-noevents": "^6.3.0", "@ledgerhq/hw-transport-webhid": "^6.27.1", "@zondax/ledger-icp": "^0.6.0", - "buffer": "^6.0.3", "chalk": "^4.1.2", "commander": "^9.0.0", "node-fetch": "^2.6.1",