File tree Expand file tree Collapse file tree 4 files changed +12
-19
lines changed
packages/electron-publisher-s3 Expand file tree Collapse file tree 4 files changed +12
-19
lines changed Original file line number Diff line number Diff line change 31
31
"ajv" : " ^5.0.4-beta.0" ,
32
32
"ajv-keywords" : " ^2.0.1-beta.2" ,
33
33
"archiver" : " ^1.3.0" ,
34
- "aws-sdk" : " ^2.31 .0" ,
34
+ "aws-sdk" : " ^2.32 .0" ,
35
35
"bluebird-lst" : " ^1.0.2" ,
36
36
"chalk" : " ^1.1.3" ,
37
37
"chromium-pickle-js" : " ^0.2.0" ,
Original file line number Diff line number Diff line change 12
12
],
13
13
"dependencies" : {
14
14
"fs-extra-p" : " ^4.1.0" ,
15
- "aws-sdk" : " ^2.31 .0" ,
15
+ "aws-sdk" : " ^2.32 .0" ,
16
16
"mime" : " ^1.3.4" ,
17
17
"electron-publish" : " ~0.0.0-semantic-release" ,
18
18
"electron-builder-util" : " ~0.0.0-semantic-release"
Original file line number Diff line number Diff line change 1
1
import { S3 } from "aws-sdk"
2
2
import { S3Options } from "electron-builder-http/out/publishOptions"
3
- import { debug , isEmptyOrSpaces } from "electron-builder-util"
3
+ import { debug } from "electron-builder-util"
4
4
import { PublishContext , Publisher } from "electron-publish"
5
5
import { stat } from "fs-extra-p"
6
6
import mime from "mime"
@@ -15,13 +15,6 @@ export default class S3Publisher extends Publisher {
15
15
super ( context )
16
16
17
17
debug ( `Creating S3 Publisher — bucket: ${ info . bucket } ` )
18
-
19
- if ( isEmptyOrSpaces ( process . env . AWS_ACCESS_KEY_ID ) ) {
20
- throw new Error ( `Env AWS_ACCESS_KEY_ID is not set` )
21
- }
22
- if ( isEmptyOrSpaces ( process . env . AWS_SECRET_ACCESS_KEY ) ) {
23
- throw new Error ( `Env AWS_SECRET_ACCESS_KEY is not set` )
24
- }
25
18
}
26
19
27
20
static async checkAndResolveOptions ( options : S3Options ) {
Original file line number Diff line number Diff line change @@ -271,9 +271,9 @@ asynckit@^0.4.0:
271
271
version "0.4.0"
272
272
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
273
273
274
- aws-sdk@^2.31 .0 :
275
- version "2.31 .0"
276
- resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.31 .0.tgz#e17480610ebddad57732918a4849f9e5f4ade44d "
274
+ aws-sdk@^2.32 .0 :
275
+ version "2.32 .0"
276
+ resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.32 .0.tgz#9fe278b2ec1b12fddd1afeb74439581cdc2e5990 "
277
277
dependencies :
278
278
buffer "4.9.1"
279
279
crypto-browserify "1.0.9"
@@ -2235,15 +2235,15 @@ micromatch@^2.1.5, micromatch@^2.3.11:
2235
2235
parse-glob "^3.0.4"
2236
2236
regex-cache "^0.4.2"
2237
2237
2238
- mime-db@~1.26 .0 :
2239
- version "1.26 .0"
2240
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.26 .0.tgz#eaffcd0e4fc6935cf8134da246e2e6c35305adff "
2238
+ mime-db@~1.27 .0 :
2239
+ version "1.27 .0"
2240
+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27 .0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1 "
2241
2241
2242
2242
mime-types@^2.1.12, mime-types@~2.1.7 :
2243
- version "2.1.14 "
2244
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.14 .tgz#f7ef7d97583fcaf3b7d282b6f8b5679dab1e94ee "
2243
+ version "2.1.15 "
2244
+ resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15 .tgz#a4ebf5064094569237b8cf70046776d09fc92aed "
2245
2245
dependencies :
2246
- mime-db "~1.26 .0"
2246
+ mime-db "~1.27 .0"
2247
2247
2248
2248
mime@^1.3.4 :
2249
2249
version "1.3.4"
You can’t perform that action at this time.
0 commit comments