Socket
Socket
Sign inDemoInstall

@uppy/drag-drop

Package Overview
Dependencies
Maintainers
5
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/drag-drop - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

7

CHANGELOG.md
# @uppy/drag-drop
## 4.0.2
Released: 2024-08-15
Included in: Uppy v4.1.1
- @uppy/dashboard,@uppy/drag-drop,@uppy/file-input: Transform the `accept` prop into a string everywhere (Evgenia Karunus / #5380)
## 4.0.1

@@ -4,0 +11,0 @@

9

lib/DragDrop.js

@@ -10,3 +10,3 @@ import { UIPlugin } from '@uppy/core';

const packageJson = {
"version": "4.0.1"
"version": "4.0.2"
};

@@ -134,2 +134,3 @@ import locale from "./locale.js";

renderHiddenFileInput() {
var _restrictions$allowed;
const {

@@ -146,6 +147,4 @@ restrictions

name: this.opts.inputName,
multiple: restrictions.maxNumberOfFiles !== 1
// @ts-expect-error We actually want to coerce the array to a string (or keep it as null/undefined)
,
accept: restrictions.allowedFileTypes,
multiple: restrictions.maxNumberOfFiles !== 1,
accept: (_restrictions$allowed = restrictions.allowedFileTypes) == null ? void 0 : _restrictions$allowed.join(', '),
onChange: this.onInputChange

@@ -152,0 +151,0 @@ });

{
"name": "@uppy/drag-drop",
"description": "Droppable zone UI for Uppy. Drag and drop files into it to upload.",
"version": "4.0.1",
"version": "4.0.2",
"license": "MIT",

@@ -28,8 +28,8 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/utils": "^6.0.0",
"@uppy/utils": "^6.0.2",
"preact": "^10.5.13"
},
"peerDependencies": {
"@uppy/core": "^4.0.1"
"@uppy/core": "^4.1.1"
}
}

Sorry, the diff of this file is not supported yet

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