socket.io-parser
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,3 +6,3 @@ { | ||
"dependencies": { | ||
"component/json": "0.0.1" | ||
"component/json": "*" | ||
}, | ||
@@ -9,0 +9,0 @@ "scripts": [ |
@@ -99,3 +99,3 @@ | ||
// immediately followed by the id | ||
if (obj.id) { | ||
if (null != obj.id) { | ||
if (nsp) { | ||
@@ -109,3 +109,3 @@ str += ','; | ||
// json data | ||
if (obj.data) { | ||
if (null != obj.data) { | ||
if (nsp) str += ','; | ||
@@ -112,0 +112,0 @@ str += json.stringify(obj.data); |
{ | ||
"name": "socket.io-parser", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "socket.io protocol parser", | ||
@@ -10,5 +10,2 @@ "devDependencies": { | ||
"component": { | ||
"dependencies": { | ||
"component/json": "0.0.1" | ||
}, | ||
"scripts": [ | ||
@@ -15,0 +12,0 @@ "index.js" |
7516
9