Socket
Socket
Sign inDemoInstall

socket.io-parser

Package Overview
Dependencies
4
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.2 to 3.0.0

6

History.md
3.0.0 / 2017-04-04
==================
* [chore] Bump isarray to version 2.0.1 (#65)
* [chore] Use native JSON and drop support for older nodejs versions (#64)
2.3.2 / 2016-12-30

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

5

index.js

@@ -7,3 +7,2 @@

var debug = require('debug')('socket.io-parser');
var json = require('json3');
var Emitter = require('component-emitter');

@@ -170,3 +169,3 @@ var binary = require('./binary');

if (null != obj.data) {
str += json.stringify(obj.data);
str += JSON.stringify(obj.data);
}

@@ -328,3 +327,3 @@

try {
p.data = json.parse(str);
p.data = JSON.parse(str);
} catch(e){

@@ -331,0 +330,0 @@ return error();

{
"name": "socket.io-parser",
"version": "2.3.2",
"version": "3.0.0",
"description": "socket.io protocol parser",

@@ -16,5 +16,4 @@ "repository": {

"debug": "2.3.3",
"json3": "3.3.2",
"component-emitter": "1.2.1",
"isarray": "0.0.1"
"isarray": "2.0.1"
},

@@ -21,0 +20,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc