diff --git a/.dependabot/config.yml b/.dependabot/config.yml new file mode 100644 index 000000000..9327d95b5 --- /dev/null +++ b/.dependabot/config.yml @@ -0,0 +1,11 @@ +# https://dependabot.com/docs/config-file/ + +version: 1 +update_configs: + # Keep go.mod and go.sum up to date, batching pull requests weekly + - package_manager: "go:modules" + directory: "/" + update_schedule: "weekly" + default_assignees: + - "adambabik" + - "cammellos" diff --git a/go.mod b/go.mod index 429c0884e..e5cd62fbc 100644 --- a/go.mod +++ b/go.mod @@ -23,15 +23,15 @@ require ( github.com/libp2p/go-libp2p-core v0.2.3 github.com/multiformats/go-multiaddr v0.1.1 github.com/mutecomm/go-sqlcipher v0.0.0-20190227152316-55dbde17881f + github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd github.com/pborman/uuid v1.2.0 github.com/prometheus/tsdb v0.10.0 // indirect - github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd github.com/russolsen/transit v0.0.0-20180705123435-0794b4c4505a github.com/status-im/doubleratchet v2.0.0+incompatible github.com/status-im/keycard-go v0.0.0-20190424133014-d95853db0f48 // indirect github.com/status-im/migrate/v4 v4.3.1-status.0.20190822050738-a9d340ec8fb7 github.com/status-im/rendezvous v1.3.0 - github.com/status-im/status-protocol-go v0.2.3-0.20191009073015-e7ecec99a52b + github.com/status-im/status-protocol-go v0.2.3-0.20191010161351-fd48aa752717 github.com/status-im/whisper v1.5.1 github.com/stretchr/testify v1.4.0 github.com/syndtr/goleveldb v1.0.0 diff --git a/go.sum b/go.sum index 74a21600d..5e3a8a024 100644 --- a/go.sum +++ b/go.sum @@ -456,9 +456,9 @@ github.com/nakagami/firebirdsql v0.0.0-20190310045651-3c02a58cfed8/go.mod h1:86w github.com/naoina/toml v0.0.0-20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= github.com/nsf/termbox-go v0.0.0-20170211012700-3540b76b9c77/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.0-20170128050532-febf2d34b54a h1:m6hB6GkmZ/suOSKZM7yx3Yt+7iZ9HNfzacCykJqgXA8= github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd h1:+iAPaTbi1gZpcpDwe/BW1fx7Xoesv69hLNGPheoyhBs= github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd/go.mod h1:4soZNh0zW0LtYGdQ416i0jO0EIqMGcbtaspRS4BDvRQ= +github.com/olekukonko/tablewriter v0.0.0-20170128050532-febf2d34b54a h1:m6hB6GkmZ/suOSKZM7yx3Yt+7iZ9HNfzacCykJqgXA8= github.com/olekukonko/tablewriter v0.0.0-20170128050532-febf2d34b54a/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -558,8 +558,8 @@ github.com/status-im/migrate/v4 v4.3.1-status.0.20190822050738-a9d340ec8fb7 h1:g github.com/status-im/migrate/v4 v4.3.1-status.0.20190822050738-a9d340ec8fb7/go.mod h1:r8HggRBZ/k7TRwByq/Hp3P/ubFppIna0nvyavVK0pjA= github.com/status-im/rendezvous v1.3.0 h1:7RK/MXXW+tlm0asKm1u7Qp7Yni6AO29a7j8+E4Lbjg4= github.com/status-im/rendezvous v1.3.0/go.mod h1:+hzjuP+j/XzLPeF6E50b88pWOTLdTcwjvNYt+Gh1W1s= -github.com/status-im/status-protocol-go v0.2.3-0.20191009073015-e7ecec99a52b h1:hCB3tnF1yJ/IN0v+zR+Omc5DKUyUPyrrhyYkJUupnSw= -github.com/status-im/status-protocol-go v0.2.3-0.20191009073015-e7ecec99a52b/go.mod h1:z4P5yngpR7aB6N6uYtJnhOkHzDHAHlqxTbIbaSX72Jg= +github.com/status-im/status-protocol-go v0.2.3-0.20191010161351-fd48aa752717 h1:ever+LncsKCx0eV/I0zix9Sp3m0dL7HVnl+k016LdWk= +github.com/status-im/status-protocol-go v0.2.3-0.20191010161351-fd48aa752717/go.mod h1:z4P5yngpR7aB6N6uYtJnhOkHzDHAHlqxTbIbaSX72Jg= github.com/status-im/whisper v1.5.1 h1:87/XIg0Wjua7lXBGiEXgAfTOqlt2Q1dMDuxugTyZbbA= github.com/status-im/whisper v1.5.1/go.mod h1:emrOxzJme0k66QtbbQ2bdd3P8RCdLZ8sTD7SkwH1s2s= github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570 h1:gIlAHnH1vJb5vwEjIp5kBj/eu99p/bl0Ay2goiPe5xE= diff --git a/vendor/github.com/status-im/status-protocol-go/transport/whisper/envelopes.go b/vendor/github.com/status-im/status-protocol-go/transport/whisper/envelopes.go index f1dff1141..b409f0200 100644 --- a/vendor/github.com/status-im/status-protocol-go/transport/whisper/envelopes.go +++ b/vendor/github.com/status-im/status-protocol-go/transport/whisper/envelopes.go @@ -141,8 +141,7 @@ func (m *EnvelopesMonitor) handleEnvelopeEvents() { for { select { case <-m.quit: - return - case <-sub.Err(): + close(events) return case event := <-events: m.handleEvent(event) diff --git a/vendor/modules.txt b/vendor/modules.txt index 665704021..ad5ace6a6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -305,10 +305,10 @@ github.com/multiformats/go-multihash github.com/multiformats/go-multistream # github.com/mutecomm/go-sqlcipher v0.0.0-20190227152316-55dbde17881f github.com/mutecomm/go-sqlcipher -# github.com/olekukonko/tablewriter v0.0.0-20170128050532-febf2d34b54a -github.com/olekukonko/tablewriter # github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd github.com/okzk/sdnotify +# github.com/olekukonko/tablewriter v0.0.0-20170128050532-febf2d34b54a +github.com/olekukonko/tablewriter # github.com/opentracing/opentracing-go v1.0.2 github.com/opentracing/opentracing-go github.com/opentracing/opentracing-go/ext @@ -348,7 +348,7 @@ github.com/status-im/migrate/v4/source/go_bindata github.com/status-im/rendezvous github.com/status-im/rendezvous/protocol github.com/status-im/rendezvous/server -# github.com/status-im/status-protocol-go v0.2.3-0.20191009073015-e7ecec99a52b +# github.com/status-im/status-protocol-go v0.2.3-0.20191010161351-fd48aa752717 github.com/status-im/status-protocol-go github.com/status-im/status-protocol-go/applicationmetadata github.com/status-im/status-protocol-go/crypto