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

@draft-js-plugins/drag-n-drop-upload

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@draft-js-plugins/drag-n-drop-upload - npm Package Compare versions

Comparing version 4.0.0-beta2 to 4.0.0

2

CHANGELOG.md

@@ -8,2 +8,4 @@ # Change Log

## 4.0.0
- Hide internals in single bundle

@@ -10,0 +12,0 @@ - Add esm support

@@ -203,1 +203,3 @@ 'use strict';

exports.default = createDndFileUploadPlugin;
exports.readFile = readFile;
exports.readFiles = readFiles;
import { EditorState } from 'draft-js';
import { EditorPlugin } from '@draft-js-plugins/editor';
export { readFiles, readFile } from './utils/file';
export interface DndUploadPluginConfig {

@@ -4,0 +5,0 @@ handleUpload?(): void;

@@ -199,1 +199,2 @@ import { EditorState } from 'draft-js';

export default createDndFileUploadPlugin;
export { readFile, readFiles };

2

package.json
{
"name": "@draft-js-plugins/drag-n-drop-upload",
"version": "4.0.0-beta2",
"version": "4.0.0",
"description": "Dropping & uploading files with DraftJS",

@@ -5,0 +5,0 @@ "author": {

# DraftJS Drag & Drop File Upload Plugin
*This is a plugin for the `draft-js-plugins-editor`.*
_This is a plugin for the `@draft-js-plugins/editor`._

@@ -10,5 +10,5 @@ This plugin adds dropping & uploading files functionality to your editor!

```js
import createDndFileUploadPlugin from 'draft-js-drag-n-drop-upload-plugin';
import createDndFileUploadPlugin from '@draft-js-plugins/drag-n-drop-upload';
const dndFileUploadPlugin = createDndFileUploadPlugin();
```
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