🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

redraft

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redraft - npm Package Versions

23

0.10.2

Diff
l
lokiuz
published 0.10.2 •

Changelog

Source

0.10.2

  • fix(render): Prevent input mutation #44
l
lokiuz
published 0.10.1 •

Changelog

Source

0.10.1

  • fix Content Style Not Being Applied Correctly #39
l
lokiuz
published 0.10.0 •

Changelog

Source

0.10.0

  • switch from Decorator option to custom decorators in renderer array #33
  • add blockFallback option, render provided type when missing renderer for a block #35
  • expose createBlockRenderer to create block renderer from blockRenderMap #32
  • add Common Issues to readme
l
lokiuz
published 0.9.1-beta2 •
l
lokiuz
published 0.9.1 •
l
lokiuz
published 0.9.0 •

Changelog

Source

0.9.0

  • added support for custom Decorator class and accessing contentState #30
  • fixed inline style key collision #29
  • fix unicode-aware string splitting #27
l
lokiuz
published 0.8.0 •

Changelog

Source

0.8.0

  • added decorator support (also added example in the README)
  • exposed a helper to crate a style renderer as an alternative to providing inline style renderers
  • fixed .npmignore (.babelrc #24 and example)
l
lokiuz
published 0.8.0-beta.1 •
l
lokiuz
published 0.7.0 •

Changelog

Source

0.7.0

  • breaking change to block renderer API, depth is now passed along keys and data as second param
  • added proper surrogate pair handling for multibyte unicode characters #15
  • added split to cleanup options - it allows to separate groups with blocks that qualify for cleanup, see example
  • added key for inline and entity renderers
l
lokiuz
published 0.6.0 •

Changelog

Source

0.6.0

  • modified block renderers api: keys are now wrapped in an object along with new data key containing block metadata
  • added joinOutput and cleanup options to the API
  • removed deprecated API