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

pull-cat

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-cat - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js

@@ -6,4 +6,6 @@ var pull = require('pull-stream')

ary.forEach(function (f) {
f(abort, next)
if(f) f(abort, next)
else next()
})
function next() {

@@ -10,0 +12,0 @@ if(--n) return

{
"name": "pull-cat",
"description": "concatenate pull-streams",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "https://github.com/dominictarr/pull-cat",

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

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

var cat = require('../')
var test = require('tape')
require('tape')('cat', function (t) {
test('cat', function (t) {

@@ -19,3 +20,3 @@ cat([pull.values([1,2,3]), pull.values([4,5,6])])

require('tape')('cat - with empty', function (t) {
test('cat - with empty', function (t) {

@@ -32,3 +33,3 @@ cat([pull.values([1,2,3]), null, pull.values([4,5,6])])

require('tape')('cat - with empty stream', function (t) {
test('cat - with empty stream', function (t) {
var ended = false

@@ -44,3 +45,17 @@ var justEnd = function (err, cb) { ended = true; cb(true) }

}))
})
test('abort - with empty', function (t) {
cat([pull.values([1,2,3]), null, pull.values([4,5,6])])
.pipe(function (read) {
read(true, function (err) {
t.equal(err, true)
t.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