Browse Source

cleanup test storage properly

Kieran Gibb 2 years ago
parent
commit
68544df326
No known key found for this signature in database
4 changed files with 408 additions and 91 deletions
  1. 2
    2
      index.js
  2. 1
    1
      package.json
  3. 4
    8
      test/index.test.js
  4. 401
    80
      yarn.lock

+ 2
- 2
index.js View File

@@ -26,8 +26,8 @@ class GroupStore {
26 26
       else key = crypto.pack(groupOpts.publicKey, groupOpts.symmetricKey)
27 27
       var group = Group(this.storage, key, this.opts)
28 28
       collection[groupOpts.publicKey] = group
29
-      collection[Buffer.from(groupOpts.publicKey, 'hex')] = group
30
-      if (groupOpts.name) collection[groupOpts.name] = group
29
+      collection[group.publicKey] = group
30
+      if (group.name) collection[group.name] = group
31 31
       return collection
32 32
     }, {})
33 33
 

+ 1
- 1
package.json View File

@@ -16,7 +16,7 @@
16 16
     "cobox-config": "^2.0.0",
17 17
     "cobox-constants": "^1.0.0",
18 18
     "cobox-crypto": "^1.1.0",
19
-    "cobox-group": "^2.0.0",
19
+    "cobox-group": "git+https://ledger-git.dyne.org/cobox/cobox-group",
20 20
     "debug": "^4.1.1",
21 21
     "thunky": "^1.1.0"
22 22
   },

+ 4
- 8
test/index.test.js View File

@@ -14,10 +14,6 @@ describe('group store: basic', (context) => {
14 14
     config = Config(storage)
15 15
   })
16 16
 
17
-  context.afterEach((c) => {
18
-    cleanup(storage)
19
-  })
20
-
21 17
   context('on load it caches existing groups from the config', function (assert, next) {
22 18
     var group = crypto.keySet()
23 19
     config.groups.set(group.publicKey, group)
@@ -26,7 +22,7 @@ describe('group store: basic', (context) => {
26 22
       assert.ok(Object.values(store.groups).length, 'builds then caches groups from the config')
27 23
       assert.ok(store.groups[group.publicKey], 'accessible using buffer')
28 24
       assert.ok(store.groups[group.publicKey.toString('hex')], 'accessible using hex')
29
-      next()
25
+      cleanup(storage, next)
30 26
     })
31 27
   })
32 28
 
@@ -34,7 +30,7 @@ describe('group store: basic', (context) => {
34 30
     const store = Store(storage, { config })
35 31
     var a = await store.get()
36 32
     assert.ok(a, 'creates a new group')
37
-    next()
33
+    cleanup(storage, next)
38 34
   })
39 35
 
40 36
   context('get a group by key', async function (assert, next) {
@@ -45,7 +41,7 @@ describe('group store: basic', (context) => {
45 41
     var b = await store.get(a.key)
46 42
     assert.same(a.key, b.key, 'getes the same group by key')
47 43
     assert.same(a._id, b._id, 'is the same group instance')
48
-    next()
44
+    cleanup(storage, next)
49 45
   })
50 46
 
51 47
   context('get a group by name', async function (assert, next) {
@@ -56,6 +52,6 @@ describe('group store: basic', (context) => {
56 52
     var b = await store.get("Silly String")
57 53
     assert.same(a.key, b.key, 'getes the same group by key')
58 54
     assert.same(a._id, b._id, 'is the same group instance')
59
-    next()
55
+    cleanup(storage, next)
60 56
   })
61 57
 })

+ 401
- 80
yarn.lock View File

@@ -25,9 +25,9 @@
25 25
     multicast-dns "^7.2.0"
26 26
 
27 27
 "@hyperswarm/hypersign@^2.0.0":
28
-  version "2.0.0"
29
-  resolved "https://registry.yarnpkg.com/@hyperswarm/hypersign/-/hypersign-2.0.0.tgz#86f1927eb19926d9db4ca4b0f3bbb3f99976ee54"
30
-  integrity sha512-CWDNRAF/5aL7ocZkr/I8y2HWCB1RX3fvvObQn1ExAZ3ha7grApzaSrEt0Q3bqzQXeSEXNerx6dquXhAVOOZXFA==
28
+  version "2.1.0"
29
+  resolved "https://registry.yarnpkg.com/@hyperswarm/hypersign/-/hypersign-2.1.0.tgz#b242d2327cc82620497940a61d163fcefec477d4"
30
+  integrity sha512-iHVUYUVo8zyzysXbWQsn6Yq0jRCKj5hkeY9qNJUq7xyps2npE8oc+Yzeq3qHQ6JD+IVbT/SOzIpE6wx0DWQ2IQ==
31 31
   dependencies:
32 32
     sodium-universal "^2.0.0"
33 33
 
@@ -40,6 +40,13 @@
40 40
     nanoresource "^1.0.0"
41 41
     utp-native "^2.1.3"
42 42
 
43
+abstract-extension@^3.0.1:
44
+  version "3.0.1"
45
+  resolved "https://registry.yarnpkg.com/abstract-extension/-/abstract-extension-3.0.1.tgz#5b1961dbf9dc89fab367a861376a7a0a98693413"
46
+  integrity sha512-5EQdWgjJo81nR6fK8DeyXzxGQRInxfSxYgLFaP81DaUGix3IAfiz6VtzwXqMjp+qXeYnlGPn/vSSlz13SejbrA==
47
+  dependencies:
48
+    codecs "^2.0.0"
49
+
43 50
 abstract-leveldown@^6.2.1, abstract-leveldown@~6.2.1:
44 51
   version "6.2.2"
45 52
   resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-6.2.2.tgz#677425beeb28204367c7639e264e93ea4b49971a"
@@ -49,6 +56,13 @@ abstract-leveldown@^6.2.1, abstract-leveldown@~6.2.1:
49 56
     level-supports "~1.0.0"
50 57
     xtend "~4.0.0"
51 58
 
59
+abstract-leveldown@~0.12.1:
60
+  version "0.12.4"
61
+  resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-0.12.4.tgz#29e18e632e60e4e221d5810247852a63d7b2e410"
62
+  integrity sha1-KeGOYy5g5OIh1YECR4UqY9ey5BA=
63
+  dependencies:
64
+    xtend "~3.0.0"
65
+
52 66
 abstract-leveldown@~2.6.0:
53 67
   version "2.6.3"
54 68
   resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz#1c5e8c6a5ef965ae8c35dfb3a8770c476b82c4b8"
@@ -156,6 +170,13 @@ bittorrent-dht@^7.10.0:
156 170
     safe-buffer "^5.0.1"
157 171
     simple-sha1 "^2.1.0"
158 172
 
173
+bl@~0.8.1:
174
+  version "0.8.2"
175
+  resolved "https://registry.yarnpkg.com/bl/-/bl-0.8.2.tgz#c9b6bca08d1bc2ea00fc8afb4f1a5fd1e1c66e4e"
176
+  integrity sha1-yba8oI0bwuoA/Ir7Txpf0eHGbk4=
177
+  dependencies:
178
+    readable-stream "~1.0.26"
179
+
159 180
 blake2b-wasm@^1.1.0:
160 181
   version "1.1.7"
161 182
   resolved "https://registry.yarnpkg.com/blake2b-wasm/-/blake2b-wasm-1.1.7.tgz#e4d075da10068e5d4c3ec1fb9accc4d186c55d81"
@@ -229,6 +250,21 @@ byte-stream@^2.1.0:
229 250
     debug "^1.0.4"
230 251
     readable-stream "~1.1.10"
231 252
 
253
+bytewise-core@^1.2.2:
254
+  version "1.2.3"
255
+  resolved "https://registry.yarnpkg.com/bytewise-core/-/bytewise-core-1.2.3.tgz#3fb410c7e91558eb1ab22a82834577aa6bd61d42"
256
+  integrity sha1-P7QQx+kVWOsasiqCg0V3qmvWHUI=
257
+  dependencies:
258
+    typewise-core "^1.2"
259
+
260
+bytewise@~1.1.0:
261
+  version "1.1.0"
262
+  resolved "https://registry.yarnpkg.com/bytewise/-/bytewise-1.1.0.tgz#1d13cbff717ae7158094aa881b35d081b387253e"
263
+  integrity sha1-HRPL/3F65xWAlKqIGzXQgbOHJT4=
264
+  dependencies:
265
+    bytewise-core "^1.2.2"
266
+    typewise "^1.0.3"
267
+
232 268
 call-me-maybe@^1.0.1:
233 269
   version "1.0.1"
234 270
   resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b"
@@ -279,6 +315,11 @@ circular-append-file@^1.0.1:
279 315
   dependencies:
280 316
     multistream "^2.1.0"
281 317
 
318
+clone@^2.1.2:
319
+  version "2.1.2"
320
+  resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
321
+  integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=
322
+
282 323
 cobox-config@^2.0.0:
283 324
   version "2.0.0"
284 325
   resolved "https://registry.yarnpkg.com/cobox-config/-/cobox-config-2.0.0.tgz#6eed6f2b2fb5384d4fa78caf1fcd02961f7810ba"
@@ -299,46 +340,54 @@ cobox-constants@^1.0.0:
299 340
   dependencies:
300 341
     os "^0.1.1"
301 342
 
302
-cobox-crypto@^1.1.0:
343
+cobox-crypto@^1.1.0, "cobox-crypto@git+ssh://git@ledger-git.dyne.org:2240/CoBox/cobox-crypto.git":
303 344
   version "1.1.0"
304
-  resolved "https://registry.yarnpkg.com/cobox-crypto/-/cobox-crypto-1.1.0.tgz#02b203ba1d2c71418275099161c302d0094b3af4"
305
-  integrity sha512-3PjQNzJSrXPRD9KCp2G2xhVdv+Bga/FgSbYa9sedZfXdkRHfqZO/MGoske7NBtCxVHbxG5ruCq0Rx0ZbJry7bw==
345
+  resolved "git+ssh://git@ledger-git.dyne.org:2240/CoBox/cobox-crypto.git#5a64d8b1ee3746f729cd0c69165d4417988903ab"
306 346
   dependencies:
307 347
     assert "^2.0.0"
308
-    buffer-alloc-unsafe "^1.1.0"
309 348
     hypercore-crypto "^1.0.0"
310 349
     sodium-native "^2.4.2"
311 350
 
312
-"cobox-crypto@git+ssh://git@ledger-git.dyne.org:2240/CoBox/cobox-crypto.git":
313
-  version "1.0.3"
314
-  resolved "git+ssh://git@ledger-git.dyne.org:2240/CoBox/cobox-crypto.git#7d5aa64c9300ef73df638764be0828e50a22df48"
351
+"cobox-crypto@git+https://ledger-git.dyne.org/CoBox/cobox-crypto":
352
+  version "1.1.0"
353
+  uid "5a64d8b1ee3746f729cd0c69165d4417988903ab"
354
+  resolved "git+https://ledger-git.dyne.org/CoBox/cobox-crypto#5a64d8b1ee3746f729cd0c69165d4417988903ab"
315 355
   dependencies:
316 356
     assert "^2.0.0"
317
-    buffer-alloc-unsafe "^1.1.0"
318 357
     hypercore-crypto "^1.0.0"
319 358
     sodium-native "^2.4.2"
320 359
 
321
-cobox-group@^2.0.0:
360
+"cobox-group@git+https://ledger-git.dyne.org/cobox/cobox-group#swarm":
322 361
   version "2.0.0"
323
-  resolved "https://registry.yarnpkg.com/cobox-group/-/cobox-group-2.0.0.tgz#f98449442e966140256d9fcba6a75f0344e2c39f"
324
-  integrity sha512-e5Rwu9HQKTAG52z/FuklBRB96J9gqX8nXj6xGOhyWjnfnvrfQoS4QgqtALQobSREFHkKc+QoTWEQJbT3knoA/w==
362
+  resolved "git+https://ledger-git.dyne.org/cobox/cobox-group#276ac8947506700f5be6d4a178ce5a929a904797"
325 363
   dependencies:
326 364
     assert "^2.0.0"
365
+    call-me-maybe "^1.0.1"
327 366
     cobox-config "^2.0.0"
328
-    cobox-crypto "^1.1.0"
329
-    hypercore "^7.5.1"
330
-    kappa-core "^4.0.0"
331
-    kappa-drive "^1.1.0"
332
-    kappa-view-query "^2.0.6"
367
+    cobox-crypto "git+https://ledger-git.dyne.org/CoBox/cobox-crypto"
368
+    cobox-swarm "git+https://ledger-git.dyne.org/CoBox/cobox-swarm"
369
+    kappa-core "^6.0.0"
370
+    kappa-drive "git+https://ledger-git.dyne.org/CoBox/kappa-drive"
371
+    kappa-view-query "^2.0.7"
333 372
     level "^5.0.1"
334 373
     memdb "^1.3.1"
335 374
     mkdirp "^0.5.1"
336
-    multifeed "^4.1.5"
375
+    multifeed "^5.1.0"
337 376
     os "^0.1.1"
338 377
     protocol-buffers "^4.1.0"
339 378
     random-access-file "^2.1.3"
340 379
     random-access-memory "^3.1.1"
341 380
 
381
+"cobox-swarm@git+https://ledger-git.dyne.org/CoBox/cobox-swarm":
382
+  version "1.0.0"
383
+  resolved "git+https://ledger-git.dyne.org/CoBox/cobox-swarm#1d9b0ab5e941c91f1a1bfa678a07028cac61f1b3"
384
+  dependencies:
385
+    dat-swarm-defaults "^1.0.2"
386
+    debug "^4.1.1"
387
+    discovery-swarm "^6.0.0"
388
+    hyperswarm "^2.3.1"
389
+    pump "^3.0.0"
390
+
342 391
 codecs@^2.0.0:
343 392
   version "2.0.0"
344 393
   resolved "https://registry.yarnpkg.com/codecs/-/codecs-2.0.0.tgz#680d1d4ac8ac3c8adbaa625c7ce06c6ee5792b50"
@@ -455,9 +504,9 @@ debug@^4.1.0, debug@^4.1.1:
455 504
     ms "^2.1.1"
456 505
 
457 506
 deep-equal@^1.0.1:
458
-  version "1.1.0"
459
-  resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.0.tgz#3103cdf8ab6d32cf4a8df7865458f2b8d33f3745"
460
-  integrity sha512-ZbfWJq/wN1Z273o7mUSjILYqehAktR2NVoSrOukDkU9kg2v/Uv89yU4Cvz8seJeAmtN5oqiefKq8FPuXOboqLw==
507
+  version "1.1.1"
508
+  resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a"
509
+  integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==
461 510
   dependencies:
462 511
     is-arguments "^1.0.4"
463 512
     is-date-object "^1.0.1"
@@ -471,6 +520,13 @@ deep-equal@~1.0.1:
471 520
   resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5"
472 521
   integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=
473 522
 
523
+deferred-leveldown@~0.2.0:
524
+  version "0.2.0"
525
+  resolved "https://registry.yarnpkg.com/deferred-leveldown/-/deferred-leveldown-0.2.0.tgz#2cef1f111e1c57870d8bbb8af2650e587cd2f5b4"
526
+  integrity sha1-LO8fER4cV4cNi7uK8mUOWHzS9bQ=
527
+  dependencies:
528
+    abstract-leveldown "~0.12.1"
529
+
474 530
 deferred-leveldown@~1.2.1:
475 531
   version "1.2.2"
476 532
   resolved "https://registry.yarnpkg.com/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz#3acd2e0b75d1669924bc0a4b642851131173e1eb"
@@ -660,6 +716,11 @@ fast-bitfield@^1.2.2:
660 716
   dependencies:
661 717
     count-trailing-zeros "^1.0.1"
662 718
 
719
+fast-fifo@^1.0.0:
720
+  version "1.0.0"
721
+  resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.0.0.tgz#9bc72e6860347bb045a876d1c5c0af11e9b984e7"
722
+  integrity sha512-4VEXmjxLj7sbs8J//cn2qhRap50dGzF5n8fjay8mau+Jn4hxSeR3xPFwxMaQq/pDaq7+KQk0PAbC2+nWDkJrmQ==
723
+
663 724
 fast-redact@^2.0.0:
664 725
   version "2.0.0"
665 726
   resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-2.0.0.tgz#17bb8f5e1f56ecf4a38c8455985e5eab4c478431"
@@ -764,10 +825,10 @@ has-ansi@^2.0.0:
764 825
   dependencies:
765 826
     ansi-regex "^2.0.0"
766 827
 
767
-has-symbols@^1.0.0:
768
-  version "1.0.0"
769
-  resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
770
-  integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=
828
+has-symbols@^1.0.0, has-symbols@^1.0.1:
829
+  version "1.0.1"
830
+  resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"
831
+  integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==
771 832
 
772 833
 has@^1.0.1, has@^1.0.3, has@~1.0.3:
773 834
   version "1.0.3"
@@ -781,6 +842,14 @@ hashlru@^2.3.0:
781 842
   resolved "https://registry.yarnpkg.com/hashlru/-/hashlru-2.3.0.tgz#5dc15928b3f6961a2056416bb3a4910216fdfb51"
782 843
   integrity sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A==
783 844
 
845
+hmac-blake2b@^0.2.0:
846
+  version "0.2.0"
847
+  resolved "https://registry.yarnpkg.com/hmac-blake2b/-/hmac-blake2b-0.2.0.tgz#f8c71699dc834ce8066a512ba0592eda572bff4c"
848
+  integrity sha512-cJpnWOYMtaLr+3O32OII7DSTmQh+BKoeLXw49UAIc2QU68UwD2iBjItwxRVHmu1GBTuHeqME+rq7GpW2rBncCQ==
849
+  dependencies:
850
+    nanoassert "^1.1.0"
851
+    sodium-universal "^2.0.0"
852
+
784 853
 hypercore-byte-stream@^1.0.2:
785 854
   version "1.0.5"
786 855
   resolved "https://registry.yarnpkg.com/hypercore-byte-stream/-/hypercore-byte-stream-1.0.5.tgz#aefefbdd246f8a5d994e5f947ceb7a8801cffd30"
@@ -812,7 +881,21 @@ hypercore-protocol@^6.11.0, hypercore-protocol@^6.5.0, hypercore-protocol@^6.8.0
812 881
     sorted-indexof "^1.0.0"
813 882
     varint "^5.0.0"
814 883
 
815
-hypercore@^7.0.0, hypercore@^7.2.2, hypercore@^7.4.0, hypercore@^7.5.1:
884
+hypercore-protocol@^7.1.0, hypercore-protocol@^7.6.0:
885
+  version "7.7.0"
886
+  resolved "https://registry.yarnpkg.com/hypercore-protocol/-/hypercore-protocol-7.7.0.tgz#0a82cc4d40503492ffc91c6fe71859dd7fa1b6cf"
887
+  integrity sha512-SojjFXnMD2n3L12NMHWtkGgPvtcBs+eUneFIf8HWMHHL8a0TvO/z24rB1AohHVUB7q+b2NYtyKm3sszJSfYQbw==
888
+  dependencies:
889
+    abstract-extension "^3.0.1"
890
+    hypercore-crypto "^1.0.0"
891
+    inspect-custom-symbol "^1.1.0"
892
+    nanoguard "^1.2.1"
893
+    pretty-hash "^1.0.1"
894
+    simple-hypercore-protocol "^1.4.0"
895
+    streamx "^2.1.0"
896
+    timeout-refresh "^1.0.0"
897
+
898
+hypercore@^7.0.0, hypercore@^7.2.2:
816 899
   version "7.7.1"
817 900
   resolved "https://registry.yarnpkg.com/hypercore/-/hypercore-7.7.1.tgz#2a6b3fd84496b562fde07e5d39bfbab096a37fbc"
818 901
   integrity sha512-boEiPCK848pNGACW1j111tJApu530e/UPpwbHytJZlrVf3YdgUIP1KL3aSi5xJFLUnuO8GLGl4lIsSeH8TaQQA==
@@ -844,6 +927,40 @@ hypercore@^7.0.0, hypercore@^7.2.2, hypercore@^7.4.0, hypercore@^7.5.1:
844 927
   optionalDependencies:
845 928
     fd-lock "^1.0.2"
846 929
 
930
+hypercore@^8.3.0:
931
+  version "8.3.0"
932
+  resolved "https://registry.yarnpkg.com/hypercore/-/hypercore-8.3.0.tgz#22944e2b75ca74b0f708019d7802dabe853a846e"
933
+  integrity sha512-MUV2mDk59xm7AMyWEBQOKbBpdp2MsI866JmPcgyMxy/oA/YjH/aBaepFNsF8nyKHa1zyyEO5vPWVcCsePOa7Ug==
934
+  dependencies:
935
+    abstract-extension "^3.0.1"
936
+    array-lru "^1.1.0"
937
+    atomic-batcher "^1.0.2"
938
+    bitfield-rle "^2.2.1"
939
+    bulk-write-stream "^1.1.3"
940
+    codecs "^2.0.0"
941
+    fast-bitfield "^1.2.2"
942
+    flat-tree "^1.6.0"
943
+    from2 "^2.3.0"
944
+    hypercore-crypto "^1.0.0"
945
+    hypercore-protocol "^7.1.0"
946
+    inherits "^2.0.3"
947
+    inspect-custom-symbol "^1.1.0"
948
+    last-one-wins "^1.0.4"
949
+    memory-pager "^1.0.2"
950
+    merkle-tree-stream "^3.0.3"
951
+    nanoguard "^1.2.0"
952
+    nanoresource "^1.3.0"
953
+    pretty-hash "^1.0.1"
954
+    random-access-file "^2.1.0"
955
+    sodium-universal "^2.0.0"
956
+    sparse-bitfield "^3.0.0"
957
+    timeout-refresh "^1.0.1"
958
+    uint64be "^2.0.1"
959
+    unordered-array-remove "^1.0.2"
960
+    unordered-set "^2.0.0"
961
+  optionalDependencies:
962
+    fd-lock "^1.0.2"
963
+
847 964
 hyperdrive-schemas@^0.12.0:
848 965
   version "0.12.1"
849 966
   resolved "https://registry.yarnpkg.com/hyperdrive-schemas/-/hyperdrive-schemas-0.12.1.tgz#1e95ad3b2610a384ea7e2781a0401058400bdf07"
@@ -872,7 +989,7 @@ hyperdrive@^10.3.2:
872 989
     thunky "^1.0.3"
873 990
     unixify "^1.0.0"
874 991
 
875
-hyperswarm@^2.1.0:
992
+hyperswarm@^2.1.0, hyperswarm@^2.3.1:
876 993
   version "2.3.1"
877 994
   resolved "https://registry.yarnpkg.com/hyperswarm/-/hyperswarm-2.3.1.tgz#dcf1bc75a4b178d0f6eadec233a4606a0b341c1c"
878 995
   integrity sha512-lseDBart+1nx7MCBm9NA8FJTbxTe7qlvwEOYp2t1tuchXh7b+zlu3Pu8t6qlH4YUtYdRBhl64FiLiSr1657/Dw==
@@ -925,9 +1042,9 @@ ini@^1.3.5:
925 1042
   integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
926 1043
 
927 1044
 inspect-custom-symbol@^1.1.0:
928
-  version "1.1.0"
929
-  resolved "https://registry.yarnpkg.com/inspect-custom-symbol/-/inspect-custom-symbol-1.1.0.tgz#21d7d5cc9b183e6bacfb89566ae3496b57f5bf1a"
930
-  integrity sha512-vtI2YXBRZBkU6DlfHfd0GtZENfiEiTacAXUd0ZY6HA+X7aPznpFfPmzSC+tHKXAkz9KDSdI4AYfwAMXR5t+isg==
1045
+  version "1.1.1"
1046
+  resolved "https://registry.yarnpkg.com/inspect-custom-symbol/-/inspect-custom-symbol-1.1.1.tgz#18dae2ed4537f3d8e1708626d3756c10d7edf782"
1047
+  integrity sha512-GOucsp9EcdlLdhPUyOTvQDnbFJtp2WBWZV1Jqe+mVnkJQBL3w96+fB84C+JL+EKXOspMdB0eMDQPDp5w9fkfZA==
931 1048
 
932 1049
 ip@^1.1.5:
933 1050
   version "1.1.5"
@@ -991,11 +1108,11 @@ is-regex@^1.0.4:
991 1108
     has "^1.0.1"
992 1109
 
993 1110
 is-symbol@^1.0.2:
994
-  version "1.0.2"
995
-  resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
996
-  integrity sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==
1111
+  version "1.0.3"
1112
+  resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937"
1113
+  integrity sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==
997 1114
   dependencies:
998
-    has-symbols "^1.0.0"
1115
+    has-symbols "^1.0.1"
999 1116
 
1000 1117
 is-typedarray@^1.0.0:
1001 1118
   version "1.0.0"
@@ -1065,20 +1182,18 @@ k-rpc@^4.2.1:
1065 1182
     randombytes "^2.0.5"
1066 1183
     safe-buffer "^5.1.1"
1067 1184
 
1068
-kappa-core@^4.0.0:
1069
-  version "4.0.1"
1070
-  resolved "https://registry.yarnpkg.com/kappa-core/-/kappa-core-4.0.1.tgz#1a2137e2ad7efc7a72a8d55e1028f32cbdb2a33f"
1071
-  integrity sha512-WCGE1SIP+Yv1msPJvEdlyKE67yGOLhVWCRRGwnYD/RR+3HfRXzHHCSLEb9HVKapDuVixqYMrpWc7fEBOAPOdOg==
1185
+kappa-core@^6.0.0:
1186
+  version "6.0.0"
1187
+  resolved "https://registry.yarnpkg.com/kappa-core/-/kappa-core-6.0.0.tgz#7701846ab847f0115ac2450ec1b7a481a900098b"
1188
+  integrity sha512-d9pb+Ycv6Ug31UBQ9gKocZkkp5w6VAos1eyVePR9ZVxWYUkdgupgKfTYSVlkMlFacLsUdc7lSUpBGXteBjAq8w==
1072 1189
   dependencies:
1073
-    hypercore "^7.4.0"
1074 1190
     inherits "^2.0.4"
1075
-    multifeed "^4.0.0"
1191
+    multifeed "^5.0.0"
1076 1192
     multifeed-index "^3.3.2"
1077 1193
 
1078
-kappa-drive@^1.1.0:
1194
+"kappa-drive@git+https://ledger-git.dyne.org/CoBox/kappa-drive":
1079 1195
   version "1.1.0"
1080
-  resolved "https://registry.yarnpkg.com/kappa-drive/-/kappa-drive-1.1.0.tgz#a0aef6d3630bd20704de8c6131842264e79b92c9"
1081
-  integrity sha512-3jM13DAgF4K3QdFsPDdfQB8mcXK4joDWxT4Acs1+WYkAj3beNbh1/fFfairu2pLUBfW9V7QIk0aBIDELc2E5NQ==
1196
+  resolved "git+https://ledger-git.dyne.org/CoBox/kappa-drive#9717a38159a7f5e727264a36d0f7edd184b791ab"
1082 1197
   dependencies:
1083 1198
     assert "^2.0.0"
1084 1199
     call-me-maybe "^1.0.1"
@@ -1091,16 +1206,17 @@ kappa-drive@^1.1.0:
1091 1206
     hypercore-crypto "^1.0.0"
1092 1207
     hyperdrive "^10.3.2"
1093 1208
     hyperswarm "^2.1.0"
1094
-    kappa-core "^4.0.0"
1209
+    kappa-core "^6.0.0"
1095 1210
     kappa-view-kv "^2.0.2"
1096 1211
     level "^5.0.1"
1097 1212
     memdb "^1.3.1"
1098 1213
     minimist "^1.2.0"
1099
-    mountable-hypertrie "^0.10.3"
1214
+    mountable-hypertrie "^0.10.4"
1100 1215
     multifeed "^4.1.5"
1101 1216
     protocol-buffers "^4.1.0"
1102 1217
     random-access-memory "^3.1.1"
1103 1218
     through2 "^3.0.1"
1219
+    thunky "^1.1.0"
1104 1220
     unixify "^1.0.0"
1105 1221
 
1106 1222
 kappa-view-kv@^2.0.2:
@@ -1111,15 +1227,16 @@ kappa-view-kv@^2.0.2:
1111 1227
     through2 "^2.0.3"
1112 1228
     unordered-materialized-kv "^1.2.1"
1113 1229
 
1114
-kappa-view-query@^2.0.6:
1115
-  version "2.0.6"
1116
-  resolved "https://registry.yarnpkg.com/kappa-view-query/-/kappa-view-query-2.0.6.tgz#cd6682bc8291313f104c15b9371afc98bf035dcf"
1117
-  integrity sha512-nHWs+RP3oQ8PZPpGPf/hsjnDtmkAZB1vqXVfzgejd4uhZxyteUe70wGqa4tKEi64wGMrxrorpPM++sH/8UqdWA==
1230
+kappa-view-query@^2.0.7:
1231
+  version "2.0.7"
1232
+  resolved "https://registry.yarnpkg.com/kappa-view-query/-/kappa-view-query-2.0.7.tgz#1b7a3a6b95ee1285f8e0159dcc2a7f0971d502db"
1233
+  integrity sha512-y9aOse3Odh5t+Nqmxl5jO/eCbYn55+QXKd+ZiMsYCRmRfvW7WLZJaAXqgMM+1q6tg2BTE94xRao7o5TdnahJAQ==
1118 1234
   dependencies:
1119 1235
     charwise "^3.0.1"
1120 1236
     debug "^4.1.1"
1121 1237
     deep-equal "^1.0.1"
1122 1238
     events "^3.0.0"
1239
+    level-live-stream "^1.4.12"
1123 1240
     map-filter-reduce "^3.2.2"
1124 1241
     pull-stream-to-stream "^1.3.4"
1125 1242
     stream-to-pull-stream "^1.7.3"
@@ -1203,6 +1320,15 @@ level-js@^4.0.0:
1203 1320
     ltgt "^2.1.2"
1204 1321
     typedarray-to-buffer "~3.1.5"
1205 1322
 
1323
+level-live-stream@^1.4.12:
1324
+  version "1.4.12"
1325
+  resolved "https://registry.yarnpkg.com/level-live-stream/-/level-live-stream-1.4.12.tgz#f3b8ca8f89fc11cfb2e0fdab64984ececd5a5211"
1326
+  integrity sha1-87jKj4n8Ec+y4P2rZJhOzs1aUhE=
1327
+  dependencies:
1328
+    level-sublevel "^6.6.1"
1329
+    pull-level "^2.0.3"
1330
+    pull-stream-to-stream "~1.2.4"
1331
+
1206 1332
 level-packager@^5.0.0:
1207 1333
   version "5.1.0"
1208 1334
   resolved "https://registry.yarnpkg.com/level-packager/-/level-packager-5.1.0.tgz#9c01c6c8e2380d3196d61e56bd79c2eff4a9d5c3"
@@ -1211,6 +1337,27 @@ level-packager@^5.0.0:
1211 1337
     encoding-down "^6.3.0"
1212 1338
     levelup "^4.3.2"
1213 1339
 
1340
+level-post@^1.0.7:
1341
+  version "1.0.7"
1342
+  resolved "https://registry.yarnpkg.com/level-post/-/level-post-1.0.7.tgz#19ccca9441a7cc527879a0635000f06d5e8f27d0"
1343
+  integrity sha512-PWYqG4Q00asOrLhX7BejSajByB4EmG2GaKHfj3h5UmmZ2duciXLPGYWIjBzLECFWUGOZWlm5B20h/n3Gs3HKew==
1344
+  dependencies:
1345
+    ltgt "^2.1.2"
1346
+
1347
+level-sublevel@^6.6.1:
1348
+  version "6.6.5"
1349
+  resolved "https://registry.yarnpkg.com/level-sublevel/-/level-sublevel-6.6.5.tgz#acddfa2be033b9e503544e2c647f3c03d5a23fbd"
1350
+  integrity sha512-SBSR60x+dghhwGUxPKS+BvV1xNqnwsEUBKmnFepPaHJ6VkBXyPK9SImGc3K2BkwBfpxlt7GKkBNlCnrdufsejA==
1351
+  dependencies:
1352
+    bytewise "~1.1.0"
1353
+    levelup "~0.19.0"
1354
+    ltgt "~2.1.1"
1355
+    pull-defer "^0.2.2"
1356
+    pull-level "^2.0.3"
1357
+    pull-stream "^3.6.8"
1358
+    typewiselite "~1.0.0"
1359
+    xtend "~4.0.0"
1360
+
1214 1361
 level-supports@~1.0.0:
1215 1362
   version "1.0.1"
1216 1363
   resolved "https://registry.yarnpkg.com/level-supports/-/level-supports-1.0.1.tgz#2f530a596834c7301622521988e2c36bb77d122d"
@@ -1261,6 +1408,19 @@ levelup@^4.3.2:
1261 1408
     level-supports "~1.0.0"
1262 1409
     xtend "~4.0.0"
1263 1410
 
1411
+levelup@~0.19.0:
1412
+  version "0.19.1"
1413
+  resolved "https://registry.yarnpkg.com/levelup/-/levelup-0.19.1.tgz#f3a6a7205272c4b5f35e412ff004a03a0aedf50b"
1414
+  integrity sha1-86anIFJyxLXzXkEv8ASgOgrt9Qs=
1415
+  dependencies:
1416
+    bl "~0.8.1"
1417
+    deferred-leveldown "~0.2.0"
1418
+    errno "~0.1.1"
1419
+    prr "~0.0.0"
1420
+    readable-stream "~1.0.26"
1421
+    semver "~5.1.0"
1422
+    xtend "~3.0.0"
1423
+
1264 1424
 libnested@^1.3.2:
1265 1425
   version "1.4.1"
1266 1426
   resolved "https://registry.yarnpkg.com/libnested/-/libnested-1.4.1.tgz#8377e32b76a32530e70b6bea155a579ca0a2219b"
@@ -1271,6 +1431,11 @@ lodash@^4.17.10:
1271 1431
   resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
1272 1432
   integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
1273 1433
 
1434
+looper@^2.0.0:
1435
+  version "2.0.0"
1436
+  resolved "https://registry.yarnpkg.com/looper/-/looper-2.0.0.tgz#66cd0c774af3d4fedac53794f742db56da8f09ec"
1437
+  integrity sha1-Zs0Md0rz1P7axTeU90LbVtqPCew=
1438
+
1274 1439
 looper@^3.0.0:
1275 1440
   version "3.0.0"
1276 1441
   resolved "https://registry.yarnpkg.com/looper/-/looper-3.0.0.tgz#2efa54c3b1cbaba9b94aee2e5914b0be57fbb749"
@@ -1295,6 +1460,11 @@ ltgt@^2.1.2, ltgt@~2.2.0:
1295 1460
   resolved "https://registry.yarnpkg.com/ltgt/-/ltgt-2.2.1.tgz#f35ca91c493f7b73da0e07495304f17b31f87ee5"
1296 1461
   integrity sha1-81ypHEk/e3PaDgdJUwTxezH4fuU=
1297 1462
 
1463
+ltgt@~2.1.1:
1464
+  version "2.1.3"
1465
+  resolved "https://registry.yarnpkg.com/ltgt/-/ltgt-2.1.3.tgz#10851a06d9964b971178441c23c9e52698eece34"
1466
+  integrity sha1-EIUaBtmWS5cReEQcI8nlJpjuzjQ=
1467
+
1298 1468
 map-filter-reduce@^3.2.2:
1299 1469
   version "3.2.2"
1300 1470
   resolved "https://registry.yarnpkg.com/map-filter-reduce/-/map-filter-reduce-3.2.2.tgz#f22ad29e5616a1ccae0c18db21fe3c25a0c81ae0"
@@ -1364,7 +1534,7 @@ mkdirp@^0.5.1:
1364 1534
   dependencies:
1365 1535
     minimist "0.0.8"
1366 1536
 
1367
-mountable-hypertrie@^0.10.3:
1537
+mountable-hypertrie@^0.10.4:
1368 1538
   version "0.10.4"
1369 1539
   resolved "https://registry.yarnpkg.com/mountable-hypertrie/-/mountable-hypertrie-0.10.4.tgz#1354eb17b2f04b1b11ff906c2b006bdc81b6df23"
1370 1540
   integrity sha512-AXkSWSJPeZ7ar0xnrXe3mqX96dBZJxczKOK2nXUIj6JabowwcC/fbOVMaQTQ1MK6PWXKVMTwcgBdjQtDn4CJow==
@@ -1413,16 +1583,31 @@ multifeed-index@^3.3.2:
1413 1583
   dependencies:
1414 1584
     inherits "^2.0.3"
1415 1585
 
1416
-multifeed@^4.0.0, multifeed@^4.1.5:
1417
-  version "4.1.10"
1418
-  resolved "https://registry.yarnpkg.com/multifeed/-/multifeed-4.1.10.tgz#1ec2a188910ec3396d0edd56d537daa91581d842"
1419
-  integrity sha512-CW3IkzCRte6MLYBe48rcieVTW/4H4IpkYKmJZ88596WMkso0lauY5yPUAwR4GF7YUMeskoD0OpffierT8S1Vdg==
1586
+multifeed@^4.1.5:
1587
+  version "4.2.1"
1588
+  resolved "https://registry.yarnpkg.com/multifeed/-/multifeed-4.2.1.tgz#0cc37210228c1ba31a0de0e3135014017ce03f48"
1589
+  integrity sha512-m2YSuv9Nwp5RLneT6eGB+5BMu0V2bDEiu73dFpeVUptj5oQJjbJXj9DUx496aEiDFexVK7yRkJKgrZBF8QUV9w==
1420 1590
   dependencies:
1421 1591
     debug "^4.1.0"
1422 1592
     hypercore-protocol "^6.8.0"
1423 1593
     inherits "^2.0.3"
1424 1594
     mutexify "^1.2.0"
1425 1595
     random-access-file "^2.0.1"
1596
+    random-access-memory "^3.1.1"
1597
+    through2 "^3.0.0"
1598
+
1599
+multifeed@^5.0.0, multifeed@^5.1.0:
1600
+  version "5.1.0"
1601
+  resolved "https://registry.yarnpkg.com/multifeed/-/multifeed-5.1.0.tgz#71fdfeb3b126eeecb4399f11b50f4c428b1bee47"
1602
+  integrity sha512-pDqv++tRgrbRTA4De/BJ1YqRExbTBpeJhxiKCLf92I6Wrr4uqlOTQA60wW59iXMOpzO/y64RlRkE3oNkrI/CkA==
1603
+  dependencies:
1604
+    debug "^4.1.0"
1605
+    hypercore "^8.3.0"
1606
+    hypercore-protocol "^7.6.0"
1607
+    inherits "^2.0.3"
1608
+    mutexify "^1.2.0"
1609
+    random-access-file "^2.0.1"
1610
+    random-access-memory "^3.1.1"
1426 1611
     through2 "^3.0.0"
1427 1612
 
1428 1613
 multistream@^2.1.0:
@@ -1443,12 +1628,17 @@ nan@^2.14.0:
1443 1628
   resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
1444 1629
   integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
1445 1630
 
1446
-nanoassert@^1.0.0:
1631
+nanoassert@^1.0.0, nanoassert@^1.1.0:
1447 1632
   version "1.1.0"
1448 1633
   resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-1.1.0.tgz#4f3152e09540fde28c76f44b19bbcd1d5a42478d"
1449 1634
   integrity sha1-TzFS4JVA/eKMdvRLGbvNHVpCR40=
1450 1635
 
1451
-nanoguard@^1.2.0:
1636
+nanoassert@^2.0.0:
1637
+  version "2.0.0"
1638
+  resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-2.0.0.tgz#a05f86de6c7a51618038a620f88878ed1e490c09"
1639
+  integrity sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==
1640
+
1641
+nanoguard@^1.2.0, nanoguard@^1.2.1:
1452 1642
   version "1.2.2"
1453 1643
   resolved "https://registry.yarnpkg.com/nanoguard/-/nanoguard-1.2.2.tgz#a2069c563600a1853fd3ec31ed11e9681aa3dd80"
1454 1644
   integrity sha512-IMVIZkHP7Ep01foXurcJR59Hj/0yyApNK3JWpVHq2QVdLgo8wGU/ZsodlpL7jJ/m24+lxT0eyavrLCEuYQK2fg==
@@ -1461,19 +1651,19 @@ nanoiterator@^1.2.0:
1461 1651
     inherits "^2.0.3"
1462 1652
     readable-stream "^2.3.3"
1463 1653
 
1464
-nanoresource@^1.0.0:
1654
+nanoresource@^1.0.0, nanoresource@^1.3.0:
1465 1655
   version "1.3.0"
1466 1656
   resolved "https://registry.yarnpkg.com/nanoresource/-/nanoresource-1.3.0.tgz#823945d9667ab3e81a8b2591ab8d734552878cd0"
1467 1657
   integrity sha512-OI5dswqipmlYfyL3k/YMm7mbERlh4Bd1KuKdMHpeoVD1iVxqxaTMKleB4qaA2mbQZ6/zMNSxCXv9M9P/YbqTuQ==
1468 1658
   dependencies:
1469 1659
     inherits "^2.0.4"
1470 1660
 
1471
-napi-macros@^1.8.1, napi-macros@^1.8.2:
1661
+napi-macros@^1.8.2:
1472 1662
   version "1.8.2"
1473 1663
   resolved "https://registry.yarnpkg.com/napi-macros/-/napi-macros-1.8.2.tgz#299265c1d8aa401351ad0675107d751228c03eda"
1474 1664
   integrity sha512-Tr0DNY4RzTaBG2W2m3l7ZtFuJChTH6VZhXVhkGGjF/4cZTt+i8GcM9ozD+30Lmr4mDoZ5Xx34t2o4GJqYWDGcg==
1475 1665
 
1476
-napi-macros@~2.0.0:
1666
+napi-macros@^2.0.0, napi-macros@~2.0.0:
1477 1667
   version "2.0.0"
1478 1668
   resolved "https://registry.yarnpkg.com/napi-macros/-/napi-macros-2.0.0.tgz#2b6bae421e7b96eb687aa6c77a7858640670001b"
1479 1669
   integrity sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg==
@@ -1483,12 +1673,12 @@ network-address@^1.1.2:
1483 1673
   resolved "https://registry.yarnpkg.com/network-address/-/network-address-1.1.2.tgz#4aa7bfd43f03f0b81c9702b13d6a858ddb326f3e"
1484 1674
   integrity sha1-Sqe/1D8D8LgclwKxPWqFjdsybz4=
1485 1675
 
1486
-node-gyp-build@^3.5.0, node-gyp-build@^3.8.0:
1676
+node-gyp-build@^3.8.0:
1487 1677
   version "3.9.0"
1488 1678
   resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-3.9.0.tgz#53a350187dd4d5276750da21605d1cb681d09e25"
1489 1679
   integrity sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A==
1490 1680
 
1491
-node-gyp-build@^4.1.0:
1681
+node-gyp-build@^4.1.0, node-gyp-build@^4.2.0:
1492 1682
   version "4.2.0"
1493 1683
   resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.2.0.tgz#2c2b05f461f4178641a6ce2d7159f04094e9376d"
1494 1684
   integrity sha512-4oiumOLhCDU9Rronz8PZ5S4IvT39H5+JEv/hps9V8s7RSLhsac0TCP78ulnHXOo8X1wdpPiTayGlM1jr4IbnaQ==
@@ -1498,6 +1688,16 @@ node-gyp-build@~4.1.0:
1498 1688
   resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.1.1.tgz#d7270b5d86717068d114cc57fff352f96d745feb"
1499 1689
   integrity sha512-dSq1xmcPDKPZ2EED2S6zw/b9NKsqzXRE6dVr8TVQnI3FJOTteUMuqF3Qqs6LZg+mLGYJWqQzMbIjMtJqTv87nQ==
1500 1690
 
1691
+noise-protocol@^1.0.0:
1692
+  version "1.0.0"
1693
+  resolved "https://registry.yarnpkg.com/noise-protocol/-/noise-protocol-1.0.0.tgz#260e0447ddabc6f1d40f4c5829a64aba38c08768"
1694
+  integrity sha512-MEseV3jGZGkPPlhJMHrjFHs9XCEcnoYg72hI89GMz/JfDjWEHzhTaTGqHM5gTGtLA9Z04XoGvEI5aCEAqplQrQ==
1695
+  dependencies:
1696
+    clone "^2.1.2"
1697
+    hmac-blake2b "^0.2.0"
1698
+    nanoassert "^1.1.0"
1699
+    sodium-native "^2.2.1"
1700
+
1501 1701
 normalize-path@^2.1.1:
1502 1702
   version "2.1.1"
1503 1703
   resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
@@ -1595,9 +1795,9 @@ pino-std-serializers@^2.4.2:
1595 1795
   integrity sha512-WaL504dO8eGs+vrK+j4BuQQq6GLKeCCcHaMB2ItygzVURcL1CycwNEUHTD/lHFHs/NL5qAz2UKrjYWXKSf4aMQ==
1596 1796
 
1597 1797
 pino@^5.13.2:
1598
-  version "5.13.6"
1599
-  resolved "https://registry.yarnpkg.com/pino/-/pino-5.13.6.tgz#c7669cb02add833b3afa75e2dd8c6e4cb411295e"
1600
-  integrity sha512-cYhvK4lopLnW/OtU3uRqBNsPiBt0Cdv97LGJg4yPGbGajlOjWWaODwD66q3Ynqnj6bSNw8HSofYcEOKZqh4Gcg==
1798
+  version "5.14.0"
1799
+  resolved "https://registry.yarnpkg.com/pino/-/pino-5.14.0.tgz#eec56c6388797528e526f969ee022592cc538d4e"
1800
+  integrity sha512-Vj1f2wAojTGesogT0hsA/ua8ALltCOBCcA1nkEoDfnTsVWpgBu5UVSY7OdjiGmrMOKHBm24nd3nKXzyPUYJ3ig==
1601 1801
   dependencies:
1602 1802
     fast-redact "^2.0.0"
1603 1803
     fast-safe-stringify "^2.0.7"
@@ -1660,16 +1860,57 @@ protocol-buffers@^4.1.0:
1660 1860
     signed-varint "^2.0.0"
1661 1861
     varint "^5.0.0"
1662 1862
 
1863
+prr@~0.0.0:
1864
+  version "0.0.0"
1865
+  resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a"
1866
+  integrity sha1-GoS4WQgyVQFBGFPQCB7j+obikmo=
1867
+
1663 1868
 prr@~1.0.1:
1664 1869
   version "1.0.1"
1665 1870
   resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
1666 1871
   integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY=
1667 1872
 
1668
-pull-defer@^0.2.3:
1873
+pull-cat@^1.1.9:
1874
+  version "1.1.11"
1875
+  resolved "https://registry.yarnpkg.com/pull-cat/-/pull-cat-1.1.11.tgz#b642dd1255da376a706b6db4fa962f5fdb74c31b"
1876
+  integrity sha1-tkLdElXaN2pwa220+pYvX9t0wxs=
1877
+
1878
+pull-core@1:
1879
+  version "1.1.0"
1880
+  resolved "https://registry.yarnpkg.com/pull-core/-/pull-core-1.1.0.tgz#3d8127d6dac1475705c9800961f59d66c8046c8a"
1881
+  integrity sha1-PYEn1trBR1cFyYAJYfWdZsgEbIo=
1882
+
1883
+pull-defer@^0.2.2, pull-defer@^0.2.3:
1669 1884
   version "0.2.3"
1670 1885
   resolved "https://registry.yarnpkg.com/pull-defer/-/pull-defer-0.2.3.tgz#4ee09c6d9e227bede9938db80391c3dac489d113"
1671 1886
   integrity sha512-/An3KE7mVjZCqNhZsr22k1Tx8MACnUnHZZNPSJ0S62td8JtYr/AiRG42Vz7Syu31SoTLUzVIe61jtT/pNdjVYA==
1672 1887
 
1888
+pull-level@^2.0.3:
1889
+  version "2.0.4"
1890
+  resolved "https://registry.yarnpkg.com/pull-level/-/pull-level-2.0.4.tgz#4822e61757c10bdcc7cf4a03af04c92734c9afac"
1891
+  integrity sha512-fW6pljDeUThpq5KXwKbRG3X7Ogk3vc75d5OQU/TvXXui65ykm+Bn+fiktg+MOx2jJ85cd+sheufPL+rw9QSVZg==
1892
+  dependencies:
1893
+    level-post "^1.0.7"
1894
+    pull-cat "^1.1.9"
1895
+    pull-live "^1.0.1"
1896
+    pull-pushable "^2.0.0"
1897
+    pull-stream "^3.4.0"
1898
+    pull-window "^2.1.4"
1899
+    stream-to-pull-stream "^1.7.1"
1900
+
1901
+pull-live@^1.0.1:
1902
+  version "1.0.1"
1903
+  resolved "https://registry.yarnpkg.com/pull-live/-/pull-live-1.0.1.tgz#a4ecee01e330155e9124bbbcf4761f21b38f51f5"
1904
+  integrity sha1-pOzuAeMwFV6RJLu89HYfIbOPUfU=
1905
+  dependencies:
1906
+    pull-cat "^1.1.9"
1907
+    pull-stream "^3.4.0"
1908
+
1909
+pull-pushable@^2.0.0:
1910
+  version "2.2.0"
1911
+  resolved "https://registry.yarnpkg.com/pull-pushable/-/pull-pushable-2.2.0.tgz#5f2f3aed47ad86919f01b12a2e99d6f1bd776581"
1912
+  integrity sha1-Xy867UethpGfAbEqLpnW8b13ZYE=
1913
+
1673 1914
 pull-sink-through@0.0.0:
1674 1915
   version "0.0.0"
1675 1916
   resolved "https://registry.yarnpkg.com/pull-sink-through/-/pull-sink-through-0.0.0.tgz#d3c0492f3a80b4ed204af67c4b4f935680fc5b1f"
@@ -1688,11 +1929,25 @@ pull-stream-to-stream@^1.3.4:
1688 1929
   resolved "https://registry.yarnpkg.com/pull-stream-to-stream/-/pull-stream-to-stream-1.3.4.tgz#3f81d8216bd18d2bfd1a198190471180e2738399"
1689 1930
   integrity sha1-P4HYIWvRjSv9GhmBkEcRgOJzg5k=
1690 1931
 
1691
-pull-stream@^3.2.3, pull-stream@^3.4.3, pull-stream@^3.6.9:
1932
+pull-stream-to-stream@~1.2.4:
1933
+  version "1.2.6"
1934
+  resolved "https://registry.yarnpkg.com/pull-stream-to-stream/-/pull-stream-to-stream-1.2.6.tgz#dd9fa3732edb3d16e67cd1f224bca38a6d5748c7"
1935
+  integrity sha1-3Z+jcy7bPRbmfNHyJLyjim1XSMc=
1936
+  dependencies:
1937
+    pull-core "1"
1938
+
1939
+pull-stream@^3.2.3, pull-stream@^3.4.0, pull-stream@^3.4.3, pull-stream@^3.6.8, pull-stream@^3.6.9:
1692 1940
   version "3.6.14"
1693 1941
   resolved "https://registry.yarnpkg.com/pull-stream/-/pull-stream-3.6.14.tgz#529dbd5b86131f4a5ed636fdf7f6af00781357ee"
1694 1942
   integrity sha512-KIqdvpqHHaTUA2mCYcLG1ibEbu/LCKoJZsBWyv9lSYtPkJPBq8m3Hxa103xHi6D2thj5YXa0TqK3L3GUkwgnew==
1695 1943
 
1944
+pull-window@^2.1.4:
1945
+  version "2.1.4"
1946
+  resolved "https://registry.yarnpkg.com/pull-window/-/pull-window-2.1.4.tgz#fc3b86feebd1920c7ae297691e23f705f88552f0"
1947
+  integrity sha1-/DuG/uvRkgx64pdpHiP3BfiFUvA=
1948
+  dependencies:
1949
+    looper "^2.0.0"
1950
+
1696 1951
 pump@^2.0.0:
1697 1952
   version "2.0.1"
1698 1953
   resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
@@ -1804,6 +2059,16 @@ readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@^2.1.4, readable
1804 2059
     string_decoder "~1.1.1"
1805 2060
     util-deprecate "~1.0.1"
1806 2061
 
2062
+readable-stream@~1.0.26:
2063
+  version "1.0.34"
2064
+  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
2065
+  integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=
2066
+  dependencies:
2067
+    core-util-is "~1.0.0"
2068
+    inherits "~2.0.1"
2069
+    isarray "0.0.1"
2070
+    string_decoder "~0.10.x"
2071
+
1807 2072
 record-cache@^1.1.0:
1808 2073
   version "1.1.0"
1809 2074
   resolved "https://registry.yarnpkg.com/record-cache/-/record-cache-1.1.0.tgz#f8a467a691a469584b26e88d36b18afdb3932037"
@@ -1874,6 +2139,11 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1:
1874 2139
   resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
1875 2140
   integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
1876 2141
 
2142
+semver@~5.1.0:
2143
+  version "5.1.1"
2144
+  resolved "https://registry.yarnpkg.com/semver/-/semver-5.1.1.tgz#a3292a373e6f3e0798da0b20641b9a9c5bc47e19"
2145
+  integrity sha1-oykqNz5vPgeY2gsgZBuanFvEfhk=
2146
+
1877 2147
 semver@~5.4.1:
1878 2148
   version "5.4.1"
1879 2149
   resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
@@ -1893,6 +2163,32 @@ signed-varint@^2.0.0, signed-varint@^2.0.1:
1893 2163
   dependencies:
1894 2164
     varint "~5.0.0"
1895 2165
 
2166
+simple-handshake@^1.3.1:
2167
+  version "1.3.1"
2168
+  resolved "https://registry.yarnpkg.com/simple-handshake/-/simple-handshake-1.3.1.tgz#3f3d3ef103cb59e25f85c6b5952a631659e53411"
2169
+  integrity sha512-3Q6FjXdVFCa5JiLsWFl9s/Wp9hfBI9OqGfnlA/fUqIgR8M6zykFMxgGmV7M3YFbBkXYXQYayj6D6aFDejQcPjA==
2170
+  dependencies:
2171
+    nanoassert "^1.1.0"
2172
+    noise-protocol "^1.0.0"
2173
+
2174
+simple-hypercore-protocol@^1.4.0:
2175
+  version "1.4.0"
2176
+  resolved "https://registry.yarnpkg.com/simple-hypercore-protocol/-/simple-hypercore-protocol-1.4.0.tgz#43957d7b1b0a045a346f1f566845d2a79d4e4d0c"
2177
+  integrity sha512-an2jCnYD4e/saLb4vqD8FnIus2wP6wa+C+rI2uC8DBDFok7h41wz0DOOol7h+6+9VXu7Rb2cmkyXaqvkuJDFaA==
2178
+  dependencies:
2179
+    protocol-buffers-encodings "^1.1.0"
2180
+    simple-handshake "^1.3.1"
2181
+    simple-message-channels "^1.2.1"
2182
+    sodium-universal "^2.0.0"
2183
+    varint "^5.0.0"
2184
+
2185
+simple-message-channels@^1.2.1:
2186
+  version "1.2.1"
2187
+  resolved "https://registry.yarnpkg.com/simple-message-channels/-/simple-message-channels-1.2.1.tgz#d827d3da0df1f862fd09b748457a01f9a0eb7ac3"
2188
+  integrity sha512-knSr69GKW9sCjzpoy817xQelpOASUQ53TXCBcSLDKLE7GTGpUAhZzOZYrdbX2Ig//m+8AIrNp7sM7HDNHBRzXw==
2189
+  dependencies:
2190
+    varint "^5.0.0"
2191
+
1896 2192
 simple-sha1@^2.1.0:
1897 2193
   version "2.1.2"
1898 2194
   resolved "https://registry.yarnpkg.com/simple-sha1/-/simple-sha1-2.1.2.tgz#de40cbd5aae278fde8e3bb3250a35d74c67326b1"
@@ -1917,7 +2213,7 @@ sodium-javascript@~0.5.0:
1917 2213
     siphash24 "^1.0.1"
1918 2214
     xsalsa20 "^1.0.0"
1919 2215
 
1920
-sodium-native@^2.0.0, sodium-native@^2.4.2:
2216
+sodium-native@^2.0.0, sodium-native@^2.2.1, sodium-native@^2.4.2:
1921 2217
   version "2.4.6"
1922 2218
   resolved "https://registry.yarnpkg.com/sodium-native/-/sodium-native-2.4.6.tgz#8a8173095e8cf4f997de393a2ba106c34870cac2"
1923 2219
   integrity sha512-Ro9lhTjot8M01nwKLXiqLSmjR7B8o+Wg4HmJUjEShw/q6XPlNMzjPkA1VJKaMH8SO8fJ/sggAKVwreTaFszS2Q==
@@ -1983,7 +2279,7 @@ stream-shift@^1.0.0:
1983 2279
   resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952"
1984 2280
   integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=
1985 2281
 
1986
-stream-to-pull-stream@^1.7.3:
2282
+stream-to-pull-stream@^1.7.1, stream-to-pull-stream@^1.7.3:
1987 2283
   version "1.7.3"
1988 2284
   resolved "https://registry.yarnpkg.com/stream-to-pull-stream/-/stream-to-pull-stream-1.7.3.tgz#4161aa2d2eb9964de60bfa1af7feaf917e874ece"
1989 2285
   integrity sha512-6sNyqJpr5dIOQdgNy/xcDWwDuzAsAwVzhzrWlAPAQ7Lkjx/rv0wgvxEyKwTq6FmNd5rjTrELt/CLmaSw7crMGg==
@@ -1991,6 +2287,14 @@ stream-to-pull-stream@^1.7.3:
1991 2287
     looper "^3.0.0"
1992 2288
     pull-stream "^3.2.3"
1993 2289
 
2290
+streamx@^2.1.0:
2291
+  version "2.5.0"
2292
+  resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.5.0.tgz#4163d152f594cd386c4fd5ef116b8d8063f73db4"
2293
+  integrity sha512-3HbwdI3Wnjj4dyi9Pk+rkEuQzfiUIUuCT9ayYa2Aohnxvod01TNwnC2e8KWlpjNqrlctNhgctogssukMebeFmg==
2294
+  dependencies:
2295
+    fast-fifo "^1.0.0"
2296
+    nanoassert "^2.0.0"
2297
+
1994 2298
 string.prototype.trim@~1.1.2:
1995 2299
   version "1.1.2"
1996 2300
   resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea"
@@ -2139,7 +2443,7 @@ time-ordered-set@^1.0.1:
2139 2443
   resolved "https://registry.yarnpkg.com/time-ordered-set/-/time-ordered-set-1.0.2.tgz#3bd931fc048234147f8c2b8b1ebbebb0a3ecb96f"
2140 2444
   integrity sha512-vGO99JkxvgX+u+LtOKQEpYf31Kj3i/GNwVstfnh4dyINakMgeZCpew1e3Aj+06hEslhtHEd52g7m5IV+o1K8Mw==
2141 2445
 
2142
-timeout-refresh@^1.0.0:
2446
+timeout-refresh@^1.0.0, timeout-refresh@^1.0.1:
2143 2447
   version "1.0.1"
2144 2448
   resolved "https://registry.yarnpkg.com/timeout-refresh/-/timeout-refresh-1.0.1.tgz#182b23c7cacd1420fa9c0eff2c6b31c3db7ce959"
2145 2449
   integrity sha512-bW5oSShdwFCN9K7RpB5dkq5bqNlGt8Lwbfxr8vprysk8hDiK5yy7Mgf2Qlz2ssE0gfQfoYhk4VLY9Hhsnr9Ulw==
@@ -2173,7 +2477,19 @@ typedarray@^0.0.6:
2173 2477
   resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
2174 2478
   integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
2175 2479
 
2176
-typewiselite@^1.0.0:
2480
+typewise-core@^1.2, typewise-core@^1.2.0:
2481
+  version "1.2.0"
2482
+  resolved "https://registry.yarnpkg.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195"
2483
+  integrity sha1-l+uRgFx/VdL5QXSPpQ0xXZke8ZU=
2484
+
2485
+typewise@^1.0.3:
2486
+  version "1.0.3"
2487
+  resolved "https://registry.yarnpkg.com/typewise/-/typewise-1.0.3.tgz#1067936540af97937cc5dcf9922486e9fa284651"
2488
+  integrity sha1-EGeTZUCvl5N8xdz5kiSG6fooRlE=
2489
+  dependencies:
2490
+    typewise-core "^1.2.0"
2491
+
2492
+typewiselite@^1.0.0, typewiselite@~1.0.0:
2177 2493
   version "1.0.0"
2178 2494
   resolved "https://registry.yarnpkg.com/typewiselite/-/typewiselite-1.0.0.tgz#c8882fa1bb1092c06005a97f34ef5c8508e3664e"
2179 2495
   integrity sha1-yIgvobsQksBgBal/NO9chQjjZk4=
@@ -2236,12 +2552,12 @@ util@^0.12.0:
2236 2552
     safe-buffer "^5.1.2"
2237 2553
 
2238 2554
 utp-native@^2.1.3:
2239
-  version "2.1.4"
2240
-  resolved "https://registry.yarnpkg.com/utp-native/-/utp-native-2.1.4.tgz#fa7063d143c690e65064317fe17f8829dabfa3ce"
2241
-  integrity sha512-FYjr3bHBnJpw8yD0CmFCh5USyDgr6VtuncEIun100GqCUdgqnkAx9irSY3tA4UrzRH56qmiocP2fs1QjQ7ZDZA==
2555
+  version "2.1.5"
2556
+  resolved "https://registry.yarnpkg.com/utp-native/-/utp-native-2.1.5.tgz#33515a8fa95b7697d8bc62e2e8909dd2f5ad3c09"
2557
+  integrity sha512-vQ193WXyOOo+LikYgXlhFLVU7w9zdLOuXr1mgmS/kRMtq/B7DgVbPPSWzKzfcUnBeS1vRApVzR8+o4xYItObcw==
2242 2558
   dependencies:
2243
-    napi-macros "^1.8.1"
2244
-    node-gyp-build "^3.5.0"
2559
+    napi-macros "^2.0.0"
2560
+    node-gyp-build "^4.2.0"
2245 2561
     readable-stream "^3.0.2"
2246 2562
     timeout-refresh "^1.0.0"
2247 2563
     unordered-set "^2.0.1"
@@ -2272,11 +2588,16 @@ xor-distance@^2.0.0:
2272 2588
   integrity sha512-AsAqZfPAuWx7qB/0kyRDUEvoU3QKsHWzHU9smFlkaiprEpGfJ/NBbLze2Uq0rdkxCxkNM9uOLvz/KoNBCbZiLQ==
2273 2589
 
2274 2590
 xsalsa20@^1.0.0:
2275
-  version "1.0.2"
2276
-  resolved "https://registry.yarnpkg.com/xsalsa20/-/xsalsa20-1.0.2.tgz#46cc53439d543d88782e42dfada5c5a69ab6314d"
2277
-  integrity sha512-g1DFmZ5JJ9Qzvt4dMw6m9IydqoCSP381ucU5zm46Owbk3bwmqAr8eEJirOPc7PrXRn45drzOpAyDp8jsnoyXyw==
2591
+  version "1.1.0"
2592
+  resolved "https://registry.yarnpkg.com/xsalsa20/-/xsalsa20-1.1.0.tgz#bee27174af1913aaec0fe677d8ba161ec12bf87d"
2593
+  integrity sha512-zd3ytX2cm+tcSndRU+krm0eL4TMMpZE7evs5hLRAoOy6gviqLfe3qOlkjF3i5SeAkQUCeJk0lJZrEU56kHRfWw==
2278 2594
 
2279 2595
 xtend@^4.0.0, xtend@^4.0.2, xtend@~4.0.0, xtend@~4.0.1:
2280 2596
   version "4.0.2"
2281 2597
   resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
2282 2598
   integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==
2599
+
2600
+xtend@~3.0.0:
2601
+  version "3.0.0"
2602
+  resolved "https://registry.yarnpkg.com/xtend/-/xtend-3.0.0.tgz#5cce7407baf642cba7becda568111c493f59665a"
2603
+  integrity sha1-XM50B7r2Qsunvs2laBEcST9ZZlo=