osm-p2p-server
Advanced tools
Comparing version 1.5.2 to 1.6.0
@@ -5,2 +5,3 @@ var parsexml = require('xml-parser') | ||
var has = require('has') | ||
var hex2dec = require('./hex2dec.js') | ||
@@ -17,3 +18,3 @@ module.exports = function (str) { | ||
if (doc.id && Number(doc.id) < 0) { | ||
ids[doc.id] = randombytes(8).toString('hex') | ||
ids[doc.id] = hex2dec(randombytes(8).toString('hex')) | ||
doc.id = ids[doc.oldId] | ||
@@ -20,0 +21,0 @@ } |
{ | ||
"name": "osm-p2p-server", | ||
"version": "1.5.2", | ||
"version": "1.6.0", | ||
"description": "serve osm http endpoints over a p2p db", | ||
@@ -15,2 +15,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"base-convertor": "^1.1.0", | ||
"body": "^5.1.0", | ||
@@ -17,0 +18,0 @@ "collect-stream": "^1.1.1", |
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
38850
15
1177
12
+ Addedbase-convertor@^1.1.0
+ Addedbase-convertor@1.1.0(transitive)
+ Addedbig-integer@1.6.52(transitive)