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 1.5.1 to 1.6.0

8

buffered-stream.js
var util = require('util');
var Stream = require('stream');
// Use node 0.10's setImmediate for asynchronous operations, otherwise for
// older versions of node use process.nextTick.
var async = (typeof setImmediate === 'function') ? setImmediate : process.nextTick;
module.exports = BufferedStream;

@@ -142,3 +146,3 @@

process.nextTick(function tick() {
async(function tick() {
if (stream.paused) {

@@ -154,3 +158,3 @@ stream._flushing = false;

} else {
process.nextTick(tick);
async(tick);
}

@@ -157,0 +161,0 @@ });

{
"author": "Michael Jackson <mjijackson@gmail.com>",
"name": "bufferedstream",
"description": "A base stream class for node that reliably buffers until next tick",
"version": "1.5.1",
"description": "A stream class for node that reliably buffers until next tick",
"version": "1.6.0",
"repository": {

@@ -7,0 +7,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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