New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chiffchaff-pipe

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chiffchaff-pipe - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

dist/index.js

@@ -28,3 +28,3 @@ 'use strict';

function PipeTask(source, destination) {
function PipeTask(source, destination, options) {
_classCallCheck(this, PipeTask);

@@ -35,2 +35,3 @@

this._destination = destination;
this._options = options;
}

@@ -44,5 +45,5 @@

return new _bluebird2['default'](function (resolve, reject) {
_this._source.once('error', reject);
_this._source.once('end', resolve).once('error', reject);
_this._destination.once('error', reject);
_this._source.pipe(_this._destination).once('finish', resolve).once('error', reject);
_this._source.pipe(_this._destination, _this._options).once('error', reject);
}).cancellable()['catch'](_bluebird2['default'].CancellationError, function (err) {

@@ -49,0 +50,0 @@ _this._source.unpipe(_this._destination);

{
"name": "chiffchaff-pipe",
"version": "0.0.2",
"version": "0.0.3",
"description": "Stream piping for chiffchaff.",

@@ -5,0 +5,0 @@ "keywords": [

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