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.2.0 to 0.2.1

7

CHANGELOG.md

@@ -0,3 +1,8 @@

## 0.2.1 - 2014-11-28
* Allow limit and cursor options on #list().
## 0.2.0 - 2014-11-27
* Major refactor.
* Introducing #list(), #copy(), #remove(), #move() methods to manipulate files on Amazon S3.
* Old functions refactored with new names and params.

2

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

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

@@ -283,2 +283,4 @@ var path = require('path'),

* @param {object} [options] list options.
* @param {string} [options.cursor] the key to start with listing files.
* @param {number} [options.limit] maximum number of files to list, must not exceed 1000.
* @param {function} [callback] optional callback function, i.e. function(err, data).

@@ -312,6 +314,8 @@ * @return {Promise}

params = _.assign(options, {
params = {
Bucket: this.bucket,
Prefix: path.normalize(dir)
});
Prefix: path.normalize(dir),
Marker: options.cursor,
MaxKeys: options.limit
};

@@ -454,2 +458,3 @@ resolver = function(resolve, reject) {

// .then(function (arr) {
// console.log(arr);
// return s3.copy(arr[1].key, 'temp/0a')

@@ -456,0 +461,0 @@ // .then(function (data) {

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