osm-p2p-server
Advanced tools
Comparing version 1.10.5 to 1.10.7
var parsexml = require('xml-parser') | ||
var validxml = require('./xml_valid.js') | ||
var xtend = require('xtend') | ||
module.exports = function (str) { | ||
if (!validxml(str)) return [] | ||
var xml = parsexml(str) | ||
@@ -6,0 +8,0 @@ var ops = [] |
var parsexml = require('xml-parser') | ||
var validxml = require('./xml_valid.js') | ||
var xtend = require('xtend') | ||
@@ -8,2 +9,3 @@ var randombytes = require('randombytes') | ||
module.exports = function (str) { | ||
if (!validxml(str)) return [] | ||
var xml = parsexml(str) | ||
@@ -10,0 +12,0 @@ var ops = { create: [], modify: [], delete: [] } |
{ | ||
"name": "osm-p2p-server", | ||
"version": "1.10.5", | ||
"version": "1.10.7", | ||
"description": "serve osm http endpoints over a p2p db", | ||
@@ -27,2 +27,3 @@ "main": "index.js", | ||
"routes": "^2.1.0", | ||
"sax": "^1.2.1", | ||
"xml-parser": "^1.2.1", | ||
@@ -44,8 +45,8 @@ "xtend": "^4.0.1" | ||
"type": "git", | ||
"url": "git+https://github.com/substack/osm-p2p-server.git" | ||
"url": "git+https://github.com/digidem/osm-p2p-server.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/substack/osm-p2p-server/issues" | ||
"url": "https://github.com/digidem/osm-p2p-server/issues" | ||
}, | ||
"homepage": "https://github.com/substack/osm-p2p-server#readme" | ||
"homepage": "https://github.com/digidem/osm-p2p-server#readme" | ||
} |
77094
24
2411
78
12
20
+ Addedsax@^1.2.1
+ Addedsax@1.4.1(transitive)