🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

to
2.2.4

bg.gif
2.2.4 / 2015-03-03
==================
* index: fix off-by-one bound checks
2.2.3 / 2015-02-03

@@ -3,0 +8,0 @@ ==================

6

index.js

@@ -287,3 +287,3 @@

buf += str.charAt(i);
if (i + 1 == str.length) break;
if (i == str.length) break;
}

@@ -303,3 +303,3 @@ if (buf != Number(buf) || str.charAt(i) != '-') {

p.nsp += c;
if (i + 1 == str.length) break;
if (i == str.length) break;
}

@@ -321,3 +321,3 @@ } else {

p.id += str.charAt(i);
if (i + 1 == str.length) break;
if (i == str.length) break;
}

@@ -324,0 +324,0 @@ p.id = Number(p.id);

{
"name": "socket.io-parser",
"version": "2.2.3",
"version": "2.2.4",
"description": "socket.io protocol parser",

@@ -5,0 +5,0 @@ "repository": {