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

knox-mpu-alt

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knox-mpu-alt - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

19

lib/multipartupload.js

@@ -361,11 +361,2 @@ var _ = require('lodash'),

// If the part stream is prematurely ended because the upload was aborted,
// call the task callback so that async.queue will drain properly.
part.stream.on('end', function() {
if (mpu.aborted && !part.alreadyCB) {
part.alreadyCB = true;
return callback(null);
}
});
// Wait for the upload to complete

@@ -432,2 +423,12 @@ req.on('response', function(res) {

if (!this.noDisk) {
// If the part stream is prematurely ended because the upload was aborted,
// call the task callback so that async.queue will drain properly.
partStream.on('end', function() {
if (mpu.aborted && !part.alreadyCB) {
part.alreadyCB = true;
return callback(null);
}
});
partStream.on('data', function (data) {

@@ -434,0 +435,0 @@ written += data.length;

{
"name": "knox-mpu-alt",
"version": "0.2.1",
"version": "0.2.2",
"description": "Provide multi part upload functionality to Amazon S3 using the knox library. Forked from knox-mpu.",

@@ -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