scuttlebutt
Advanced tools
Comparing version 5.5.8 to 5.5.9
@@ -50,4 +50,2 @@ var EventEmitter = require('events').EventEmitter | ||
} | ||
this.on('invalid', console.log) | ||
} | ||
@@ -54,0 +52,0 @@ |
14
model.js
@@ -31,2 +31,16 @@ var Scuttlebutt = require('./index') | ||
m.keys = function () { | ||
var a = [] | ||
for (var k in this.store) | ||
a.push(k) | ||
return a | ||
} | ||
m.forEach = | ||
m.each = function (iter) { | ||
for (var k in this.store) | ||
iter(this.store[k][0][1], k, this.store) | ||
return this | ||
} | ||
//return this history since sources. | ||
@@ -33,0 +47,0 @@ //sources is a hash of { ID: TIMESTAMP } |
@@ -5,3 +5,3 @@ { | ||
"description": "replicate data via scuttlebutt protocol", | ||
"version": "5.5.8", | ||
"version": "5.5.9", | ||
"homepage": "https://github.com/dominictarr/scuttlebutt", | ||
@@ -16,3 +16,3 @@ "repository": { | ||
"stream-serializer": "0.0.3", | ||
"monotonic-timestamp": "0.0.2" | ||
"monotonic-timestamp": "0.0.7" | ||
}, | ||
@@ -38,3 +38,3 @@ "devDependencies": { | ||
"safari": [ | ||
5.1, 6 | ||
5, 6 | ||
], | ||
@@ -41,0 +41,0 @@ "opera": [ |
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
96829
37
977
+ Addedmonotonic-timestamp@0.0.7(transitive)
- Removedmonotonic-timestamp@0.0.2(transitive)
Updatedmonotonic-timestamp@0.0.7