Socket
Socket
Sign inDemoInstall

websocket-stream

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websocket-stream - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

collaborators.md

7

index.js

@@ -30,3 +30,4 @@ var through = require('through')

}
this.stream.destroy = this.destroy.bind(this)
return this.stream

@@ -38,2 +39,6 @@ }

WebsocketStream.prototype.destroy = function() {
this.ws.close()
}
WebsocketStream.prototype.onMessage = function(e) {

@@ -40,0 +45,0 @@ var data = e

2

package.json
{
"name": "websocket-stream",
"version": "0.5.1",
"version": "0.6.0",
"description": "websockets with the node stream api. works in browser and node",

@@ -5,0 +5,0 @@ "scripts": {

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