Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

osm-p2p-server

Package Overview
Dependencies
Maintainers
4
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osm-p2p-server - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

9

api/get_map.js

@@ -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

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc