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

ws

Package Overview
Dependencies
Maintainers
4
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ws - npm Package Compare versions

Comparing version 3.3.3 to 4.0.0

lib/buffer-util.js

8

index.js

@@ -9,8 +9,8 @@ /*!

const WebSocket = require('./lib/WebSocket');
const WebSocket = require('./lib/websocket');
WebSocket.Server = require('./lib/WebSocketServer');
WebSocket.Receiver = require('./lib/Receiver');
WebSocket.Sender = require('./lib/Sender');
WebSocket.Server = require('./lib/websocket-server');
WebSocket.Receiver = require('./lib/receiver');
WebSocket.Sender = require('./lib/sender');
module.exports = WebSocket;
{
"name": "ws",
"version": "3.3.3",
"version": "4.0.0",
"description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",

@@ -36,3 +36,3 @@ "keywords": [

"bufferutil": "~3.0.0",
"eslint": "~4.13.0",
"eslint": "~4.14.0",
"eslint-config-standard": "~10.2.0",

@@ -43,6 +43,6 @@ "eslint-plugin-import": "~2.8.0",

"eslint-plugin-standard": "~3.0.0",
"mocha": "~4.0.0",
"nyc": "~11.3.0",
"mocha": "~4.1.0",
"nyc": "~11.4.1",
"utf-8-validate": "~4.0.0"
}
}

@@ -301,2 +301,4 @@ # ws: a Node.js WebSocket library

function noop() {}
function heartbeat() {

@@ -316,3 +318,3 @@ this.isAlive = true;

ws.isAlive = false;
ws.ping('', false, true);
ws.ping(noop);
});

@@ -319,0 +321,0 @@ }, 30000);

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