react-aws-s3-typescript
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -73,3 +73,6 @@ "use strict"; | ||
fd = new FormData(); | ||
if (file.type != null) { | ||
if (file.name) { | ||
fileExtension = file.name.split('.').pop() || ''; | ||
} | ||
if (!fileExtension && file.type != null) { | ||
fileExtension = file.type.split('/').pop() || ''; | ||
@@ -76,0 +79,0 @@ } |
{ | ||
"name": "react-aws-s3-typescript", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Open source npm package to upload your files into AWS S3 Bucket directly using react(typescript template)", | ||
@@ -43,5 +43,5 @@ "main": "dist/index.js", | ||
"@types/node": "^14.17.18", | ||
"jest": "^26.6.3", | ||
"jest": "^29.3.1", | ||
"prettier": "^2.4.1", | ||
"ts-jest": "^26.5.6", | ||
"ts-jest": "^29.0.3", | ||
"tslint": "^6.1.3", | ||
@@ -52,5 +52,4 @@ "tslint-config-prettier": "^1.18.0", | ||
"dependencies": { | ||
"@types/aws-sdk": "^2.7.0", | ||
"@types/crypto-js": "^4.0.2", | ||
"aws-sdk": "^2.993.0", | ||
"aws-sdk": "^2.1268.0", | ||
"buffer": "^6.0.3", | ||
@@ -57,0 +56,0 @@ "crypto-js": "^4.1.1", |
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
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
26539
5
399
- Removed@types/aws-sdk@^2.7.0
- Removed@types/aws-sdk@2.7.4(transitive)
Updatedaws-sdk@^2.1268.0