Skip to content

Commit

Permalink
⤵️Merge pull request #9 from canterberry/upgrade-dependencies
Browse files Browse the repository at this point in the history
⬆️ Upgrade dependencies
  • Loading branch information
canterberry authored Feb 18, 2018
2 parents 4d903b5 + 89d0741 commit b695e06
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 48 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "scripts/test.sh"
},
"dependencies": {
"buffer": "5.0.8",
"buffer": "5.1.0",
"rlp": "2.0.0"
},
"devDependencies": {
Expand All @@ -23,12 +23,12 @@
"babel-preset-env": "1.6.1",
"babel-preset-stage-2": "6.24.1",
"chai": "4.1.2",
"eslint": "4.15.0",
"eslint": "4.18.0",
"eslint-plugin-ante": "1.0.0",
"jsdoc": "3.5.5",
"mocha": "4.1.0",
"sinon": "4.1.5",
"mocha": "5.0.1",
"sinon": "4.3.0",
"sinon-chai": "2.14.0",
"snyk": "1.68.1"
"snyk": "1.69.7"
}
}
2 changes: 1 addition & 1 deletion src/device/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ class LedgerDevice {
return current;
}, false));

// eslint-disable-next-line no-await-in-loop
for (let keyHandle = keyHandles.shift(); keyHandle; keyHandle = keyHandles.shift()) {
// eslint-disable-next-line no-await-in-loop
const signature = await new Promise((resolve, reject) => {
u2f.sign(appId, challenge, [{
keyHandle: Base64.toBase64URLSafe(keyHandle),
Expand Down
102 changes: 60 additions & 42 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
lodash "^4.2.0"
to-fast-properties "^2.0.0"

"@sinonjs/formatio@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-2.0.0.tgz#84db7e9eb5531df18a8c5e0bfb6e449e55e654b2"
dependencies:
samsam "1.3.0"

abbrev@1, abbrev@^1.0.7:
version "1.1.1"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
Expand Down Expand Up @@ -908,9 +914,9 @@ browserslist@^2.1.2:
caniuse-lite "^1.0.30000780"
electron-to-chromium "^1.3.28"

buffer@5.0.8:
version "5.0.8"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.0.8.tgz#84daa52e7cf2fa8ce4195bc5cf0f7809e0930b24"
buffer@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.1.0.tgz#c913e43678c7cb7c8bd16afbcddb6c5505e8f9fe"
dependencies:
base64-js "^1.0.2"
ieee754 "^1.1.4"
Expand Down Expand Up @@ -1254,9 +1260,9 @@ diff@^3.1.0:
version "3.4.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c"

doctrine@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.2.tgz#68f96ce8efc56cc42651f1faadb4f175273b0075"
doctrine@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
dependencies:
esutils "^2.0.2"

Expand Down Expand Up @@ -1340,17 +1346,17 @@ eslint-visitor-keys@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"

eslint@4.15.0:
version "4.15.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.15.0.tgz#89ab38c12713eec3d13afac14e4a89e75ef08145"
eslint@4.18.0:
version "4.18.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.18.0.tgz#ebd0ba795af6dc59aa5cee17938160af5950e051"
dependencies:
ajv "^5.3.0"
babel-code-frame "^6.22.0"
chalk "^2.1.0"
concat-stream "^1.6.0"
cross-spawn "^5.1.0"
debug "^3.1.0"
doctrine "^2.0.2"
doctrine "^2.1.0"
eslint-scope "^3.7.1"
eslint-visitor-keys "^1.0.0"
espree "^3.5.2"
Expand Down Expand Up @@ -1554,7 +1560,7 @@ form-data@~2.1.1:
combined-stream "^1.0.5"
mime-types "^2.1.12"

formatio@1.2.0, formatio@^1.2.0:
formatio@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/formatio/-/formatio-1.2.0.tgz#f3b2167d9068c4698a8d51f4f760a39a54d818eb"
dependencies:
Expand Down Expand Up @@ -1736,6 +1742,10 @@ has-flag@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"

has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"

has-unicode@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
Expand Down Expand Up @@ -2277,9 +2287,9 @@ mimic-fn@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"

[email protected].2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.2.tgz#0f398a7300ea441e9c348c83d98ab8c9dbf9c40a"
[email protected].3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
dependencies:
brace-expansion "^1.0.0"

Expand Down Expand Up @@ -2310,9 +2320,9 @@ [email protected], "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1:
dependencies:
minimist "0.0.8"

mocha@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.1.0.tgz#7d86cfbcf35cb829e2754c32e17355ec05338794"
mocha@5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.1.tgz#759b62c836b0732382a62b6b1fb245ec1bc943ac"
dependencies:
browser-stdout "1.3.0"
commander "2.11.0"
Expand Down Expand Up @@ -2721,6 +2731,12 @@ readdirp@^2.0.0:
readable-stream "^2.0.2"
set-immediate-shim "^1.0.1"

recursive-readdir@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/recursive-readdir/-/recursive-readdir-2.2.1.tgz#90ef231d0778c5ce093c9a48d74e5c5422d13a99"
dependencies:
minimatch "3.0.3"

regenerate@^1.2.1:
version "1.3.3"
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f"
Expand Down Expand Up @@ -2908,7 +2924,7 @@ safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"

[email protected]:
samsam@1.3.0, samsam@1.x:
version "1.3.0"
resolved "https://registry.yarnpkg.com/samsam/-/samsam-1.3.0.tgz#8d1d9350e25622da30de3e44ba692b5221ab7c50"

Expand Down Expand Up @@ -2961,16 +2977,16 @@ [email protected]:
version "2.14.0"
resolved "https://registry.yarnpkg.com/sinon-chai/-/sinon-chai-2.14.0.tgz#da7dd4cc83cd6a260b67cca0f7a9fdae26a1205d"

sinon@4.1.5:
version "4.1.5"
resolved "https://registry.yarnpkg.com/sinon/-/sinon-4.1.5.tgz#620a9b2ac599f88b0455763070f16f4057ed6395"
sinon@4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/sinon/-/sinon-4.3.0.tgz#cec9b27d5f4e2c63c1a79c9dc1c05d34bb088234"
dependencies:
"@sinonjs/formatio" "^2.0.0"
diff "^3.1.0"
formatio "1.2.0"
lodash.get "^4.4.2"
lolex "^2.2.0"
nise "^1.2.0"
supports-color "^4.4.0"
supports-color "^5.1.0"
type-detect "^4.0.5"

slash@^1.0.0:
Expand Down Expand Up @@ -3055,15 +3071,9 @@ snyk-policy@^1.10.1:
snyk-try-require "^1.1.1"
then-fs "^2.0.0"

[email protected]:
version "1.4.1"
resolved "https://registry.yarnpkg.com/snyk-python-plugin/-/snyk-python-plugin-1.4.1.tgz#5143cfaff5d85f6ee0eb8de7584732b614f616e0"

snyk-recursive-readdir@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/snyk-recursive-readdir/-/snyk-recursive-readdir-2.0.0.tgz#5cb59e94698169e0205a60e7d6a506d0b4d52ff3"
dependencies:
minimatch "3.0.2"
[email protected]:
version "1.5.6"
resolved "https://registry.yarnpkg.com/snyk-python-plugin/-/snyk-python-plugin-1.5.6.tgz#ce31f0b687f23d127f7af39180ea2901b2891fec"

[email protected]:
version "1.7.0"
Expand Down Expand Up @@ -3091,9 +3101,11 @@ [email protected], snyk-resolve@^1.0.0:
debug "^2.2.0"
then-fs "^2.0.0"

[email protected]:
version "1.2.0"
resolved "https://registry.yarnpkg.com/snyk-sbt-plugin/-/snyk-sbt-plugin-1.2.0.tgz#9a72c6af42bbaa1cf76c5443669cb008347260b7"
[email protected]:
version "1.2.3"
resolved "https://registry.yarnpkg.com/snyk-sbt-plugin/-/snyk-sbt-plugin-1.2.3.tgz#5615786f19825ee64acb50b1a041843b4a9c4e0f"
dependencies:
debug "^2.2.0"

snyk-tree@^1.0.0:
version "1.0.0"
Expand All @@ -3111,9 +3123,9 @@ snyk-try-require@^1.1.1, snyk-try-require@^1.2.0:
lru-cache "^4.0.0"
then-fs "^2.0.0"

snyk@1.68.1:
version "1.68.1"
resolved "https://registry.yarnpkg.com/snyk/-/snyk-1.68.1.tgz#bee46100c2a3516676ab8bde239f4c1ed4031ae5"
snyk@1.69.7:
version "1.69.7"
resolved "https://registry.yarnpkg.com/snyk/-/snyk-1.69.7.tgz#ac879aabbc425aa2a8b77900a8f6d1c21ba8d2fe"
dependencies:
abbrev "^1.0.7"
ansi-escapes "^1.3.0"
Expand All @@ -3127,6 +3139,7 @@ [email protected]:
open "^0.0.5"
os-name "^1.0.3"
proxy-from-env "^1.0.0"
recursive-readdir "^2.2.1"
semver "^5.1.0"
snyk-config "1.0.1"
snyk-go-plugin "1.4.5"
Expand All @@ -3136,11 +3149,10 @@ [email protected]:
snyk-nuget-plugin "1.3.9"
snyk-php-plugin "1.3.2"
snyk-policy "^1.10.1"
snyk-python-plugin "1.4.1"
snyk-recursive-readdir "^2.0.0"
snyk-python-plugin "1.5.6"
snyk-resolve "1.0.0"
snyk-resolve-deps "1.7.0"
snyk-sbt-plugin "1.2.0"
snyk-sbt-plugin "1.2.3"
snyk-tree "^1.0.0"
snyk-try-require "^1.2.0"
tempfile "^1.1.1"
Expand Down Expand Up @@ -3259,12 +3271,18 @@ supports-color@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"

supports-color@^4.0.0, supports-color@^4.4.0:
supports-color@^4.0.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b"
dependencies:
has-flag "^2.0.0"

supports-color@^5.1.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.2.0.tgz#b0d5333b1184dd3666cbe5aa0b45c5ac7ac17a4a"
dependencies:
has-flag "^3.0.0"

table@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36"
Expand Down

0 comments on commit b695e06

Please sign in to comment.