Comparing version 3.3.3 to 4.0.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101304
2665
344
15
4