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

bufferedstream

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bufferedstream - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

4

CHANGES.md

@@ -0,1 +1,5 @@

= 3.0.8 / 2015-01-13
* Update bodec to 1.0.0
= 3.0.5 / 2014-12-22

@@ -2,0 +6,0 @@

13

modules/BufferedStream.js

@@ -18,8 +18,8 @@ /* jshint -W084 */

var BaseClass, async;
if (typeof window === 'undefined') {
if (typeof window === 'object') {
BaseClass = EventEmitter;
async = window.setTimeout;
} else {
BaseClass = require('stream').Stream;
async = process.nextTick;
} else {
BaseClass = EventEmitter;
async = window.setTimeout;
}

@@ -294,5 +294,8 @@

if (!isBinary(chunk))
if (typeof chunk === 'string')
chunk = binaryFrom(chunk, arguments[1]);
if (!isBinary(chunk))
throw new Error('BufferedStream only accepts binary data');
this._chunks.push(chunk);

@@ -299,0 +302,0 @@ this.size += chunk.length;

@@ -5,3 +5,3 @@ {

"author": "Michael Jackson",
"version": "3.0.7",
"version": "3.0.8",
"repository": {

@@ -21,3 +21,3 @@ "type": "git",

"dependencies": {
"bodec": "git://github.com/mjackson/bodec#browser",
"bodec": "^1.0.0",
"describe-property": "^1.0.0",

@@ -24,0 +24,0 @@ "events": "~1.0.1"

@@ -46,3 +46,3 @@ [![npm package](https://img.shields.io/npm/v/bufferedstream.svg?style=flat-square)](https://www.npmjs.org/package/bufferedstream)

Or, include `dist/BufferedStream.min.js` in a `<script>` tag:
Or, include [`dist/BufferedStream.min.js`](https://github.com/mjackson/bufferedstream/blob/master/dist/BufferedStream.min.js) in a `<script>` tag:

@@ -49,0 +49,0 @@ ```html

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