From 74415bc1cca7da420fa0faf2257e04b9524f24cc Mon Sep 17 00:00:00 2001 From: Thibaud Date: Fri, 25 Jan 2019 08:50:41 +0000 Subject: [PATCH] chore(release): v2.2.3 [skip ci] ## [2.2.3](https://github.com/thibaudcolas/draftjs-filters/compare/v2.2.2...v2.2.3) (2019-01-25) ### Bug Fixes * **api:** allow entities to only provide a type attr in Flow types ([f4c918c](https://github.com/thibaudcolas/draftjs-filters/commit/f4c918c)) --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60f0f2ae..463344f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. 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). +## [2.2.3](https://github.com/thibaudcolas/draftjs-filters/compare/v2.2.2...v2.2.3) (2019-01-25) + +### Bug Fixes + +- **api:** allow entities to only provide a type attr in Flow types ([f4c918c](https://github.com/thibaudcolas/draftjs-filters/commit/f4c918c)) + ## [2.2.2](https://github.com/thibaudcolas/draftjs-filters/compare/v2.2.1...v2.2.2) (2019-01-25) ### Bug Fixes diff --git a/README.md b/README.md index 3d153659..cd545192 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ Filters entities based on the data they contain. ###### Parameters -- `entityTypes` **\$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), whitelist: {}}>** +- `entityTypes` **\$ReadOnlyArray<{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), whitelist: {}?}>** - `entityType` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `data` **{}** @@ -236,7 +236,7 @@ of unneeded attributes (width, height, etc). ###### Parameters -- `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)>}>** +- `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)>?}>** - `content` **ContentState** ##### replaceTextBySpaces diff --git a/package-lock.json b/package-lock.json index eff89bbc..6442df11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "draftjs-filters", - "version": "2.2.2", + "version": "2.2.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9e75d991..43aa2047 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "draftjs-filters", - "version": "2.2.2", + "version": "2.2.3", "description": "Filter Draft.js content to preserve only the formatting you allow", "author": "Thibaud Colas", "license": "MIT",