osm-p2p-server
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -37,2 +37,7 @@ var parsexml = require('xml-parser') | ||
} | ||
;(ch.children || []).forEach(function (c) { | ||
if (c.name !== 'tag' || !c.attributes.k || !c.attributes.v) return | ||
if (!doc.tags) doc.tags = {} | ||
doc.tags[c.attributes.k] = c.attributes.v | ||
}) | ||
if (/^(create|modify|delete)$/.test(c.name)) { | ||
@@ -39,0 +44,0 @@ ops[c.name].push(doc) |
{ | ||
"name": "osm-p2p-server", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "serve osm http endpoints over a p2p db", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
40035
1210