Socket
Socket
Sign inDemoInstall

bitabase-gateway

Package Overview
Dependencies
84
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.5 to 1.5.6

4

common/getCollectionDefinition.js

@@ -8,2 +8,6 @@ const callarest = require('callarest');

if (!managerUrl) {
return callback(new Error('no manager nodes exist'));
}
callarest({

@@ -10,0 +14,0 @@ url: `${managerUrl}/v1/databases/${databaseName}/collections/${collectionName}`,

@@ -44,2 +44,8 @@ const righto = require('righto');

const server = selectRandomItemFromArray(config.servers);
if (!server) {
console.log('No server nodes found');
return writeResponse(500, { error: 'Unexpected Server Error' }, response);
}
const body = righto(parseJsonBody, request);

@@ -46,0 +52,0 @@ const postedRecord = righto(postRecordToServer, config, server, databaseName, collectionName, body, true);

2

package.json
{
"name": "bitabase-gateway",
"version": "1.5.5",
"version": "1.5.6",
"description": "",

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

@@ -71,3 +71,3 @@ if (process.env.NODE_ENV === 'development') {

const address = server.address();
console.log(`[bitabase-manager] Listening on ${config.bindHost} (${address.address}:${address.port})`);
console.log(`[bitabase-gateway] Listening on ${config.bindHost} (${address.address}:${address.port})`);
});

@@ -74,0 +74,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc