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

pull-stream-to-stream

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pull-stream-to-stream - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

5

index.js

@@ -20,4 +20,5 @@

s.end = function () {
ended = true
if(cbs.length)
if(read)
read(ended = true, cbs.length ? cbs.shift() : function () {})
else if(cbs.length)
cbs.shift()(true)

@@ -24,0 +25,0 @@ }

2

package.json
{
"name": "pull-stream-to-stream",
"description": "",
"version": "1.2.3",
"version": "1.2.4",
"homepage": "https://github.com/dominictarr/pull-stream-to-stream",

@@ -6,0 +6,0 @@ "repository": {

@@ -22,1 +22,17 @@

})
require('tape')('test end', function (t) {
t.plan(10)
var i = 10
var cs = CS(null, pull.infinite().pipe(pull.through(null, function () {
console.log('ENDED')
t.end()
})))
.on('data', function (data) {
t.ok(data)
if(!--i) cs.end()
})
})
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