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

stream-read

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-read - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

Makefile

9

index.js

@@ -72,3 +72,12 @@ var dz = require('dezalgo');

function check() {
var errored = false;
var _onerror;
stream.on('error', _onerror = function(err){
errored = true;
stream.removeListener('error', _onerror);
cb(err);
});
var buf = stream.read();
if (errored) return;
if (buf) cb(null, buf);

@@ -75,0 +84,0 @@ else listen();

8

package.json
{
"name": "stream-read",
"description": "Read from a stream, callback style",
"version": "1.1.0",
"version": "1.1.1",
"repository": "micnews/stream-read",
"license": "MIT",
"devDependencies": {
"tape": "^3.0.0"
"tape": "^3.0.0",
"through": "~2.3.4"
},
"dependencies": {
"dezalgo": "^1.0.1"
},
"scripts": {
"test": "make test"
}
}
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