stream-browserify
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"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') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55880