File tree Expand file tree Collapse file tree 3 files changed +967
-5
lines changed Expand file tree Collapse file tree 3 files changed +967
-5
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var AWS = require ( 'aws-sdk' ) ;
3
+ var AWS = require ( 'aws-sdk' ) ,
4
+ {
5
+ S3
6
+ } = require ( "@aws-sdk/client-s3" ) ;
4
7
var CoreObject = require ( 'core-object' ) ;
5
8
var RSVP = require ( 'rsvp' ) ;
6
9
var fs = require ( 'fs' ) ;
@@ -44,7 +47,7 @@ module.exports = CoreObject.extend({
44
47
AWS . config . endpoint = new AWS . Endpoint ( endpoint ) ;
45
48
}
46
49
47
- this . _client = plugin . readConfig ( 's3Client' ) || new AWS . S3 ( config ) ;
50
+ this . _client = plugin . readConfig ( 's3Client' ) || new S3 ( config ) ;
48
51
} ,
49
52
50
53
upload : function ( options ) {
Original file line number Diff line number Diff line change 18
18
"test" : " node tests/runner.js && ./node_modules/.bin/eslint index.js lib/* tests/**/*.js"
19
19
},
20
20
"dependencies" : {
21
- "aws-sdk" : " ^2.667 .0" ,
21
+ "@ aws-sdk/client-s3 " : " ^3.385 .0" ,
22
22
"core-object" : " ^3.0.0" ,
23
23
"ember-cli-deploy-plugin" : " ^0.2.9" ,
24
24
"mime-types" : " ^2.1.27" ,
You can’t perform that action at this time.
0 commit comments