Skip to content

Commit 74415bc

Browse files
thibaudcolassemantic-release-bot
authored andcommitted
chore(release): v2.2.3 [skip ci]
## [2.2.3](v2.2.2...v2.2.3) (2019-01-25) ### Bug Fixes * **api:** allow entities to only provide a type attr in Flow types ([f4c918c](f4c918c))
1 parent f4c918c commit 74415bc

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), enforced with [semantic-release](https://github.com/semantic-release/semantic-release).
66

7+
## [2.2.3](https://github.com/thibaudcolas/draftjs-filters/compare/v2.2.2...v2.2.3) (2019-01-25)
8+
9+
### Bug Fixes
10+
11+
- **api:** allow entities to only provide a type attr in Flow types ([f4c918c](https://github.com/thibaudcolas/draftjs-filters/commit/f4c918c))
12+
713
## [2.2.2](https://github.com/thibaudcolas/draftjs-filters/compare/v2.2.1...v2.2.2) (2019-01-25)
814

915
### Bug Fixes

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Filters entities based on the data they contain.
224224

225225
###### Parameters
226226

227-
- `entityTypes` **\$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), whitelist: {}}>**
227+
- `entityTypes` **\$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), whitelist: {}?}>**
228228
- `entityType` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
229229
- `data` **{}**
230230

@@ -236,7 +236,7 @@ of unneeded attributes (width, height, etc).
236236

237237
###### Parameters
238238

239-
- `entityTypes` **$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), attributes: $ReadOnlyArray<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>}>**
239+
- `entityTypes` **$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), attributes: $ReadOnlyArray<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?}>**
240240
- `content` **ContentState**
241241

242242
##### replaceTextBySpaces

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "draftjs-filters",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "Filter Draft.js content to preserve only the formatting you allow",
55
"author": "Thibaud Colas",
66
"license": "MIT",

0 commit comments

Comments
 (0)