Comparing version 0.0.6 to 0.0.7
@@ -13,2 +13,3 @@ /* jshint laxcomma: true */ | ||
Aws3.s3Bucket = process.env.S3_BUCKET || 'aws3_bucket'; | ||
Aws3.region = process.env.AWS_REGION || 's3'; | ||
@@ -106,3 +107,3 @@ | ||
Aws3.prototype.s3Url = function() { | ||
return 'https://s3.amazonaws.com/'+Aws3.s3Bucket; | ||
return 'https://'+Aws3.region+'.amazonaws.com/'+Aws3.s3Bucket; | ||
}; | ||
@@ -109,0 +110,0 @@ |
{ | ||
"name": "aws3.js", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Simple AWS S3 Generator", | ||
@@ -5,0 +5,0 @@ "main": "aws3.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7874
229
6