engine.io-parser
Advanced tools
+6
-0
| 1.0.7 / 2014-06-24 | ||
| ================== | ||
| * fix decodePayloadAsBinary memory leak [christophwitzko] | ||
| * README improvements | ||
| 1.0.6 / 2014-05-30 | ||
@@ -3,0 +9,0 @@ ================== |
+7
-0
@@ -431,6 +431,13 @@ /** | ||
| var isString = bufferTail[0] === 0; | ||
| var numberTooLong = false; | ||
| for (var i = 1; ; i++) { | ||
| if (bufferTail[i] == 255) break; | ||
| // 310 = char length of Number.MAX_VALUE | ||
| if (strLen.length > 310) { | ||
| numberTooLong = true; | ||
| break; | ||
| } | ||
| strLen += '' + bufferTail[i]; | ||
| } | ||
| if(numberTooLong) return callback(err, 0, 1); | ||
| bufferTail = bufferTail.slice(strLen.length + 1); | ||
@@ -437,0 +444,0 @@ |
+1
-1
| { | ||
| "name": "engine.io-parser", | ||
| "description": "Parser for the client for the realtime Engine", | ||
| "version": "1.0.6", | ||
| "version": "1.0.7", | ||
| "homepage": "https://github.com/LearnBoost/engine.io-protocol", | ||
@@ -6,0 +6,0 @@ "devDependencies": { |
+5
-5
| # engine.io-parser | ||
| [](http://travis-ci.org/LearnBoost/engine.io-parser) | ||
| [](http://badge.fury.io/js/engine.io-parser) | ||
| [](http://travis-ci.org/Automattic/engine.io-parser) | ||
| [](http://badge.fury.io/js/engine.io-parser) | ||
| This is the JavaScript parser for the engine.io protocol encoding, | ||
| shared by both | ||
| [engine.io-client](https://github.com/LearnBoost/engine.io-client) and | ||
| [engine.io-server](https://github.com/LearnBoost/engine.io-server). | ||
| [engine.io-client](https://github.com/Automattic/engine.io-client) and | ||
| [engine.io](https://github.com/Automattic/engine.io). | ||
| ## License | ||
| MIT | ||
| MIT |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
28853
1.13%846
0.83%15
7.14%