Socket
Socket
Sign inDemoInstall

bloody-simple-s3

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bloody-simple-s3 - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 0.3.3 - 2015-04-16
* Set cursor=dir by default as a smarter way to filter our dir references from the #list() results
## 0.3.2 - 2015-04-16

@@ -2,0 +6,0 @@

2

package.json
{
"name": "bloody-simple-s3",
"version": "0.3.2",
"version": "0.3.3",
"description": "A bloody simple interface to S3, based on the official AWS sdk",

@@ -5,0 +5,0 @@ "repository": {

@@ -245,3 +245,3 @@ var path = require('path');

Prefix: path.normalize(dir),
Marker: options.cursor,
Marker: options.cursor || path.normalize(dir),
MaxKeys: options.limit

@@ -256,14 +256,9 @@ };

arr = _.chain(data.Contents)
.map(function (obj) {
return {
name: obj.Key,
size: obj.Size,
last_modified: obj.LastModified
};
})
.filter(function (obj) {
return obj.name !== dir; // remove self reference to dir
})
.value();
arr = _.map(data.Contents, function (obj) {
return {
name: obj.Key,
size: obj.Size,
last_modified: obj.LastModified
};
});

@@ -270,0 +265,0 @@ resolve(arr);

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