Socket
Socket
Sign inDemoInstall

socket.io-parser

Package Overview
Dependencies
3
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

14

binary.js

@@ -129,3 +129,3 @@ /**

}
} else if (obj && 'object' == typeof obj) { // and object
} else if (obj && 'object' == typeof obj && !isBuf(obj)) { // and object
for (var key in obj) {

@@ -143,2 +143,12 @@ removeBlobsRecursive(obj[key], key, obj);

}
}
}
/**
* Returns true if obj is a buffer or an arraybuffer.
*
* @api private
*/
function isBuf(obj) {
return (global.Buffer && Buffer.isBuffer(obj)) ||
(global.ArrayBuffer && obj instanceof ArrayBuffer);
}
2.1.1 / 2014-03-04
==================
* removed has-binary-data dependency
* fixed the object check in binary.removeBlobs
2.1.0 / 2014-03-01

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

1

index.js

@@ -12,3 +12,2 @@

/**

@@ -15,0 +14,0 @@ * Protocol version.

{
"name": "socket.io-parser",
"version": "2.1.0",
"version": "2.1.1",
"description": "socket.io protocol parser",

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

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