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

rc-upload

Package Overview
Dependencies
Maintainers
5
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 4.2.0-alpha.0 to 4.2.0

6

es/attr-accept.js

@@ -12,4 +12,8 @@ function endsWith(str, suffix) {

return acceptedFilesArray.some(function (type) {
var validType = type.trim();
var validType = type.trim(); // This is something like */*,* allow all files
if (/^\*(\/\*)?$/.test(type)) {
return true;
}
if (validType.charAt(0) === '.') {

@@ -16,0 +20,0 @@ return endsWith(fileName.toLowerCase(), validType.toLowerCase());

@@ -19,4 +19,8 @@ "use strict";

return acceptedFilesArray.some(function (type) {
var validType = type.trim();
var validType = type.trim(); // This is something like */*,* allow all files
if (/^\*(\/\*)?$/.test(type)) {
return true;
}
if (validType.charAt(0) === '.') {

@@ -23,0 +27,0 @@ return endsWith(fileName.toLowerCase(), validType.toLowerCase());

2

package.json
{
"name": "rc-upload",
"version": "4.2.0-alpha.0",
"version": "4.2.0",
"description": "upload ui component for react",

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

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