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

volos-connectors-common

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

volos-connectors-common - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

6

lib/serverBase.js

@@ -10,2 +10,3 @@ var http = require('http');

this.regExpForRestMap = [];
this.defaults = {includeMetadata: true};
}

@@ -585,3 +586,2 @@

"data" : result,
"targetMetadata" : metadata || {},
"timestamp" : new Date().valueOf(),

@@ -595,2 +595,6 @@ "duration" : timeOut - req._timeIn,

}
if (this.defaults.includeMetaDeta) {
wrappedResult.targetMetadata = metadata || {};
}
return(wrappedResult);

@@ -597,0 +601,0 @@ }

7

lib/sqlServerBase.js
var serverBase = require('./serverBase');
var Q = require('q');
var _ = require('lodash');
var SqlServerBase = function() {
this.defaults = _.merge(this.defaults, {expand: false, limit: 100});
}
SqlServerBase.prototype = Object.create(new serverBase.ServerBase());
SqlServerBase.prototype = new serverBase.ServerBase();

@@ -36,3 +37,3 @@

var isExpand = this.getParameter(req.query, 'expand') === "true";
var isExpand = this.getParameter(req.query, 'expand', this.defaults.expand + '') === "true";

@@ -47,3 +48,3 @@ var queryString = isExpand ? queryInfo.queryStringExpanded : queryInfo.queryStringBasic;

var limit = this.getParameter(req.query, 'limit', "100");
var limit = this.getParameter(req.query, 'limit', this.defaults.limit);
queryString += " LIMIT " + limit;

@@ -50,0 +51,0 @@

{
"name": "volos-connectors-common",
"version": "0.0.6",
"version": "0.0.7",
"description": "Basic support library for Volos Connectors.",

@@ -5,0 +5,0 @@ "main": "lib/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