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

draft-js-richbuttons-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draft-js-richbuttons-plugin - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

yarn.lock

10

CHANGELOG.md

@@ -6,6 +6,12 @@ # Change Log

## 2.1.0 - 2017-06-22
Updated key handling code to use new signature from recent draft-js changes; move to latest release candidate of draft-js-plugins.
## 2.0.0 - 2017-03-03
Compatibility with draft-js-plugins 2.0 beta / release candidates (note: use 1.x.x release of this plugin if sticking with draft-js-plugins v1.x.x)
## 1.0.1 - 2016-06-17
### Cleand up npm module
Cleand up npm module
## 1.0.0 - 2016-06-16
### Released the first working version of DraftJS RichButtons Plugin
Released the first working version of DraftJS RichButtons Plugin

@@ -132,2 +132,24 @@ 'use strict';

configured.createBlockButton = function (_ref4) {
var type = _ref4.type,
label = _ref4.label;
return (0, _decorateComponentWithProps2.default)(_BlockButton2.default, {
store: store,
bindToState: store.bindToState.bind(store),
label: label,
blockType: type
});
};
configured.createStyleButton = function (_ref5) {
var style = _ref5.style,
label = _ref5.label;
return (0, _decorateComponentWithProps2.default)(_StyleButton2.default, {
store: store,
bindToState: store.bindToState.bind(store),
label: label,
inlineStyle: style
});
};
return configured;

@@ -134,0 +156,0 @@ };

11

package.json
{
"name": "draft-js-richbuttons-plugin",
"version": "2.1.0",
"version": "2.2.0",
"description": "Rich Editing Buttons Plugin for DraftJS Plugins Editor",

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

"peerDependencies": {
"draft-js-plugins-editor": "2.0.0-rc2",
"react": "^15.5.0",
"react-dom": "^15.5.0"
"draft-js-plugins-editor": "^2.0.0",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},

@@ -50,3 +50,4 @@ "scripts": {

"chai-enzyme": "^0.7.1",
"draft-js-plugins-editor": "2.0.0-beta9",
"draft-js-plugins-editor": "~2.0.4",
"draft-js": "~0.10.5",
"enzyme": "^2.9.0",

@@ -53,0 +54,0 @@ "jsdom": "^9.8.3",

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