osm-p2p-server
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -6,2 +6,3 @@ var collect = require('collect-stream') | ||
var defork = require('osm-p2p-defork') | ||
var through = require('through2') | ||
@@ -20,4 +21,12 @@ var refs2nodes = require('../lib/util').refs2nodes | ||
var query = [[bbox[1], bbox[3]], [bbox[0], bbox[2]]] // left,bottom,right,top | ||
// For now, filter deletions (until downstream can handle them) | ||
var deletionFilter = through.obj(function (chunk, enc, next) { | ||
if (!chunk.deleted) next(null, chunk) | ||
else next() | ||
}) | ||
var pipeline = [ | ||
osm.queryStream(query, opts), | ||
deletionFilter, | ||
checkRefExist(osm), | ||
@@ -24,0 +33,0 @@ mapStream.obj(refs2nodes) |
@@ -5,2 +5,7 @@ # Change Log | ||
## [2.1.5] | ||
### Fixed | ||
- Deleted entries (exposed as of 2.1.4) are no longer exposed; this was a | ||
mistake | ||
## [2.1.4] | ||
@@ -7,0 +12,0 @@ ### Fixed |
{ | ||
"name": "osm-p2p-server", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "Peer-to-peer OpenStreetMap API v0.6 Server", | ||
@@ -5,0 +5,0 @@ "main": "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
201387
5678