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

stream-to

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-to - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

8

index.js

@@ -21,6 +21,4 @@ exports.array = toArray

function onEnd(err) {
process.nextTick(function () {
done(err, arr)
cleanup()
})
done(err, arr)
cleanup()
}

@@ -39,3 +37,3 @@

toArray(stream, function (err, arr) {
done(err, !err && Buffer.concat(arr))
done(err, arr && Buffer.concat(arr))
})

@@ -42,0 +40,0 @@

{
"name": "stream-to",
"description": "Concatenate a readable stream's data into either a single buffer, string, or array.",
"version": "0.3.0",
"version": "0.3.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Jonathan Ong",

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