Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 1b324cc

Browse files
committed
fix(yarn): pin node-hid to 2.1.1
The previous version of `node-hid` (0.7.2) didn't officially support Node >=10, which was [first served in 0.7.3](https://github.com/node-hid/node-hid/releases?after=v0.7.4). Not exactly kosher, but I pinned to the latest version of `node-hid`, which should work on Node [up to v14](https://github.com/node-hid/node-hid/releases/tag/v1.3.1), and also [supports M1 Macs](https://github.com/node-hid/node-hid/releases/tag/v2.1.1).
1 parent f044d18 commit 1b324cc

File tree

2 files changed

+39
-68
lines changed

2 files changed

+39
-68
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"resolutions": {
3131
"@walletconnect/web3-provider": "1.3.4",
32+
"node-hid": "2.1.1",
3233
"scrypt": "github:barrysteyn/node-scrypt#fb60a8d"
3334
},
3435
"author": "Fabio Berger",

yarn.lock

Lines changed: 38 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -4627,10 +4627,6 @@ bindings@^1.2.1, bindings@^1.5.0:
46274627
dependencies:
46284628
file-uri-to-path "1.0.0"
46294629

4630-
bindings@^1.3.0:
4631-
version "1.3.0"
4632-
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.3.0.tgz#b346f6ecf6a95f5a815c5839fc7cdb22502f1ed7"
4633-
46344630
[email protected], bip39@^2.5.0:
46354631
version "2.5.0"
46364632
resolved "https://registry.yarnpkg.com/bip39/-/bip39-2.5.0.tgz#51cbd5179460504a63ea3c000db3f787ca051235"
@@ -6595,10 +6591,6 @@ deep-extend@^0.6.0:
65956591
version "0.6.0"
65966592
resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
65976593

6598-
deep-extend@~0.4.0:
6599-
version "0.4.2"
6600-
resolved "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f"
6601-
66026594
deep-is@~0.1.3:
66036595
version "0.1.3"
66046596
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
@@ -8196,10 +8188,6 @@ expand-brackets@^2.1.4:
81968188
snapdragon "^0.8.1"
81978189
to-regex "^3.0.1"
81988190

8199-
expand-template@^1.0.2:
8200-
version "1.1.0"
8201-
resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-1.1.0.tgz#e09efba977bf98f9ee0ed25abd0c692e02aec3fc"
8202-
82038191
expand-template@^2.0.3:
82048192
version "2.0.3"
82058193
resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c"
@@ -12324,7 +12312,7 @@ nan@^2.12.1, nan@^2.13.2, nan@^2.14.0, nan@^2.2.1:
1232412312
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
1232512313
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
1232612314

12327-
nan@^2.3.3, nan@^2.6.2:
12315+
nan@^2.3.3:
1232812316
version "2.10.0"
1232912317
resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f"
1233012318

@@ -12422,9 +12410,10 @@ no-case@^2.2.0, no-case@^2.3.2:
1242212410
dependencies:
1242312411
lower-case "^1.1.1"
1242412412

12425-
node-abi@^2.2.0:
12426-
version "2.3.0"
12427-
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.3.0.tgz#f3d554d6ac72a9ee16f0f4dc9548db7c08de4986"
12413+
node-abi@^2.21.0:
12414+
version "2.26.0"
12415+
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.26.0.tgz#355d5d4bc603e856f74197adbf3f5117a396ba40"
12416+
integrity sha512-ag/Vos/mXXpWLLAYWsAoQdgS+gW7IwvgMLOgqopm/DbzAjazLltzgzpVMsFlgmo9TzG5hGXeaBZx2AI731RIsQ==
1242812417
dependencies:
1242912418
semver "^5.4.1"
1243012419

@@ -12440,6 +12429,11 @@ node-addon-api@^2.0.0:
1244012429
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32"
1244112430
integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==
1244212431

12432+
node-addon-api@^3.0.2:
12433+
version "3.2.0"
12434+
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.0.tgz#7028b56a7eb572b73873aed731a7f9c9365f5ee4"
12435+
integrity sha512-kcwSAWhPi4+QzAtsL2+2s/awvDo2GKLsvMCwNRxb5BUshteXU8U97NCyvQDsGKs/m0He9WcG4YWew/BnuLx++w==
12436+
1244312437
1244412438
version "2.1.1"
1244512439
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.1.1.tgz#369ca70b82f50c86496104a6c776d274f4e4a2d4"
@@ -12485,13 +12479,14 @@ node-gyp@^3.8.0:
1248512479
tar "^2.0.0"
1248612480
which "1"
1248712481

12488-
node-hid@^0.7.2:
12489-
version "0.7.2"
12490-
resolved "https://registry.yarnpkg.com/node-hid/-/node-hid-0.7.2.tgz#15025cdea2e9756aca2de7266529996d40e52c56"
12482+
[email protected], node-hid@^0.7.2:
12483+
version "2.1.1"
12484+
resolved "https://registry.yarnpkg.com/node-hid/-/node-hid-2.1.1.tgz#f83c8aa0bb4e6758b5f7383542477da93f67359d"
12485+
integrity sha512-Skzhqow7hyLZU93eIPthM9yjot9lszg9xrKxESleEs05V2NcbUptZc5HFqzjOkSmL0sFlZFr3kmvaYebx06wrw==
1249112486
dependencies:
12492-
bindings "^1.3.0"
12493-
nan "^2.6.2"
12494-
prebuild-install "^2.2.2"
12487+
bindings "^1.5.0"
12488+
node-addon-api "^3.0.2"
12489+
prebuild-install "^6.0.0"
1249512490

1249612491
node-int64@^0.4.0:
1249712492
version "0.4.0"
@@ -12874,7 +12869,7 @@ os-browserify@^0.3.0:
1287412869
version "0.3.0"
1287512870
resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27"
1287612871

12877-
os-homedir@^1.0.0, os-homedir@^1.0.1:
12872+
os-homedir@^1.0.0:
1287812873
version "1.0.2"
1287912874
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
1288012875

@@ -13630,46 +13625,46 @@ preact@^10.5.9:
1363013625
resolved "https://registry.yarnpkg.com/preact/-/preact-10.5.13.tgz#85f6c9197ecd736ce8e3bec044d08fd1330fa019"
1363113626
integrity sha512-q/vlKIGNwzTLu+jCcvywgGrt+H/1P/oIRSD6mV4ln3hmlC+Aa34C7yfPI4+5bzW8pONyVXYS7SvXosy2dKKtWQ==
1363213627

13633-
prebuild-install@^2.2.2:
13634-
version "2.5.3"
13635-
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-2.5.3.tgz#9f65f242782d370296353710e9bc843490c19f69"
13628+
prebuild-install@^5.3.3:
13629+
version "5.3.6"
13630+
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.3.6.tgz#7c225568d864c71d89d07f8796042733a3f54291"
13631+
integrity sha512-s8Aai8++QQGi4sSbs/M1Qku62PFK49Jm1CbgXklGz4nmHveDq0wzJkg7Na5QbnO1uNH8K7iqx2EQ/mV0MZEmOg==
1363613632
dependencies:
1363713633
detect-libc "^1.0.3"
13638-
expand-template "^1.0.2"
13634+
expand-template "^2.0.3"
1363913635
github-from-package "0.0.0"
13640-
minimist "^1.2.0"
13641-
mkdirp "^0.5.1"
13642-
node-abi "^2.2.0"
13636+
minimist "^1.2.3"
13637+
mkdirp-classic "^0.5.3"
13638+
napi-build-utils "^1.0.1"
13639+
node-abi "^2.7.0"
1364313640
noop-logger "^0.1.1"
1364413641
npmlog "^4.0.1"
13645-
os-homedir "^1.0.1"
13646-
pump "^2.0.1"
13647-
rc "^1.1.6"
13648-
simple-get "^2.7.0"
13649-
tar-fs "^1.13.0"
13642+
pump "^3.0.0"
13643+
rc "^1.2.7"
13644+
simple-get "^3.0.3"
13645+
tar-fs "^2.0.0"
1365013646
tunnel-agent "^0.6.0"
1365113647
which-pm-runs "^1.0.0"
1365213648

13653-
prebuild-install@^5.3.3:
13654-
version "5.3.6"
13655-
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.3.6.tgz#7c225568d864c71d89d07f8796042733a3f54291"
13656-
integrity sha512-s8Aai8++QQGi4sSbs/M1Qku62PFK49Jm1CbgXklGz4nmHveDq0wzJkg7Na5QbnO1uNH8K7iqx2EQ/mV0MZEmOg==
13649+
prebuild-install@^6.0.0:
13650+
version "6.1.2"
13651+
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.2.tgz#6ce5fc5978feba5d3cbffedca0682b136a0b5bff"
13652+
integrity sha512-PzYWIKZeP+967WuKYXlTOhYBgGOvTRSfaKI89XnfJ0ansRAH7hDU45X+K+FZeI1Wb/7p/NnuctPH3g0IqKUuSQ==
1365713653
dependencies:
1365813654
detect-libc "^1.0.3"
1365913655
expand-template "^2.0.3"
1366013656
github-from-package "0.0.0"
1366113657
minimist "^1.2.3"
1366213658
mkdirp-classic "^0.5.3"
1366313659
napi-build-utils "^1.0.1"
13664-
node-abi "^2.7.0"
13660+
node-abi "^2.21.0"
1366513661
noop-logger "^0.1.1"
1366613662
npmlog "^4.0.1"
1366713663
pump "^3.0.0"
1366813664
rc "^1.2.7"
1366913665
simple-get "^3.0.3"
1367013666
tar-fs "^2.0.0"
1367113667
tunnel-agent "^0.6.0"
13672-
which-pm-runs "^1.0.0"
1367313668

1367413669
1367513670
version "0.2.3"
@@ -13882,14 +13877,7 @@ pull-window@^2.1.4:
1388213877
dependencies:
1388313878
looper "^2.0.0"
1388413879

13885-
pump@^1.0.0:
13886-
version "1.0.3"
13887-
resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954"
13888-
dependencies:
13889-
end-of-stream "^1.1.0"
13890-
once "^1.3.1"
13891-
13892-
pump@^2.0.0, pump@^2.0.1:
13880+
pump@^2.0.0:
1389313881
version "2.0.1"
1389413882
resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
1389513883
dependencies:
@@ -14137,15 +14125,6 @@ rc-util@^4.0.4, rc-util@^4.4.0:
1413714125
prop-types "^15.5.10"
1413814126
shallowequal "^0.2.2"
1413914127

14140-
rc@^1.1.6:
14141-
version "1.2.6"
14142-
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.6.tgz#eb18989c6d4f4f162c399f79ddd29f3835568092"
14143-
dependencies:
14144-
deep-extend "~0.4.0"
14145-
ini "~1.3.0"
14146-
minimist "^1.2.0"
14147-
strip-json-comments "~2.0.1"
14148-
1414914128
rc@^1.2.7:
1415014129
version "1.2.8"
1415114130
resolved "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
@@ -16669,15 +16648,6 @@ tape@^4.4.0, tape@^4.6.3, tape@^4.8.0:
1666916648
string.prototype.trim "~1.1.2"
1667016649
through "~2.3.8"
1667116650

16672-
tar-fs@^1.13.0:
16673-
version "1.16.3"
16674-
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-1.16.3.tgz#966a628841da2c4010406a82167cbd5e0c72d509"
16675-
dependencies:
16676-
chownr "^1.0.1"
16677-
mkdirp "^0.5.1"
16678-
pump "^1.0.0"
16679-
tar-stream "^1.1.2"
16680-
1668116651
tar-fs@^2.0.0:
1668216652
version "2.1.1"
1668316653
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784"
@@ -16688,7 +16658,7 @@ tar-fs@^2.0.0:
1668816658
pump "^3.0.0"
1668916659
tar-stream "^2.1.4"
1669016660

16691-
tar-stream@^1.1.2, tar-stream@^1.5.2:
16661+
tar-stream@^1.5.2:
1669216662
version "1.5.5"
1669316663
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.5.5.tgz#5cad84779f45c83b1f2508d96b09d88c7218af55"
1669416664
dependencies:

0 commit comments

Comments
 (0)