Comparing version 2.0.0 to 2.0.1
@@ -5,2 +5,6 @@ # Change Log | ||
## [2.0.1] - 2016-08-24 | ||
### Fixed | ||
- Skip objects with an invalid `type` property (not one of `node|way|relation|bounds|changeset`) | ||
## [2.0.0] - 2016-08-22 | ||
@@ -7,0 +11,0 @@ ### Changed |
@@ -67,2 +67,5 @@ var h = require('./lib/h.js') | ||
function write (row, enc, next) { | ||
if (Object.keys(WHITELISTS).indexOf(row.type) === -1) { | ||
return next() | ||
} | ||
if (action && row.action !== action) { | ||
@@ -69,0 +72,0 @@ this.push('</' + action + '>') |
{ | ||
"name": "obj2osm", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Generate OSM XML from a stream of OSM JSON objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
18438
368