Socket
Socket
Sign inDemoInstall

stream-browserify

Package Overview
Dependencies
2
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "stream-browserify",
"version": "0.1.2",
"version": "0.1.3",
"description": "the stream module from node core for browsers",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,3 @@ var path = require('path');

if (typeof Uint8array !== 'undefined') {
if (typeof Uint8Array !== 'undefined') {
test('.writable writing ArrayBuffer', function(t) {

@@ -31,0 +31,0 @@ var writable = new TestWritable();

@@ -183,3 +183,3 @@ // Copyright Joyent, Inc. and other Node contributors.

if (isUint8Array(chunk))
if (!Buffer.isBuffer(chunk) && isUint8Array(chunk))
chunk = new Buffer(chunk);

@@ -186,0 +186,0 @@ if (isArrayBuffer(chunk) && typeof Uint8Array !== 'undefined')

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