Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-s3-uploader

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-s3-uploader - npm Package Compare versions

Comparing version 4.5.1 to 4.6.0

4

CHANGELOG.md
##### 4.6.0
* Add `autoUpload` prop, which can be set to `false` to disable automatic upload [#95] [#107] [#155]
##### 4.5.1

@@ -3,0 +7,0 @@

2

package.json
{
"name": "react-s3-uploader",
"version": "4.5.1",
"version": "4.6.0",
"description": "React component that renders a file input and automatically uploads to an S3 bucket",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -34,3 +34,4 @@ "use strict";

s3path: PropTypes.string,
inputRef: PropTypes.func
inputRef: PropTypes.func,
autoUpload: PropTypes.bool
},

@@ -58,3 +59,4 @@

},
s3path: ''
s3path: '',
autoUpload: true
};

@@ -101,5 +103,9 @@ },

type: 'file',
onChange: this.uploadFile,
ref: this.props.inputRef
};
if ( this.props.autoUpload ) {
additional.onChange = this.uploadFile;
}
var temporaryProps = objectAssign({}, this.props, additional);

@@ -106,0 +112,0 @@ var inputProps = {};

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc