socket.io-client
Advanced tools
Comparing version 1.2.0 to 1.2.1
1.2.1 / 2014-11-21 | ||
================== | ||
* package: bump `engine.io-client` | ||
* README: fixes to prevent duplicate events [nkzawa] | ||
* fix reconnection after reconnecting manually [nkzawa] | ||
* make ACK callbacks idempotent [thexeos] | ||
* package: bump `uglify-js` | ||
1.2.0 / 2014-10-27 | ||
@@ -3,0 +12,0 @@ ================== |
{ | ||
"name": "socket.io-client", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"keywords": [ | ||
@@ -14,3 +14,3 @@ "realtime", | ||
"debug": "0.7.4", | ||
"engine.io-client": "1.4.2", | ||
"engine.io-client": "1.4.3", | ||
"component-bind": "1.0.0", | ||
@@ -27,3 +27,3 @@ "component-emitter": "1.1.2", | ||
"devDependencies": { | ||
"socket.io": "1.2.0", | ||
"socket.io": "1.2.1", | ||
"mocha": "1.16.2", | ||
@@ -33,3 +33,3 @@ "zuul": "1.10.2", | ||
"expect.js": "0.2.0", | ||
"uglify-js": "2.4.8", | ||
"uglify-js": "2.4.15", | ||
"browserify": "4.2.1", | ||
@@ -36,0 +36,0 @@ "base64-arraybuffer": "0.1.0", |
@@ -18,6 +18,5 @@ | ||
var socket = io('http://localhost'); | ||
socket.on('connect', function(){ | ||
socket.on('event', function(data){}); | ||
socket.on('disconnect', function(){}); | ||
}); | ||
socket.on('connect', function(){}); | ||
socket.on('event', function(data){}); | ||
socket.on('disconnect', function(){}); | ||
</script> | ||
@@ -34,6 +33,5 @@ ``` | ||
var socket = require('socket.io-client')('http://localhost'); | ||
socket.on('connect', function(){ | ||
socket.on('event', function(data){}); | ||
socket.on('disconnect', function(){}); | ||
}); | ||
socket.on('connect', function(){}); | ||
socket.on('event', function(data){}); | ||
socket.on('disconnect', function(){}); | ||
``` | ||
@@ -149,3 +147,3 @@ | ||
- `connect`. Fired upon connecting. | ||
- `connect`. Fired upon a connection including a successful reconnection. | ||
- `error`. Fired upon a connection error | ||
@@ -169,2 +167,2 @@ Parameters: | ||
MIT | ||
[MIT](/LICENSE) |
Sorry, the diff of this file is too big to display
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
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
205970
6536
11
165
+ Addeddebug@1.0.4(transitive)
+ Addedengine.io-client@1.4.3(transitive)
+ Addedms@0.6.2(transitive)
- Removedengine.io-client@1.4.2(transitive)
Updatedengine.io-client@1.4.3