Socket
Socket
Sign inDemoInstall

react-uploader

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-uploader - npm Package Compare versions

Comparing version 2.4.0 to 3.0.0

6

dist/UploadButton.d.ts
/// <reference types="react" />
import { UploaderInterface, UploaderResult, UploaderOptions } from "uploader";
import { UploaderInterface, UploadWidgetResult, UploadWidgetConfig } from "uploader";
interface MouseEventLite {

@@ -10,4 +10,4 @@ preventDefault: () => void;

}) => JSX.Element;
onComplete?: (files: UploaderResult[]) => void;
options?: UploaderOptions;
onComplete?: (files: UploadWidgetResult[]) => void;
options?: UploadWidgetConfig;
uploader: UploaderInterface;

@@ -14,0 +14,0 @@ }

@@ -1,7 +0,7 @@

import { UploaderInterface, UploaderResult, UploaderOptions } from "uploader";
import { UploaderInterface, UploadWidgetResult, UploadWidgetConfig } from "uploader";
interface Props {
height?: string;
onComplete?: (files: UploaderResult[]) => void;
onUpdate?: (files: UploaderResult[]) => void;
options?: UploaderOptions;
onComplete?: (files: UploadWidgetResult[]) => void;
onUpdate?: (files: UploadWidgetResult[]) => void;
options?: UploadWidgetConfig;
uploader: UploaderInterface;

@@ -8,0 +8,0 @@ width?: string;

{
"name": "react-uploader",
"version": "2.4.0",
"version": "3.0.0",
"author": "Upload <hello@upload.io> (https://upload.io)",

@@ -77,3 +77,3 @@ "description": "React File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐",

"dependencies": {
"uploader": "^2.7.0"
"uploader": "^3.0.0"
},

@@ -80,0 +80,0 @@ "devDependencies": {

@@ -160,3 +160,3 @@ <h1 align="center">

The callbacks receive a `Array<UploaderResult>`:
The callbacks receive a `Array<UploadWidgetResult>`:

@@ -163,0 +163,0 @@ ```javascript

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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