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

draftjs-filters

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draftjs-filters - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

6

CHANGELOG.md

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

# [2.4.0](https://github.com/thibaudcolas/draftjs-filters/compare/v2.3.0...v2.4.0) (2020-11-20)
### Features
- **deps:** proactively declare support for Draft.js v0.12.0 ([382e537](https://github.com/thibaudcolas/draftjs-filters/commit/382e5370ec45794642c45d4fa7e5ece9abc6f560))
# [2.3.0](https://github.com/thibaudcolas/draftjs-filters/compare/v2.2.4...v2.3.0) (2020-01-03)

@@ -9,0 +15,0 @@

62

package.json
{
"name": "draftjs-filters",
"version": "2.3.0",
"version": "2.4.0",
"description": "Filter Draft.js content to preserve only the formatting you allow",

@@ -30,38 +30,44 @@ "author": "Thibaud Colas",

"browserslist": "> 1%, IE 11",
"jest": {
"collectCoverageFrom": [
"src/lib/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/"
]
},
"devDependencies": {
"@babel/plugin-transform-flow-comments": "7.7.4",
"@commitlint/cli": "8.2.0",
"@commitlint/config-conventional": "8.2.0",
"@commitlint/travis-cli": "8.2.0",
"@semantic-release/changelog": "3.0.6",
"@semantic-release/exec": "3.3.8",
"@semantic-release/git": "7.0.18",
"coveralls": "3.0.9",
"danger": "9.2.9",
"documentation": "12.1.4",
"draft-js": "0.10.5",
"draft-js-11": "npm:draft-js@0.11.3",
"@babel/plugin-transform-flow-comments": "7.12.1",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@commitlint/travis-cli": "11.0.0",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/exec": "5.0.0",
"@semantic-release/git": "9.0.0",
"coveralls": "3.1.0",
"danger": "10.5.1",
"documentation": "13.1.0",
"draft-js": "0.11.7",
"draft-js-10": "npm:draft-js@0.10.5",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"enzyme-to-json": "3.4.3",
"flow-bin": "0.114.0",
"enzyme-adapter-react-16": "1.15.5",
"enzyme-to-json": "3.6.1",
"flow-bin": "0.131.0",
"immutable": "~3.7.6",
"normalize.css": "7.0.0",
"prettier": "1.19.1",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-scripts": "3.3.0",
"react-test-renderer": "16.12.0",
"rollup": "1.27.14",
"rollup-plugin-babel": "4.3.3",
"semantic-release": "15.14.0",
"snapshot-diff": "0.6.1",
"source-map-explorer": "2.1.2"
"prettier": "^2.2.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-scripts": "^4.0.0",
"react-test-renderer": "16.14.0",
"rollup": "2.33.1",
"rollup-plugin-babel": "4.4.0",
"semantic-release": "^17.2.4",
"snapshot-diff": "0.8.1",
"source-map-explorer": "2.5.0"
},
"peerDependencies": {
"draft-js": "^0.10.4 || ^0.11.0"
"draft-js": "^0.10.4 || ^0.11.0 || ^0.12.0"
},
"scripts": {
"start": "react-scripts start",
"build": "CI=true react-scripts build && source-map-explorer --html build/static/js/main.* > build/source-map-explorer.html && rollup -c",
"build": "CI=true react-scripts build && source-map-explorer build/static/js/*.js --html > build/source-map-explorer.html && rollup -c",
"test": "CI=true react-scripts test --env=jsdom --coverage",

@@ -68,0 +74,0 @@ "test:watch": "react-scripts test --env=jsdom",

@@ -1,4 +0,4 @@

# [Draft.js filters](https://thibaudcolas.github.io/draftjs-filters/) [<img src="https://raw.githubusercontent.com/thibaudcolas/draftail.org/master/.github/draftail-logo.svg?sanitize=true" width="90" height="90" align="right">](https://www.draftail.org/)
# [Draft.js filters](https://thibaudcolas.github.io/draftjs-filters/) [<img src="https://raw.githubusercontent.com/thibaudcolas/draftail.org/main/.github/draftail-logo.svg?sanitize=true" width="90" height="90" align="right">](https://www.draftail.org/)
[![npm](https://img.shields.io/npm/v/draftjs-filters.svg)](https://www.npmjs.com/package/draftjs-filters) [![Build Status](https://travis-ci.org/thibaudcolas/draftjs-filters.svg?branch=master)](https://travis-ci.org/thibaudcolas/draftjs-filters) [![Coverage Status](https://coveralls.io/repos/github/thibaudcolas/draftjs-filters/badge.svg)](https://coveralls.io/github/thibaudcolas/draftjs-filters)
[![npm](https://img.shields.io/npm/v/draftjs-filters.svg)](https://www.npmjs.com/package/draftjs-filters) [![Build Status](https://travis-ci.com/thibaudcolas/draftjs-filters.svg?branch=main)](https://travis-ci.com/thibaudcolas/draftjs-filters) [![Coverage Status](https://coveralls.io/repos/github/thibaudcolas/draftjs-filters/badge.svg)](https://coveralls.io/github/thibaudcolas/draftjs-filters)

@@ -141,3 +141,3 @@ > Filter [Draft.js](https://facebook.github.io/draft-js/) content to preserve only the formatting you allow. Built for [Draftail](https://www.draftail.org/).

- `whitelist` **\$ReadOnlyArray&lt;{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
- `whitelist` **$ReadOnlyArray&lt;{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
- `content` **ContentState**

@@ -164,3 +164,3 @@

- `rules` **\$ReadOnlyArray&lt;{test: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), depth: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)}>**
- `rules` **$ReadOnlyArray&lt;{test: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), depth: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)}>**
- `content` **ContentState**

@@ -184,3 +184,3 @@

- `whitelist` **\$ReadOnlyArray&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `whitelist` **$ReadOnlyArray&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `content` **ContentState**

@@ -194,3 +194,3 @@

- `whitelist` **\$ReadOnlyArray&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `whitelist` **$ReadOnlyArray&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `content` **ContentState**

@@ -225,3 +225,3 @@

- `whitelist` **\$ReadOnlyArray&lt;{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
- `whitelist` **$ReadOnlyArray&lt;{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**
- `type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**

@@ -245,3 +245,3 @@

- `entityTypes` **\$ReadOnlyArray&lt;{type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), whitelist: {}?}>**
- `entityTypes` **$ReadOnlyArray&lt;{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)**

@@ -267,3 +267,3 @@ - `data` **{}**

- `characters` **\$ReadOnlyArray&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `characters` **$ReadOnlyArray&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `content` **ContentState**

@@ -270,0 +270,0 @@

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