From b070df5616181dd87298183027beea7a2863085c Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 6 Jun 2017 11:04:46 +0530 Subject: [PATCH 1/9] aws-sdk dependency version updated to avoid sigV4 error --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e26cce4..b9e3384 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "ncp": "~1.0.1" }, "dependencies": { - "aws-sdk": "~2.4.9", + "aws-sdk": "~2.62.0", "fd-slicer": "~1.0.0", "findit2": "~2.2.3", "graceful-fs": "~4.1.4", From 13dda744bcdcf81ea9f645aab74cda526c2449f4 Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 6 Jun 2017 13:54:39 +0530 Subject: [PATCH 2/9] text changes --- package.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b9e3384..4da256e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "s3", + "name": "s3-node-client", "version": "4.4.0", "description": "high level amazon s3 client. upload and download files and directories", "main": "lib/index.js", @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/andrewrk/node-s3-client" + "url": "https://github.com/shreyawhiz/node-s3-client.git" }, "keywords": [ "amazon", @@ -45,9 +45,11 @@ "streamsink": "~1.2.0" }, "bugs": { - "url": "https://github.com/andrewrk/node-s3-client/issues" + "url": "https://github.com/shreyawhiz/node-s3-client/issues" }, "directories": { + "lib": "lib", "test": "test" - } + }, + "homepage": "https://github.com/shreyawhiz/node-s3-client#readme" } From e648c9b92a7c077102a84422e5ca1660d804858c Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 6 Jun 2017 13:55:13 +0530 Subject: [PATCH 3/9] 4.4.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4da256e..2f1d61c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "s3-node-client", - "version": "4.4.0", + "version": "4.4.1", "description": "high level amazon s3 client. upload and download files and directories", "main": "lib/index.js", "scripts": { From d0aa1449241c31731700e6a15bae8ab7bcb3b15b Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 6 Jun 2017 13:58:03 +0530 Subject: [PATCH 4/9] text changes --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ce95b83..aaef736 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Installation -`npm install s3 --save` +`npm install s3-node-client --save` ## Features @@ -19,15 +19,13 @@ * Automatically provide Content-Type for uploads based on file extension. * Support third-party S3-compatible platform services like Ceph -See also the companion CLI tool which is meant to be a drop-in replacement for -s3cmd: [s3-cli](https://github.com/andrewrk/node-s3-cli). ## Synopsis ### Create a client ```js -var s3 = require('s3'); +var s3 = require('s3-node-client'); var client = s3.createClient({ maxAsyncS3: 20, // this is the default @@ -50,7 +48,7 @@ var client = s3.createClient({ ### Create a client from existing AWS.S3 object ```js -var s3 = require('s3'); +var s3 = require('s3-node-client'); var awsS3Client = new AWS.S3(s3Options); var options = { s3Client: awsS3Client, From be9c451eaf99fd03c87f25beabf11aca9c37c8ff Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 6 Jun 2017 13:58:21 +0530 Subject: [PATCH 5/9] 4.4.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2f1d61c..e0e6dda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "s3-node-client", - "version": "4.4.1", + "version": "4.4.2", "description": "high level amazon s3 client. upload and download files and directories", "main": "lib/index.js", "scripts": { From a06ab02fa9e7cc92b6f762ef0200423184ff12c1 Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 13 Jun 2017 13:59:47 +0530 Subject: [PATCH 6/9] aws-sdk version changed --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e0e6dda..424edee 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "ncp": "~1.0.1" }, "dependencies": { - "aws-sdk": "~2.62.0", + "aws-sdk": "2.67.0", "fd-slicer": "~1.0.0", "findit2": "~2.2.3", "graceful-fs": "~4.1.4", From b2efe6aeddbb176c15d4cd96dc03e8f90ee8c63a Mon Sep 17 00:00:00 2001 From: Oliver Zheng Date: Sun, 10 Jun 2018 10:33:08 -0700 Subject: [PATCH 7/9] Upgrade mime to 2.3.1 for webpack support --- lib/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 526f5f1..d0d44d3 100644 --- a/lib/index.js +++ b/lib/index.js @@ -135,7 +135,7 @@ Client.prototype.uploadFile = function(params) { var s3Params = extend({}, params.s3Params); if (s3Params.ContentType === undefined) { var defaultContentType = params.defaultContentType || 'application/octet-stream'; - s3Params.ContentType = mime.lookup(localFile, defaultContentType); + s3Params.ContentType = mime.getType(localFile, defaultContentType); } var fatalError = false; var localFileSlicer = null; diff --git a/package.json b/package.json index 424edee..7e47781 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "fd-slicer": "~1.0.0", "findit2": "~2.2.3", "graceful-fs": "~4.1.4", - "mime": "~1.2.11", + "mime": "~2.3.1", "mkdirp": "~0.5.0", "pend": "~1.2.0", "rimraf": "~2.2.8", From db45ec244a7f61fc8bf047ab8bacb4d417463ded Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 12 Jun 2018 18:13:30 +0530 Subject: [PATCH 8/9] author name chnaged --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 424edee..fb87d1e 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,7 @@ "multipart", "size" ], - "author": "Andrew Kelley", - "license": "MIT", + "author": "Shreya Batra", "engines": { "node": ">=0.10.20" }, From 055645c0d4d21966da24cb46e275e366a9514044 Mon Sep 17 00:00:00 2001 From: shreyawhiz Date: Tue, 12 Jun 2018 18:15:42 +0530 Subject: [PATCH 9/9] package version updated --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7068964..a64c792 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "s3-node-client", - "version": "4.4.2", + "version": "4.4.4", "description": "high level amazon s3 client. upload and download files and directories", "main": "lib/index.js", "scripts": {