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 Versions

13

2.1.0

Diff

Changelog

Source

2.1.0 (2018-10-26)

Features

  • release: mark package as side-effects-free for Webpack (#25) (38f1aa0)
thi-bot
published 2.0.1 •

Changelog

Source

2.0.1 (2018-09-28)

Bug Fixes

  • release: make sure released package does not contain archive (#22) (c678b03)
thi-bot
published 2.0.0 •

Changelog

Source

2.0.0 (2018-09-28)

Features

  • api: publish package with Flow annotations built in (7a813cc)

BREAKING CHANGES

  • api: The Draft.js filters now come with Flow annotations. For projects that do not use Flow this has no impact. For Flow users, please make sure you correctly type your code so Flow doesn't raise issues because of conflicts with this package's type definitions.
thibaudcolas
published 1.0.0 •

Changelog

Source

1.0.0 (2018-03-01)

This release is functionally identical to v0.7.0.

The project has reached a high-enough level of stability to be used in production, and breaking changes will now be reflected via major version changes.

thibaudcolas
published 0.7.0 •

Changelog

Source

0.7.0 (2018-02-09)

Features

  • api: add preserveBlockByText to exposed filters (077e008)
  • filters: add first implementation of preserveBlockByText (ed27ca7)
  • filters: add preserveBlockByText to filterEditorState (0c52d72)
  • filters: add special case to preserveBlockByText for entities (21583de)
  • filters: change atomic block check to convert camera emoji + space (9249033)
  • filters: filterBlockTypes now also resets block depth to 0 (33c337d)
  • filters: remove matched prefix when preserving list items (059bf9e)
thibaudcolas
published 0.6.1 •

Changelog

Source

0.6.1 (2018-01-26)

Bug Fixes

  • release: replace prepublish script with prepublishOnly (2d5e01f)
thibaudcolas
published 0.6.0 •

Changelog

Source

0.6.0 (2018-01-26)

Features

  • api: add cloneEntities to the API (bdcd15c)
  • filters: add cloneEntities to filterEditorState (812bb57)
  • filters: add cloneEntity to ensure entity uniqueness. Fix #10 (9bda5ba)
thibaudcolas
published 0.5.0 •

Changelog

Source

0.5.0 (2018-01-17)

Features

  • filters: add better way to filter/keep based on undefined attr (f836563)
thibaudcolas
published 0.4.0 •

Changelog

Source

0.4.0 (2018-01-17)

Features

  • api: add ability for allowlist to filter by undefined attribute (a4af845)
thibaudcolas
published 0.3.0 •

Changelog

Source

0.3.0 (2018-01-15)

Bug Fixes

  • filters: fix bug preventing atomic block text reset (6807077)
  • filters: fix filterEditorState discarding updated state (cec872e)
  • filters: stop preserveAtomicBlocks resetting blocks with text (04d0554)

Features

  • api: add blockEntities opt for preserveAtomicBlocks (a2fc941)
  • api: add enableLineBreak option to filterEditorState (6c334b3)
  • api: change filterEditorState to separate options & input (32a4586)
  • api: change filterEditorState to take object as param, with keys (cbac155)
  • api: entity data filter keeps all data if no allowlist is defined (83199dd)
  • api: expose all filters to package consumers (606f8a0)
  • api: expose new whitespaceCharacters method to the API (9b3057d)
  • api: filter by attr should keep entity if there is no allowlist (514e093)
  • api: refactor all filters to work on ContentState (6c7fbaf)
  • api: refactor entity filters to iterator + callback pattern (1e6d3f2)
  • api: remove enableHorizontalRule - use entities instead (4603a36)
  • api: rename entityTypes option to entities (38ae203)
  • api: rename filterEntityAttributes to filterEntityData (9403ca2)
  • api: replace enableLineBreak with whitespacedCharacters (a0c7745)
  • filters: add filterEntityAttributes to filterEditorState (ab0a30e)
  • filters: add new filterEntityAttributes filter w/ allowlist (745ba09)
  • filters: add new whitespaceCharacters method (6fde9ee)
  • filters: add removeInvalidDepthBlocks method to API (5139451)
  • filters: implement entity filtering by attribute (ae76945)
  • filters: preserve atomic blocks based on image emoji (fba9880)
  • filters: remove atomic blocks instead of making them unstyled (31b7664)
  • filters: remove tabs as part of filterEditorState (9fd0005)
  • filters: start updating filter methods to work on ContentState (e716dd9)
  • filters: update whitespaceCharacters to operate on ContentState (62fef11)
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