react-s3-uploader
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"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": { |
@@ -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 @@ |
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
10660
6
+ Addedobject-assign@^2.0.0
+ Addedobject-assign@2.1.1(transitive)