socket.io
Advanced tools
Comparing version 1.2.1 to 1.3.0
1.3.0 / 2015-01-19 | ||
================== | ||
* package: bump `engine.io` | ||
* add test for reconnection after server restarts [rase-] | ||
* update license with up-to-date year range [fay-jai] | ||
* fix leaving unknown rooms [defunctzombie] | ||
* allow null origins when allowed origins is a function [drewblaisdell] | ||
* fix tests on node 0.11 | ||
* package: fix `npm test` to run on windows | ||
* package: bump `debug` v2.1.0 [coderaiser] | ||
* added tests for volatile [rase-] | ||
1.2.1 / 2014-11-21 | ||
@@ -3,0 +16,0 @@ ================== |
@@ -65,3 +65,3 @@ | ||
// file:// URLs produce a null Origin which can't be authorized via echo-back | ||
if ('null' == origin) origin = '*'; | ||
if ('null' == origin || null == origin) origin = '*'; | ||
@@ -198,3 +198,3 @@ if (!!origin && typeof(this._origins) == 'function') return this._origins(origin, fn); | ||
if ('function' == typeof srv) { | ||
var msg = 'You are trying to attach socket.io to an express' + | ||
var msg = 'You are trying to attach socket.io to an express ' + | ||
'request handler function. Please pass a http.Server instance.'; | ||
@@ -201,0 +201,0 @@ throw new Error(msg); |
@@ -245,3 +245,6 @@ | ||
debug('left room %s', room); | ||
self.rooms.splice(self.rooms.indexOf(room), 1); | ||
var idx = self.rooms.indexOf(room); | ||
if (idx >= 0) { | ||
self.rooms.splice(idx, 1); | ||
} | ||
fn && fn(null); | ||
@@ -248,0 +251,0 @@ }); |
{ | ||
"name": "socket.io", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "node.js realtime framework server", | ||
@@ -19,11 +19,11 @@ "keywords": [ | ||
"scripts": { | ||
"test": "make test" | ||
"test": "mocha --reporter dot --slow 200ms --bail" | ||
}, | ||
"dependencies": { | ||
"engine.io": "1.4.3", | ||
"engine.io": "1.5.0", | ||
"socket.io-parser": "2.2.2", | ||
"socket.io-client": "1.2.1", | ||
"socket.io-client": "1.3.0", | ||
"socket.io-adapter": "0.3.1", | ||
"has-binary-data": "0.1.3", | ||
"debug": "0.7.4" | ||
"debug": "2.1.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
@@ -5,4 +5,4 @@ | ||
[![Build Status](https://secure.travis-ci.org/Automattic/socket.io.svg)](http://travis-ci.org/Automattic/socket.io) | ||
[![NPM version](https://badge.fury.io/js/socket.io.svg)](http://badge.fury.io/js/socket.io) | ||
![Downloads](http://img.shields.io/npm/dm/socket.io.svg) | ||
![NPM version](https://badge.fury.io/js/socket.io.svg) | ||
![Downloads](http://img.shields.io/npm/dm/socket.io.svg?style=flat) | ||
@@ -278,3 +278,3 @@ ## How to use | ||
A reference to the underyling `Client` transport connection (engine.io | ||
A reference to the underlying `Client` transport connection (engine.io | ||
`Socket` object). | ||
@@ -281,0 +281,0 @@ |
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
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
55474
1110
+ Addedbacko2@1.0.2(transitive)
+ Addeddebug@2.1.0(transitive)
+ Addedengine.io@1.5.0(transitive)
+ Addedengine.io-client@1.5.0(transitive)
+ Addedengine.io-parser@1.2.1(transitive)
+ Addedsocket.io-client@1.3.0(transitive)
- Removedengine.io@1.4.3(transitive)
- Removedengine.io-client@1.4.3(transitive)
- Removedengine.io-parser@1.1.0(transitive)
- Removedsocket.io-client@1.2.1(transitive)
Updateddebug@2.1.0
Updatedengine.io@1.5.0
Updatedsocket.io-client@1.3.0