Socket
Socket
Sign inDemoInstall

stream-to-it

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-to-it - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

4

package.json
{
"name": "stream-to-it",
"version": "0.2.3",
"version": "0.2.4",
"description": "Convert Node.js streams to streaming iterables",

@@ -37,3 +37,3 @@ "main": "index.js",

"standard": "^16.0.3",
"streaming-iterables": "^5.0.2"
"streaming-iterables": "^6.0.0"
},

@@ -40,0 +40,0 @@ "directories": {

@@ -8,4 +8,7 @@ const toDuplex = require('./duplex')

// rejections and yield from the source.
duplex.sink(source).catch(_ => {})
let sinkError
duplex.sink(source).catch(err => { sinkError = err })
yield * duplex.source
if (sinkError) throw sinkError
}
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