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

socket.io-parser

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket.io-parser - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

3

component.json

@@ -6,3 +6,4 @@ {

"dependencies": {
"component/json": "*"
"component/json": "*",
"visionmedia/debug": "*"
},

@@ -9,0 +10,0 @@ "scripts": [

1.1.0 / 2013-12-25
==================
* index: use `json3`
1.0.3 / 2012-12-18
==================
* index: added instrumentation through `debug`
* index: make sure decoded `id` is a `Number`
1.0.2 / 2012-12-18

@@ -3,0 +14,0 @@ ==================

@@ -6,10 +6,5 @@

var json;
var debug = require('debug')('socket.io-parser');
var json = require('json3');
try {
json = require('json');
} catch(e){
json = JSON;
}
/**

@@ -114,2 +109,3 @@ * Protocol version.

debug('encoded %j as %s', obj, str);
return str;

@@ -160,2 +156,3 @@ };

}
p.id = Number(p.id);
}

@@ -172,2 +169,3 @@

debug('decoded %s as %j', str, p);
return p;

@@ -174,0 +172,0 @@ };

{
"name": "socket.io-parser",
"version": "1.0.2",
"version": "1.1.0",
"description": "socket.io protocol parser",
"repository":{
"type": "git",
"url": "https://github.com/LearnBoost/socket.io-protocol.git"
},
"dependencies": {
"debug": "0.6.0",
"json3": "3.2.6"
},
"devDependencies": {
"mocha": "*",
"expect.js": "*"
"mocha": "1.16.2",
"expect.js": "0.2.0"
},

@@ -9,0 +17,0 @@ "component": {

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