ssb-conn-db
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -8,3 +8,2 @@ "use strict"; | ||
decode: function (input) { | ||
var now = Date.now(); | ||
var str = input.toString(); | ||
@@ -15,5 +14,3 @@ var MAX_TRIM = 10; | ||
try { | ||
var res = JSON.parse(str.substring(0, str.length - i)); | ||
console.log((Date.now() - now).toFixed(0) + ' milliseconds it took'); | ||
return res; | ||
return JSON.parse(str.substring(0, str.length - i)); | ||
} | ||
@@ -20,0 +17,0 @@ catch (err) { |
{ | ||
"name": "ssb-conn-db", | ||
"description": "Module that manages a local registry of connectable peers", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"homepage": "https://github.com/staltz/ssb-conn-db", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
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
167327
1521