Socket
Socket
Sign inDemoInstall

react-dropzone

Package Overview
Dependencies
Maintainers
3
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropzone - npm Package Compare versions

Comparing version 11.5.2 to 11.5.3

4

dist/es/utils/index.js

@@ -39,3 +39,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

code: FILE_TOO_LARGE,
message: "File is larger than ".concat(maxSize, " bytes")
message: "File is larger than ".concat(maxSize, " ").concat(maxSize === 1 ? 'byte' : 'bytes')
};

@@ -46,3 +46,3 @@ };

code: FILE_TOO_SMALL,
message: "File is smaller than ".concat(minSize, " bytes")
message: "File is smaller than ".concat(minSize, " ").concat(minSize === 1 ? 'byte' : 'bytes')
};

@@ -49,0 +49,0 @@ };

@@ -170,3 +170,3 @@ {

},
"version": "11.5.2",
"version": "11.5.3",
"engines": {

@@ -173,0 +173,0 @@ "node": ">= 10"

@@ -29,3 +29,3 @@ import accepts from 'attr-accept'

code: FILE_TOO_LARGE,
message: `File is larger than ${maxSize} bytes`
message: `File is larger than ${maxSize} ${maxSize === 1 ? 'byte' : 'bytes'}`
}

@@ -37,3 +37,3 @@ }

code: FILE_TOO_SMALL,
message: `File is smaller than ${minSize} bytes`
message: `File is smaller than ${minSize} ${minSize === 1 ? 'byte' : 'bytes'}`
}

@@ -40,0 +40,0 @@ }

Sorry, the diff of this file is too big to display

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