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

marionette-client

Package Overview
Dependencies
Maintainers
11
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marionette-client - npm Package Compare versions

Comparing version 1.5.8 to 1.6.0-alpha.1

12

lib/marionette/drivers/tcp-sync.js

@@ -56,4 +56,5 @@ var wire = require('json-wire-protocol');

options = options || {};
var interval = options.interval || 1000;
var timeout = options.timeout || 10000;
var interval = options.interval || 0;
var timeout = options.timeout || 30000;
var socketTimeout = 1000;

@@ -66,3 +67,4 @@ var sockit = new sockittome.Sockit();

// to avoid socket misuse.
sockit.setPollTimeout(interval);
sockit.setPollTimeout(socketTimeout);
var socketConfig = { host: this.host, port: this.port };

@@ -72,3 +74,3 @@ function probeSocket() {

debug('probing socket');
sockit.connect({ host: this.host, port: this.port });
sockit.connect(socketConfig);

@@ -84,2 +86,4 @@ var s = sockit.read(16).toString();

debug('exception when probing socket', e.message);
// Above read _may_ fail so it is important to close the socket...
sockit.close();
}

@@ -86,0 +90,0 @@ // timeout. Abort.

{
"name": "marionette-client",
"version": "1.5.8",
"version": "1.6.0-alpha.1",
"main": "lib/marionette/index",

@@ -11,3 +11,3 @@ "description": "Marionette Javascript Client",

"socket-retry-connect": "~0.0.1",
"sockit-to-me": "0.2.3"
"sockit-to-me": "0.2.4"
},

@@ -14,0 +14,0 @@ "scripts": {

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