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

osm-p2p-server

Package Overview
Dependencies
Maintainers
2
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 1.1.0 to 1.2.0

10

index.js

@@ -95,2 +95,12 @@ var routes = require('routes')

})
params.changes.deleted.forEach(function (ch) {
var id = ch.id.replace(/^[nw]/, '')
pending++
var opts = { links: ch.version ? [ch.version] : [] }
self.osmdb.del(id, opts, function (err) {
if (err) errors.push(err)
else keys.push(id)
if (--pending === 0) done()
})
})
if (--pending === 0) done()

@@ -97,0 +107,0 @@ })

2

package.json
{
"name": "osm-p2p-server",
"version": "1.1.0",
"version": "1.2.0",
"description": "serve osm http endpoints over a p2p db",

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