scuttlebutt
Advanced tools
Comparing version 5.6.8 to 5.6.9
@@ -5,3 +5,3 @@ { | ||
"description": "replicate data via scuttlebutt protocol", | ||
"version": "5.6.8", | ||
"version": "5.6.9", | ||
"homepage": "https://github.com/dominictarr/scuttlebutt", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -13,2 +13,3 @@ require('tape')('header', function (t) { | ||
var bs = b.createStream() | ||
var b2s = b.createStream() | ||
var cs = c.createStream() | ||
@@ -28,4 +29,10 @@ | ||
end() | ||
}).times(2)) | ||
}).once()) | ||
b2s.on('header', mac(function (h) { | ||
t.equal(h.id, ix === 0 ? a.id : c.id) | ||
ix ++ | ||
end() | ||
}).once()) | ||
cs.on('header', mac(function (h) { | ||
@@ -37,3 +44,3 @@ t.equal(h.id, b.id) | ||
as.pipe(bs).pipe(as) | ||
bs.pipe(cs).pipe(bs) | ||
b2s.pipe(cs).pipe(b2s) | ||
@@ -40,0 +47,0 @@ function end () { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
344
0
43705
34
990