Socket
Socket
Sign inDemoInstall

pipe-io

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pipe-io - npm Package Compare versions

Comparing version 1.1.26 to 1.1.27

5

lib/pipe.js

@@ -34,2 +34,5 @@ (function () {

isFsRead = read instanceof fs.ReadStream,
isFsWrite = write instanceof fs.WriteStream,
rm = function(event, stream, fn) {

@@ -96,3 +99,3 @@ stream.removeListener(event, fn);

onEnd();
} else if (end || finish) {
} else if ((end && !isFsWrite) || (write && !isFsRead) || (write && end)) {
rm('error', read, onReadError);

@@ -99,0 +102,0 @@ rm('error', write, onWriteError);

2

package.json
{
"name": "pipe-io",
"version": "1.1.26",
"version": "1.1.27",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -5,0 +5,0 @@ "description": "Pipe streams and handle events",

Sorry, the diff of this file is not supported yet

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