New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

draft-js-drag-n-drop-plugin

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draft-js-drag-n-drop-plugin - npm Package Compare versions

Comparing version 2.0.0-rc8 to 2.0.0-rc9

3

CHANGELOG.md

@@ -6,4 +6,5 @@ # Change Log

## To Be Released
## 2.0.0-rc9
- add null-check to fix bug where store is not defined when decorator is rendered.
### Released the first working version of DraftJS DnD Plugin

@@ -65,3 +65,5 @@ 'use strict';

value: function render() {
var readOnly = store.getReadOnly();
// If this is rendered before the store is initialized default to read only
// NOTE(@mxstbr): Reference issue: draft-js-plugins/draft-js-plugins#926
var readOnly = store.getReadOnly ? store.getReadOnly() : true;
return _react2.default.createElement(WrappedComponent, _extends({}, this.props, {

@@ -68,0 +70,0 @@ onDragStart: !readOnly ? this.startDrag : undefined

{
"name": "draft-js-drag-n-drop-plugin",
"version": "2.0.0-rc8",
"version": "2.0.0-rc9",
"description": "Block Drag & Drop Plugin for DraftJS",

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

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