Skip to content

Commit

Permalink
Bump ow dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 1, 2018
1 parent 1d2589e commit a0a83cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/renderer/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class Api {
constructor({endpoint, seedPhrase, concurrency = 1}) {
ow(endpoint, ow.string.label('endpoint'));
ow(seedPhrase, ow.string.label('seedPhrase'));
ow(concurrency, ow.any(ow.number.integer.label('concurrency'), ow.number.infinite.label('concurrency')));
ow(concurrency, ow.number.integerOrInfinite.positive.label('concurrency'));

this.endpoint = endpoint;
this.token = sha256(seedPhrase);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lodash": "^4.17.11",
"mem": "^4.0.0",
"modern-normalize": "^0.5.0",
"ow": "^0.7.0",
"ow": "^0.8.0",
"p-any": "^1.1.0",
"p-event": "^2.1.0",
"p-map": "^2.0.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7824,10 +7824,10 @@ ow@^0.6.0:
resolved "https://registry.yarnpkg.com/ow/-/ow-0.6.0.tgz#1371352713192a8dd54ec13ab0f0f1464b58941f"
integrity sha512-CJRcySlsICcZoVH5L259wYecV7JRiGOGyxTpMF0YL2QIaETrl75ZhNpvn+jJN19HlCcUS2QyPpWJmOMya8kwCw==

ow@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/ow/-/ow-0.7.0.tgz#2c1a7f44ed4a1e3cf0eca5e2012daa20a29ccb74"
integrity sha512-GGEubNkXj0G+anoT3KyAyARRURF9Uwq+5TdlZgKuEpXoRhm7lM7ywq/41hALH8tCNBaFKhF9nlEixZRoUHP3CA==
ow@^0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/ow/-/ow-0.8.0.tgz#d360d779c996f4132941a596c87f86ce8e812e62"
integrity sha512-hYgYZNcRfIZ2JppSTqh6mxdU1zkUXsGlwy4eBsRG91R6CiZk7cB+AfHl+SVKBdynQvAnNHNfu0ZrtJN1jj7Mow==

p-any@^1.1.0:
version "1.1.0"
Expand Down

0 comments on commit a0a83cd

Please sign in to comment.