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

rc-upload

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-upload - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

HISTORY.md

@@ -0,1 +1,5 @@

### 1.2.3 2015-07-17
- support file drop
### 1.2.2 2015-06-25

@@ -2,0 +6,0 @@

@@ -55,2 +55,13 @@ 'use strict';

_onFileDrop: function _onFileDrop(e) {
if (e.type === 'dragover') {
return e.preventDefault();
}
var files = e.dataTransfer.files;
this._uploadFiles(files);
e.preventDefault();
},
render: function render() {

@@ -61,3 +72,3 @@ var hidden = { display: 'none' };

'span',
{ onClick: this._onClick },
{ onClick: this._onClick, onDrop: this._onFileDrop, onDragOver: this._onFileDrop },
React.createElement('input', { type: 'file',

@@ -64,0 +75,0 @@ ref: 'file', style: hidden,

2

package.json
{
"name": "rc-upload",
"version": "1.2.2",
"version": "1.2.3",
"description": "upload ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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