Socket
Socket
Sign inDemoInstall

pumpify

Package Overview
Dependencies
14
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.5 to 1.3.6

12

package.json
{
"name": "pumpify",
"version": "1.3.5",
"version": "1.3.6",
"description": "Combine an array of streams into a single duplex stream using pump and duplexify",
"main": "index.js",
"dependencies": {
"duplexify": "^3.1.2",
"inherits": "^2.0.1",
"pump": "^1.0.0"
"duplexify": "^3.5.3",
"inherits": "^2.0.3",
"pump": "^2.0.0"
},
"devDependencies": {
"tape": "^2.13.3",
"through2": "^0.5.1"
"tape": "^4.8.0",
"through2": "^2.0.3"
},

@@ -15,0 +15,0 @@ "scripts": {

@@ -163,2 +163,20 @@ var tape = require('tape')

}, 100)
})
})
tape('preserves error', function (t) {
var a = through()
var b = through(function (data, enc, cb) {
cb(new Error('stop'))
})
var c = through()
var s = pumpify()
s.on('error', function (err) {
t.same(err.message, 'stop')
t.end()
})
s.setPipeline(a, b, c)
s.resume()
s.write('hi')
})
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc