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

react-use-file-upload

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-use-file-upload - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

2

package.json
{
"name": "react-use-file-upload",
"version": "0.9.4",
"version": "0.9.5",
"description": "A React Hook to make dealing with file uploading easier.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -92,3 +92,2 @@ # React useFileUpload

setFiles(e, 'a');
inputRef.current.value = null;
}}

@@ -101,3 +100,12 @@ >

{/* Hide the crappy looking default HTML input */}
<input ref={inputRef} type="file" multiple style={{ display: 'none' }} onChange={(e) => setFiles(e, 'a')} />
<input
ref={inputRef}
type="file"
multiple
style={{ display: 'none' }}
onChange={(e) => {
setFiles(e, 'a');
inputRef.current.value = null;
}}
/>
</div>

@@ -104,0 +112,0 @@ </div>

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