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

engine.io-parser

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

engine.io-parser - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

6

History.md
1.2.1 / 2015-01-17
==================
* pass has-binary result to encodePacket [rase-]
* Fix parse error [rase-]
1.2.0 / 2015-01-11

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

8

lib/browser.js

@@ -106,3 +106,3 @@ /**

// might be an object with { base64: true, data: dataAsBase64String }
// might be an object with { base64: true, data: dataAsBase64String }
if (data && data.base64) {

@@ -301,3 +301,5 @@ return encodeBase64Object(packet, callback);

if (supportsBinary && hasBinary(packets)) {
var isBinary = hasBinary(packets);
if (supportsBinary && isBinary) {
if (Blob && !dontSendBlobs) {

@@ -319,3 +321,3 @@ return exports.encodePayloadAsBlob(packets, callback);

function encodeOne(packet, doneCallback) {
exports.encodePacket(packet, supportsBinary, true, function(message) {
exports.encodePacket(packet, !isBinary ? false : supportsBinary, true, function(message) {
doneCallback(null, setLengthHeader(message));

@@ -322,0 +324,0 @@ });

@@ -6,3 +6,2 @@ /**

var utf8 = require('utf8');
var hasBinary = require('has-binary');
var after = require('after');

@@ -231,3 +230,3 @@ var keys = require('./keys');

if (supportsBinary && hasBinary(packets)) {
if (supportsBinary) {
return exports.encodePayloadAsBinary(packets, callback);

@@ -234,0 +233,0 @@ }

{
"name": "engine.io-parser",
"description": "Parser for the client for the realtime Engine",
"version": "1.2.0",
"version": "1.2.1",
"homepage": "https://github.com/LearnBoost/engine.io-protocol",

@@ -6,0 +6,0 @@ "devDependencies": {

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