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

knox-mpu-alt

Package Overview
Dependencies
Maintainers
1
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.1.7 to 0.1.8

5

lib/multipartupload.js

@@ -201,3 +201,3 @@ var _ = require('lodash'),

var partId = parts.length + 1,
partFileName = path.resolve(path.join(mpu.tmpDir || '', 'mpu-' + mpu.objectName + '-' + random_seed() + '-' + (mpu.uploadId || Date.now()) + '-' + partId)),
partFileName = path.resolve(path.join(mpu.tmpDir || '', ('mpu-' + mpu.objectName + '-' + random_seed() + '-' + (mpu.uploadId || Date.now()) + '-' + partId).replace(/\//g,''))),
partFile = !mpu.noDisk && fs.createWriteStream(partFileName),

@@ -366,4 +366,5 @@ part = {

mpu.emit('failed', result, written);
if (--part.triesLeft)
if (--part.triesLeft) {
return MultiPartUpload.prototype._uploadPart.call(mpu, part, callback);
}
else {

@@ -370,0 +371,0 @@ // Make sure the callback is only called once

2

package.json
{
"name": "knox-mpu-alt",
"version": "0.1.7",
"version": "0.1.8",
"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