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.3.0 to 1.3.1

.idea/.name

12

lib/base.js

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

}
}, 5000);
}, 5000).unref();
};

@@ -130,2 +130,3 @@

this._closeExtensions();
this._cleanupTimers();
});

@@ -137,2 +138,3 @@

this._closeExtensions();
this._cleanupTimers();
this.emit('error', err);

@@ -325,2 +327,3 @@ });

if (state == WS13.State.Closing || state == WS13.State.ClosingError) {
this._cleanupTimers();
this._closeExtensions(() => {

@@ -341,2 +344,3 @@ this._socket.end();

this._sendControl(WS13.FrameType.Control.Close, payload.flip().toBuffer());
this._cleanupTimers();
this._closeExtensions(() => {

@@ -642,2 +646,3 @@ this._socket.end();

this._closeExtensions();
this._cleanupTimers();

@@ -661,2 +666,7 @@ if (this._socket) {

WebSocketBase.prototype._cleanupTimers = function() {
clearTimeout(this._pingTimeout);
clearTimeout(this._pingTimer);
};
WebSocketBase.prototype._closeExtensions = function(callback) {

@@ -663,0 +673,0 @@ callback = callback || function() { };

2

package.json
{
"name": "websocket13",
"version": "1.3.0",
"version": "1.3.1",
"description": "Simple WebSocket protocol 13 client with no native or heavy dependencies",

@@ -5,0 +5,0 @@ "author": "Alexander Corn <mckay@doctormckay.com>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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