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

socket.io-client

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket.io-client - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

6

History.md
1.0.6 / 2014-06-19
==================
* test fixes on internet explorer
* fixes for duplicate event propagation from manager instance [Rase-]
1.0.5 / 2014-06-16

@@ -3,0 +9,0 @@ ==================

2

lib/manager.js

@@ -422,3 +422,3 @@

debug('attempting reconnect');
self.emitAll('reconnect_attempt');
self.emitAll('reconnect_attempt', self.attempts);
self.emitAll('reconnecting', self.attempts);

@@ -425,0 +425,0 @@ self.open(function(err){

@@ -64,2 +64,3 @@

this.disconnected = true;
this.subEvents();
}

@@ -74,3 +75,3 @@

/**
* Called upon engine `open`.
* Subscribe to open, close and packet events
*

@@ -80,7 +81,4 @@ * @api private

Socket.prototype.open =
Socket.prototype.connect = function(){
if (this.connected) return this;
Socket.prototype.subEvents = function() {
var io = this.io;
io.open(); // ensure open
this.subs = [

@@ -91,2 +89,15 @@ on(io, 'open', bind(this, 'onopen')),

];
};
/**
* Called upon engine `open`.
*
* @api private
*/
Socket.prototype.open =
Socket.prototype.connect = function(){
if (this.connected) return this;
this.io.open(); // ensure open
if ('open' == this.io.readyState) this.onopen();

@@ -93,0 +104,0 @@ return this;

{
"name": "socket.io-client",
"version": "1.0.5",
"version": "1.0.6",
"keywords": [

@@ -14,3 +14,3 @@ "realtime",

"debug": "0.7.4",
"engine.io-client": "1.3.0",
"engine.io-client": "1.3.1",
"component-bind": "1.0.0",

@@ -27,3 +27,3 @@ "component-emitter": "1.1.2",

"devDependencies": {
"socket.io": "1.0.5",
"socket.io": "1.0.6",
"mocha": "1.16.2",

@@ -30,0 +30,0 @@ "zuul": "1.6.3",

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

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