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

multipipe

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multipipe - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

7

index.js

@@ -30,5 +30,2 @@ /**

if (Array.isArray(streams[0])) {
streams = streams[0]
}
if (typeof streams[streams.length - 1] === 'function') {

@@ -39,2 +36,3 @@ cb = streams.pop()

typeof streams[streams.length - 1] === 'object' &&
!Array.isArray(streams[streams.length - 1]) &&
typeof streams[streams.length - 1].pipe !== 'function'

@@ -44,2 +42,5 @@ ) {

}
if (Array.isArray(streams[0])) {
streams = streams[0]
}

@@ -46,0 +47,0 @@ const first = streams[0]

{
"name": "multipipe",
"version": "3.0.0",
"version": "3.0.1",
"description": "pipe streams with centralized error handling",

@@ -5,0 +5,0 @@ "license": "MIT",

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