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

s3-blob-store

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3-blob-store - npm Package Compare versions

Comparing version 1.1.1 to 1.2.1

3

index.js

@@ -19,2 +19,3 @@

S3BlobStore.prototype.createReadStream = function(opts) {
if (typeof opts === 'string') opts = {key: opts}
var config = { client: this.s3, params: this.downloadParams(opts) };

@@ -60,2 +61,3 @@ var stream = downloader(config);

}
if (typeof opts === 'string') opts = {key: opts}
var params = this.uploadParams(opts)

@@ -86,2 +88,3 @@ var proxy = through();

S3BlobStore.prototype.exists = function(opts, done) {
if (typeof opts === 'string') opts = {key: opts}
this.s3.headObject({ Bucket: this.bucket, Key: opts.key }, function(err, res){

@@ -88,0 +91,0 @@ if (err && err.statusCode === 404) return done(null, false);

2

package.json

@@ -10,3 +10,3 @@ {

],
"version": "1.1.1",
"version": "1.2.1",
"repository": {

@@ -13,0 +13,0 @@ "type": "git",

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