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.3.0 to 1.3.1

7

lib/AjaxUploader.js

@@ -82,4 +82,7 @@ 'use strict';

React.createElement('input', { type: 'file',
ref: 'file', style: hidden,
accept: props.accept, onChange: this._onChange }),
ref: 'file',
style: hidden,
accept: props.accept,
multiple: this.props.multiple,
onChange: this._onChange }),
props.children

@@ -86,0 +89,0 @@ );

@@ -20,3 +20,4 @@ 'use strict';

data: PropTypes.object,
accept: PropTypes.string
accept: PropTypes.string,
multiple: PropTypes.bool
},

@@ -32,3 +33,4 @@

onError: empty,
onSuccess: empty
onSuccess: empty,
multiple: false
};

@@ -35,0 +37,0 @@ },

{
"name": "rc-upload",
"version": "1.3.0",
"version": "1.3.1",
"description": "upload ui component for react",

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

@@ -54,2 +54,3 @@ # rc-upload

|accept | string | | input accept attribute |
| multiple | boolean | false | only support ie10+|
|onStart | function| | start upload file |

@@ -56,0 +57,0 @@ |onError| function| | error callback |

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