New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grex

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grex - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

test/client.js

2

package.json
{
"name": "grex",
"description": "Client for Rexster Graph Server",
"version": "0.5.0",
"version": "0.5.1",
"keywords": [

@@ -6,0 +6,0 @@ "database",

@@ -15,10 +15,12 @@ var http = require('http');

var defaultOptions = {
'host': 'localhost',
'port': 8182,
'graph': 'tinkergraph',
'idRegex': false // OrientDB id regex -> /^[0-9]+:[0-9]+$/
};
module.exports = (function(){
function Grex(options) {
this.options = _.defaults(options || {
'host': 'localhost',
'port': 8182,
'graph': 'tinkergraph',
'idRegex': false // OrientDB id regex -> /^[0-9]+:[0-9]+$/
});
this.options = _.defaults(options, defaultOptions);

@@ -36,2 +38,7 @@ this.resultFormatter = new ResultFormatter();

options = undefined;
} else if (typeof options === 'object') {
this.options = _.defaults(options, this.options);
} else {
// Set options to previously setup options or switch back to the defaults
this.options = this.options || defaultOptions;
}

@@ -38,0 +45,0 @@

@@ -16,3 +16,3 @@ var Gremlin = require('./gremlin');

*/
Pipeline.prototype.get = function(callback) {
Pipeline.prototype.exec = function(callback) {
return this.gremlin.exec(callback);

@@ -19,0 +19,0 @@ };

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