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.5.2 to 1.6.0

lib/hex2dec.js

3

lib/xml_diff.js

@@ -5,2 +5,3 @@ var parsexml = require('xml-parser')

var has = require('has')
var hex2dec = require('./hex2dec.js')

@@ -17,3 +18,3 @@ module.exports = function (str) {

if (doc.id && Number(doc.id) < 0) {
ids[doc.id] = randombytes(8).toString('hex')
ids[doc.id] = hex2dec(randombytes(8).toString('hex'))
doc.id = ids[doc.oldId]

@@ -20,0 +21,0 @@ }

{
"name": "osm-p2p-server",
"version": "1.5.2",
"version": "1.6.0",
"description": "serve osm http endpoints over a p2p db",

@@ -15,2 +15,3 @@ "main": "index.js",

"dependencies": {
"base-convertor": "^1.1.0",
"body": "^5.1.0",

@@ -17,0 +18,0 @@ "collect-stream": "^1.1.1",

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