Skip to content

Commit

Permalink
Update some dependency, fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed Oct 4, 2018
1 parent 94041c6 commit b75bbf2
Show file tree
Hide file tree
Showing 10 changed files with 2,150 additions and 131 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,24 @@
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-runtime": "^6.26.0",
"browserify": "^16.1.1",
"browserify": "^16.2.3",
"create-hash": "^1.1.3",
"documentation": "^6.1.0",
"eslint": "^4.11.0",
"eslint-config-prettier": "^2.7.0",
"eslint-plugin-flowtype": "^2.42.0",
"eslint-plugin-react": "^7.6.1",
"eslint": "^5.6.1",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-flowtype": "^2.50.3",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.68.0",
"flow-copy-source": "^1.2.2",
"flow-mono-cli": "^1.3.0",
"flow-typed": "^2.4.0",
"lerna": "2.9.0",
"prettier": "^1.10.2",
"uglify-js": "^3.3.15"
"prettier": "^1.14.3",
"uglify-js": "^3.4.9"
}
}
4 changes: 2 additions & 2 deletions packages/documentation-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"homepage": "./",
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-scripts": "1.1.1"
},
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/example-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"@ledgerhq/hw-app-btc": "^4.21.0",
"@ledgerhq/hw-app-eth": "^4.21.0",
"@ledgerhq/hw-transport-u2f": "^4.21.0",
"react": "^16.2.0",
"react-dom": "^16.2.0"
"react": "^16.5.2",
"react-dom": "^16.5.2"
},
"devDependencies": {
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-react-app": "^3.1.1",
"cross-env": "^5.1.4",
"cross-env": "^5.2.0",
"parcel-bundler": "^1.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/hw-app-ada/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@ledgerhq/hw-transport-node-hid": "^4.22.0",
"chai": "^4.1.2",
"chai": "^4.2.0",
"chalk": "^2.3.1",
"flow-bin": "^0.68.0",
"flow-typed": "^2.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/hw-http-proxy-devserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"license": "Apache-2.0",
"dependencies": {
"@ledgerhq/hw-transport-node-hid": "^4.22.0",
"body-parser": "^1.18.2",
"body-parser": "^1.18.3",
"cors": "^2.8.4",
"express": "^4.16.3"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/hw-transport-node-hid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"license": "Apache-2.0",
"dependencies": {
"@ledgerhq/hw-transport": "^4.21.0",
"lodash": "^4.17.10",
"lodash": "^4.17.11",
"node-hid": "^0.7.2",
"usb": "^1.3.2"
"usb": "^1.3.3"
},
"devDependencies": {
"flow-bin": "^0.68.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/hw-transport-node-hid/src/getDevices.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import HID from "node-hid";

const filterInterface = device =>
["win32", "darwin"].includes(process.platform)
? device.usagePage === 0xffa0
? // $FlowFixMe bug in HID flow def
device.usagePage === 0xffa0
: device.interface === 0;

export default function getDevices(): Array<*> {
// $FlowFixMe bug in HID flow def
return HID.devices(0x2c97, 0x0).filter(filterInterface);
}
2 changes: 1 addition & 1 deletion packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@ledgerhq/hw-app-xrp": "^4.21.0",
"@ledgerhq/hw-transport-mocker": "^4.21.0",
"@ledgerhq/hw-transport-node-hid": "^4.22.0",
"budo": "^11.0.1"
"budo": "^11.3.2"
},
"devDependencies": {
"flow-bin": "^0.68.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-subprovider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@ledgerhq/hw-app-eth": "^4.21.0",
"@ledgerhq/hw-transport": "^4.21.0",
"@ledgerhq/hw-transport-u2f": "^4.21.0",
"ethereumjs-tx": "^1.3.3",
"ethereumjs-tx": "^1.3.7",
"strip-hex-prefix": "^1.0.0",
"web3-provider-engine": "^14.0.2"
},
Expand Down
Loading

0 comments on commit b75bbf2

Please sign in to comment.