Comparing version 0.10.2 to 0.10.3
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2
1330243
6
20706
+ Addedenzyme@^2.9.1
+ Addedboolbase@1.0.0(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcheerio@0.22.0(transitive)
+ Addedcss-select@1.2.0(transitive)
+ Addedcss-what@2.1.3(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addeddom-serializer@0.1.1(transitive)
+ Addeddomelementtype@1.3.1(transitive)
+ Addeddomhandler@2.4.2(transitive)
+ Addeddomutils@1.5.1(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedentities@1.1.2(transitive)
+ Addedenzyme@2.9.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedfunction.prototype.name@1.1.8(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.6(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhtmlparser2@3.10.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-subset@0.1.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlodash.assignin@4.2.0(transitive)
+ Addedlodash.bind@4.2.1(transitive)
+ Addedlodash.defaults@4.2.0(transitive)
+ Addedlodash.filter@4.6.0(transitive)
+ Addedlodash.flatten@4.4.0(transitive)
+ Addedlodash.foreach@4.5.0(transitive)
+ Addedlodash.map@4.6.0(transitive)
+ Addedlodash.merge@4.6.2(transitive)
+ Addedlodash.pick@4.4.0(transitive)
+ Addedlodash.reduce@4.6.0(transitive)
+ Addedlodash.reject@4.6.0(transitive)
+ Addedlodash.some@4.6.0(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addednth-check@1.0.2(transitive)
+ Addedobject-is@1.1.6(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.assign@4.1.7(transitive)
+ Addedobject.entries@1.1.8(transitive)
+ Addedobject.values@1.2.1(transitive)
+ Addedreact@16.14.0(transitive)
+ Addedreact-dom@16.14.0(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedscheduler@0.19.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@3.4.0(transitive)
- Removedreact-dom@15.7.0(transitive)
Updatedfbjs@^0.8.15