Skip to content

Commit

Permalink
v6.0.2 Better error messages, add meshblu-http with SRV failover
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy van de Water committed Mar 1, 2017
1 parent fd8b851 commit d9b88de
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 11 deletions.
2 changes: 1 addition & 1 deletion base-command.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class BaseCommand
@filename ?= "meshblu.json"

die: (error) =>
if 'Error' == typeof error
if _.isError error
console.error colors.red error.message
else
_.each arguments, (arg) =>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meshblu-util",
"version": "6.0.1",
"version": "6.0.2",
"description": "Utils for managing Meshblu devices",
"main": "index.js",
"bin": {
Expand Down Expand Up @@ -58,7 +58,7 @@
"lodash": "^4.17.1",
"meshblu-config": "^6.0.0",
"meshblu-firehose-socket.io": "^2.0.0",
"meshblu-http": "^7.0.0",
"meshblu-http": "^9.7.1",
"meshblu-json-schema-resolver": "^2.0.0",
"meshblu-websocket": "^4.0.0",
"meshblu-xmpp": "^1.4.4",
Expand Down
35 changes: 27 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ coffee-script@^1.10.0, coffee-script@^1.8.0, coffee-script@^1.9.1, coffee-script
version "1.11.1"
resolved "https://registry.yarnpkg.com/coffee-script/-/coffee-script-1.11.1.tgz#bf1c47ad64443a0d95d12df2b147cc0a4daad6e9"

coffee-script@^1.12.4:
version "1.12.4"
resolved "https://registry.yarnpkg.com/coffee-script/-/coffee-script-1.12.4.tgz#fe1bced97fe1fb3927b998f2b45616e0658be1ff"

colors@^1.0.3:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
Expand Down Expand Up @@ -477,6 +481,12 @@ isarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"

isomorphic-dns@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/isomorphic-dns/-/isomorphic-dns-1.0.4.tgz#6092ffe29aa46615ef3cc1c154c01fe575d8d1fb"
dependencies:
http-dns "^3.0.1"

isstream@~0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
Expand Down Expand Up @@ -574,14 +584,14 @@ lodash@^3.10.1, lodash@^3.6.0, lodash@^3.9.1:
version "3.10.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"

lodash@^4.0.0, lodash@^4.13.1, lodash@^4.16.3, lodash@^4.17.1, lodash@^4.7.0, lodash@^4.8.2:
version "4.17.2"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.2.tgz#34a3055babe04ce42467b607d700072c7ff6bf42"

lodash@^4.17.2, lodash@^4.17.4:
lodash@^4.0.0, lodash@^4.17.2, lodash@^4.17.4:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"

lodash@^4.13.1, lodash@^4.16.3, lodash@^4.17.1, lodash@^4.7.0, lodash@^4.8.2:
version "4.17.2"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.2.tgz#34a3055babe04ce42467b607d700072c7ff6bf42"

[email protected]:
version "1.3.2"
resolved "https://registry.yarnpkg.com/lolex/-/lolex-1.3.2.tgz#7c3da62ffcb30f0f5a80a2566ca24e45d8a01f31"
Expand Down Expand Up @@ -630,16 +640,17 @@ meshblu-http@^3.10.1:
node-rsa "^0.2.23"
request "^2.55.0"

meshblu-http@^7.0.0:
version "7.4.0"
resolved "https://registry.yarnpkg.com/meshblu-http/-/meshblu-http-7.4.0.tgz#ea0cf81f191129dda9368e23be796ef7aec49fb4"
meshblu-http@^9.7.1:
version "9.7.1"
resolved "https://registry.yarnpkg.com/meshblu-http/-/meshblu-http-9.7.1.tgz#297c0a871b3d412c4f276660dbe9bd8d2b2d80df"
dependencies:
coffee-script "^1.9.1"
debug "^2.1.3"
json-stable-stringify "^1.0.0"
lodash "^4.13.1"
node-rsa "^0.4.2"
request "^2.72.0"
srv-failover "^1.0.4"

meshblu-json-schema-resolver@^2.0.0:
version "2.0.0"
Expand Down Expand Up @@ -964,6 +975,14 @@ sprintf-js@~1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"

srv-failover@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/srv-failover/-/srv-failover-1.0.4.tgz#3d16f2c9aa488a9f2e003bbff17028618b6a77c7"
dependencies:
coffee-script "^1.12.4"
isomorphic-dns "^1.0.4"
lodash "^4.17.4"

sshpk@^1.7.0:
version "1.10.1"
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.10.1.tgz#30e1a5d329244974a1af61511339d595af6638b0"
Expand Down

0 comments on commit d9b88de

Please sign in to comment.