New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

awesome-websocket

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-websocket - npm Package Compare versions

Comparing version 0.0.14 to 0.0.17

.idea/.name

1

index.js

@@ -0,2 +1,3 @@

require('coffee-script/register')
module.exports.ReconnectingWebSocket = require("./src/reconnecting-websocket.litcoffee");
module.exports.AwesomeWebSocket = require("./src/awesome-websocket.litcoffee");

13

package.json
{
"name": "awesome-websocket",
"version": "0.0.14",
"version": "0.0.17",
"description": "A WebSocket, with the extra awesome of client failover and autoreconnect",

@@ -33,2 +33,6 @@ "keywords": [

"url": "https://github.com/wballard"
},
{
"name": "Nick Swarr",
"url": "https://github.com/nswarr"
}

@@ -42,6 +46,7 @@ ],

"dependencies": {
"ws": "0.4.31",
"coffee-script": "^1.7.1",
"coffeeify": "0.6.0",
"lodash": "^2.4.1",
"simplog": "0.1.0",
"lodash": "^2.4.1",
"coffeeify": "0.6.0"
"ws": "0.4.31"
},

@@ -48,0 +53,0 @@ "browserify": {

@@ -43,4 +43,4 @@

```bash
git clone https://github.com/igroff/ws-additions.git
cd ws-additions/
git clone https://github.com/glg/awesome-websocket.git
cd awesome-websocket/
make watch

@@ -118,4 +118,4 @@ ```

npm install ws-additions
browserify -r ws-additions --outfile www/js/reconn.js
npm install awesome-websocket
browserify -r awesome-websocket -i ws -i coffee-script/register --outfile www/js/reconn.js
```

@@ -133,3 +133,3 @@

<script>
var ReconnectingWebSocket = require("ws-additions").ReconnectingWebSocket;
var ReconnectingWebSocket = require("awesome-websocket").ReconnectingWebSocket;
var ws = new ReconnectingWebSocket("ws://localhost:8080/socket");

@@ -151,3 +151,3 @@ // now ws will reconnect in the event that the server busts, the only problem

<script>
var AwesomeWebSocket = require("ws-additions").AwesomeWebSocket;
var AwesomeWebSocket = require("awesome-websocket").AwesomeWebSocket;
var testWs = new AwesomeWebSocket([

@@ -168,3 +168,3 @@ "ws://localhost:8085/socket",

<script>
var AwesomeWebSocket = require("ws-additions").AwesomeWebSocket;
var AwesomeWebSocket = require("awesome-websocket").AwesomeWebSocket;
var testWs = new AwesomeWebSocket("ws://localhost:8085/socket");

@@ -185,3 +185,3 @@ testWs.send("this message is AWESOME!");

<script>
var AwesomeWebSocket = require("ws-additions").AwesomeWebSocket;
var AwesomeWebSocket = require("awesome-websocket").AwesomeWebSocket;
var ws = new AwesomeWebSocket("ws://localhost:8080/socket")

@@ -188,0 +188,0 @@ ws.onopen = function() {

@@ -21,3 +21,3 @@ {

"errorhandler": "1.1.1",
"browserify": "4.2.0",
"browserify": "5.9.1",
"serve-static": "1.3.0",

@@ -24,0 +24,0 @@ "coffeeify": "^0.6.0",

function SocketServerController(port){
this.port = port;
this.servers = {};
var ReconnectingWebSocket = require("ws-additions").ReconnectingWebSocket;
var ws = new ReconnectingWebSocket("ws://localhost:" + this.port + "/socket");

@@ -6,0 +5,0 @@ this.connected = Q.defer();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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