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

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.1 to 0.3.2

4

CHANGELOG.md

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

## 0.3.2 - 2015-04-16
* Remove self reference to the dir on #list(dir)
## 0.3.1 - 2015-04-06

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

8

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

@@ -26,4 +26,4 @@ "repository": {

"dependencies": {
"aws-sdk": "^2.1.21",
"bluebird": "^2.9.14",
"aws-sdk": "^2.1.23",
"bluebird": "^2.9.24",
"lodash": "^3.6.0"

@@ -34,4 +34,4 @@ },

"dotenv": "^1.1.0",
"mocha": "^2.2.1"
"mocha": "^2.2.4"
}
}

@@ -27,3 +27,3 @@ # Bloody simple S3

.then(function (file) {
console.log(file.path);
console.log(file.name);
})

@@ -35,3 +35,3 @@ .catch(function (err) {

For further information on how to use this library please refer to the [API docs](https://github.com/jmike/bloody-simple-s3/blob/master/docs/API.md).
For further information on how to use this library please refer to the [API docs](https://github.com/visionmobile/bloody-simple-s3/blob/master/docs/API.md).

@@ -53,3 +53,3 @@ ## Installation

1. JavaScript source code needs to follow the [Airbnb Style Guide](https://github.com/airbnb/javascript);
2. Functions need to be well documented in [API docs](https://github.com/jmike/bloody-simple-s3/blob/master/docs/API.md);
2. Functions need to be well documented in [API docs](https://github.com/visionmobile/bloody-simple-s3/blob/master/docs/API.md);
3. Unit tests are necessary.

@@ -61,3 +61,3 @@

* Issue Tracker: [github.com/jmike/bloody-simple-s3/issues](https://github.com/jmike/bloody-simple-s3/issues)
* Issue Tracker: [github.com/visionmobile/bloody-simple-s3/issues](https://github.com/visionmobile/bloody-simple-s3/issues)

@@ -64,0 +64,0 @@ ## License

@@ -255,9 +255,14 @@ var path = require('path');

arr = data.Contents.map(function (obj) {
return {
name: obj.Key,
size: obj.Size,
last_modified: obj.LastModified
};
});
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();

@@ -264,0 +269,0 @@ resolve(arr);

@@ -37,2 +37,6 @@ require('dotenv').load(); // load environmental variables

files.forEach(function (file) {
assert.notStrictEqual(file.name, 'images/');
});
// update length

@@ -39,0 +43,0 @@ len = files.length;

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