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

draft-js

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draft-js - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

14

CHANGELOG.md

@@ -7,2 +7,16 @@ # Changelog

## 0.10.3 (September 28th, 2017)
### Added
* Allow React 16.\* as peer dependency. ([@nikgraf](https://github.com/nikgraf)
in [#1385](https://github.com/facebook/draft-js/pull/1385))
### Fixed
* Fixed bug where using a custom block type without overriding the default block
map threw an error. ([@southerncross](https://github.com/southerncross) in
[#1302](https://github.com/facebook/draft-js/pull/1302))
* Update dependency on `fbjs` to get fix for bug where `focus()` caused
unexpected scroll ([@flarnie](https://github.com/flarnie) in
[#1401](https://github.com/facebook/draft-js/pull/1401))
## 0.10.2

@@ -9,0 +23,0 @@

2

lib/DraftEditorContents.react.js

@@ -144,3 +144,3 @@ /**

var configForType = blockRenderMap.get(blockType);
var configForType = blockRenderMap.get(blockType) || blockRenderMap.get('unstyled');
var wrapperTemplate = configForType.wrapper;

@@ -147,0 +147,0 @@

@@ -46,4 +46,2 @@ /**

blockMap = blockMap.set(targetKey, newBlock);
finalKey = targetKey;

@@ -50,0 +48,0 @@ finalOffset = targetOffset + pastedBlock.getText().length;

{
"name": "draft-js",
"description": "A React framework for building text editors.",
"version": "0.10.2",
"version": "0.10.3",
"keywords": [

@@ -33,3 +33,4 @@ "draftjs",

"dependencies": {
"fbjs": "^0.8.12",
"enzyme": "^2.9.1",
"fbjs": "^0.8.15",
"immutable": "~3.7.4",

@@ -39,4 +40,4 @@ "object-assign": "^4.1.0"

"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-rc",
"react-dom": "^0.14.0 || ^15.0.0-rc"
"react": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc",
"react-dom": "^0.14.0 || ^15.0.0-rc || ^16.0.0-rc"
},

@@ -43,0 +44,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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

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

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