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

rc-upload

Package Overview
Dependencies
Maintainers
3
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.6.5 to 1.6.6-beta.1

2

package.json
{
"name": "rc-upload",
"version": "1.6.5",
"version": "1.6.6-beta.1",
"description": "upload ui component for react",

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

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

|onProgress | function || progress callback, only for modern browsers|
|beforeStart| function |null| before upload check, return a Promise, only for modern browsers|

@@ -74,12 +75,14 @@ #### onError arguments

### Note
### IE8/9 Note
if run at ie and set document.domain, then server should output document.domain according to _documentDomain parameter
In iframe uploader way, the content-type of response should be `text/plain` or `text/html`.[referense](https://github.com/blueimp/jQuery-File-Upload/wiki/Setup#content-type-negotiation)
If the Page set document.domain, then server should output document.domain according to _documentDomain parameter.
```js
var ret = '';
if(postData._documentDomain){
ret+='<script>document.domain="'+postData._documentDomain+'";</script>'
if (postData._documentDomain) {
ret += '<script>document.domain="'+postData._documentDomain+'";</script>';
}
this.body = ret +'{"url":"xx.jpq"}';
this.body = ret + '{"url":"xx.jpq"}';
```

@@ -86,0 +89,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