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 3.0.2 to 3.0.3

15

lib/pipe.js
'use strict';
const fs = require('fs');
const zlib = require('zlib');

@@ -31,10 +32,7 @@ const assert = require('assert');

const write = streams.pop();
const isGunzip = allStreams.some((write) => {
return write instanceof zlib.Gunzip
});
const isGunzip = allStreams.some((write) => write instanceof zlib.Gunzip);
const isGzip = allStreams.some((write) => write instanceof zlib.Gzip);
const isFsWriteStream = allStreams.some((write) => write instanceof fs.WriteStream);
const isGzip = allStreams.some((write) => {
return write instanceof zlib.Gzip
});
const rm = (event, stream, fn) => {

@@ -116,2 +114,5 @@ stream.removeListener(event, fn);

if (readError && !isFsWriteStream)
return onEnd();
if (bothFinish || justEnd)

@@ -118,0 +119,0 @@ return onEnd();

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

@@ -35,2 +35,3 @@ "description": "Pipe streams and handle events",

"eslint-plugin-node": "^6.0.1",
"gunzip-maybe": "^1.4.1",
"nodemon": "^1.11.0",

@@ -41,4 +42,5 @@ "nyc": "^11.0.2",

"tape": "^4.2.0",
"tar-fs": "^1.14.0"
"tar-fs": "^1.14.0",
"try-to-catch": "^1.0.2"
}
}

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