react-uploader
Advanced tools
Comparing version 3.34.0 to 3.35.0
@@ -205,3 +205,6 @@ /******/ (function() { // webpackBootstrap | ||
}; | ||
var autoUpdatingOptions = useAutoUpdatingOptions(Object.assign(Object.assign({}, options), onUpdateParams)); // Prevent React warning, while keeping rendering synchronous in the browser. | ||
var autoUpdatingOptions = useAutoUpdatingOptions(Object.assign(Object.assign(Object.assign({}, options), onUpdateParams), { | ||
layout: "inline", | ||
container: element | ||
})); // Prevent React warning, while keeping rendering synchronous in the browser. | ||
@@ -211,6 +214,3 @@ if (typeof window !== "undefined") { | ||
if (element !== undefined) { | ||
uploader.open(Object.assign(Object.assign({}, autoUpdatingOptions), { | ||
container: element, | ||
layout: "inline" | ||
})).then(function (files) { | ||
uploader.open(autoUpdatingOptions).then(function (files) { | ||
if (onComplete !== undefined) { | ||
@@ -217,0 +217,0 @@ onComplete(files); |
{ | ||
"name": "react-uploader", | ||
"version": "3.34.0", | ||
"version": "3.35.0", | ||
"author": "Upload <hello@upload.io> (https://upload.io)", | ||
@@ -5,0 +5,0 @@ "description": "React File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐", |
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
30683