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

@tus/s3-store

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tus/s3-store - npm Package Compare versions

Comparing version 1.0.0-beta.4 to 1.0.0-beta.5

6

dist/index.js

@@ -245,8 +245,10 @@ "use strict";

}
const readable = node_fs_1.default.createReadStream(path);
readable.on('error', reject);
if (partSize > this.minPartSize || isFinalChunk) {
await this.uploadPart(metadata, node_fs_1.default.createReadStream(path), partNumber);
await this.uploadPart(metadata, readable, partNumber);
offset += partSize;
}
else {
await this.uploadIncompletePart(incompletePartId, node_fs_1.default.createReadStream(path));
await this.uploadIncompletePart(incompletePartId, readable);
}

@@ -253,0 +255,0 @@ bytesUploaded += partSize;

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@tus/s3-store",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "AWS S3 store for @tus/server",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

@@ -5,3 +5,3 @@ # `@tus/s3-store`

> The old package, `tus-node-server`, is considered unstable and will only receive security fixes.
> Make sure to use the new package, currently in beta at `1.0.0-beta.4`.
> Make sure to use the new package, currently in beta at `1.0.0-beta.5`.

@@ -8,0 +8,0 @@ ## Contents

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