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 1.1.3 to 1.1.4

5

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

@@ -29,3 +29,4 @@ "main": "index.js",

"mime": "1.x",
"node-uuid": "1.x"
"node-uuid": "1.x",
"object-assign": "^2.0.0"
},

@@ -32,0 +33,0 @@ "peerDependencies": {

8

ReactS3Uploader.js

@@ -0,4 +1,6 @@

"use strict";
var React = require('react'),
S3Upload = require('./s3upload.js');
S3Upload = require('./s3upload.js'),
objectAssign = require('object-assign');

@@ -39,5 +41,3 @@ var ReactS3Uploader = React.createClass({

render: function() {
return this.transferPropsTo(
React.DOM.input({type: 'file', onChange: this.uploadFile})
);
return React.DOM.input(objectAssign({}, this.props, {type: 'file', onChange: this.uploadFile});
}

@@ -44,0 +44,0 @@

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