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

websocket13

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websocket13 - npm Package Compare versions

Comparing version 1.7.3 to 1.7.4

lib/proxy-agent.js

4

lib/client.js

@@ -9,3 +9,3 @@ var WS13 = require('./index.js');

var Crypto = require('crypto');
var StdLib = require('@doctormckay/stdlib');
var ProxyAgent = require('./proxy-agent.js');

@@ -106,3 +106,3 @@ const WEBSOCKET_VERSION = 13;

this._connectOptions.headers = this.headers;
this._connectOptions.agent = StdLib.HTTP.getProxyAgent(this.secure, this.options.httpProxy, this.options.proxyTimeout);
this._connectOptions.agent = ProxyAgent.getAgent(this.secure, this.options.httpProxy, this.options.proxyTimeout);
if (this.secure && this.headers.host) {

@@ -109,0 +109,0 @@ this._connectOptions.servername = this.headers.host.split(':')[0];

{
"name": "websocket13",
"version": "1.7.3",
"version": "1.7.4",
"description": "Simple WebSocket protocol 13 client with no native or heavy dependencies",

@@ -28,3 +28,2 @@ "author": "Alex Corn <mckay@doctormckay.com>",

"dependencies": {
"@doctormckay/stdlib": "^1.1.0",
"bytebuffer": "^5.0.1",

@@ -31,0 +30,0 @@ "permessage-deflate": "^0.1.6",

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