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

osm-p2p-server

Package Overview
Dependencies
Maintainers
3
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.0.2 to 2.0.3

test/lib/test_server.js

5

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## [2.0.3]
### Changed
- Add callback to server cleanup/teardown in tests - necessary for osm-p2p-server-sw tests
## [2.0.2]

@@ -59,2 +63,3 @@ ### Fixed

[2.0.3]: https://github.com/digidem/osm-p2p-server/compare/2.0.2...2.0.3
[2.0.2]: https://github.com/digidem/osm-p2p-server/compare/2.0.1...2.0.2

@@ -61,0 +66,0 @@ [2.0.1]: https://github.com/digidem/osm-p2p-server/compare/2.0.0...2.0.1

2

package.json
{
"name": "osm-p2p-server",
"version": "2.0.2",
"version": "2.0.3",
"description": "Peer-to-peer OpenStreetMap API v0.6 Server",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,3 +9,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -134,4 +134,5 @@ test('bbox_order.js: setup server', function (t) {

test('bbox_order.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -6,4 +6,3 @@ var test = require('tape')

var concat = require('concat-stream')
var fs = require('fs')
var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -215,4 +214,5 @@ var base, server, changeId

test('bbox.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -219,0 +219,0 @@

@@ -7,3 +7,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -36,4 +36,5 @@ var base, server

test('capabilities.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -7,3 +7,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -182,4 +182,5 @@ var base, server, changeId

test('changeset_delete.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -7,3 +7,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -310,4 +310,5 @@ var base, server, changeId

test('changeset_placeholder.js: setup server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -314,0 +315,0 @@

@@ -9,3 +9,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -335,4 +335,5 @@ test('changeset_upload_relation.js: setup server', function (t) {

test('changeset_upload_relation.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -339,0 +340,0 @@

@@ -7,3 +7,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -310,4 +310,5 @@ var base, server, changeId

test('changeset_upload.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -314,0 +315,0 @@

@@ -7,3 +7,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -162,4 +162,5 @@ var base, server, changeId

test('changeset.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -166,0 +167,0 @@

@@ -9,3 +9,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -219,4 +219,5 @@ test('delete.js: setup server', function (t) {

test('delete.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -10,3 +10,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -187,4 +187,5 @@ test('history.js: setup server', function (t) {

test('history.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -9,3 +9,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -43,4 +43,5 @@ test('malformed_changeset.js: setup server', function (t) {

test('malformed_changeset.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -10,3 +10,3 @@ var test = require('tape')

var changeId
var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -253,4 +253,5 @@ test('many_types.js: setup server', function (t) {

test('many_types.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -257,0 +258,0 @@

@@ -9,3 +9,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -150,4 +150,5 @@ test('multi_fetch.js: setup server', function (t) {

test('multi_fetch.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})

@@ -7,3 +7,3 @@ var test = require('tape')

var createServer = require('./test_server.js')
var createServer = require('./lib/test_server.js')

@@ -228,4 +228,5 @@ var base, server, changeId, changeId2

test('split_way_delete.js: teardown server', function (t) {
server.cleanup()
t.end()
server.cleanup(function () {
t.end()
})
})
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