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

test-agent

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-agent - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

3

HISTORY.md

@@ -0,1 +1,4 @@

# 0.5.3
- Moved Websocket lookups into the constructor of WebsocketClient
# 0.5.2

@@ -2,0 +5,0 @@ - export-error can now handle strings correctly for

9

lib/test-agent/websocket-client.js

@@ -6,3 +6,2 @@ //depends on TestAgent.Responder

var isNode = typeof(window) === 'undefined',
Native,
Responder;

@@ -15,6 +14,4 @@

Native = (Native || WebSocket || MozWebSocket);
Responder = TestAgent.Responder;
} else {
Native = require('ws');
Responder = require('./responder');

@@ -53,2 +50,7 @@ }

if (isNode) {
this.Native = require('ws');
} else {
this.Native = (Native || WebSocket || MozWebSocket);
}

@@ -70,3 +72,2 @@ this.on('open', this._setConnectionStatus.bind(this, true));

Client.prototype = Object.create(Responder.prototype);
Client.prototype.Native = Native;

@@ -73,0 +74,0 @@ /**

{
"name": "test-agent",
"version": "0.5.2",
"version": "0.5.3",
"author": "James Lal",

@@ -5,0 +5,0 @@ "description": "execute client side tests from browser report back to cli",

Sorry, the diff of this file is too big to display

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