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

s3

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3 - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

index.js

@@ -42,2 +42,3 @@ var knox = require('knox')

var downloader = new EventEmitter();
var headers;
var amountDone = 0;

@@ -51,2 +52,3 @@ var amountTotal;

amountTotal = parseInt(resp.headers['content-length'], 10);
headers = resp.headers;
var writeStream = fs.createWriteStream(localFile);

@@ -74,3 +76,3 @@ writeStream.on('error', onError);

writeStream.end();
downloader.emit('end');
downloader.emit('end', { headers: headers });
}

@@ -83,2 +85,2 @@ function onData(data) {

return downloader;
};
};
{
"name": "s3",
"version": "0.1.0",
"version": "0.1.1",
"description": "high level amazon s3 client using knox as a backend",

@@ -5,0 +5,0 @@ "main": "index.js",

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